rpms/ghostscript/devel .cvsignore, 1.26, 1.27 ghostscript.spec, 1.173, 1.174 sources, 1.30, 1.31 ghostscript-incomplete-ccittfax.patch, 1.1, NONE ghostscript-r8591.patch, 1.1, NONE
Tim Waugh (twaugh)
fedora-extras-commits at redhat.com
Mon Aug 4 10:16:29 UTC 2008
Author: twaugh
Update of /cvs/pkgs/rpms/ghostscript/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31252
Modified Files:
.cvsignore ghostscript.spec sources
Removed Files:
ghostscript-incomplete-ccittfax.patch ghostscript-r8591.patch
Log Message:
* Mon Aug 4 2008 Tim Waugh <twaugh at redhat.com> 8.63-1
- 8.63. No longer need r8591 or incomplete-ccittfax patches.
- Compile without strict aliasing opts due to warnings across several
files.
- Don't run autogen.sh for main package, just for ijs which doesn't
ship with a configure script.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ghostscript/devel/.cvsignore,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- .cvsignore 4 Mar 2008 11:22:12 -0000 1.26
+++ .cvsignore 4 Aug 2008 10:15:59 -0000 1.27
@@ -22,3 +22,4 @@
ghostscript-8.60.tar.bz2
ghostscript-8.61.tar.bz2
ghostscript-8.62.tar.bz2
+ghostscript-8.63.tar.bz2
Index: ghostscript.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ghostscript/devel/ghostscript.spec,v
retrieving revision 1.173
retrieving revision 1.174
diff -u -r1.173 -r1.174
--- ghostscript.spec 23 Jun 2008 15:47:33 -0000 1.173
+++ ghostscript.spec 4 Aug 2008 10:15:59 -0000 1.174
@@ -1,11 +1,11 @@
-%define gs_ver 8.62
-%define gs_dot_ver 8.62
+%define gs_ver 8.63
+%define gs_dot_ver 8.63
%{expand: %%define build_with_freetype %{?_with_freetype:1}%{!?_with_freetype:0}}
Summary: A PostScript(TM) interpreter and renderer.
Name: ghostscript
Version: %{gs_ver}
-Release: 4%{?dist}
+Release: 1%{?dist}
License: GPLv2
URL: http://www.ghostscript.com/
@@ -21,8 +21,6 @@
Patch5: ghostscript-runlibfileifexists.patch
Patch6: ghostscript-system-jasper.patch
Patch7: ghostscript-pksmraw.patch
-Patch8: ghostscript-r8591.patch
-Patch9: ghostscript-incomplete-ccittfax.patch
Requires: urw-fonts >= 1.1, ghostscript-fonts
BuildRequires: libjpeg-devel, libXt-devel
@@ -95,15 +93,9 @@
%patch6 -p1 -b .system-jasper
-# Fix pksmraw output (bug #308211).
+# Fix pksmraw output (bug #308211). Still needed in 8.63.
%patch7 -p1 -b .pksmraw
-# Applied patch from upstream to fix box_fill_path for shfill (bug #452348).
-%patch8 -p1 -b .r8591
-
-# Applied patch to work around bug #229174.
-%patch9 -p1 -b .incomplete-ccittfax
-
# Convert manual pages to UTF-8
from8859_1() {
iconv -f iso-8859-1 -t utf-8 < "$1" > "${1}_"
@@ -111,14 +103,18 @@
}
for i in man/de/*.1; do from8859_1 "$i"; done
-if [ -x autogen.sh ]; then
- ./autogen.sh
- pushd ijs
- ./autogen.sh
- popd
-fi
-
%build
+# Compile without strict aliasing opts due to these files:
+# gdevescv.c gdevl4v.c gdevopvp.c gdevbbox.c gdevdbit.c gdevddrw.c
+# gdevp14.c gdevpdfd.c gdevpdfi.c gdevpdfo.c gdevpdft.c gdevpdfv.c
+# gdevpdte.c gdevpdtt.c gdevps.c gdevpx.c gscoord.c gscparam.c gscrd.c
+# gsdps1.c gsimage.c gspath1.c gsptype1.c gsptype2.c gstype2.c
+# gstype42.c gxccache.c gxchar.c gxclimag.c gxclpath.c gxfcopy.c
+# gximag3x.c gximage3.c gxipixel.c gxshade1.c gxstroke.c gxtype1.c
+# ibnum.c iscanbin.c zchar1.c zchar.c zcharx.c zfapi.c zfont32.c
+# zfunc0.c zfunc3.c zfunc4.c zpcolor.c zshade.c
+EXTRACFLAGS="-fno-strict-aliasing"
+
FONTPATH=
for path in \
%{_datadir}/fonts/default/%{name} \
@@ -133,24 +129,25 @@
FONTPATH="$FONTPATH${FONTPATH:+:}$path"
done
%configure --with-ijs --enable-dynamic --with-fontpath="$FONTPATH" \
- --with-drivers=ALL --disable-compile-inits
+ --with-drivers=ALL --disable-compile-inits \
+ CFLAGS="$CFLAGS $EXTRACFLAGS"
# Build IJS
cd ijs
-automake --add-missing --copy || : # Ships with broken symlinks
+./autogen.sh
%configure --enable-shared --enable-static
make
cd ..
%if %{build_with_freetype}
FT_CFLAGS=$(pkg-config --cflags freetype2)
-make so RPM_OPT_FLAGS="$RPM_OPT_FLAGS" prefix=%{_prefix} \
+make so RPM_OPT_FLAGS="$RPM_OPT_FLAGS $EXTRAFLAGS" prefix=%{_prefix} \
FT_BRIDGE=1 FT_CFLAGS="$FT_CFLAGS" FT_LIB=freetype
-make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" prefix=%{_prefix} \
+make RPM_OPT_FLAGS="$RPM_OPT_FLAGS $EXTRAFLAGS" prefix=%{_prefix} \
FT_BRIDGE=1 FT_CFLAGS="$FT_CFLAGS" FT_LIB=freetype
%else
-make so RPM_OPT_FLAGS="$RPM_OPT_FLAGS" prefix=%{_prefix}
-make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" prefix=%{_prefix}
+make so RPM_OPT_FLAGS="$RPM_OPT_FLAGS $EXTRAFLAGS" prefix=%{_prefix}
+make RPM_OPT_FLAGS="$RPM_OPT_FLAGS $EXTRAFLAGS" prefix=%{_prefix}
%endif
%install
@@ -277,6 +274,13 @@
%{_libdir}/libgs.so
%changelog
+* Mon Aug 4 2008 Tim Waugh <twaugh at redhat.com> 8.63-1
+- 8.63. No longer need r8591 or incomplete-ccittfax patches.
+- Compile without strict aliasing opts due to warnings across several
+ files.
+- Don't run autogen.sh for main package, just for ijs which doesn't
+ ship with a configure script.
+
* Mon Jun 23 2008 Tim Waugh <twaugh at redhat.com> 8.62-4
- Applied patch to work around bug #229174.
- Applied patch from upstream to fix box_fill_path for shfill (bug #452348).
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ghostscript/devel/sources,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- sources 4 Mar 2008 11:22:12 -0000 1.30
+++ sources 4 Aug 2008 10:15:59 -0000 1.31
@@ -1,3 +1,3 @@
2fbae60417d42779f6488ab897dcaaf6 acro5-cmaps-2001.tar.gz
dfc93dd2aaaf2b86d2fd55f654c13261 adobe-cmaps-200406.tar.gz
-40d673a3c6e11d2bf14f972b84551104 ghostscript-8.62.tar.bz2
+c770eedfdd846a53e211e3ba5339de21 ghostscript-8.63.tar.bz2
--- ghostscript-incomplete-ccittfax.patch DELETED ---
--- ghostscript-r8591.patch DELETED ---
More information about the fedora-extras-commits
mailing list