Browse Source

fix compile when autopoint missing

Waldemar Brodkorb 10 years ago
parent
commit
5854e2b72c

+ 11 - 0
package/xbmc/patches/patch-lib_cpluff_Makefile_am

@@ -0,0 +1,11 @@
+--- xbmc-13.0rc1.orig/lib/cpluff/Makefile.am	2014-04-30 15:43:53.000000000 +0200
++++ xbmc-13.0rc1/lib/cpluff/Makefile.am	2014-05-05 13:03:15.329450196 +0200
+@@ -6,7 +6,7 @@
+ 
+ ACLOCAL_AMFLAGS = -I m4
+ 
+-SUBDIRS = libcpluff loader console po test docsrc doc
++SUBDIRS = libcpluff loader console test docsrc doc
+ DIST_SUBDIRS = $(SUBDIRS) examples
+ 
+ EXTRA_DIST = COPYRIGHT.txt INSTALL.txt ChangeLog.txt Roadmap.txt autogen.sh plugin.xsd

+ 10 - 0
package/xbmc/patches/patch-lib_cpluff_autogen_sh

@@ -0,0 +1,10 @@
+--- xbmc-13.0rc1.orig/lib/cpluff/autogen.sh	2014-04-30 15:43:53.000000000 +0200
++++ xbmc-13.0rc1/lib/cpluff/autogen.sh	2014-05-05 12:15:29.307227206 +0200
+@@ -15,7 +15,6 @@ fi
+ 
+ # Generate files in top level directory
+ cd "$basedir"
+-autopoint
+ rm -f ABOUT-NLS
+ test -d auxliary || mkdir auxliary
+ libtoolize --automake -f

+ 11 - 0
package/xbmc/patches/patch-lib_cpluff_configure_ac

@@ -0,0 +1,11 @@
+--- xbmc-13.0rc1.orig/lib/cpluff/configure.ac	2014-04-30 15:43:53.000000000 +0200
++++ xbmc-13.0rc1/lib/cpluff/configure.ac	2014-05-05 13:03:32.437577723 +0200
+@@ -46,8 +46,6 @@ AC_SUBST([CP_CXX_LIB_VERSION])
+ # -----------------------
+ AM_INIT_AUTOMAKE([foreign])
+ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+-AM_GNU_GETTEXT([external])
+-AM_GNU_GETTEXT_VERSION([0.16.1])
+ 
+ # C/C++ compiler settings
+ # -------------------

+ 11 - 0
package/xbmc/patches/patch-lib_cpluff_libcpluff_Makefile_am

@@ -0,0 +1,11 @@
+--- xbmc-13.0rc1.orig/lib/cpluff/libcpluff/Makefile.am	2014-04-30 15:43:53.000000000 +0200
++++ xbmc-13.0rc1/lib/cpluff/libcpluff/Makefile.am	2014-05-05 13:53:11.766461900 +0200
+@@ -6,7 +6,7 @@
+ 
+ SUBDIRS = docsrc
+ 
+-LIBS = @LIBS_LIBCPLUFF@ @LTLIBINTL@ @LIBS@
++LIBS = @LIBS_LIBCPLUFF@ @LIBS@
+ 
+ CPPFLAGS = @CPPFLAGS@
+ CPPFLAGS += -I. -DCP_C_API=CP_EXPORT -DCP_HOST="\"$(host)\"" -DCP_DATADIR="\"$(datadir)\""