From: Adonay Felipe Nogueira <adfeno@hyperbola.info>
To: 25034@debbugs.gnu.org
Subject: bug#25034: red-eclipse: "data" directory in "$out/", not in "$out/share"
Date: Wed, 16 Aug 2017 17:07:36 -0300 [thread overview]
Message-ID: <87a82z9szb.fsf@hyperbola.info> (raw)
In-Reply-To: <8737iend5w.fsf@gnu.org>
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.
next prev parent reply other threads:[~2017-08-16 20:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-26 10:13 bug#25034: red-eclipse: "data" directory in "$out/", not in "$out/share" Adonay Felipe Nogueira
2016-11-26 21:28 ` Ludovic Courtès
2017-08-16 20:07 ` Adonay Felipe Nogueira [this message]
2017-08-20 19:09 ` Adonay Felipe Nogueira
2018-02-09 21:49 ` Andreas Enge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a82z9szb.fsf@hyperbola.info \
--to=adfeno@hyperbola.info \
--cc=25034@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).