changeset 427:95095aa8fe3d

vanilla: fix locale directory
author David Demelier <markand@malikania.fr>
date Thu, 04 Apr 2019 14:49:17 +0200
parents 14f6453cca40
children ac093cd90702
files HOWTO.md desktop/libwnck2/libwnck2.sh xfce/exo/exo.sh xfce/libxfce4ui/libxfce4ui.sh xfce/libxfce4util/libxfce4util.sh xfce/xfconf/xfconf.sh
diffstat 6 files changed, 22 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/HOWTO.md	Thu Apr 04 14:00:15 2019 +0200
+++ b/HOWTO.md	Thu Apr 04 14:49:17 2019 +0200
@@ -282,6 +282,7 @@
 - /usr/lib/pkgconfig: for .pc files
 - /usr/lib/cmake: for CMake config files
 - /usr/lib: for libraries (no lib64 suffix)
+- /usr/share/locale: for NLS files
 - /usr/share/man/man{1,2,3,4,5,6,7,8}: for man pages (in uncompressed form)
 - /usr/share/doc/PKGNAME (exact directory, no version)
 
--- a/desktop/libwnck2/libwnck2.sh	Thu Apr 04 14:00:15 2019 +0200
+++ b/desktop/libwnck2/libwnck2.sh	Thu Apr 04 14:49:17 2019 +0200
@@ -46,9 +46,10 @@
 	./configure \
 		--prefix=/usr \
 		--disable-static \
-		--enable-shared
+		--enable-shared \
+		--localedir=/usr/share/locale
 	make
-	make install DESTDIR=$DESTDIR
+	make install DESTDIR=$DESTDIR itlocaledir=/usr/share/locale
 	rm -f $DESTDIR/usr/lib/libwnck-1.la
 
 	popd
--- a/xfce/exo/exo.sh	Thu Apr 04 14:00:15 2019 +0200
+++ b/xfce/exo/exo.sh	Thu Apr 04 14:49:17 2019 +0200
@@ -45,9 +45,13 @@
 	CFLAGS="$CFLAGS" \
 	LDFLAGS="$LDFLAGS" \
 	LIBS="$LIBS" \
-	./configure --prefix=/usr --sysconfdir=/etc
+	./configure \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--localedir=/usr/share/locale \
+		--with-locales-dir=/usr/share/locale
 	make
-	make install DESTDIR=$DESTDIR
+	make install DESTDIR=$DESTDIR itlocaledir=/usr/share/locale
 	rm -f $DESTDIR/usr/lib/libexo-1.la
 
 	popd
--- a/xfce/libxfce4ui/libxfce4ui.sh	Thu Apr 04 14:00:15 2019 +0200
+++ b/xfce/libxfce4ui/libxfce4ui.sh	Thu Apr 04 14:49:17 2019 +0200
@@ -49,9 +49,11 @@
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
-		--prefix=/usr
+		--prefix=/usr \
+		--localedir=/usr/share/locale \
+		--with-locales-dir=/usr/share/locale
 	make
-	make install DESTDIR=$DESTDIR
+	make install DESTDIR=$DESTDIR itlocaledir=/usr/share/locale
 	rm -f $DESTDIR/usr/lib/libxfce4kbd-private-2.la
 	rm -f $DESTDIR/usr/lib/libxfce4kbd-private-3.la
 	rm -f $DESTDIR/usr/lib/libxfce4ui-1.la
--- a/xfce/libxfce4util/libxfce4util.sh	Thu Apr 04 14:00:15 2019 +0200
+++ b/xfce/libxfce4util/libxfce4util.sh	Thu Apr 04 14:49:17 2019 +0200
@@ -44,9 +44,11 @@
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
-		--prefix=/usr
+		--prefix=/usr \
+		--localedir=/usr/share/locale \
+		--with-locales-dir=/usr/share/locale
 	make
-	make install DESTDIR=$DESTDIR
+	make install DESTDIR=$DESTDIR itlocaledir=/usr/share/locale
 	rm -f $DESTDIR/usr/lib/libxfce4util.la
 
 	popd
--- a/xfce/xfconf/xfconf.sh	Thu Apr 04 14:00:15 2019 +0200
+++ b/xfce/xfconf/xfconf.sh	Thu Apr 04 14:49:17 2019 +0200
@@ -46,9 +46,11 @@
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
-		--prefix=/usr
+		--prefix=/usr \
+		--localedir=/usr/share/locale \
+		--with-locales-dir=/usr/share/locale
 	make
-	make install DESTDIR=$DESTDIR
+	make install DESTDIR=$DESTDIR itlocaledir=/usr/share/locale
 	rm -f $DESTDIR/usr/lib/libxfconf-0.la
 
 	popd