rpms/gutenprint/F-11 gutenprint-O6.patch, 1.3, 1.4 gutenprint.spec, 1.50, 1.51

Tim Waugh twaugh at fedoraproject.org
Fri Jul 31 16:38:18 UTC 2009


Author: twaugh

Update of /cvs/pkgs/rpms/gutenprint/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9042

Modified Files:
	gutenprint-O6.patch gutenprint.spec 
Log Message:
* Fri Jul 31 2009 Tim Waugh <twaugh at redhat.com> 5.2.4-1
- 5.2.4.  Re-enabled compiler optimization for ppc64.


gutenprint-O6.patch:
 configure    |  415 -----------------------------------------------------------
 configure.ac |   21 --
 2 files changed, 436 deletions(-)

Index: gutenprint-O6.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gutenprint/F-11/gutenprint-O6.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- gutenprint-O6.patch	20 Nov 2008 17:15:23 -0000	1.3
+++ gutenprint-O6.patch	31 Jul 2009 16:38:18 -0000	1.4
@@ -1,6 +1,6 @@
-diff -up gutenprint-5.2.2/configure.ac.O6 gutenprint-5.2.2/configure.ac
---- gutenprint-5.2.2/configure.ac.O6	2008-11-19 11:23:29.000000000 +0000
-+++ gutenprint-5.2.2/configure.ac	2008-11-19 11:24:35.000000000 +0000
+diff -up gutenprint-5.2.4/configure.ac.O6 gutenprint-5.2.4/configure.ac
+--- gutenprint-5.2.4/configure.ac.O6	2009-07-31 17:29:06.175961565 +0100
++++ gutenprint-5.2.4/configure.ac	2009-07-31 17:29:32.117962246 +0100
 @@ -625,27 +625,6 @@ AH_TEMPLATE(PKGMODULEDIR,, [Package modu
  PKGMODULEDIR="${PACKAGE_LIB_DIR}/${GUTENPRINT_RELEASE_VERSION}/modules"
  AC_DEFINE_UNQUOTED(PKGMODULEDIR, ["$PKGMODULEDIR"])
@@ -29,10 +29,10 @@ diff -up gutenprint-5.2.2/configure.ac.O
  AC_SUBST(GNUCFLAGS)
  
  AH_TEMPLATE([HAVE_GCC_ATTRIBUTES],
-diff -up gutenprint-5.2.2/configure.O6 gutenprint-5.2.2/configure
---- gutenprint-5.2.2/configure.O6	2008-11-19 11:23:32.000000000 +0000
-+++ gutenprint-5.2.2/configure	2008-11-19 11:24:49.000000000 +0000
-@@ -26509,410 +26509,6 @@ cat >>confdefs.h <<_ACEOF
+diff -up gutenprint-5.2.4/configure.O6 gutenprint-5.2.4/configure
+--- gutenprint-5.2.4/configure.O6	2009-07-31 17:29:39.376961485 +0100
++++ gutenprint-5.2.4/configure	2009-07-31 17:31:08.881961477 +0100
+@@ -17925,421 +17925,6 @@ cat >>confdefs.h <<_ACEOF
  _ACEOF
  
  
@@ -40,8 +40,8 @@ diff -up gutenprint-5.2.2/configure.O6 g
 -
 -  for stp_ac_arg in -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -Werror-implicit-function-declaration -Winline -Wformat=2 -finline-limit=131072 ; do
 -
--  { echo "$as_me:$LINENO: checking if ${CC} supports ${stp_ac_arg}" >&5
--echo $ECHO_N "checking if ${CC} supports ${stp_ac_arg}... $ECHO_C" >&6; }
+-  { $as_echo "$as_me:$LINENO: checking if ${CC} supports ${stp_ac_arg}" >&5
+-$as_echo_n "checking if ${CC} supports ${stp_ac_arg}... " >&6; }
 -  stp_acOLDCFLAGS="${CFLAGS}"
 -  CFLAGS="${GNUCFLAGS} ${stp_ac_arg}"
 -  cat >conftest.$ac_ext <<_ACEOF
@@ -65,26 +65,27 @@ diff -up gutenprint-5.2.2/configure.O6 g
 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 -  *) ac_try_echo=$ac_try;;
 -esac
--eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+-$as_echo "$ac_try_echo") >&5
 -  (eval "$ac_compile") 2>conftest.er1
 -  ac_status=$?
 -  grep -v '^ *+' conftest.er1 >conftest.err
 -  rm -f conftest.er1
 -  cat conftest.err >&5
--  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 -  (exit $ac_status); } && {
 -	 test -z "$ac_c_werror_flag" ||
 -	 test ! -s conftest.err
 -       } && test -s conftest.$ac_objext; then
