Patches for gtk, glib
- From: Michael Adams <michael michaeladams org>
- To: gtk-devel-list gnome org
- Subject: Patches for gtk, glib
- Date: Sun, 22 Dec 2002 18:50:13 +1300
Hi there,
I've come across a few hardcoded "$(prefix)/share" paths while
attempting to install gtk+ and glib in non-standard locations. The
attached patches change these lines to honour the --datadir argument
given to ./configure.
--Michael Adams.
diff -bBEru glib-clean/po/Makefile.in.in glib-2.0.7/po/Makefile.in.in
--- glib-clean/po/Makefile.in.in 2002-02-01 13:02:12.000000000 +1300
+++ glib-2.0.7/po/Makefile.in.in 2002-12-22 02:33:59.000000000 +1300
@@ -25,10 +25,10 @@
prefix = @prefix@
exec_prefix = @exec_prefix@
-datadir = $(prefix)/@DATADIRNAME@
-localedir = $(datadir)/locale
-gnulocaledir = $(prefix)/share/locale
-gettextsrcdir = $(prefix)/share/glib-2.0/gettext/po
+datadir = @datadir@
+localedir = @datadir@/locale
+gnulocaledir = @datadir@/locale
+gettextsrcdir = @datadir@/glib-2.0/gettext/po
subdir = po
INSTALL = @INSTALL@
diff -bBEru gtk+-clean/po/Makefile.in.in gtk+-2.0.9/po/Makefile.in.in
--- gtk+-clean/po/Makefile.in.in 2001-09-27 08:32:41.000000000 +1200
+++ gtk+-2.0.9/po/Makefile.in.in 2002-12-22 14:22:08.000000000 +1300
@@ -22,10 +22,10 @@
prefix = @prefix@
exec_prefix = @exec_prefix@
-datadir = $(prefix)/@DATADIRNAME@
+datadir = @datadir@
localedir = $(datadir)/locale
-gnulocaledir = $(prefix)/share/locale
-gettextsrcdir = $(prefix)/share/gettext/po
+gnulocaledir = @datadir@/locale
+gettextsrcdir = @datadir@/gettext/po
subdir = po
INSTALL = @INSTALL@
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]