From 8b3ae46ae3f80e285fe9c680bdaaaad1c57406b9 Mon Sep 17 00:00:00 2001 From: Leo Famulari <leo@famulari.name> Date: Mon, 24 Apr 2023 13:10:37 -0400 Subject: gnu: Transmission: Update to 4.0.3. * gnu/packages/bittorrent.scm: Update to 4.0.3. [build-system]: Use cmake-build-system. [source]: Remove obsolete patch. [inputs]: Add gtkmm, glib:bin, and python. [arguments]: Run the test suite. Import the glib-or-gtk-build-system and wrap the 'gui' build output. Remove #:configure-flags. Adjust the 'move-gui' phase to upstream changes. * gnu/packages/patches/transmission-honor-localedir.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it. --- .../patches/transmission-honor-localedir.patch | 34 ---------------------- 1 file changed, 34 deletions(-) delete mode 100644 gnu/packages/patches/transmission-honor-localedir.patch (limited to 'gnu/packages/patches') diff --git a/gnu/packages/patches/transmission-honor-localedir.patch b/gnu/packages/patches/transmission-honor-localedir.patch deleted file mode 100644 index 70c66bfb2b..0000000000 --- a/gnu/packages/patches/transmission-honor-localedir.patch +++ /dev/null @@ -1,34 +0,0 @@ -This patch modifies Transmission so it honors the "localedir" option -passed to its configure script, allowing GTK-specific localization -data to be placed in the package's "gui" output. - -Without this patch, localization of transmission-gtk can break as the -application will expect to find this data in the package's default -output (as a result of the call to bindtextdomain in gtk/main.c). - -diff --git a/configure b/configure -index a29e24f..3ae8ef4 100755 ---- a/configure -+++ b/configure -@@ -21305,7 +21305,7 @@ $as_echo "$LINGUAS" >&6; } - sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ - < $srcdir/po/POTFILES.in > po/POTFILES - -- transmissionlocaledir='${prefix}/${DATADIRNAME}/locale' -+ transmissionlocaledir='${localedir}' - - fi - -diff --git a/configure.ac b/configure.ac -index 57d3cae..ab62093 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -563,7 +563,7 @@ if test "x$enable_nls" = "xyes" ; then - AC_SUBST(GETTEXT_PACKAGE) - AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext package]) - AM_GLIB_GNU_GETTEXT -- transmissionlocaledir='${prefix}/${DATADIRNAME}/locale' -+ transmissionlocaledir='${localedir}' - AC_SUBST(transmissionlocaledir) - fi - AC_SUBST(INTLLIBS) -- cgit v1.2.3