From 775232047d8336157731fed026067e325e7253d4 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Fri, 14 Oct 2016 13:15:03 +0200 Subject: [PATCH] rebase to 5.2.12-pre3, adding new share libraries to devel subpackage --- .gitignore | 1 + gutenprint-O6.patch | 20 ++++++++++---------- gutenprint.spec | 8 ++++++-- sources | 2 +- 4 files changed, 18 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 6284d04..747fb9c 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ gutenprint-5.2.6.tar.bz2 /gutenprint-5.2.11-pre2.tar.bz2 /gutenprint-5.2.11.tar.bz2 /gutenprint-5.2.12-pre2.tar.bz2 +/gutenprint-5.2.12-pre3.tar.bz2 diff --git a/gutenprint-O6.patch b/gutenprint-O6.patch index 0c1084b..fbdb356 100644 --- a/gutenprint-O6.patch +++ b/gutenprint-O6.patch @@ -1,7 +1,7 @@ -diff -up gutenprint-5.2.7/configure.ac.O6 gutenprint-5.2.7/configure.ac ---- gutenprint-5.2.7/configure.ac.O6 2011-05-02 03:20:49.000000000 +0200 -+++ gutenprint-5.2.7/configure.ac 2011-05-05 12:40:29.000000000 +0200 -@@ -625,27 +625,6 @@ AH_TEMPLATE(PKGMODULEDIR,, [Package modu +diff -up gutenprint-5.2.12-pre3/configure.ac.O6 gutenprint-5.2.12-pre3/configure.ac +--- gutenprint-5.2.12-pre3/configure.ac.O6 2016-10-14 10:41:54.290398824 +0200 ++++ gutenprint-5.2.12-pre3/configure.ac 2016-10-14 10:44:04.921328215 +0200 +@@ -638,27 +638,6 @@ AH_TEMPLATE(PKGMODULEDIR,, [Package modu PKGMODULEDIR="${PACKAGE_LIB_DIR}/${GUTENPRINT_RELEASE_VERSION}/modules" AC_DEFINE_UNQUOTED(PKGMODULEDIR, ["$PKGMODULEDIR"]) @@ -9,7 +9,7 @@ diff -up gutenprint-5.2.7/configure.ac.O6 gutenprint-5.2.7/configure.ac -if test x$ac_compiler_gnu = "xyes"; then - STP_ADD_COMPILER_ARGS([-Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -Werror-implicit-function-declaration -Winline -Wformat=2 -finline-limit=131072],, [GNUCFLAGS]) - if test x${USE_MAINTAINER_MODE} = xyes ; then -- STP_ADD_COMPILER_ARGS([-pedantic -Waggregate-return -Wcast-qual -Wshadow -Wredundant-decls],, [GNUCFLAGS]) +- STP_ADD_COMPILER_ARGS([-D_POSIX_C_SOURCE=200809L -std=c99 -pedantic -Waggregate-return -Wcast-qual -Wshadow -Wredundant-decls],, [GNUCFLAGS]) - fi - if test x$ENABLE_DEBUG = xyes ; then - STP_ADD_COMPILER_ARG([-g]) @@ -29,10 +29,10 @@ diff -up gutenprint-5.2.7/configure.ac.O6 gutenprint-5.2.7/configure.ac AC_SUBST(GNUCFLAGS) AH_TEMPLATE([HAVE_GCC_ATTRIBUTES], -diff -up gutenprint-5.2.7/configure.O6 gutenprint-5.2.7/configure ---- gutenprint-5.2.7/configure.O6 2011-05-02 03:32:21.000000000 +0200 -+++ gutenprint-5.2.7/configure 2011-05-05 12:52:09.000000000 +0200 -@@ -16589,246 +16589,6 @@ cat >>confdefs.h <<_ACEOF +diff -up gutenprint-5.2.12-pre3/configure.O6 gutenprint-5.2.12-pre3/configure +--- gutenprint-5.2.12-pre3/configure.O6 2016-10-14 10:41:54.293398800 +0200 ++++ gutenprint-5.2.12-pre3/configure 2016-10-14 10:53:25.392709079 +0200 +@@ -17651,246 +17651,6 @@ cat >>confdefs.h <<_ACEOF #define PKGMODULEDIR "$PKGMODULEDIR" _ACEOF @@ -73,7 +73,7 @@ diff -up gutenprint-5.2.7/configure.O6 gutenprint-5.2.7/configure - - if test x${USE_MAINTAINER_MODE} = xyes ; then - -- for stp_ac_arg in -pedantic -Waggregate-return -Wcast-qual -Wshadow -Wredundant-decls ; do +- for stp_ac_arg in -D_POSIX_C_SOURCE=200809L -std=c99 -pedantic -Waggregate-return -Wcast-qual -Wshadow -Wredundant-decls ; do - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ${CC} supports ${stp_ac_arg}" >&5 -$as_echo_n "checking if ${CC} supports ${stp_ac_arg}... " >&6; } diff --git a/gutenprint.spec b/gutenprint.spec index f1c20c3..100bbdf 100644 --- a/gutenprint.spec +++ b/gutenprint.spec @@ -1,4 +1,4 @@ -%global prever pre2 +%global prever pre3 %global build_with_ijs_support 1 #%%global VERSION %%{version} %global VERSION %{version}-%{prever} @@ -6,7 +6,7 @@ Name: gutenprint Summary: Printer Drivers Package Version: 5.2.12 -Release: 0.2%{prever}%{?dist} +Release: 0.3%{prever}%{?dist} URL: http://gimp-print.sourceforge.net/ Source0: http://downloads.sourceforge.net/gimp-print/%{name}-%{VERSION}.tar.bz2 # Post-install script to update foomatic PPDs. @@ -238,6 +238,7 @@ exit 0 %{_includedir}/gutenprint/ %{_includedir}/gutenprintui2/ %{_libdir}/*.so +%{_libdir}/%{name}/5.2/modules/*.so %{_libdir}/pkgconfig/gutenprint.pc %{_libdir}/pkgconfig/gutenprintui2.pc %exclude %{_libdir}/*.la @@ -277,6 +278,9 @@ fi /bin/rm -f /var/cache/foomatic/* %changelog +* Fri Oct 14 2016 Zdenek Dohnal - 5.2.12-0.4pre3 +- rebase to 5.2.12-pre3, adding new share libraries to devel subpackage + * Tue Sep 20 2016 Zdenek Dohnal - 5.2.12-0.2pre2 - adding new sources diff --git a/sources b/sources index 82c6846..4543b5f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -118deeed1c6a29e1e8d6c33a9c3c9293 gutenprint-5.2.12-pre2.tar.bz2 +1825adc74a864d10e142089beebc7285 gutenprint-5.2.12-pre3.tar.bz2