--   { echo "$as_me:$LINENO: result: yes" >&5
--echo "${ECHO_T}yes" >&6; };
+-   { $as_echo "$as_me:$LINENO: result: yes" >&5
+-$as_echo "yes" >&6; };
 -        stp_newCFLAGS="$CFLAGS"
 -else
--  echo "$as_me: failed program was:" >&5
+-  $as_echo "$as_me: failed program was:" >&5
 -sed 's/^/| /' conftest.$ac_ext >&5
 -
--	 { echo "$as_me:$LINENO: result: no" >&5
--echo "${ECHO_T}no" >&6; };
+-	 { $as_echo "$as_me:$LINENO: result: no" >&5
+-$as_echo "no" >&6; };
 -	stp_newCFLAGS="$stp_acOLDCFLAGS"
 -fi
 -
@@ -98,8 +99,8 @@ diff -up gutenprint-5.2.2/configure.O6 g
 -
 -  for stp_ac_arg in -pedantic -Waggregate-return -Wcast-qual -Wshadow -Wredundant-decls ; do
 -
--  { echo "$as_me:$LINENO: checking if ${CC} supports ${stp_ac_arg}" >&5
--echo $ECHO_N "checking if ${CC} supports ${stp_ac_arg}... $ECHO_C" >&6; }
+-  { $as_echo "$as_me:$LINENO: checking if ${CC} supports ${stp_ac_arg}" >&5
+-$as_echo_n "checking if ${CC} supports ${stp_ac_arg}... " >&6; }
 -  stp_acOLDCFLAGS="${CFLAGS}"
 -  CFLAGS="${GNUCFLAGS} ${stp_ac_arg}"
 -  cat >conftest.$ac_ext <<_ACEOF
@@ -123,26 +124,27 @@ diff -up gutenprint-5.2.2/configure.O6 g
 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 -  *) ac_try_echo=$ac_try;;
 -esac
--eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+-$as_echo "$ac_try_echo") >&5
 -  (eval "$ac_compile") 2>conftest.er1
 -  ac_status=$?
 -  grep -v '^ *+' conftest.er1 >conftest.err
 -  rm -f conftest.er1
 -  cat conftest.err >&5
--  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 -  (exit $ac_status); } && {
 -	 test -z "$ac_c_werror_flag" ||
 -	 test ! -s conftest.err
 -       } && test -s conftest.$ac_objext; then
--   { echo "$as_me:$LINENO: result: yes" >&5
--echo "${ECHO_T}yes" >&6; };
+-   { $as_echo "$as_me:$LINENO: result: yes" >&5
+-$as_echo "yes" >&6; };
 -        stp_newCFLAGS="$CFLAGS"
 -else
--  echo "$as_me: failed program was:" >&5
+-  $as_echo "$as_me: failed program was:" >&5
 -sed 's/^/| /' conftest.$ac_ext >&5
 -
--	 { echo "$as_me:$LINENO: result: no" >&5
--echo "${ECHO_T}no" >&6; };
+-	 { $as_echo "$as_me:$LINENO: result: no" >&5
+-$as_echo "no" >&6; };
 -	stp_newCFLAGS="$stp_acOLDCFLAGS"
 -fi
 -
@@ -155,8 +157,8 @@ diff -up gutenprint-5.2.2/configure.O6 g
 -  fi
 -  if test x$ENABLE_DEBUG = xyes ; then
 -
--  { echo "$as_me:$LINENO: checking if ${CC} supports -g" >&5
--echo $ECHO_N "checking if ${CC} supports -g... $ECHO_C" >&6; }
+-  { $as_echo "$as_me:$LINENO: checking if ${CC} supports -g" >&5
+-$as_echo_n "checking if ${CC} supports -g... " >&6; }
 -  stp_acOLDCFLAGS="${CFLAGS}"
 -  CFLAGS="${CFLAGS} -g"
 -  cat >conftest.$ac_ext <<_ACEOF
