red-eclipse: "data" directory in "$out/", not in "$out/share"

  • Done
  • quality assurance status badge
Details
4 participants
  • Adonay Felipe Nogueira
  • Adonay Felipe Nogueira
  • Andreas Enge
  • Ludovic Courtès
Owner
unassigned
Submitted by
Adonay Felipe Nogueira
Severity
normal
A
A
Adonay Felipe Nogueira wrote on 26 Nov 2016 11:13
(address . bug-guix@gnu.org)
878ts6y2fh.fsf@openmailbox.org
Simple to check, simply list the contents of Red Eclipse's store
entry. The "data" directory is at the root.

Shouldn't it be "$out/share/red-eclipse/data"? Or
"$out/share/red-eclipse"?


Respectfully, Adonay.
L
L
Ludovic Courtès wrote on 26 Nov 2016 22:28
(name . Adonay Felipe Nogueira)(address . adfeno@openmailbox.org)(address . 25034@debbugs.gnu.org)
8737iend5w.fsf@gnu.org
Adonay Felipe Nogueira <adfeno@openmailbox.org> skribis:

Toggle quote (6 lines)
> Simple to check, simply list the contents of Red Eclipse's store
> entry. The "data" directory is at the root.
>
> Shouldn't it be "$out/share/red-eclipse/data"? Or
> "$out/share/red-eclipse"?

Definitely.

Would you like to give it a try? With luck, it will just be a matter of
passing the right configure flags.

Ludo’.
L
L
Ludovic Courtès wrote on 27 Jul 2017 14:36
control message for bug #25034
(address . control@debbugs.gnu.org)
87h8xy3vm2.fsf@gnu.org
tags 25034 easy
A
A
Adonay Felipe Nogueira wrote on 16 Aug 2017 22:07
Re: bug#25034: red-eclipse: "data" directory in "$out/", not in "$out/share"
(address . 25034@debbugs.gnu.org)
87a82z9szb.fsf@hyperbola.info
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? :)


--
- 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.
- 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.
A
A
Adonay Felipe Nogueira wrote on 20 Aug 2017 21:09
(address . 25034@debbugs.gnu.org)
87lgme2h0n.fsf@hyperbola.info
I have sent a patch as an attempt to fix this issue, see

--
- 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.
- 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.
A
A
Adonay Felipe Nogueira wrote on 9 Jan 2018 14:41
Replace old submitters, make #27475 block #30041 and ask for help
(address . control@debbugs.gnu.org)
87r2qzcfoc.fsf@hyperbola.info
submitter 24550 adfeno@hyperbola.info
submitter 24834 adfeno@hyperbola.info
submitter 25034 adfeno@hyperbola.info
submitter 25035 adfeno@hyperbola.info
submitter 25037 adfeno@hyperbola.info
submitter 26202 adfeno@hyperbola.info
submitter 27475 adfeno@hyperbola.info
submitter 27582 adfeno@hyperbola.info
submitter 27590 adfeno@hyperbola.info
submitter 27686 adfeno@hyperbola.info
submitter 27711 adfeno@hyperbola.info
tags 27475 +help
tags 30041 +help
block 30041 27475
quit
A
A
Andreas Enge wrote on 9 Feb 2018 22:49
Re: red-eclipse: "data" directory in "$out/", not in "$out/share"
(address . 25034-done@debbugs.gnu.org)
20180209214934.GB11675@jurong
This is solved by the patch sent to bug #28164, closing this bug.

Andreas
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 25034@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 25034
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch