<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nonguix.git/nonguix/build, branch add-rpath</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>http://git.marekpasnikowski.pl/nonguix.git/atom?h=add-rpath</id>
<link rel='self' href='http://git.marekpasnikowski.pl/nonguix.git/atom?h=add-rpath'/>
<link rel='alternate' type='text/html' href='http://git.marekpasnikowski.pl/nonguix.git/'/>
<updated>2025-02-03T20:57:36Z</updated>
<entry>
<title>nonguix: binary-build-system: Use add-rpath instead of set-rpath.</title>
<updated>2025-02-03T20:57:36Z</updated>
<author>
<name>John Kehayias</name>
<email>john.kehayias@protonmail.com</email>
</author>
<published>2025-02-02T22:53:09Z</published>
<link rel='alternate' type='text/html' href='http://git.marekpasnikowski.pl/nonguix.git/commit/?id=e65677969e7ba6afd6c327379e24da0bed2f3adc'/>
<id>urn:sha1:e65677969e7ba6afd6c327379e24da0bed2f3adc</id>
<content type='text'>
Fixes #369.

Previously we were using "patchelf --set-rpath" in binary-build-system for
binaries to find dependencies in Guix.  However, this will override any
previous setting, including if "$ORIGIN" was in RUNPATH.

For Electron applications specifically (like signal-desktop and heroic),
bundled libraries were not found without wrapping with LD_LIBRARY_PATH.  While
this does work, it is not ideal and led to issues in child processes that
inherit LD_LIBRARY_PATH, namely breaking games using Wine/Proton in Heroic.

A possible consequence of this commit is that Guix added paths to RUNPATH are
after what was originally set, perhaps leading to library
loading/compatibility issues.  However, we always try to replace all needed
libraries with Guix packages (just that Electron applications seem to require
bundled libraries in $ORIGIN).

* nonguix/build/binary-build-system.scm (patchelf): Use add-rpath instead of set-rpath.
* nongnu/packages/game-client.scm (heroic-client)[arguments]&lt;#:phases&gt;: Remove
'wrap-where-patchelf-does-not-work phase as it is no longer needed (needed
libraries are found with $ORIGIN preserved in RUNPATH).
* nongnu/packages/messaging.scm (element-desktop, signal-desktop): Likewise.
* nongnu/packages/editors.scm (vscodium): Likewise.
</content>
</entry>
<entry>
<title>nonguix: chromium-binary-build-system: Hint Electron Ozone Platform.</title>
<updated>2025-01-05T00:40:33Z</updated>
<author>
<name>Karl Hallsby</name>
<email>karl@hallsby.com</email>
</author>
<published>2024-12-22T22:28:09Z</published>
<link rel='alternate' type='text/html' href='http://git.marekpasnikowski.pl/nonguix.git/commit/?id=6ee78bb755b3cd3085c0047471bd09769a281cf1'/>
<id>urn:sha1:6ee78bb755b3cd3085c0047471bd09769a281cf1</id>
<content type='text'>
This should allow Electron apps to detect whether they are running on Wayland
or X11.  If they are on Wayland, then they should default to using Wayland
libraries.  This should help with HiDPI monitors, fractional scaling, and all
the other issues that Wayland solved over X11.

This environment variable is only supported by Electron versions &gt;=28.  All
earlier versions relied on command-line arguments instead.

* nonguix/build/chromium-binary-build-system (install-wrapper): Add
ELECTRON_OZONE_PLATFORM_HINT environment variable and set to "auto".

Signed-off-by: John Kehayias &lt;john.kehayias@protonmail.com&gt;
</content>
</entry>
<entry>
<title>nonguix: binary-build-system: Print the patchelf version.</title>
<updated>2024-11-10T21:46:13Z</updated>
<author>
<name>Attila Lendvai</name>
<email>attila@lendvai.name</email>
</author>
<published>2024-09-28T10:30:48Z</published>
<link rel='alternate' type='text/html' href='http://git.marekpasnikowski.pl/nonguix.git/commit/?id=99574ff94b6fb97794ba720b6fdadf470963dbdc'/>
<id>urn:sha1:99574ff94b6fb97794ba720b6fdadf470963dbdc</id>
<content type='text'>
* nonguix/build/binary-build-system.scm (patchelf): Output patchelf version.

Signed-off-by: John Kehayias &lt;john.kehayias@protonmail.com&gt;
</content>
</entry>
<entry>
<title>nonguix: binary: Improve .deb unpacking.</title>
<updated>2024-10-02T21:25:02Z</updated>
<author>
<name>Ashish SHUKLA</name>
<email>ashish.is@lostca.se</email>
</author>
<published>2024-09-14T00:18:07Z</published>
<link rel='alternate' type='text/html' href='http://git.marekpasnikowski.pl/nonguix.git/commit/?id=ea84538b887df3aa3bdd61d5e4c284f1548e5520'/>
<id>urn:sha1:ea84538b887df3aa3bdd61d5e4c284f1548e5520</id>
<content type='text'>
.deb could contain data.tar compressed in any format, not just .xz as it
assumes now.

* nonguix/build/binary-build-system (unpack-deb): find a data.tar archive to
extract.

Signed-off-by: Jonathan Brielmaier &lt;jonathan.brielmaier@web.de&gt;
</content>
</entry>
<entry>
<title>nonguix: chromium-binary: Use search-path-as-list from (guix build utils).</title>
<updated>2024-03-30T18:50:51Z</updated>
<author>
<name>Giacomo Leidi</name>
<email>goodoldpaul@autistici.org</email>
</author>
<published>2023-12-31T21:45:49Z</published>
<link rel='alternate' type='text/html' href='http://git.marekpasnikowski.pl/nonguix.git/commit/?id=62daa38457a3c0ad4c02662a916122af5bc7e01a'/>
<id>urn:sha1:62daa38457a3c0ad4c02662a916122af5bc7e01a</id>
<content type='text'>
We rely on the upstream implementation to avoid duplicating effort.

