File tamilgtk2im-rpath.patch of Package tamil-gtk2im

--- compile-gtk2im.sh
+++ compile-gtk2im.sh
@@ -7,8 +7,8 @@
 
 /bin/sh libtool --mode=link gcc  -g -O2 -Wall -D_GNU_SOURCE \
 	-D_REENTRANT -DDEBUG   \
-	-o tamil99-tsc.la -rpath ~/.gtk-2.0/immodules \
-	-rpath ~/.gtk-2.0/immodules -avoid-version -module \
+	-o tamil99-tsc.la -rpath /opt/gnome/lib/gtk-2.0/immodules \
+	-rpath /opt/gnome/lib/gtk-2.0/immodules -avoid-version -module \
 	tamil99-tsc.lo `pkg-config --libs gtk+-2.0`
 
 /bin/sh libtool --mode=compile gcc -DHAVE_CONFIG_H \
@@ -18,8 +18,8 @@
 
 /bin/sh libtool --mode=link gcc  -g -O2 -Wall -D_GNU_SOURCE \
 	-D_REENTRANT -DDEBUG   \
-	-o tamil99-uni.la -rpath ~/.gtk-2.0/immodules \
-	-rpath ~/.gtk-2.0/immodules -avoid-version -module \
+	-o tamil99-uni.la -rpath /opt/gnome/lib/gtk-2.0/immodules \
+	-rpath /opt/gnome/lib/gtk-2.0/immodules -avoid-version -module \
 	tamil99-uni.lo `pkg-config --libs gtk+-2.0`
 
 /bin/sh libtool --mode=compile gcc -DHAVE_CONFIG_H \
@@ -29,8 +29,8 @@
 
 /bin/sh libtool --mode=link gcc  -g -O2 -Wall -D_GNU_SOURCE \
 	-D_REENTRANT -DDEBUG   \
-	-o tavpim-tsc.la -rpath ~/.gtk-2.0/immodules \
-	-rpath ~/.gtk-2.0/immodules -avoid-version -module \
+	-o tavpim-tsc.la -rpath /opt/gnome/lib/gtk-2.0/immodules \
+	-rpath /opt/gnome/lib/gtk-2.0/immodules -avoid-version -module \
 	tavpim-tsc.lo `pkg-config --libs gtk+-2.0`
 
 /bin/sh libtool --mode=compile gcc -DHAVE_CONFIG_H \
@@ -40,8 +40,8 @@
 
 /bin/sh libtool --mode=link gcc  -g -O2 -Wall -D_GNU_SOURCE \
 	-D_REENTRANT -DDEBUG   \
-	-o tavpim-uni.la -rpath ~/.gtk-2.0/immodules \
-	-rpath ~/.gtk-2.0/immodules -avoid-version -module \
+	-o tavpim-uni.la -rpath /opt/gnome/lib/gtk-2.0/immodules \
+	-rpath /opt/gnome/lib/gtk-2.0/immodules -avoid-version -module \
 	tavpim-uni.lo `pkg-config --libs gtk+-2.0`	
 
 /bin/sh libtool --mode=compile gcc -DHAVE_CONFIG_H \
@@ -51,7 +51,7 @@
 
 /bin/sh libtool --mode=link gcc  -g -O2 -Wall -D_GNU_SOURCE \
 	-D_REENTRANT -DDEBUG   \
-	-o anjal-uni.la -rpath ~/.gtk-2.0/immodules \
-	-rpath ~/.gtk-2.0/immodules -avoid-version -module \
+	-o anjal-uni.la -rpath /opt/gnome/lib/gtk-2.0/immodules \
+	-rpath /opt/gnome/lib/gtk-2.0/immodules -avoid-version -module \
 	anjal-uni.lo `pkg-config --libs gtk+-2.0`	
 
openSUSE Build Service is sponsored by