Accepting request 147790 from Printing

Provide libijs to be prepared for the PDF printing workflow via a new package cups-filters where libijs is needed by the pdftoijs filter (regardless whether or not the PDF printing workflow would be actually used in openSUSE 12.3 Ghostscript in openSUSE 12.3 should provide libijs to be prepared)

OBS-URL: https://build.opensuse.org/request/show/147790
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghostscript?expand=0&rev=8
This commit is contained in:
Stephan Kulow 2013-01-10 10:16:43 +00:00 committed by Git OBS Bridge
commit 9aa0b4994b
4 changed files with 77 additions and 7 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Jan 3 11:58:51 CET 2013 - jsmeix@suse.de
- Provide libijs (that is not done via "configure --with-ijs")
because libijs is needed by the pdftoijs filter in the
cups-filters package (see the README file in cups-filters).
-------------------------------------------------------------------
Thu Sep 27 12:02:51 UTC 2012 - mmeister@suse.com
@ -5,14 +12,14 @@ Thu Sep 27 12:02:51 UTC 2012 - mmeister@suse.com
* pdfwrite announcements:
pdfwrite now supports the creation of PDF/A-2 files.
For further details see the NEWS file.
* remove moribund dumphint tool, ssee History9.htm and
* removed moribund dumphint tool, see History9.htm and
http://bugs.ghostscript.com/show_bug.cgi?id=693223
-------------------------------------------------------------------
Mon Sep 24 10:44:57 UTC 2012 - idonmez@suse.com
- Disable -Wl,--as-needed, see upstream bug report
http://bugs.ghostscript.com/show_bug.cgi?id=693100
- "export SUSE_ASNEEDED=0" disables -Wl,--as-needed linker flags,
see http://bugs.ghostscript.com/show_bug.cgi?id=693100
-------------------------------------------------------------------
Thu May 10 15:49:33 CEST 2012 - jsmeix@suse.de

View File

@ -33,7 +33,7 @@ Release: 0
# Source0...Source9 is for sources from upstream:
# URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.06.tar.gz
# URL for MD5 checksums: http://downloads.ghostscript.com/public/MD5SUMS
# MD5 checksum for Source0: f7c6f0431ca8d44ee132a55d583212c1
# MD5 checksum for Source0: 153ddb0622cb155d2f600146f1e28d84
Source0: ghostscript-%{version}.tar.gz
# Patch0...Patch9 is for patches from upstream:
#
@ -109,7 +109,8 @@ Conflicts: ghostscript-library
This package contains the development files for Minimal Ghostscript.
%prep
# Be quiet when unpacking using a directory name matching Source0:
# Be quiet when unpacking and
# use a directory name matching Source0 to make it work also for ghostscript-mini:
%setup -q -n ghostscript-%{version}
%build
@ -178,11 +179,32 @@ export SUSE_ASNEEDED=0
make
# Make libgs.so and two programs which use it, gsx and gsc:
make so
# Configure and make libijs (that is not done regardless --with-ijs above):
pushd ijs
./autogen.sh
./configure --prefix=%{_prefix} \
--bindir=%{_bindir} \
--libdir=%{_libdir} \
--datadir=%{_datadir} \
--mandir=%{_mandir} \
--infodir=%{_infodir} \
--enable-shared \
--disable-static
make
popd
%install
make install DESTDIR=%{buildroot}
# Install libgs.so gsx gsc and some header files:
make soinstall DESTDIR=%{buildroot}
# Install libijs and its header files:
pushd ijs
make install DESTDIR=%{buildroot}
popd
# Remove installed ijs example client and server and its .la file:
rm %{buildroot}%{_bindir}/ijs_client_example
rm %{buildroot}%{_bindir}/ijs_server_example
rm %{buildroot}%{_libdir}/libijs.la
# Install documentation which is not installed by default
# see http://bugs.ghostscript.com/show_bug.cgi?id=693002
# and fail intentionally as notification if something changed:
@ -280,6 +302,7 @@ exit 0
%doc %{_mandir}/man1/ps2pdfwr.1.gz
%doc %{_mandir}/man1/ps2ps.1.gz
%doc %{_mandir}/man1/wftopfa.1.gz
%doc %{_mandir}/man1/ijs-config.1.gz
%doc %{_mandir}/de/man1/dvipdf.1.gz
%doc %{_mandir}/de/man1/eps2eps.1.gz
%doc %{_mandir}/de/man1/font2c.1.gz
@ -305,10 +328,15 @@ exit 0
%{_datadir}/ghostscript/%{version}/Resource/
%{_libdir}/libgs.so.*
%{_libdir}/ghostscript/
%{_libdir}/libijs-0.35.so
%files devel
%defattr(-,root,root)
%{_includedir}/ghostscript/
%{_libdir}/libgs.so
%{_bindir}/ijs-config
%{_includedir}/ijs/
%{_libdir}/libijs.so
%{_libdir}/pkgconfig/ijs.pc
%changelog

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Jan 3 11:58:51 CET 2013 - jsmeix@suse.de
- Provide libijs (that is not done via "configure --with-ijs")
because libijs is needed by the pdftoijs filter in the
cups-filters package (see the README file in cups-filters).
-------------------------------------------------------------------
Thu Sep 27 12:02:51 UTC 2012 - mmeister@suse.com