* nonguix/build/chromium-binary-build-system (install-wrapper): Use
search-path-as-list;
* nonguix/build/utils.scm (build-paths-for-input): remove variable;
(build-paths-from-inputs): remove variable.

Signed-off-by: Jonathan Brielmaier &lt;jonathan.brielmaier@web.de&gt;
</content>
</entry>
<entry>
<title>nonguix: binary: Cleanup when an unknown binary extension is detected.</title>
<updated>2024-01-04T22:19:53Z</updated>
<author>
<name>Giacomo Leidi</name>
<email>goodoldpaul@autistici.org</email>
</author>
<published>2023-12-29T21:23:03Z</published>
<link rel='alternate' type='text/html' href='http://git.marekpasnikowski.pl/nonguix.git/commit/?id=a328f6c91f3d24508ff37338e6a68ba82aaa0141'/>
<id>urn:sha1:a328f6c91f3d24508ff37338e6a68ba82aaa0141</id>
<content type='text'>
The binary-unpack phase suffered from a problem for unknown binary file
extensions, see: !336 (comment 1709385147) . This patch fixes the
incorrect behavior by effectively restoring the state of the directory
tree before the phase.

* nonguix/build/binary-build-system.scm (binary-unpack): Restore the
environment as it was before this phase.
* nongnu/packages/clojure.scm (clj-kondo)[arguments]: No longer delete
'binary-unpack phase.
* nongnu/packages/game-development.scm (libsteam)[arguments]: dito.

Signed-off-by: Jonathan Brielmaier &lt;jonathan.brielmaier@web.de&gt;
</content>
</entry>
<entry>
<title>nonguix: binary: Automatically detect and unpack .deb files.</title>
<updated>2023-12-28T22:41:04Z</updated>
<author>
<name>Giacomo Leidi</name>
<email>goodoldpaul@autistici.org</email>
</author>
<published>2023-09-21T00:19:27Z</published>
<link rel='alternate' type='text/html' href='http://git.marekpasnikowski.pl/nonguix.git/commit/?id=00e0b5f319d660298f9650f8e225e755fdf79e6d'/>
<id>urn:sha1:00e0b5f319d660298f9650f8e225e755fdf79e6d</id>
<content type='text'>
A new binary-unpack phase is added to the binary-build-system. When a
supported binary file is detected as the only file after the unpack
phase it is then decompressed in a specific directory.

* nonguix/build/binary-build-system.scm (deb-file?): new variable;
(unpack-deb): new variable;
(binary-unpack): new variable;
(%standard-phases): use the new phase.

Signed-off-by: Jonathan Brielmaier &lt;jonathan.brielmaier@web.de&gt;
</content>
</entry>
<entry>
<title>nonguix: Add chromium-binary-build-system.</title>
<updated>2023-07-12T21:18:05Z</updated>
<author>
<name>Giacomo Leidi</name>
<email>goodoldpaul@autistici.org</email>
</author>
<published>2023-05-18T23:04:31Z</published>
<link rel='alternate' type='text/html' href='http://git.marekpasnikowski.pl/nonguix.git/commit/?id=f2970727de9bdbb503846705b53720660c14273b'/>
<id>urn:sha1:f2970727de9bdbb503846705b53720660c14273b</id>
<content type='text'>
This build system is an extension to the binary-build-system, designed
to abstract some common boilerplate necessary for packaging Chromium
based software.

* nonguix/build-system/chromium-binary.scm: New file;
* nonguix/build/chromium-binary-build-system.scm: new file;
* nonguix/build/utils.scm (build-paths-for-input): new variable;
(build-paths-from-inputs): New variable.

Signed-off-by: Jonathan Brielmaier &lt;jonathan.brielmaier@web.de&gt;
</content>
</entry>
<entry>
<title>*.scm: Use SPDX license identifiers.</title>
<updated>2022-12-19T16:17:39Z</updated>
<author>
<name>Jonathan Brielmaier</name>
<email>jonathan.brielmaier@web.de</email>
</author>
<published>2022-12-19T16:17:39Z</published>
<link rel='alternate' type='text/html' href='http://git.marekpasnikowski.pl/nonguix.git/commit/?id=62a5df4222721aae8dd984a39402e6e86cfc6601'/>
<id>urn:sha1:62a5df4222721aae8dd984a39402e6e86cfc6601</id>
<content type='text'>
Fixes https://gitlab.com/nonguix/nonguix/-/issues/224

* *.scm: Use SPDX license identifier and remove obsolete license
statement.
</content>
</entry>
<entry>
<title>nonguix: binary-build-system: Fix use of undefined variable.</title>
<updated>2022-06-18T11:03:42Z</updated>
<author>
<name>Guillaume Le Vaillant</name>
<email>glv@posteo.net</email>
</author>
<published>2022-06-14T12:33:39Z</published>
<link rel='alternate' type='text/html' href='http://git.marekpasnikowski.pl/nonguix.git/commit/?id=c90d3219726342c034b5404bd60849fc8bff37c8'/>
<id>urn:sha1:c90d3219726342c034b5404bd60849fc8bff37c8</id>
<content type='text'>
Follow up to a0079cf1bd8ef707ab9e15a0e249cbd34f157ae4.

* nonguix/build/binary-build-system.scm (patchelf)[make-rpath]: Use 'name'
  instead of undefined 'input-or-output'.

Signed-off-by: Jonathan Brielmaier &lt;jonathan.brielmaier@web.de&gt;
</content>
</entry>
</feed>
