gnome-themes: drop localedir override from configure to fix locale installation

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa 2015-09-18 15:12:36 +02:00
parent 895bc428e9
commit 767bfd8586
2 changed files with 25 additions and 1 deletions

View File

@ -0,0 +1,22 @@
Causes locale file to be installed in /usr/locale instead of /usr/share/locale
Apply the same fix as in evolution-data-server:
https://git.gnome.org/browse/evolution-data-server/commit/configure.ac?id=ec46c763e9342f604b7228c660623d271dfeb101
Upstream-Status: Pending
diff -uNr gnome-themes-2.32.1.orig/configure.in gnome-themes-2.32.1/configure.in
--- gnome-themes-2.32.1.orig/configure.in 2015-09-18 15:01:25.152055729 +0200
+++ gnome-themes-2.32.1/configure.in 2015-09-18 15:09:03.312072156 +0200
@@ -19,11 +19,6 @@
AM_GLIB_GNU_GETTEXT
-# AM_GLIB_GNU_GETTEXT above subst. $DATADIRNAME
-# this is the directory where the *.{mo,gmo} files are installed
-localedir='${prefix}/${DATADIRNAME}/locale'
-AC_SUBST(localedir)
-
# Workaround to make aclocal get the right flags
AC_SUBST(ACLOCAL_AMFLAGS, "\${ACLOCAL_FLAGS}")

View File

@ -25,7 +25,9 @@ FILES_gnome-theme-mist = "${datadir}/themes/Mist ${datadir}/icons/Mist"
FILES_${PN} += "${datadir}/themes ${datadir}/icons"
SRC_URI += "file://iconpath-option.patch"
SRC_URI += "file://iconpath-option.patch \
file://drop-localedir-override.patch \
"
SRC_URI[archive.md5sum] = "41db9e3cb25d35af2675c599e67944d1"
SRC_URI[archive.sha256sum] = "8601ee24c2e096593221cbd6ebdb6686042225a03c02a01c0d67c163f9febd1a"
GNOME_COMPRESS_TYPE="bz2"