View File

@ -223,8 +223,9 @@ Conflicts: ghostscript-mini-devel
This package contains the development files for Ghostscript.
%prep
# Be quiet when unpacking:
%setup -q
# Be quiet when unpacking and
# use a directory name matching Source0 to make it work also for ghostscript-mini:
%setup -q -n ghostscript-%{version}
%build
# Set our preferred architecture-specific flags for the compiler and linker:
@ -293,11 +294,32 @@ export SUSE_ASNEEDED=0
make
# Make libgs.so and two programs which use it, gsx and gsc:
make so
# Configure and make libijs (that is not done regardless --with-ijs above):
pushd ijs
./autogen.sh
./configure --prefix=%{_prefix} \
--bindir=%{_bindir} \
--libdir=%{_libdir} \
--datadir=%{_datadir} \
--mandir=%{_mandir} \
--infodir=%{_infodir} \
--enable-shared \
--disable-static
make
popd
%install
make install DESTDIR=%{buildroot}
# Install libgs.so gsx gsc and some header files:
make soinstall DESTDIR=%{buildroot}
# Install libijs and its header files:
pushd ijs
make install DESTDIR=%{buildroot}
popd
# Remove installed ijs example client and server and its .la file:
rm %{buildroot}%{_bindir}/ijs_client_example
rm %{buildroot}%{_bindir}/ijs_server_example
rm %{buildroot}%{_libdir}/libijs.la
# Install documentation which is not installed by default
# see http://bugs.ghostscript.com/show_bug.cgi?id=693002
# and fail intentionally as notification if something changed:
@ -404,6 +426,7 @@ exit 0
%doc %{_mandir}/man1/ps2pdfwr.1.gz
%doc %{_mandir}/man1/ps2ps.1.gz
%doc %{_mandir}/man1/wftopfa.1.gz
%doc %{_mandir}/man1/ijs-config.1.gz
%doc %{_mandir}/de/man1/dvipdf.1.gz
%doc %{_mandir}/de/man1/eps2eps.1.gz
%doc %{_mandir}/de/man1/font2c.1.gz
@ -429,6 +452,7 @@ exit 0
%{_datadir}/ghostscript/%{version}/Resource/
%{_libdir}/libgs.so.*
%{_libdir}/ghostscript/
%{_libdir}/libijs-0.35.so
%exclude %{_libdir}/ghostscript/%{version}/X11.so
%files x11
@ -439,5 +463,9 @@ exit 0
%defattr(-,root,root)
%{_includedir}/ghostscript/
%{_libdir}/libgs.so
%{_bindir}/ijs-config
%{_includedir}/ijs/
%{_libdir}/libijs.so
%{_libdir}/pkgconfig/ijs.pc
%changelog