From 58707d37339f134845d6fa68f9ad77bd4e6a103e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 30 Aug 2014 10:41:17 +0200 Subject: [PATCH] libmng: update to 2.0.2 (soname bump). --- common/shlibs | 2 +- srcpkgs/libmng/patches/configure.patch | 13 ------------ srcpkgs/libmng/patches/libmng-stdio.patch | 10 ++++++++++ srcpkgs/libmng/template | 24 +++++++++-------------- 4 files changed, 20 insertions(+), 29 deletions(-) delete mode 100644 srcpkgs/libmng/patches/configure.patch create mode 100644 srcpkgs/libmng/patches/libmng-stdio.patch diff --git a/common/shlibs b/common/shlibs index c60e998c95..32dd2b474a 100644 --- a/common/shlibs +++ b/common/shlibs @@ -421,7 +421,7 @@ libdvbpsi.so.9 libdvbpsi-1.1.2_1 libdca.so.0 libdca-0.0.5_1 libmpeg2.so.0 libmpeg2-0.5.1_1 libmpeg2convert.so.0 libmpeg2-0.5.1_1 -libmng.so.1 libmng-1.0.10_1 +libmng.so.2 libmng-2.0.2_1 libQtAssistantClient.so qt-4.5.3_1 libQtXmlPatterns.so.4 qt-4.5.3_1 libQtScriptTools.so.4 qt-4.5.3_1 diff --git a/srcpkgs/libmng/patches/configure.patch b/srcpkgs/libmng/patches/configure.patch deleted file mode 100644 index 528dd8d577..0000000000 --- a/srcpkgs/libmng/patches/configure.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- makefiles/configure.in.orig 2012-05-23 11:52:20.653259562 +0200 -+++ makefiles/configure.in 2012-05-23 11:52:25.517142443 +0200 -@@ -15,10 +15,6 @@ AC_SUBST(VERSION) - dnl Checks for programs. - AC_PROG_CC - AC_ISC_POSIX --AM_C_PROTOTYPES --if test "x$U" != "x"; then -- AC_MSG_ERROR(Compiler not ANSI compliant) --fi - AM_PROG_LIBTOOL - AC_PROG_INSTALL - diff --git a/srcpkgs/libmng/patches/libmng-stdio.patch b/srcpkgs/libmng/patches/libmng-stdio.patch new file mode 100644 index 0000000000..0724a3c914 --- /dev/null +++ b/srcpkgs/libmng/patches/libmng-stdio.patch @@ -0,0 +1,10 @@ +--- libmng_types.h 2013-08-15 16:26:03.000000000 -0400 ++++ libmng_types.h 2013-08-16 19:53:39.165878412 -0400 +@@ -204,6 +204,7 @@ + #define HAVE_BOOLEAN + typedef int boolean; + #endif ++#include + #include + #endif /* MNG_INCLUDE_IJG6B */ + diff --git a/srcpkgs/libmng/template b/srcpkgs/libmng/template index 659066e430..461ed5ba03 100644 --- a/srcpkgs/libmng/template +++ b/srcpkgs/libmng/template @@ -1,30 +1,24 @@ # Template build file for 'libmng'. pkgname=libmng -version=1.0.10 -revision=9 +version=2.0.2 +revision=1 build_style=gnu-configure -configure_args="--disable-static" -hostmakedepends="automake libtool" -makedepends="libjpeg-turbo-devel zlib-devel lcms-devel" +makedepends="libjpeg-turbo-devel zlib-devel lcms2-devel" short_desc="Multiple-image Network Graphics (MNG) reference library" maintainer="Juan RP " homepage="http://www.libmng.com" license="BSD" -distfiles="http://www.libmng.com/download/libmng-$version.tar.bz2" -checksum=7b1477816c54b4d8ee0690c583982637910a1801ece0b0831e03fd07882e8118 - -pre_configure() { - ln -s makefiles/configure.in . - ln -s makefiles/Makefile.am . - autoreconf -fi -} +distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz" +checksum=278c04c781e5a679c91df006fee7e71233e6f15557aef513a19fe49cd650bc50 libmng-devel_package() { - depends="libjpeg-turbo-devel zlib-devel lcms-devel libmng>=${version}_${revision}" + depends="${makedepends} libmng>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/share/man/man3 - vmove "usr/lib/*.so" + vmove usr/lib/*.a + vmove usr/lib/*.so + vmove usr/lib/pkgconfig } }