GNU bug report logs -
#25034
red-eclipse: "data" directory in "$out/", not in "$out/share"
Previous Next
Reported by: adfeno <at> hyperbola.info
Date: Sat, 26 Nov 2016 10:14:01 UTC
Severity: normal
Tags: easy
Done: Andreas Enge <andreas <at> enge.fr>
Bug is archived. No further changes may be made.
Full log
Message #13 received at 25034 <at> debbugs.gnu.org (full text, mbox):
It turns out that I couldn't figure out how to do so.
So far I have tried:
- Attempt 1
- Add the output path as "prefix" variable to #:make-flags.
But I don't think this will work because $(prefix) seems hard-coded
in "src/system-install.mk".
- Attempt 2
- Change "copy-paths" phase to:
- Make "$out/share/redeclipse" directory.
- Copy "data" to "$out/share/redeclipse/data".
- Make "$out/lib/redeclipse" directory.
- Make symbolic link from "$out/share/redeclipse/data" to
"$out/lib/redeclipse/data".
- Add "set-prefix-path" phase after "unpack" phase. With outputs as
key:
- Inside "src/system-install.mk", substitute:
- Line begining with "prefix=", with "prefix=$out". The regular
expression used for this was "(^prefix=)[^\r\n]*", this makes
sure that the "prefix=" assignment is in it's own line.
In any attempt, Red Eclipse still complains that no "data" was found,
although it always builds successfully.
Any ideas? :)
--
- [[https://libreplanet.org/wiki/User:Adfeno]]
- Palestrante e consultor sobre /software/ livre (não confundir com
gratis).
- "WhatsApp"? Ele não é livre. Por favor, use o GNU Ring ou o Tox.
- Contato: [[https://libreplanet.org/wiki/User:Adfeno#vCard]]
- Arquivos comuns aceitos (apenas sem DRM): Corel Draw, Microsoft
Office, MP3, MP4, WMA, WMV.
- Arquivos comuns aceitos e enviados: CSV, GNU Dia, GNU Emacs Org, GNU
GIMP, Inkscape SVG, JPG, LibreOffice (padrão ODF), OGG, OPUS, PDF
(apenas sem DRM), PNG, TXT, WEBM.
This bug report was last modified 7 years and 181 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.