SOURCES: gmpc-plugins_path.patch (NEW) - missing patch

jajcus jajcus at pld-linux.org
Sun Dec 17 14:36:28 CET 2006


Author: jajcus                       Date: Sun Dec 17 13:36:28 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- missing patch

---- Files affected:
SOURCES:
   gmpc-plugins_path.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/gmpc-plugins_path.patch
diff -u /dev/null SOURCES/gmpc-plugins_path.patch:1.1
--- /dev/null	Sun Dec 17 14:36:28 2006
+++ SOURCES/gmpc-plugins_path.patch	Sun Dec 17 14:36:23 2006
@@ -0,0 +1,30 @@
+diff -dur -x '*~' gmpc-0.13.0.orig/src/Makefile.am gmpc-0.13.0/src/Makefile.am
+--- gmpc-0.13.0.orig/src/Makefile.am	2006-01-18 12:16:30.000000000 +0100
++++ gmpc-0.13.0/src/Makefile.am	2006-12-15 18:03:59.000000000 +0100
+@@ -24,9 +24,12 @@
+ 	cover-art-manager.c\
+ 	TreeSearchWidget.c
+ 
++pkglibdir_LIBS = 
++
+ INCLUDES= @EXTRA_CFLAGS@ -Wall\
+ 	-DPIXMAP_PATH=\""$(pkgdatadir)"\" \
+ 	-DGLADE_PATH=\""$(pkgdatadir)"\" \
++	-DPLUGINS_PATH=\""$(pkglibdir)"\" \
+ 	-DVERSION=\"@VERSION@\"
+ 
+ LIBS = \
+diff -dur -x '*~' gmpc-0.13.0.orig/src/main.c gmpc-0.13.0/src/main.c
+--- gmpc-0.13.0.orig/src/main.c	2006-02-14 19:04:43.000000000 +0100
++++ gmpc-0.13.0/src/main.c	2006-12-15 17:59:04.000000000 +0100
+@@ -241,9 +241,7 @@
+ 	
+ 
+ 
+-	url = g_strdup_printf("%s/%s",GLADE_PATH, "plugins");
+-	plugin_load_dir(url);
+-	g_free(url);
++	plugin_load_dir(PLUGINS_PATH);
+ 	/* plugins */
+ 	url = g_strdup_printf("%s/.gmpc/plugins/",g_get_home_dir());
+ 	if(g_file_test(url, G_FILE_TEST_IS_DIR))
================================================================


More information about the pld-cvs-commit mailing list