unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#25034: red-eclipse: "data" directory in "$out/", not in "$out/share"
@ 2016-11-26 10:13 Adonay Felipe Nogueira
  2016-11-26 21:28 ` Ludovic Courtès
  2018-02-09 21:49 ` Andreas Enge
  0 siblings, 2 replies; 5+ messages in thread
From: Adonay Felipe Nogueira @ 2016-11-26 10:13 UTC (permalink / raw)
  To: 25034

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#25034: red-eclipse: "data" directory in "$out/", not in "$out/share"
  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
  2018-02-09 21:49 ` Andreas Enge
  1 sibling, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2016-11-26 21:28 UTC (permalink / raw)
  To: Adonay Felipe Nogueira; +Cc: 25034

Adonay Felipe Nogueira <adfeno@openmailbox.org> skribis:

> 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’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#25034: red-eclipse: "data" directory in "$out/", not in "$out/share"
  2016-11-26 21:28 ` Ludovic Courtès
@ 2017-08-16 20:07   ` Adonay Felipe Nogueira
  2017-08-20 19:09     ` Adonay Felipe Nogueira
  0 siblings, 1 reply; 5+ messages in thread
From: Adonay Felipe Nogueira @ 2017-08-16 20:07 UTC (permalink / raw)
  To: 25034

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#25034: red-eclipse: "data" directory in "$out/", not in "$out/share"
  2017-08-16 20:07   ` Adonay Felipe Nogueira
@ 2017-08-20 19:09     ` Adonay Felipe Nogueira
  0 siblings, 0 replies; 5+ messages in thread
From: Adonay Felipe Nogueira @ 2017-08-20 19:09 UTC (permalink / raw)
  To: 25034

I have sent a patch as an attempt to fix this issue, see
[[https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28164]].

-- 
- [[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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#25034: red-eclipse: "data" directory in "$out/", not in "$out/share"
  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
@ 2018-02-09 21:49 ` Andreas Enge
  1 sibling, 0 replies; 5+ messages in thread
From: Andreas Enge @ 2018-02-09 21:49 UTC (permalink / raw)
  To: 25034-done

This is solved by the patch sent to bug #28164, closing this bug.

Andreas

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-02-09 21:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2017-08-20 19:09     ` Adonay Felipe Nogueira
2018-02-09 21:49 ` Andreas Enge

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).