@@ -180,26 +182,27 @@ diff -up gutenprint-5.2.2/configure.O6 g
 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 -  *) ac_try_echo=$ac_try;;
 -esac
--eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+-$as_echo "$ac_try_echo") >&5
 -  (eval "$ac_compile") 2>conftest.er1
 -  ac_status=$?
 -  grep -v '^ *+' conftest.er1 >conftest.err
 -  rm -f conftest.er1
 -  cat conftest.err >&5
--  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 -  (exit $ac_status); } && {
 -	 test -z "$ac_c_werror_flag" ||
 -	 test ! -s conftest.err
 -       } && test -s conftest.$ac_objext; then
--   { echo "$as_me:$LINENO: result: yes" >&5
--echo "${ECHO_T}yes" >&6; };
+-   { $as_echo "$as_me:$LINENO: result: yes" >&5
+-$as_echo "yes" >&6; };
 -        stp_newCFLAGS="$CFLAGS"
 -else
--  echo "$as_me: failed program was:" >&5
+-  $as_echo "$as_me: failed program was:" >&5
 -sed 's/^/| /' conftest.$ac_ext >&5
 -
--	 { echo "$as_me:$LINENO: result: no" >&5
--echo "${ECHO_T}no" >&6; };
+-	 { $as_echo "$as_me:$LINENO: result: no" >&5
+-$as_echo "no" >&6; };
 -	stp_newCFLAGS="$stp_acOLDCFLAGS"
 -fi
 -
@@ -212,8 +215,8 @@ diff -up gutenprint-5.2.2/configure.O6 g
 -  for stp_ac_arg in -O6 -O3 -O2 -O1 -O ; do
 -    stp_ac_save_CFLAGS="${CFLAGS}"
 -
--  { echo "$as_me:$LINENO: checking if ${CC} supports ${stp_ac_arg}" >&5
--echo $ECHO_N "checking if ${CC} supports ${stp_ac_arg}... $ECHO_C" >&6; }
+-  { $as_echo "$as_me:$LINENO: checking if ${CC} supports ${stp_ac_arg}" >&5
+-$as_echo_n "checking if ${CC} supports ${stp_ac_arg}... " >&6; }
 -  stp_acOLDCFLAGS="${CFLAGS}"
 -  CFLAGS="${CFLAGS} ${stp_ac_arg}"
 -  cat >conftest.$ac_ext <<_ACEOF
@@ -237,26 +240,27 @@ diff -up gutenprint-5.2.2/configure.O6 g
 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 -  *) ac_try_echo=$ac_try;;
 -esac
--eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+-$as_echo "$ac_try_echo") >&5
 -  (eval "$ac_compile") 2>conftest.er1
 -  ac_status=$?
 -  grep -v '^ *+' conftest.er1 >conftest.err
 -  rm -f conftest.er1
 -  cat conftest.err >&5
--  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 -  (exit $ac_status); } && {
 -	 test -z "$ac_c_werror_flag" ||
 -	 test ! -s conftest.err
 -       } && test -s conftest.$ac_objext; then
--   { echo "$as_me:$LINENO: result: yes" >&5
--echo "${ECHO_T}yes" >&6; };
+-   { $as_echo "$as_me:$LINENO: result: yes" >&5
+-$as_echo "yes" >&6; };
 -        stp_newCFLAGS="$CFLAGS"
 -else
--  echo "$as_me: failed program was:" >&5
+-  $as_echo "$as_me: failed program was:" >&5
 -sed 's/^/| /' conftest.$ac_ext >&5
 -
--	 { echo "$as_me:$LINENO: result: no" >&5
--echo "${ECHO_T}no" >&6; };
+-	 { $as_echo "$as_me:$LINENO: result: no" >&5
+-$as_echo "no" >&6; };
 -	stp_newCFLAGS="$stp_acOLDCFLAGS"
 -fi
 -
@@ -271,8 +275,8 @@ diff -up gutenprint-5.2.2/configure.O6 g
 -else
 -  if test x$ENABLE_DEBUG = xyes ; then
 -
