Prior to this change, only the udev rules installed to eudev's prefix were
consulted by tools such as udevadm, leading to problems such as when
configuring network interfaces, or attempting to override its default rules.
While our custom eudev patch adding support for the EUDEV_RULES_DIRECTORY
environment variable could have been refined to take precedence over the
package's configured udevrulesdir, this was not pursued for the following
reasons:
1. Due to eudev's using inotify to detect new rules, the EUDEV_RULES_DIRECTORY
is fixed in Guix System, per commit e9fa17eb98 ("services: udev: Use a fixed
location for the rules directory and config.")
2. Users would have had to set EUDEV_RULES_DIRECTORY to the fixed directory
themselves to have udevadm work as expected, which is inconvenient.
3. This simple solution is already implemented and tested in NixPkgs.
* gnu/packages/linux.scm (eudev) [source]: Remove custom patch.
[arguments] <#:make-flags>: New argument.
<#:phases>: Override install phase to alter installation make flags.
* gnu/services/base.scm (udev-shepherd-service): Do not set
EUDEV_RULES_DIRECTORY environment variable.
* gnu/packages/patches/eudev-rules-directory.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): De-register it.
Fixes: https://issues.guix.gnu.org/63508
Reported-by: Felix Lechner <felix.lechner@lease-up.com>
Change-Id: Ib8698f4b452f6fd0951bcd71831705b1be85e6e0
* gnu/packages/patches/uftrace-fix-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/instrumentation.scm (uftrace): Enable scripting & fix tests
[source]: use the new patch to fix some stale expectations
<#:phases>: Adjust shebang embedded in onf of the tests and remove
tests that expect network capability
[inputs]: add python and luajit to enable uftrace script
Change-Id: Id3047753a1bb1e41e637004b4b8e4a4865bb3188
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Modified-by: Ludovic Courtès <ludo@gnu.org>
* gnu/packages/kodi.scm (kodi): Update to 21.2.
[source] <commit>: Adjust for new release name.
<patches>: Remove obsolete.
<snippet>: Remove references to unexisting files, add new ones.
[arguments] <#:phases> ('patch-stuff): Adjust substitute regex to match
current cmake files; Remove regex substitution for already disabled test
(GetOsVersion); Add regex to match new failing test (PingHost).
[native-inputs]: Update java-commons-lang to version 3;
Add java-commons-text.
[inputs]: Update ffmpeg to default; Add libudfread and tinyxml2.
* gnu/local.mk (dist_patch_DATA): Remove obsolete patch.
* gnu/packages/patches/kodi-mesa-eglchromium.patch: Remove file.
Change-Id: Iedbacaf037d79de8011c9f3f45c984f8a0586768
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Gnash is unmaintained since 2019, does not compile with recent versions
of Boost, does not compile with C++17 and above and requires an older
version of GCC and deprecated dependencies.
It can be replaced by Lightspark in the majority of cases.
* gnu/packages/animation.scm (gnash): Delete variable.
* gnu/packages/patches/gnash-fix-giflib-version.patch: Delete patch.
* gnu/local.mk (dist_patch_DATA): Remove it.
Change-Id: Ib28de74c088d7f2cbbb2e00d9396472a53a975ae
Signed-off-by: Andreas Enge <andreas@enge.fr>
* gnu/packages/engineering.scm (libmodbus): Update to 3.1.11. Add a missing
newline after the package definition.
[source]: Add a patch which disables a test that requires networking.
* gnu/packages/patches/libmodbus-disable-networking-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
Change-Id: I657c0aac3435ec20da6e15d31484effdb7c2dc0b
Add three patches to fix the compilation errors raised by gcc 11.
Note: https://github.com/desktop-app/cmake_helpers/pull/320 was merged,
so telegram-desktop-unbundle-gsl.patch is no longer needed.
* gnu/packages/telegram.scm (%telegram-version): Update to 5.12.3.
(codegen-for-telegram-desktop): Update to revision used by v5.12.3.
(lib-base-for-telegram-desktop): Likewise.
(lib-lottie-for-telegram-desktop): Likewise.
(lib-rpl-for-telegram-desktop): Likewise.
(lib-spellcheck-for-telegram-desktop): Likewise.
(lib-ui-for-telegram-desktop): Likewise.
(lib-webrtc-for-telegram-desktop): Likewise.
(cmake-helpers-for-telegram-desktop): Likewise;
Remove the obsolete patch.
(lib-tl-for-telegram-desktop):
Apply a patch to fix gcc-11 compilation error.
(telegram-desktop): Update to v5.12.3;
Apply patches to make it compile.
* gnu/packages/patches/telegram-desktop-unbundle-gsl.patch: Remove.
* gnu/packages/patches/lib-tl-for-telegram-memcpy.patch: New file.
* gnu/packages/patches/telegram-desktop-hashmap-incomplete-value.patch:
New file.
* gnu/packages/patches/telegram-desktop-qguiapp.patch: New file.
* gnu/local.mk: Adjust accordingly.
Change-Id: Iaa34ff2cd3f55aa92b1d9ba61a2ff66a72eb1132
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
* gnu/packages/machine-learning.scm (tvm): New variable.
* gnu/packages/patches/tvm_fix_cpptest_build.patch: New file.
* gnu/local.mk: Register new file.
Change-Id: Icfee19fccc7cc1c9f6d5d6bb680b554d777f62d6
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
* gnu/packages/patches/libgdata-fix-tests.patch: New file.
* gnu/packages/gnome.scm (libgdata)[patches]: Use it here.
* gnu/local.mk (dist_patch_DATA): Register it here.
* gnu/packages/patches/modem-manager-fix-test-wrapper.patch: New file.
* gnu/packages/freedesktop.scm (modem-manager)[patches]: Use it here.
* gnu/local.mk (dist_patch_DATA): Register it here.
* gnu/packages/patches/libsecret-fix-test-paths.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it here.
* gnu/packages/gnome.scm (libsecret)[patches]: Use it here.
* gnu/packages/patches/gst-editing-services-fix-api.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it here.
* gnu/packages/gstreamer.scm (gst-editing-services): Use it here.
* gnu/packages/patches/gjs-fix-closure-annotations.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it here.
* gnu/packages/gnome.scm (gjs)[patches]: Use it here.
* gnu/packages/patches/telepathy-glib-fix-test.patch: New file.
* gnu/packages/glib.scm (telepathy-glib)[patches]: Use it here.
* gnu/local.mk (dist_patch_DATA): Register it here.
The update to Audacity 3.6.0 broke the ability to lookup FFmpeg and open
a variety of file types
This problem was raised in the patch ticket but ignored for some reason.
See further discussion in the patch ticket:
https://issues.guix.gnu.org/75200
This reverts commits 8a4d05501f and
af85cfa45e806d9ed3cea9c3d30ac782d3914e1d.
Change-Id: Iff388431180874db198154b2e8b126e473b757b0