From 08ff115cf3e2a71f58e1d0d5649ddc15a78c031d Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 05:16:01 +0000 Subject: [PATCH] auto-import ghostscript-7.05-19 from ghostscript-7.05-19.src.rpm --- .cvsignore | 15 +- ghostscript.spec | 440 +++++++++++++++++++++++++---------------------- sources | 15 +- 3 files changed, 249 insertions(+), 221 deletions(-) diff --git a/.cvsignore b/.cvsignore index 5fd465e..84d6506 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,16 +1,15 @@ -acro4-cmaps-1999.tar.gz -adobe-cmaps-200109.tar.gz +CIDFnmap-cjk-20020627.tar.gz +acro5-cmaps-2001.tar.gz +adobe-cmaps-200202.tar.gz eplaseren-1.0.2-550.tgz epson740.tgz gdevmd2k-0.2a.tar.gz -ghostscript-6.52-cjk.tar.gz -ghostscript-6.52.tar.bz2 -gimp-print-4.2.0.tar.gz -gs-hp2200.tar.gz +ghostscript-7.05.tar.bz2 +gnu-drivers.tar.gz gs550j1.tar.gz gs6.51-cjk-M2-R3.tar.gz -gs650-j-vlib.zip -hpijs-1.0.2.tar.bz2 +gs704-j-vlib.zip +hpijs-1.1.tar.gz jpegsrc.v6b.tar.gz lexmarkgs990908.tar.gz lxm3200-0.4.1-gs5.50-src.tar.gz diff --git a/ghostscript.spec b/ghostscript.spec index b46384a..4b1937b 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -1,24 +1,19 @@ -%define gs_ver 6.52 +%define gs_ver 7.05 Summary: A PostScript(TM) interpreter and renderer. Name: ghostscript Version: %{gs_ver} +BuildRequires: gimp-print-devel +BuildRequires: patchutils >= 0.2.13 -# Don't build on alpha for the moment. -ExcludeArch: alpha - -Release: 9.5 -%define gimp_ver 4.2.0 -%define hpijs 1.0.2 -Obsoletes: gimp-print-cups -Provides: gimp-print-cups = %{gimp_ver} -Obsoletes: hpijs -Provides: hpijs = %{hpijs} +Release: 19 +%define hpijs 1.1 +%define hpijs_release %{release} License: GPL -URL: http://gnu-gs.sourceforge.net/ +URL: http://www.ghostscript.com/doc/gnu/ Group: Applications/Publishing -Source0: ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/gs652/%{name}-%{gs_ver}.tar.bz2 +Source0: ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/gs705/%{name}-%{gs_ver}.tar.bz2 %define jpeg_ver 6b Source1: ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v%{jpeg_ver}.tar.gz %define pcl3_ver 3.3 @@ -26,7 +21,6 @@ Source2: http://home.t-online.de/home/Martin.Lottermoser/pcl3dist/pcl3-%{pcl3_ve %define md2k_ver 0.2a Source3: http://plaza26.mbn.or.jp/~higamasa/gdevmd2k/gdevmd2k-%{md2k_ver}.tar.gz Source4: http://lcewww.et.tudelft.nl/~haver/cgi-bin/download/linux/epson740.tgz -Source5: http://prdownloads.sourceforge.net/gimp-print/gimp-print-%{gimp_ver}.tar.gz %define lxm_ver 0.4.1-gs5.50 Source6: http://www.geocities.com/dgordini/lxm3200-%{lxm_ver}-src.tar.gz Source7: http://www.powerup.com.au/~pbwest/lexmark/gdevlx50.c @@ -36,7 +30,7 @@ Source8: ftp://bimbo.fjfi.cvut.cz/users/paluch/lexmarkgs/lexmarkgs990908.tar.gz %define cjk_ver 6.51-cjk-M2-R3 Source9: ftp://ftp.gyve.org/pub/gs-cjk/M2/gs%{cjk_ver}.tar.gz # HP Ink Jet Server -Source10: http://prdownloads.sf.net/hpinkjet/hpijs-%{hpijs}.tar.bz2 +Source10: http://prdownloads.sf.net/hpinkjet/hpijs-%{hpijs}.tar.gz # The CJK patch is for an older version of ghostscript; some patches don't # apply cleanly to the current one. Fixed versions here... Source100: lib_gs_cidcm.ps.patch @@ -45,43 +39,41 @@ Source101: lib_pdf_font.ps.patch Source11: %{gsj_ver}.tar.gz # Source12 is gs6.51 friendly contrib.mak-add for gsj Source12: contrib.mak-gsj651.add -Source13: ftp://ftp.gyve.org/pub/gs-cjk/adobe-cmaps-200109.tar.gz -%define vflib_ver gs650 +Source13: ftp://ftp.gyve.org/pub/gs-cjk/adobe-cmaps-200202.tar.gz +%define vflib_ver gs704 Source15: ftp://ftp.u-aizu.ac.jp/pub/tex/ptex-win32/gs/%{vflib_ver}-j-vlib.zip -Source16: ftp://ftp.gyve.org/pub/gs-cjk/acro4-cmaps-1999.tar.gz +Source16: ftp://ftp.gyve.org/pub/gs-cjk/acro5-cmaps-2001.tar.gz Source17: gdevgdi.c Source18: http://www.epkowa.on.arena.ne.jp/pips/data/2050/eplaseren-1.0.2-550.tgz -Source19: http://hp.sourceforge.net/gs-hp2200.tar.gz -Source20: ghostscript-6.52-cjk.tar.gz -Patch0: ghostscript-6.52-config.patch -Patch1: ghostscript-6.52-quoting.patch -Patch2: ghostscript-6.51-mkstemp.patch +Source20: CIDFnmap-cjk-20020627.tar.gz + +# Some drivers mistakenly got left out of 7.05. +Source21: gnu-drivers.tar.gz + +# New gomni.c from IBM (bug #65269). +Source22: gomni.c + +Patch0: ghostscript-7.05-config.patch Patch3: ghostscript-6.51-gcc296.patch -# Patch5 is gs6.51 friendly patch for gsj -Patch5: ghostscript-6.51-gsj.patch -Patch6: ghostscript-6.51-_ds.patch +Patch5: ghostscript-7.05-gsj.patch +Patch6: ghostscript-7.05-_ds.patch Patch7: ghostscript-6.51-gx_device.patch Patch8: ghostscript-6.51-gsj_update.patch -Patch10: ghostscript-6.51-config.kfvflib.patch -Patch12: ghostscript-6.51-vflib.fixup.patch +Patch10: ghostscript-7.05-config.kfvflib.patch +Patch12: ghostscript-7.05-vflib.fixup.patch Patch13: ghostscript-6.51-res_path.patch -Patch14: ghostscript-6.51-ps2epsi.patch -Patch15: ghostscript-6.51-Omni_glib.patch +Patch14: ghostscript-7.05-ps2epsi.patch Patch16: ghostscript-6.51-gdevgdi.patch Patch17: ghostscript-6.51-Epson_eplaseren.patch Patch18: ghostscript-6.51-gs_path.patch Patch19: ghostscript-6.51-ia64_jmp_buf.patch -Patch20: ghostscript-6.52-security.patch -Patch21: ghostscript-6.51-Omni.090501.update.patch -Patch22: ghostscript-6.51-Omni_path.patch -Patch23: ghostscript-6.51-Omni_quiet.patch -Patch24: ghostscript-6.53-scripts.patch -Patch25: ghostscript-6.52-gsj-fixups.patch -Patch26: ghostscript-6.51-zfile.patch +Patch21: Omni-7.05-052902-patch.clean +Patch24: ghostscript-7.05-scripts.patch +Patch25: ghostscript-7.05-gsj-fixups.patch +Patch26: ghostscript-7.05-dx6.patch +Patch27: ghostscript-7.05-fPIC.patch +Patch28: ghostscript-7.05-gb18030.patch -# Gimp-print patches -Patch100: gimp-print-4.2.0-sysconf.patch - # I dont think this patch is needed anymore, so it is not applied. # but I might be wrong, and dont really understand it, so it is still # included. -Crutcher @@ -89,9 +81,11 @@ Patch11: gs5.50-rth.patch Requires: VFlib2, zlib, libpng, glib Requires: urw-fonts >= 1.1, ghostscript-fonts -Requires: Omni -BuildRequires: zlib, zlib-devel, libpng, libpng-devel +Requires: Omni >= 0.6.1 +BuildRequires: zlib, zlib-devel, libpng, libpng-devel, unzip, gtk+-devel BuildRequires: VFlib2-devel, glib-devel, XFree86-devel +# Omni requires libxml +BuildRequires: libxml-devel BuildRequires: cups-devel >= 1.1.13 BuildPreReq: freetype-devel BuildRoot: %{_tmppath}/%{name}-%{gs_ver}-root @@ -111,16 +105,42 @@ non-PostScript printers, you should install ghostscript. If you install ghostscript, you also need to install the ghostscript-fonts package. +%package devel +Summary: Files for developing applications that use ghostscript. +Requires: %{name} = %{version} +Group: Development/Libraries + +%description devel +The header files for developing applications that use ghostscript. + +%package gtk +Summary: A GTK-enabled PostScript(TM) interpreter and renderer. +Requires: %{name} = %{version} +Group: Applications/Publishing + +%description gtk +A GTK-enabled version of Ghostscript, called 'gsx'. + +%package -n hpijs +Version: %{hpijs} +Release: %{hpijs_release} +Summary: HP Printer Drivers +Requires: %{name} +Group: Applications/Publishing + +%description -n hpijs +hpijs is a collection of optimized drivers for HP printers. +hpijs supports the DeskJet 350C, 600C, 600C Photo, 630C, Apollo 2000, +Apollo 2100, Apollo 2560, DeskJet 800C, DeskJet 825, DeskJet 900, +PhotoSmart, DeskJet 990C and PhotoSmart 100 series. + %prep -%setup -q -a 10 +%setup -q -a 10 -a 21 # Set up the jpeg library tar xzf %{SOURCE1} ln -s jpeg-%{jpeg_ver} jpeg -# Patch to use mkstemp for making temp files, for security -%patch2 -p1 -b .mkstemp - # Apply the gs-cjk patches tar xzf %{SOURCE9} (cd gs%{cjk_ver}; cp -f %{SOURCE100} %{SOURCE101} . @@ -131,11 +151,11 @@ package. lib_pdf_ops.ps.patch \ src_zfont42.c.patch ) - a="0" - for i in gs%{cjk_ver}/*.patch; do - cat $i |patch -p0 -b -V simple -z .cjk$a - a=`expr $a + 1` - done +# a="0" +# for i in gs%{cjk_ver}/*.patch; do +# cat $i |patch -p0 -b -V simple -z .cjk$a +# a=`expr $a + 1` +# done # Create a Resource directory %patch13 -p1 -b .res_path @@ -146,16 +166,21 @@ package. tar xzf %{SOURCE16} -C Resource tar xzf gs%{cjk_ver}/install-cid.tar.gz -C Resource - tar xzf %{SOURCE20} -C Resource/CIDFont + + # Replace CJK CIDFnmap files + tar xzf %{SOURCE20} -C lib # Add the VFlib/jpdf patch # The unix-gcc.mak portions of this patch are in the config patch below mkdir vflib-source unzip %{SOURCE15} -d vflib-source -%patch12 -p1 -b .vflib.fixup + patch vflib-source/gs7.04-j-vlib.diff -b -z .vflib.fixup -i %{PATCH12} - patch -p1 -b -V simple -z .vflib < vflib-source/%{vflib_ver}-j-vlib.diff + # Ignore most of the patches to things in lib/ (they are bogus). + (filterdiff -p1 -x 'lib/*' vflib-source/gs7.04-j-vlib.diff; + filterdiff -p1 -i 'lib/gs_init.ps' vflib-source/gs7.04-j-vlib.diff) |\ + patch -p1 -b -V simple -z .vflib # RPM configuration changes to the makefile @@ -170,7 +195,6 @@ package. # system, and so we have to actually change the file. # %patch0 -p1 -b .config -%patch1 -p1 -b .quoting # Includes japanese changes %patch10 -p1 -b .config.kfvflib @@ -225,7 +249,6 @@ package. %patch5 -p1 -b .gsj # Repair the gsj code -#%patch6 -p1 -b ._ds ## MOVED TO AFTER CHP2200 %patch7 -p1 -b .gx_device %patch8 -p1 -b .gsj_update @@ -248,62 +271,21 @@ package. # Turn on IBM's Omni print driver interface GS_DEVS=$GS_DEVS'$(DD)omni.dev ' - # Repair Omni for glib changes - # (this patch must come after the vflib patch) -%patch15 -p2 -b .Omni_glib + # Apply the 052902 patch. +%patch21 -p0 -b .Omni.052902 - # Apply appropriate portions of the 090501 update -%patch21 -p1 -b .Omni.090501 - - # Adjust omni to seek in /usr/lib/Omni/ first. -%patch22 -p1 -b .Omni_path - - # Turn off the debugging output from the gomni driver -%patch23 -p1 -b .Omni_quiet + # Fix bug #65269. +cp %{SOURCE22} src/gomni.c # Fix some shell scripts %patch24 -p1 -b .scripts -# Copy in and turn on HP's hpijs print driver interface - for i in gdevijs.c gdevijs.h ijs.c ijs.h ijs_client.c ijs_client.h \ - ijs_exec_unix.c unistd_.h; do - ln -f hpijs-%{hpijs}/$i src - done - echo ' -### ------------- IJS Interface -------------- ### -ijs_=$(GLOBJ)gdevijs.$(OBJ) $(GLOBJ)ijs_client.$(OBJ) $(GLOBJ)ijs_exec_unix.$(OBJ) $(GLOBJ)ijs.$(OBJ) - -$(GLOBJ)ijs_client.$(OBJ) : $(GLSRC)ijs_client.c $(PDEVH) - $(GLCC) $(GLO_)ijs_client.$(OBJ) $(C_) $(GLSRC)ijs_client.c - -$(GLOBJ)ijs_exec_unix.$(OBJ) : $(GLSRC)ijs_exec_unix.c $(PDEVH) - $(GLCC) $(GLO_)ijs_exec_unix.$(OBJ) $(C_) $(GLSRC)ijs_exec_unix.c - -$(GLOBJ)ijs.$(OBJ) : $(GLSRC)ijs.c $(PDEVH) - $(GLCC) $(GLO_)ijs.$(OBJ) $(C_) $(GLSRC)ijs.c - -$(GLOBJ)gdevijs.$(OBJ) : $(GLSRC)gdevijs.c $(PDEVH) - $(GLCC) $(GLO_)gdevijs.$(OBJ) $(C_) $(GLSRC)gdevijs.c - -$(DD)ijs.dev : $(ijs_) $(DD)page.dev - $(SETPDEV) $(DD)ijs $(ijs_) - -### ------------------ Old style HP hpijs device ------------- ### -$(DD)hpijs.dev : $(hpijs_) $(DD)page.dev - $(SETPDEV) $(DD)hpijs $(hpijs_) -' >>src/contrib.mak - - GS_DEVS=$GS_DEVS'$(DD)ijs.dev $(DD)hpijs.dev $(DD)DJ630.dev ' +# Turn on HP's hpijs print driver interface + GS_DEVS=$GS_DEVS'$(DD)ijs.dev $(DD)DJ630.dev ' GS_DEVS=$GS_DEVS'$(DD)DJ6xx.dev $(DD)DJ6xxP.dev $(DD)DJ8xx.dev ' GS_DEVS=$GS_DEVS'$(DD)DJ9xx.dev $(DD)DJ9xxVIP.dev $(DD)AP21xx.dev ' - # the following hpijs device got missed in gs6.51 - - # update from hpijs 0.96 to 0.97 - sed -e 's/DESKJET_MARGINS_LETTER 0.25, 0.44, -0.25, 0.33/DESKJET_MARGINS_LETTER 0.25, 0.44, -0.25, 0.167/' < src/gdevhpij.c > src/gdevhpij.c.tmp - mv src/gdevhpij.c.tmp src/gdevhpij.c - # Add pcl3 driver support for some other HP printers tar xzfO %{SOURCE2} pcl3-%{pcl3_ver}/pcl3.tar | tar xf - mv doc/*.1 man @@ -329,19 +311,8 @@ $(DD)hpijs.dev : $(hpijs_) $(DD)page.dev # Add the gimp-print stp driver - tar xzf %{SOURCE5} - cd gimp-print-%{gimp_ver} -%patch100 -p1 -b .sysconf - ./configure --prefix=/usr --without-gimp --with-ghost - make - # Fix usage of undefined macros - perl -pi -e 's,VERSION,"4.2.0",g;s,RELEASE_DATE,"%{name}-%{gs_ver}-%{release}",g' src/ghost/gdevstp-ps.c src/ghost/gdevstp-util.c - ln src/ghost/*.[ch] include/gimp-print/*.h ../src/ - # update the make files GS_DEVS=$GS_DEVS'$(DD)stp.dev ' - cat src/ghost/contrib.mak.addon.old >> ../src/contrib.mak - cd .. # Add Daniel Gordini's lxm3200 driver @@ -445,19 +416,6 @@ $(DD)gdi.dev: $(GDIMONO) $(DD)page.dev GS_DEVS=$GS_DEVS'$(DD)alc8500.dev $(DD)alc2000.dev ' cat src/eplaser/*.mak >> src/contrib.mak -# Add CHP2200 driver (bug #57516). - mkdir chp2200 - tar zxf %{SOURCE19} -C chp2200 - cp chp2200/gdevcd8.c src/ - GS_DEVS=$GS_DEVS'$(DD)chp2200.dev ' - echo ' - -# CHP2200 driver (http://hp.sourceforge.net/gs-hp2200.php) -$(DD)chp2200.dev : $(cdeskjet8_) $(DD)page.dev - $(SETPDEV2) $(DD)chp2200 $(cdeskjet8_) - -' >> src/contrib.mak - # Repair the gsj code %patch6 -p1 -b ._ds @@ -473,47 +431,68 @@ $(DD)chp2200.dev : $(cdeskjet8_) $(DD)page.dev # Stupid ia64 jmp_buf alignment patch %patch19 -p1 -b .ia64_jmp_buf -# add -dPARANOIDSAFER to let us breathe a little easier in the print spooler. -# Also restrict execution of commands. This patch is derived from the -# 6.53 patch. -%patch20 -p1 -b .security - # Fix-up gdevdmpr.c %patch25 -p1 -b .gsj-fixups -# Added zfile.c security fix from 7.07. -%patch26 -p1 -b .zfile +# Fix gtk+ initial window size +%patch26 -p0 -b .dx6 + +# Fix compilation with newer binutils +%patch27 -p1 -b .fPIC + +# Add CIDnmap for GB18030 font (bug #71135) +%patch28 -p1 -b .gb18030 # Set up for a unix os, gcc compiler build, and replace our insertion string sed -e "s/_XXX_RPM_GS_DEVICES_XXX_/$GS_DEVS/;" src/unix-gcc.mak > Makefile -%build -make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" prefix=%{_prefix} +# Link with gimp-print +cat << EOF >> Makefile -# Build the IJS server +STPLIB=gimpprint +EOF + +# Turn on IJS support +cat << EOF >> Makefile + +IJSDIR=ijs +IJSDEVS='\$(DD)ijs.dev' +IJSEXECTYPE=unix +EOF + +%build +# Build IJS +cd ijs +%configure +make +cd .. + +make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" prefix=%{_prefix} +make so RPM_OPT_FLAGS="$RPM_OPT_FLAGS" prefix=%{_prefix} + +# Build the HP IJS server cd hpijs-%{hpijs} %configure make cd .. -# Build gimp-print again to get native CUPS support -cd gimp-print-%{gimp_ver} -%configure --prefix=%{_prefix} --without-gimp --without-ghost --with-cups -make - %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/{%{_mandir},%{_bindir},%{_datadir},%{_docdir}} -make install prefix=$RPM_BUILD_ROOT%{_prefix} \ - mandir=$RPM_BUILD_ROOT%{_mandir} \ - datadir=$RPM_BUILD_ROOT%{_datadir} \ - bindir=$RPM_BUILD_ROOT%{_bindir} \ - docdir=$RPM_BUILD_ROOT%{_docdir}/%{name}-%{gs_ver} +mkdir -p $RPM_BUILD_ROOT/{%{_libdir},%{_includedir}/ijs} + +make install soinstall prefix=$RPM_BUILD_ROOT%{_prefix} \ + mandir=$RPM_BUILD_ROOT%{_mandir} \ + datadir=$RPM_BUILD_ROOT%{_datadir} \ + bindir=$RPM_BUILD_ROOT%{_bindir} \ + docdir=$RPM_BUILD_ROOT%{_docdir}/%{name}-%{gs_ver} cd hpijs-%{hpijs} make install DESTDIR=$RPM_BUILD_ROOT -cd ../gimp-print-%{gimp_ver} -make install DESTDIR=$RPM_BUILD_ROOT +cd .. + +cd ijs +%makeinstall cd .. ln -sf gs.1.gz $RPM_BUILD_ROOT/%{_mandir}/man1/ghostscript.1.gz @@ -524,36 +503,28 @@ cp -a Resource $RPM_BUILD_ROOT/usr/share/ghostscript/ # Don't ship sysvlp.sh. rm -f $RPM_BUILD_ROOT/usr/bin/sysvlp.sh +# Header files. +mkdir -p $RPM_BUILD_ROOT%{_includedir}/ghostscript +install -m0644 src/iapi.h $RPM_BUILD_ROOT%{_includedir}/ghostscript +install -m0644 src/errors.h $RPM_BUILD_ROOT%{_includedir}/ghostscript +install -m0644 src/gdevdsp.h $RPM_BUILD_ROOT%{_includedir}/ghostscript + +# Don't ship ijs_client_example. +rm -f $RPM_BUILD_ROOT%{_bindir}/ijs_client_example + +# The man/de/man1 symlinks are broken (bug #66238). +find $RPM_BUILD_ROOT%{_mandir}/de/man1 -type l | xargs rm -f + MAIN_PWD=`pwd` -cd $RPM_BUILD_ROOT -ls -1 ./usr/share/ghostscript/%{gs_ver}/lib/* | \ - sed -e 's/\.//;' | grep -v lib/Fontmap* | grep -v gs_init.ps \ - > $MAIN_PWD/rpm.sharelist -ls -1 ./usr/bin/* | sed -e 's/\.//;' | \ - grep -v '\(hpijs\|gimpprint-config\|cups-calibrate\|escputil\)' \ - >> $MAIN_PWD/rpm.sharelist -ls -1 ./usr/share/man/man1/* | sed -e 's/\.//;' -e 's/$/*/;' | \ - grep -v '\(escputil\|gimpprint\)' \ - >> $MAIN_PWD/rpm.sharelist +(cd $RPM_BUILD_ROOT; find ./usr/share/ghostscript/%{gs_ver}/lib/* | \ + sed -e 's/\.//;' | grep -v lib/Fontmap* | grep -v gs_init.ps > $MAIN_PWD/rpm.sharelist + find .%{_bindir}/ | sed -e 's/\.//;' | \ + grep -v '/$\|/hpijs$\|/gsx$\|/ijs-config$' \ + >> $MAIN_PWD/rpm.sharelist) %clean rm -rf $RPM_BUILD_ROOT -%post -/sbin/install-info /usr/share/info/gimpprint.info.gz /usr/share/info/dir -/sbin/ldconfig - -%preun -if [ $1 = 0 ]; then - /sbin/install-info --delete /usr/share/info/gimpprint.info.gz /usr/share/info/dir -fi - -%postun -if [ "$1" -ge "1" ]; then - /sbin/service cups condrestart >/dev/null 2>&1 -fi -/sbin/ldconfig - %files -f rpm.sharelist %defattr(-,root,root) %dir %{_datadir}/ghostscript @@ -564,43 +535,102 @@ fi %{_datadir}/ghostscript/Resource/ %{_datadir}/ghostscript/%{gs_ver}/vflib %{_datadir}/ghostscript/%{gs_ver}/examples +%{_mandir}/*/* %doc %{_docdir}/%{name}-%{gs_ver} +%{_libdir}/libgs.so.* +%{_libdir}/libgs.so +%{_libdir}/libijs.so* + +%files gtk +%defattr(-,root,root) +%{_bindir}/gsx + +%files -n hpijs +%defattr(-,root,root) %{_bindir}/hpijs %{_docdir}/hpijs-%{hpijs} -%{_includedir}/gimp-print -%{_mandir}/man1/gimpprint-config.1* -%{_mandir}/man1/escputil.1* -%{_mandir}/man3/gimpprint.3* -%{_mandir}/man8/cups-calibrate.8* -%{_libdir}/libgimpprint* -%{_libdir}/cups/backend/* -%{_libdir}/cups/filter/* -%{_bindir}/gimpprint-config -%{_bindir}/escputil -%{_bindir}/cups-calibrate -%{_datadir}/aclocal/gimpprint.m4 -%{_datadir}/cups/calibrate.ppm -%{_datadir}/cups/model/*/* -%{_datadir}/gimp-print -%{_infodir}/gimpprint* -%config %{_sysconfdir}/cups/* -%lang(en_GB) %{_datadir}/locale/en_GB/LC_MESSAGES/gimp-print.mo -%lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/gimp-print.mo -%lang(no) %{_datadir}/locale/no/LC_MESSAGES/gimp-print.mo -%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/gimp-print.mo -%lang(da) %{_datadir}/locale/da/LC_MESSAGES/gimp-print.mo -%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/gimp-print.mo + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/ghostscript +%{_includedir}/ghostscript/*.h +%dir %{_includedir}/ijs +%{_includedir}/ijs/* +%{_bindir}/ijs-config +%{_libdir}/libijs.a %changelog -* Tue May 20 2003 Tim Waugh 6.52-9.5 -- Added zfile.c security fix from 7.07. +* Mon Aug 12 2002 Tim Waugh 7.05-19 +- Fix the gb18030 patch (bug #71135, bug #71303). -* Wed May 29 2002 Tim Waugh 6.52-9.4 -- Add missing security patch from 6.53. -- Add pdf2dsc.ps patch from CVS. -- Add ps2epsi.ps patch from CVS. -- Fix file lists. -- Merge packages to make RHN happy. +* Sat Aug 10 2002 Elliot Lee 7.05-18 +- rebuilt with gcc-3.2 (we hope) + +* Fri Aug 9 2002 Tim Waugh 7.05-17 +- Add CIDnmap for GB18030 font (bug #71135). +- Fix URL (bug #70734). + +* Tue Jul 23 2002 Tim Waugh 7.05-16 +- Rebuild in new environment. + +* Tue Jul 9 2002 Tim Waugh 7.05-15 +- Remove the chp2200 driver again, to fix cdj890 (bug #67578). + +* Fri Jul 5 2002 Tim Waugh 7.05-14 +- For CJK font support, use CIDFnmap instead of CIDFont + resources (bug #68009). + +* Wed Jul 3 2002 Tim Waugh 7.05-13 +- Build requires unzip and gtk+-devel (bug #67799). + +* Wed Jun 26 2002 Tim Waugh 7.05-12 +- File list tweaking. +- More file list tweaking. + +* Tue Jun 25 2002 Tim Waugh 7.05-10 +- Rebuild for bootstrap. + +* Wed Jun 19 2002 Tim Waugh 7.05-9 +- Omni 052902 patch. + +* Mon Jun 10 2002 Tim Waugh 7.05-8 +- Requires recent version of patchutils (bug #65947). +- Don't ship broken man page symlinks (bug #66238). + +* Wed May 29 2002 Tim Waugh 7.05-7 +- Put gsx in its own package. + +* Tue May 28 2002 Tim Waugh 7.05-6 +- New gomni.c from IBM to fix an A4 media size problem. +- Use new Adobe CMaps (bug #65362). + +* Sun May 26 2002 Tim Powers 7.05-5 +- automated rebuild + +* Wed May 22 2002 Tim Waugh 7.05-4 +- New gomni.c from IBM to fix bug #65269 (again). + +* Tue May 21 2002 Tim Waugh 7.05-2 +- Don't apply bogus parts of vflib patch (bug #65268). +- Work around Omni -sPAPERSIZE=a4 problem (bug #65269). + +* Mon May 20 2002 Tim Waugh 7.05-1 +- 7.05. +- No longer need mkstemp, vflib.fixup, quoting, or PARANOIDSAFER + patches. +- Don't apply CJK patches any more (no longer needed). +- Updated Source15, Patch0, Patch10, Patch5, Patch24, Patch14, Patch12. +- Made gdevdmpr.c compile again. +- Move gimp-print to a separate package. +- Ship the shared object too (and a .so file that is dlopened). +- Update Omni patch. No longer need Omni_path, Omni_quiet, Omni_glib patches. +- Require Omni >= 0.6.1. +- Add patch to fix gtk+ initial window size. +- Add devel package with header files. +- Turn on IJS support. +- Update hpijs to 1.1. +- Don't ship the hpijs binary in the ghostscript package. +- Use -fPIC when building ijs. * Wed Apr 3 2002 Tim Waugh 6.52-8 - New CIDFonts (bug #61015). diff --git a/sources b/sources index 0f1b096..7a5499d 100644 --- a/sources +++ b/sources @@ -1,16 +1,15 @@ -2919cf239c2d090cf4c21c890aed860e acro4-cmaps-1999.tar.gz -95ced0f35e107899ce11e8689e9cbdff adobe-cmaps-200109.tar.gz +7edfe1f39861ded3cae68990a96b0ad1 CIDFnmap-cjk-20020627.tar.gz +2fbae60417d42779f6488ab897dcaaf6 acro5-cmaps-2001.tar.gz +e8fbffadb8d70ce5f92708a699ae7765 adobe-cmaps-200202.tar.gz 911c7865a83a69135417989dee53f8fc eplaseren-1.0.2-550.tgz 2c6ebfe51cab34ee61e3dd524c8640cc epson740.tgz 5ed2b4218b8f77cb411f3d2e4509ed24 gdevmd2k-0.2a.tar.gz -7bafe35626c79e05a319492fe3e1eeeb ghostscript-6.52-cjk.tar.gz -5a1b698b8fbece1e23e4d8d9ff552762 ghostscript-6.52.tar.bz2 -4350e2ac1f27eccad0d7ce2aab90cdf6 gimp-print-4.2.0.tar.gz -cafe60c0003abe370579f9bfb1d27caa gs-hp2200.tar.gz +821caada7e265ea5b698a78e6b029734 ghostscript-7.05.tar.bz2 +9b25d4dd54d3297f33a8f7609fba70dd gnu-drivers.tar.gz d202cd105c496b7f0eb5221316fb7b7f gs550j1.tar.gz 6f8e90effe12527a4c3b36ea4ce47b3c gs6.51-cjk-M2-R3.tar.gz -57e2ef257be06ea370f1b28b7c383c94 gs650-j-vlib.zip -153a27cd7b40fec2fc93a90c0381b4d1 hpijs-1.0.2.tar.bz2 +b32da7d61421384a0874037576033861 gs704-j-vlib.zip +be2ae5eb4e80a4cdce56a11fbde655fc hpijs-1.1.tar.gz dbd5f3b47ed13132f04c685d608a7547 jpegsrc.v6b.tar.gz aea08da4e37ab68ed6f1dc451f24b30b lexmarkgs990908.tar.gz ec11b9ef72ecaabb61eeba27e93f9f2b lxm3200-0.4.1-gs5.50-src.tar.gz