--  { echo "$as_me:$LINENO: checking if ${CC} supports -g" >&5
--echo $ECHO_N "checking if ${CC} supports -g... $ECHO_C" >&6; }
+-  { $as_echo "$as_me:$LINENO: checking if ${CC} supports -g" >&5
+-$as_echo_n "checking if ${CC} supports -g... " >&6; }
 -  stp_acOLDCFLAGS="${CFLAGS}"
 -  CFLAGS="${CFLAGS} -g"
 -  cat >conftest.$ac_ext <<_ACEOF
@@ -296,26 +300,27 @@ diff -up gutenprint-5.2.2/configure.O6 g
 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 -  *) ac_try_echo=$ac_try;;
 -esac
--eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+-$as_echo "$ac_try_echo") >&5
 -  (eval "$ac_compile") 2>conftest.er1
 -  ac_status=$?
 -  grep -v '^ *+' conftest.er1 >conftest.err
 -  rm -f conftest.er1
 -  cat conftest.err >&5
--  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 -  (exit $ac_status); } && {
 -	 test -z "$ac_c_werror_flag" ||
 -	 test ! -s conftest.err
 -       } && test -s conftest.$ac_objext; then
--   { echo "$as_me:$LINENO: result: yes" >&5
--echo "${ECHO_T}yes" >&6; };
+-   { $as_echo "$as_me:$LINENO: result: yes" >&5
+-$as_echo "yes" >&6; };
 -        stp_newCFLAGS="$CFLAGS"
 -else
--  echo "$as_me: failed program was:" >&5
+-  $as_echo "$as_me: failed program was:" >&5
 -sed 's/^/| /' conftest.$ac_ext >&5
 -
--	 { echo "$as_me:$LINENO: result: no" >&5
--echo "${ECHO_T}no" >&6; };
+-	 { $as_echo "$as_me:$LINENO: result: no" >&5
+-$as_echo "no" >&6; };
 -	stp_newCFLAGS="$stp_acOLDCFLAGS"
 -fi
 -
@@ -328,8 +333,8 @@ diff -up gutenprint-5.2.2/configure.O6 g
 -  for stp_ac_arg in -O ; do
 -    stp_ac_save_CFLAGS="${CFLAGS}"
 -
--  { echo "$as_me:$LINENO: checking if ${CC} supports ${stp_ac_arg}" >&5
--echo $ECHO_N "checking if ${CC} supports ${stp_ac_arg}... $ECHO_C" >&6; }
+-  { $as_echo "$as_me:$LINENO: checking if ${CC} supports ${stp_ac_arg}" >&5
+-$as_echo_n "checking if ${CC} supports ${stp_ac_arg}... " >&6; }
 -  stp_acOLDCFLAGS="${CFLAGS}"
 -  CFLAGS="${CFLAGS} ${stp_ac_arg}"
 -  cat >conftest.$ac_ext <<_ACEOF
@@ -353,26 +358,27 @@ diff -up gutenprint-5.2.2/configure.O6 g
 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 -  *) ac_try_echo=$ac_try;;
 -esac
--eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+-$as_echo "$ac_try_echo") >&5
 -  (eval "$ac_compile") 2>conftest.er1
 -  ac_status=$?
 -  grep -v '^ *+' conftest.er1 >conftest.err
 -  rm -f conftest.er1
 -  cat conftest.err >&5
--  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 -  (exit $ac_status); } && {
 -	 test -z "$ac_c_werror_flag" ||
 -	 test ! -s conftest.err
 -       } && test -s conftest.$ac_objext; then
--   { echo "$as_me:$LINENO: result: yes" >&5
--echo "${ECHO_T}yes" >&6; };
+-   { $as_echo "$as_me:$LINENO: result: yes" >&5
+-$as_echo "yes" >&6; };
 -        stp_newCFLAGS="$CFLAGS"
 -else
--  echo "$as_me: failed program was:" >&5
+-  $as_echo "$as_me: failed program was:" >&5
 -sed 's/^/| /' conftest.$ac_ext >&5
 -
--	 { echo "$as_me:$LINENO: result: no" >&5
--echo "${ECHO_T}no" >&6; };
+-	 { $as_echo "$as_me:$LINENO: result: no" >&5
+-$as_echo "no" >&6; };
 -	stp_newCFLAGS="$stp_acOLDCFLAGS"
 -fi
 -
