[vlc-commits] Contribs: update gpg-error to 1.10

Jean-Baptiste Kempf git at videolan.org
Wed Oct 19 01:46:59 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Oct 19 01:45:12 2011 +0200| [0d0d45446408e786e48392bd8d6ce6c855574510] | committer: Jean-Baptiste Kempf

Contribs: update gpg-error to 1.10

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0d0d45446408e786e48392bd8d6ce6c855574510
---

 contrib/src/gpg-error/SHA512SUMS         |    2 +-
 contrib/src/gpg-error/rules.mak          |    7 +++++--
 contrib/src/gpg-error/windres-make.patch |   11 +++++++++++
 extras/contrib/src/contrib-src.mak       |    4 ++--
 extras/contrib/src/packages.mak          |    2 +-
 5 files changed, 20 insertions(+), 6 deletions(-)

diff --git a/contrib/src/gpg-error/SHA512SUMS b/contrib/src/gpg-error/SHA512SUMS
index de0e3ac..a769b1f 100644
--- a/contrib/src/gpg-error/SHA512SUMS
+++ b/contrib/src/gpg-error/SHA512SUMS
@@ -1 +1 @@
-6cf5138e05fb6ee320035d86c71ff9aa940b0f16e4787eb832a781d5d97d0e865eac0b988c251657a0e77dffced1d9ef3e7f4d0cdf806cb18abfbbcf07f27a72  libgpg-error-1.7.tar.bz2
+438f922a3a4fa7db22ba9b68deab18c663afbc8166ddeee487b7eb0a9ee04ce84bbc871ad31bf11a7c77322948869a2dc5014cf6a73b68d8f10fcf7e24d165d5  libgpg-error-1.10.tar.bz2
diff --git a/contrib/src/gpg-error/rules.mak b/contrib/src/gpg-error/rules.mak
index bcae0ad..49d848c 100644
--- a/contrib/src/gpg-error/rules.mak
+++ b/contrib/src/gpg-error/rules.mak
@@ -1,5 +1,5 @@
 # GPGERROR
-GPGERROR_VERSION := 1.7
+GPGERROR_VERSION := 1.10
 GPGERROR_URL := ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-$(GPGERROR_VERSION).tar.bz2
 
 $(TARBALLS)/libgpg-error-$(GPGERROR_VERSION).tar.bz2:
@@ -9,10 +9,13 @@ $(TARBALLS)/libgpg-error-$(GPGERROR_VERSION).tar.bz2:
 
 libgpg-error: libgpg-error-$(GPGERROR_VERSION).tar.bz2 .sum-gpg-error
 	$(UNPACK)
+ifdef HAVE_WIN32
+	$(APPLY) $(SRC)/gpg-error/windres-make.patch
+endif
 	$(MOVE)
 
 .gpg-error: libgpg-error
-	#$(RECONF)
+	$(RECONF)
 	cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --disable-nls --disable-shared --disable-languages
 	cd $< && $(MAKE) install
 	touch $@
diff --git a/contrib/src/gpg-error/windres-make.patch b/contrib/src/gpg-error/windres-make.patch
new file mode 100644
index 0000000..b263871
--- /dev/null
+++ b/contrib/src/gpg-error/windres-make.patch
@@ -0,0 +1,11 @@
+--- libgpg-error/src/Makefile.am	2010-04-14 11:16:44.000000000 +0200
++++ libgpg-error.new/src/Makefile.am	2010-08-09 11:21:56.000000000 +0200
+@@ -60,7 +60,7 @@
+ arch_sources = w32-gettext.c
+ 
+ RCCOMPILE = $(RC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+-            -DLOCALEDIR=\"$(localedir)\" $(AM_CPPFLAGS) $(CPPFLAGS)
++            -DLOCALEDIR=\"$(localedir)\" $(AM_CPPFLAGS)
+ LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RCCOMPILE)
+ 
+ SUFFIXES = .rc .lo
diff --git a/extras/contrib/src/contrib-src.mak b/extras/contrib/src/contrib-src.mak
index f6dd671..4477743 100644
--- a/extras/contrib/src/contrib-src.mak
+++ b/extras/contrib/src/contrib-src.mak
@@ -1820,8 +1820,8 @@ libgpg-error-$(GPGERROR_VERSION).tar.bz2:
 libgpg-error: libgpg-error-$(GPGERROR_VERSION).tar.bz2
 	$(EXTRACT_BZ2)
 ifdef HAVE_WIN32
-#	patch -p 0 < Patches/libgpg-error-win32.patch
-#	(cd $@; ./autogen.sh)
+	patch -p 0 < Patches/libgpg-error-win32.patch
+	(cd $@; autoreconf -ivf)
 endif
 
 .gpg-error: libgpg-error
diff --git a/extras/contrib/src/packages.mak b/extras/contrib/src/packages.mak
index bb83a40..da3f590 100644
--- a/extras/contrib/src/packages.mak
+++ b/extras/contrib/src/packages.mak
@@ -134,7 +134,7 @@ CDIO_VERSION=0.80
 CDIO_URL=$(GNU)/libcdio/libcdio-$(CDIO_VERSION).tar.gz
 PNG_VERSION=1.4.8
 PNG_URL=$(SF)/libpng/libpng-$(PNG_VERSION).tar.bz2
-GPGERROR_VERSION=1.7
+GPGERROR_VERSION=1.10
 #GPGERROR_URL=$(CONTRIB_VIDEOLAN)/libgpg-error-$(GPGERROR_VERSION).tar.bz2
 GPGERROR_URL=ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-$(GPGERROR_VERSION).tar.bz2
 GCRYPT_VERSION=1.4.6



More information about the vlc-commits mailing list