First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 187502
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Printing Team <printing@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Daniel J. <sleeperseven@hotmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ghostscript-gpl-8.60.ebuild Initial ebuild for ghostscript-gpl-8.60 text/plain Daniel J. 2007-08-02 13:56 0000 3.75 KB Details
ghostscript-gpl-8.60.ebuild ghostscript-gpl-8.60.ebuild text/plain Timo Gurr 2007-08-03 10:12 0000 3.69 KB Details
djvu-gs-gpl-8.60.patch djvu-gs-gpl-8.60.patch text/plain Timo Gurr 2007-08-03 10:13 0000 1.60 KB Details
ghostscript-gpl-8.60.ebuild ghostscript-gpl-8.60.ebuild text/plain Timo Gurr 2007-08-06 20:33 0000 4.11 KB Details
ghostscript-8.57-ijs-krgb.patch ghostscript-8.57-ijs-krgb.patch text/plain Timo Gurr 2007-08-06 20:33 0000 22.85 KB Details
ghostscript-fPIC-64bit.patch ghostscript-fPIC-64bit.patch text/plain Timo Gurr 2007-08-06 20:34 0000 381 bytes Details
ghostscript-fPIC.patch ghostscript-fPIC.patch text/plain Timo Gurr 2007-08-06 20:34 0000 1.45 KB Details
ghostscript-multilib.patch ghostscript-multilib.patch text/plain Timo Gurr 2007-08-06 20:34 0000 3.62 KB Details
ghostscript-noopt.patch ghostscript-noopt.patch text/plain Timo Gurr 2007-08-06 20:34 0000 557 bytes Details
ghostscript-scripts.patch ghostscript-scripts.patch text/plain Timo Gurr 2007-08-06 20:35 0000 1.16 KB Details
ghostscript-multilib.patch ghostscript-multilib.patch text/plain Timo Gurr 2007-08-08 09:52 0000 721 bytes Details
ghostscript-gpl-8.60.ebuild ghostscript-gpl-8.60.ebuild with ~sparc added to KEYWORDS list text/plain Ferris McCormick 2007-08-15 14:31 0000 4.12 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 187502 depends on: Show dependency tree
Bug 187502 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-08-02 13:55 0000
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 From Daniel J. 2007-08-02 13:56:36 0000 -------
Created an attachment (id=126706) [details]
Initial ebuild for ghostscript-gpl-8.60

------- Comment #2 From Timo Gurr 2007-08-03 10:12:22 0000 -------
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 From Timo Gurr 2007-08-03 10:12:54 0000 -------
Created an attachment (id=126785) [details]
ghostscript-gpl-8.60.ebuild

------- Comment #4 From Timo Gurr 2007-08-03 10:13:08 0000 -------
Created an attachment (id=126788) [details]
djvu-gs-gpl-8.60.patch

------- Comment #5 From Timo Gurr 2007-08-03 10:16:03 0000 -------
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 From Darren Dale 2007-08-03 17:27:38 0000 -------
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 From Jakub Moc (RETIRED) 2007-08-04 10:40:00 0000 -------
Yay, ghostscript-esp is finally dead.

------- Comment #8 From Timo Gurr 2007-08-06 20:33:26 0000 -------
Created an attachment (id=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 From Timo Gurr 2007-08-06 20:33:52 0000 -------
Created an attachment (id=127105) [details]
ghostscript-8.57-ijs-krgb.patch

------- Comment #10 From Timo Gurr 2007-08-06 20:34:07 0000 -------
Created an attachment (id=127107) [details]
ghostscript-fPIC-64bit.patch

------- Comment #11 From Timo Gurr 2007-08-06 20:34:22 0000 -------
Created an attachment (id=127108) [details]
ghostscript-fPIC.patch

------- Comment #12 From Timo Gurr 2007-08-06 20:34:39 0000 -------
Created an attachment (id=127109) [details]
ghostscript-multilib.patch

------- Comment #13 From Timo Gurr 2007-08-06 20:34:53 0000 -------
Created an attachment (id=127110) [details]
ghostscript-noopt.patch

------- Comment #14 From Timo Gurr 2007-08-06 20:35:06 0000 -------
Created an attachment (id=127112) [details]
ghostscript-scripts.patch

------- Comment #15 From Tassilo Horn 2007-08-08 08:08:04 0000 -------
I just want to note that the ghostscript-multilib.patch is garbled. It's not a
patch, it's a html file.

------- Comment #16 From Timo Gurr 2007-08-08 09:52:10 0000 -------
Created an attachment (id=127254) [details]
ghostscript-multilib.patch

Sorry my bad, here's the real one.

------- Comment #17 From Timo Gurr 2007-08-13 14:45:46 0000 -------
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 From Ferris McCormick 2007-08-15 12:27:33 0000 -------
Added ~sparc keyword --- this also cures Bug #187280, and otherwise seems to
work as expected.

------- Comment #19 From Ferris McCormick 2007-08-15 14:31:44 0000 -------
Created an attachment (id=128180) [details]
Replacement 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 From Ferris McCormick 2007-08-15 14:34:22 0000 -------
(From update of attachment 128180 [details])
Fix description

------- Comment #21 From Jon 2007-10-09 21:12:28 0000 -------
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 From Jakub Moc (RETIRED) 2007-10-10 17:34:16 0000 -------
*** Bug 195398 has been marked as a duplicate of this bug. ***

------- Comment #23 From Timo Gurr 2007-10-18 01:49:01 0000 -------
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.

First Last Prev Next    No search results available      Search page      Enter new bug