forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ltris-1.0.19-gentoo.patch
51 lines (45 loc) · 1.73 KB
/
ltris-1.0.19-gentoo.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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@