You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-puzzle/ltris/files/ltris-1.0.18-gentoo.patch

52 lines
1.7 KiB

diff -ru ltris-1.0.15.orig/Makefile.am ltris-1.0.15/Makefile.am
--- ltris-1.0.15.orig/Makefile.am 2010-09-20 13:26:05.000000000 -0400
+++ ltris-1.0.15/Makefile.am 2010-09-21 02:01:52.680858712 -0400
@@ -1,21 +1,9 @@
-SUBDIRS = intl m4 po src icons
+SUBDIRS = intl m4 po src
EXTRA_DIST = config.rpath AUTHORS COPYING ChangeLog INSTALL \
README TODO touchall ABOUT-NLS po/tr.po_full po/pt.po_full \
-po/nonascii.pl ltris32.gif ltris48.gif ltris.desktop.in
-
-desktopdir = $(datadir)/applications
-desktop_DATA = ltris.desktop
-icondir = $(datadir)/icons
-icon_DATA = ltris48.gif
+po/nonascii.pl
AUTOMAKE_OPTIONS = foreign
-# We can't use static desktop file because of icon location. Is this
-# the right way to handle it? At least it works... as long as $datadir
-# does not contain plus signs. :-)
-ltris.desktop:
- @sed -e "s+Icon=+Icon=$(datadir)/icons/ltris48.gif+" \
- < ltris.desktop.in > ltris.desktop
-
ACLOCAL_AMFLAGS = -I m4
diff -ru ltris-1.0.15.orig/configure.in ltris-1.0.15/configure.in
--- ltris-1.0.15.orig/configure.in 2010-09-20 13:23:17.000000000 -0400
+++ ltris-1.0.15/configure.in 2010-09-21 02:02:22.418843746 -0400
@@ -55,7 +55,7 @@
AC_SUBST(buf_flag)
dnl set localedir
-localedir=$datadir/locale
+localedir=/usr/share/locale
locdir_flag="-DLOCALEDIR=\\\"$localedir\\\""
dnl installation path
diff -ru ltris-1.0.15.orig/po/Makefile.in.in ltris-1.0.15/po/Makefile.in.in
--- ltris-1.0.15.orig/po/Makefile.in.in 2005-10-04 14:41:03.000000000 -0400
+++ ltris-1.0.15/po/Makefile.in.in 2010-09-21 02:02:40.464207966 -0400
@@ -23,7 +23,7 @@
prefix = @prefix@
exec_prefix = @exec_prefix@
datadir = @datadir@
-localedir = $(datadir)/locale
+localedir = /usr/share/locale
gettextsrcdir = $(datadir)/gettext/po
INSTALL = @INSTALL@