@@ -387,8 +393,8 @@ diff -up gutenprint-5.2.2/configure.O6 g
 -fi
 -if test x$ENABLE_PROFILE = xyes ; then
 -
--  { echo "$as_me:$LINENO: checking if ${CC} supports -pg" >&5
--echo $ECHO_N "checking if ${CC} supports -pg... $ECHO_C" >&6; }
+-  { $as_echo "$as_me:$LINENO: checking if ${CC} supports -pg" >&5
+-$as_echo_n "checking if ${CC} supports -pg... " >&6; }
 -  stp_acOLDCFLAGS="${CFLAGS}"
 -  CFLAGS="${CFLAGS} -pg"
 -  cat >conftest.$ac_ext <<_ACEOF
@@ -412,26 +418,27 @@ diff -up gutenprint-5.2.2/configure.O6 g
 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 -  *) ac_try_echo=$ac_try;;
 -esac
--eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+-$as_echo "$ac_try_echo") >&5
 -  (eval "$ac_compile") 2>conftest.er1
 -  ac_status=$?
 -  grep -v '^ *+' conftest.er1 >conftest.err
 -  rm -f conftest.er1
 -  cat conftest.err >&5
--  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 -  (exit $ac_status); } && {
 -	 test -z "$ac_c_werror_flag" ||
 -	 test ! -s conftest.err
 -       } && test -s conftest.$ac_objext; then
--   { echo "$as_me:$LINENO: result: yes" >&5
--echo "${ECHO_T}yes" >&6; };
+-   { $as_echo "$as_me:$LINENO: result: yes" >&5
+-$as_echo "yes" >&6; };
 -        stp_newCFLAGS="$CFLAGS"
 -else
--  echo "$as_me: failed program was:" >&5
+-  $as_echo "$as_me: failed program was:" >&5
 -sed 's/^/| /' conftest.$ac_ext >&5
 -
--	 { echo "$as_me:$LINENO: result: no" >&5
--echo "${ECHO_T}no" >&6; };
+-	 { $as_echo "$as_me:$LINENO: result: no" >&5
+-$as_echo "no" >&6; };
 -	stp_newCFLAGS="$stp_acOLDCFLAGS"
 -fi
 -
@@ -440,6 +447,10 @@ diff -up gutenprint-5.2.2/configure.O6 g
 -  CFLAGS="${stp_newCFLAGS}"
 -
 -fi
- 
- 
- 
+-
+-
+-
+-
+ { $as_echo "$as_me:$LINENO: checking if $CC supports __attribute__ syntax" >&5
+ $as_echo_n "checking if $CC supports __attribute__ syntax... " >&6; }
+ cat >conftest.$ac_ext <<_ACEOF


Index: gutenprint.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gutenprint/F-11/gutenprint.spec,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -p -r1.50 -r1.51
--- gutenprint.spec	30 Jul 2009 10:29:13 -0000	1.50
+++ gutenprint.spec	31 Jul 2009 16:38:18 -0000	1.51
@@ -3,8 +3,8 @@
 
 Name:           gutenprint
 Summary:        Printer Drivers Package.
-Version:        5.2.3
-Release:        8%{?dist}
+Version:        5.2.4
+Release:        1%{?dist}
 Group:          System Environment/Base
 URL:            http://gimp-print.sourceforge.net/
 Source0:        http://dl.sf.net/gimp-print/gutenprint-%{version}.tar.bz2
@@ -138,9 +138,6 @@ Epson, HP and compatible printers..
 %patch2 -p1 -b .selinux
 
 %build
-%ifarch ppc64
-export CFLAGS="${CFLAGS} -O0"
-%endif
 %configure --disable-static --disable-dependency-tracking  \
             --with-foomatic --with-ghostscript \
             --disable-libgutenprintui --without-gimp \
@@ -264,6 +261,9 @@ fi
 /bin/rm -f /var/cache/foomatic/*
 
 %changelog
+* Fri Jul 31 2009 Tim Waugh <twaugh at redhat.com> 5.2.4-1
+- 5.2.4.  Re-enabled compiler optimization for ppc64.
+
 * Thu Jul 30 2009 Tim Waugh <twaugh at redhat.com> 5.2.3-8
 - Don't show output when upgrading cups sub-package (bug #507324).
 - Split documentation into doc sub-package (bug #492452).




More information about the fedora-extras-commits mailing list