Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187502 - app-text/ghostscript-gpl-8.60 version bump
Summary: app-text/ghostscript-gpl-8.60 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Printing Team
URL: http://www.ghostscript.com/awki
Whiteboard:
Keywords:
: 195398 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-08-02 13:55 UTC by Daniel J.
Modified: 2007-10-18 01:49 UTC (History)
11 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Initial ebuild for ghostscript-gpl-8.60 (ghostscript-gpl-8.60.ebuild,3.75 KB, text/plain)
2007-08-02 13:56 UTC, Daniel J.
Details
ghostscript-gpl-8.60.ebuild (ghostscript-gpl-8.60.ebuild,3.69 KB, text/plain)
2007-08-03 10:12 UTC, Timo Gurr (RETIRED)
Details
djvu-gs-gpl-8.60.patch (djvu-gs-gpl-8.60.patch,1.60 KB, text/plain)
2007-08-03 10:13 UTC, Timo Gurr (RETIRED)
Details
ghostscript-gpl-8.60.ebuild (ghostscript-gpl-8.60.ebuild,4.11 KB, text/plain)
2007-08-06 20:33 UTC, Timo Gurr (RETIRED)
Details
ghostscript-8.57-ijs-krgb.patch (ghostscript-8.57-ijs-krgb.patch,22.85 KB, text/plain)
2007-08-06 20:33 UTC, Timo Gurr (RETIRED)
Details
ghostscript-fPIC-64bit.patch (ghostscript-fPIC-64bit.patch,381 bytes, text/plain)
2007-08-06 20:34 UTC, Timo Gurr (RETIRED)
Details
ghostscript-fPIC.patch (ghostscript-fPIC.patch,1.45 KB, text/plain)
2007-08-06 20:34 UTC, Timo Gurr (RETIRED)
Details
ghostscript-multilib.patch (ghostscript-multilib.patch,3.62 KB, text/plain)
2007-08-06 20:34 UTC, Timo Gurr (RETIRED)
Details
ghostscript-noopt.patch (ghostscript-noopt.patch,557 bytes, text/plain)
2007-08-06 20:34 UTC, Timo Gurr (RETIRED)
Details
ghostscript-scripts.patch (ghostscript-scripts.patch,1.16 KB, text/plain)
2007-08-06 20:35 UTC, Timo Gurr (RETIRED)
Details
ghostscript-multilib.patch (ghostscript-multilib.patch,721 bytes, text/plain)
2007-08-08 09:52 UTC, Timo Gurr (RETIRED)
Details
ghostscript-gpl-8.60.ebuild with ~sparc added to KEYWORDS list (ghostscript-gpl-8.60.ebuild,4.12 KB, text/plain)
2007-08-15 14:31 UTC, Ferris McCormick (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel J. 2007-08-02 13:55:51 UTC
Ghostscript GPL 8.60 has been released.  This incorporates code merged from the ESP codebase.  CUPS support is included without additional patching.

Reproducible: Always
Comment 1 Daniel J. 2007-08-02 13:56:36 UTC
Created attachment 126706 [details]
Initial ebuild for ghostscript-gpl-8.60
Comment 2 Timo Gurr (RETIRED) gentoo-dev 2007-08-03 10:12:22 UTC
Still needed & updated patch:
• djvu-gs-gpl-8.60.patch

Unsure cause of the ghostscript-esp integration - thus still in the ebuild:
• ghostscript-afpl-8.54-rinkj.patch

Probably obsolete and not working anymore due to ghostscript-esp integration - thus dropped from the ebuild:
• gdevcups.patch
• ghostscript-afpl-8.54-cups-destdir.diff
• ghostscript-afpl-8.54-cups-lib.patch

I updated the djvu version and the patch for it. Hope it works that way, first tests with 
djvudigital and gsdjvu are looking good.

Future thoughts: Since drivers can be loaded dynamically now one could think to make it the default and use make it behave like mesa with VIDEO_CARDS="nvidia", for ghostscript it could be PRINTER_DRIVERS="HP" for example. But perhaps that would be overkill..
Comment 3 Timo Gurr (RETIRED) gentoo-dev 2007-08-03 10:12:54 UTC
Created attachment 126785 [details]
ghostscript-gpl-8.60.ebuild
Comment 4 Timo Gurr (RETIRED) gentoo-dev 2007-08-03 10:13:08 UTC
Created attachment 126788 [details]
djvu-gs-gpl-8.60.patch
Comment 5 Timo Gurr (RETIRED) gentoo-dev 2007-08-03 10:16:03 UTC
Something got lost by copy&paste. The posted ghostscript-gpl-8.60.ebuild is of course a modified version of Daniel J.'s Comment #1, many thanks for it.
Comment 6 Darren Dale 2007-08-03 17:27:38 UTC
I get an error during the build on ~amd64 with gcc-4.2.0:

x86_64-pc-linux-gnu-gcc  -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FILE64 -DHAVE_FONTCONFIG -O2  -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long int"  -O2 -march=k8 -mtune=k8 -pipe -fomit-frame-pointer    -I./obj/../soobj -I./src -Iicclib   -o ./obj/../soobj/gdevrinkj.o -c ./src/gdevrinkj.c
./src/gdevrinkj.c:217: warning: initialization makes integer from pointer without a cast
./src/gdevrinkj.c:217: error: initializer element is not computable at load time
./src/gdevrinkj.c:217: error: (near initialization for 'gs_rinkj_device.n_planes_out')
./src/gdevrinkj.c:218: warning: initialization makes pointer from integer without a cast
./src/gdevrinkj.c:219: warning: braces around scalar initializer
./src/gdevrinkj.c:219: warning: (near initialization for 'gs_rinkj_device.num_std_colorant_names')
./src/gdevrinkj.c:761: error: conflicting types for 'rinkj_get_color_comp_index'
./src/gdevrinkj.c:47: error: previous declaration of 'rinkj_get_color_comp_index' was here
./src/gdevrinkj.c: In function 'rinkj_set_luts':
./src/gdevrinkj.c:904: warning: assignment discards qualifiers from pointer target type
./src/gdevrinkj.c: In function 'rinkj_init':
./src/gdevrinkj.c:954: warning: assignment discards qualifiers from pointer target type
./src/gdevrinkj.c: In function 'rinkj_write_image_data':
./src/gdevrinkj.c:1004: warning: pointer targets in assignment differ in signedness
make[1]: *** [obj/../soobj/gdevrinkj.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-text/ghostscript-gpl-8.60/work/ghostscript-8.60'
make: *** [so] Error 2
 *
 * ERROR: app-text/ghostscript-gpl-8.60 failed.
 * Call stack:
 *   ebuild.sh, line 1648:   Called dyn_compile
 *   ebuild.sh, line 988:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   ghostscript-gpl-8.60.ebuild, line 109:   Called die
 *
 * emake failed


emerge --info:

Portage 2.1.3.2 (default-linux/amd64/2007.0/desktop, gcc-4.2.0, glibc-2.6-r0, 2.6.22-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r2 x86_64 Dual Core AMD Opteron(tm) Processor 275
Gentoo Base System release 1.12.10
Timestamp of tree: Fri, 03 Aug 2007 17:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17, 2.17.50.0.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -mtune=k8 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=k8 -mtune=k8 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en en_US"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aac acl acpi alsa amd64 apache2 arts atlas avahi bash-completion berkdb bitmap-fonts blas bookmarks branding bzip2 cairo cblas cdr cli cracklib crypt ctype cups dbus doc dri dvd dvdr dvdread eds emacs emboss encode epydoc esd evo examples f77 fam fftw firefox foomativdb fortran gdbm gif gimpprint gpm gstreamer gtk hal iconv imagemagick imap isdnlog ivman java jpeg jpeg2k kde kdeenablefinal kerberos lapack latex ldap libg++ mad mdnsresponder-compat midi mikmod mime mmap mmx mozbranding mozilla mozsvg mp3 mpeg mplayer mudflap multislot ncurses nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl pic png ppds pppd python qt3 qt3support qt4 quicktime readline reflection rss samba sdl sensord session spell spl sse sse2 ssl subversion svg symlink tcltk tcpd tetex threads tiff tk truetype truetype-fonts type1-fonts umfpack unicode usb vorbis webdav winbind wxwindows xcomposite xfs xinerama xml xorg xv zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="ati vga fglrx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-08-04 10:40:00 UTC
Yay, ghostscript-esp is finally dead.
Comment 8 Timo Gurr (RETIRED) gentoo-dev 2007-08-06 20:33:26 UTC
Created attachment 127103 [details]
ghostscript-gpl-8.60.ebuild

- added a patch which adds -fPIC to the shared libs to fix compilation on 64bit systems
- additional Fedora patches added.
Comment 9 Timo Gurr (RETIRED) gentoo-dev 2007-08-06 20:33:52 UTC
Created attachment 127105 [details]
ghostscript-8.57-ijs-krgb.patch
Comment 10 Timo Gurr (RETIRED) gentoo-dev 2007-08-06 20:34:07 UTC
Created attachment 127107 [details]
ghostscript-fPIC-64bit.patch
Comment 11 Timo Gurr (RETIRED) gentoo-dev 2007-08-06 20:34:22 UTC
Created attachment 127108 [details]
ghostscript-fPIC.patch
Comment 12 Timo Gurr (RETIRED) gentoo-dev 2007-08-06 20:34:39 UTC
Created attachment 127109 [details]
ghostscript-multilib.patch
Comment 13 Timo Gurr (RETIRED) gentoo-dev 2007-08-06 20:34:53 UTC
Created attachment 127110 [details]
ghostscript-noopt.patch
Comment 14 Timo Gurr (RETIRED) gentoo-dev 2007-08-06 20:35:06 UTC
Created attachment 127112 [details]
ghostscript-scripts.patch
Comment 15 Tassilo Horn 2007-08-08 08:08:04 UTC
I just want to note that the ghostscript-multilib.patch is garbled. It's not a patch, it's a html file.
Comment 16 Timo Gurr (RETIRED) gentoo-dev 2007-08-08 09:52:10 UTC
Created attachment 127254 [details]
ghostscript-multilib.patch

Sorry my bad, here's the real one.
Comment 17 Timo Gurr (RETIRED) gentoo-dev 2007-08-13 14:45:46 UTC
I reported this upstream at:
http://bugs.ghostscript.com/show_bug.cgi?id=689396
Perhaps passing --enable-dynamic to econf and dropping the patch (ghostscript-fPIC-64bit.patch) completely would be the way to go? What do you think?
Comment 18 Ferris McCormick (RETIRED) gentoo-dev 2007-08-15 12:27:33 UTC
Added ~sparc keyword --- this also cures Bug #187280, and otherwise seems to work as expected.
Comment 19 Ferris McCormick (RETIRED) gentoo-dev 2007-08-15 14:31:44 UTC
Created attachment 128180 [details]
ghostscript-gpl-8.60.ebuild with ~sparc added to KEYWORDS list

ghostscript-gpl-8.60 as presented in the attachments lists appears to work on sparc and also cures the dvipdf bug reported in Bug #187280.  So, I am attaching a modification of the ebuild at Attachment 127103 [details] --- Only difference is the addition of ~sparc to KEYWORDS list, thus:

=========================================================
fmccor@liasis G [133]% diff -u ghostscript-gpl-8.60.ebuild.orig ghostscript-gpl-8.60.ebuild
--- ghostscript-gpl-8.60.ebuild.orig    2007-08-15 14:25:09.000000000 +0000
+++ ghostscript-gpl-8.60.ebuild 2007-08-15 14:04:51.000000000 +0000
@@ -18,7 +18,7 @@
 
 LICENSE="GPL-2 CPL-1.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~sh ~sparc-fbsd ~x86 ~x86-fbsd"
+KEYWORDS="~amd64 ~arm ~ppc ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
 IUSE="X bindist cups cjk djvu gtk jpeg2k"
 
 DEP="virtual/libc
=====================================
Comment 20 Ferris McCormick (RETIRED) gentoo-dev 2007-08-15 14:34:22 UTC
Comment on attachment 128180 [details]
ghostscript-gpl-8.60.ebuild with ~sparc added to KEYWORDS list

Fix description
Comment 21 Jon 2007-10-09 21:12:28 UTC
Since this version includes the esp version, can the esp version be removed from the tree since it's no longer needed? That would make it easier to maintain less Ghostscript versions and less confusing to users. Most users can migrate from esp to gpl-8.60 with no trouble. If a user does need the esp version, which would be a very small number not warrenting portage inclusion, they could drop it in an overlay. :)

Cheers.
Comment 22 Jakub Moc (RETIRED) gentoo-dev 2007-10-10 17:34:16 UTC
*** Bug 195398 has been marked as a duplicate of this bug. ***
Comment 23 Timo Gurr (RETIRED) gentoo-dev 2007-10-18 01:49:01 UTC
Fixed in CVS, please retest this version and report any issues. It's package.masked and I had to drop ~sparc-fbsd for now since there are a few deps not yet keyworded ~sparc-fbsd, namely djvu and the three cjk font packages.