From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adonay Felipe Nogueira Subject: bug#25034: red-eclipse: "data" directory in "$out/", not in "$out/share" Date: Wed, 16 Aug 2017 17:07:36 -0300 Message-ID: <87a82z9szb.fsf@hyperbola.info> References: <878ts6y2fh.fsf@openmailbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52045) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1di4bl-00033E-KG for bug-guix@gnu.org; Wed, 16 Aug 2017 16:08:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1di4bi-0003zb-EH for bug-guix@gnu.org; Wed, 16 Aug 2017 16:08:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:32872) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1di4bi-0003zR-B5 for bug-guix@gnu.org; Wed, 16 Aug 2017 16:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1di4bi-0001nI-2Y for bug-guix@gnu.org; Wed, 16 Aug 2017 16:08:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <8737iend5w.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 25034@debbugs.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=3D", with "prefix=3D$out". The regular expression used for this was "(^prefix=3D)[^\r\n]*", this makes sure that the "prefix=3D" 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? :) --=20 - [[https://libreplanet.org/wiki/User:Adfeno]] - Palestrante e consultor sobre /software/ livre (n=C3=A3o confundir com gratis). - "WhatsApp"? Ele n=C3=A3o =C3=A9 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=C3=A3o ODF), OGG, OPUS, PDF (apenas sem DRM), PNG, TXT, WEBM.