<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nonguix.git/nonguix, 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: Add with-transformation.</title>
<updated>2025-01-20T15:52:23Z</updated>
<author>
<name>Sergio Pastor Pérez</name>
<email>sergio.pastorperez@outlook.es</email>
</author>
<published>2025-01-18T20:45:21Z</published>
<link rel='alternate' type='text/html' href='http://git.marekpasnikowski.pl/nonguix.git/commit/?id=c29a9af656befb05fc75674133db9e0d37ffbac0'/>
<id>urn:sha1:c29a9af656befb05fc75674133db9e0d37ffbac0</id>
<content type='text'>
* nonguix/utils.scm (with-transformation): New procedure.

Signed-off-by: Hilton Chain &lt;hako@ultrarare.space&gt;
</content>
</entry>
<entry>
<title>nonguix: multiarch-container: Handle empty shares env variable.</title>
<updated>2025-01-08T22:57:05Z</updated>
<author>
<name>John Kehayias</name>
<email>john.kehayias@protonmail.com</email>
</author>
<published>2025-01-08T22:48:20Z</published>
<link rel='alternate' type='text/html' href='http://git.marekpasnikowski.pl/nonguix.git/commit/?id=3195ddf9f125fd8f9c80afc5d0868106bd90a20d'/>
<id>urn:sha1:3195ddf9f125fd8f9c80afc5d0868106bd90a20d</id>
<content type='text'>
Launching a package, like steam, with GUIX_SANDBOX_EXTRA_SHARES= (set to an
empty string) will cause guix shell to fail to launch with "guix shell: error:
statfs: : No such file or directory".

* nonguix/multiarch-container.scm (make-container-wrapper): Check that the
environment variable GUIX_SANDBOX_EXTRA_SHARES is both set and not an empty
string.

Reported-by: apoorv569
</content>
</entry>
<entry>
<title>nonguix: multiarch-container: Don't try to start pulseaudio.</title>
<updated>2025-01-05T00:53:01Z</updated>
<author>
<name>John Kehayias</name>
<email>john.kehayias@protonmail.com</email>
</author>
<published>2025-01-05T00:53:01Z</published>
<link rel='alternate' type='text/html' href='http://git.marekpasnikowski.pl/nonguix.git/commit/?id=c075e3ae214ca6e773c69142ede754e7cf4ae799'/>
<id>urn:sha1:c075e3ae214ca6e773c69142ede754e7cf4ae799</id>
<content type='text'>
Closes #241.

See discussion in above issue, but the summary is that the container (or any
package/program) shouldn't be trying to start pulseaudio (or other home/system
services, especially that can be started on demand).  While previously this
was done to avoid some issue, it is not clear if that is still the case and it
may possibly lead to other issues.  So, let's default to a more
expected (non-) behavior.

* nonguix/multiarch-container.scm (make-container-wrapper): Remove invoke of
pulseaudio.
</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>build-system: binary: Add comment about patchelf version.</title>
<updated>2024-11-10T21:24:17Z</updated>
<author>
<name>John Kehayias</name>
<email>john.kehayias@protonmail.com</email>
</author>
<published>2024-11-10T21:24:17Z</published>
<link rel='alternate' type='text/html' href='http://git.marekpasnikowski.pl/nonguix.git/commit/?id=f82534a8a884dd75862a9a989057e80d359841f2'/>
<id>urn:sha1:f82534a8a884dd75862a9a989057e80d359841f2</id>
<content type='text'>
This is a followup to commit c7e6962eb359493251220a1db174dde868013673.

* nonguix/build-system/binary.scm (default-patchelf): Add comment and TODO
about using older patchelf-0.16 due to upstream bug.

Reported-by: Attila Lendvai &lt;attila@lendvai.name&gt;
</content>
</entry>
<entry>
<title>build-system: binary: Use patchelf-0.16 by default.</title>
<updated>2024-11-10T21:11:07Z</updated>
<author>
<name>Hilton Chain</name>
<email>hako@ultrarare.space</email>
</author>
<published>2024-11-02T16:18:52Z</published>
<link rel='alternate' type='text/html' href='http://git.marekpasnikowski.pl/nonguix.git/commit/?id=c7e6962eb359493251220a1db174dde868013673'/>
<id>urn:sha1:c7e6962eb359493251220a1db174dde868013673</id>
<content type='text'>
Newer patchelf may break binaries.

This commit replaces patchelf with patchelf-0.16 for binary-build-system and
nvidia-driver (known affected package).

Fixes: https://gitlab.com/nonguix/nonguix/-/issues/350

* nonguix/build-system/binary.scm (default-patchelf): Replace patchelf with
patchelf-0.16.
* nongnu/packages/nvidia.scm (nvidia-driver)[native-inputs]: Likewise.

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>build-system/chromium-binary: Remove references to source.</title>
<updated>2024-06-21T14:05:24Z</updated>
<author>
<name>Yelninei</name>
<email>yelninei@noreply.codeberg.org</email>
</author>
<published>2024-06-20T13:08:52Z</published>
<link rel='alternate' type='text/html' href='http://git.marekpasnikowski.pl/nonguix.git/commit/?id=877ed8cc4eee26ddde3d7d200c19c370c6bf7cb1'/>
<id>urn:sha1:877ed8cc4eee26ddde3d7d200c19c370c6bf7cb1</id>
<content type='text'>
Previously the resulting store object would also depend on the source.

* nonguix/build-system/chromium-binary.scm (lower): Remove reference to source
in #:wrap-inputs.

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