Summary: | ghostscript and gv work on ppc-macos | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Benjamin Braatz <sean> |
Component: | Mac OSX | Assignee: | Gentoo for Mac OS X <ppc-macos> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Modified ebuild for ghostscript
Diff for ghostscript ebuild Patch for the ghostscript Makefiles and sources Modified ebuild for gv Diff for gv ebuild Patch for the gv sources Unix-dll patch IJS patch Ebuild Yet another ebuild Patch for the man page installation |
Description
Benjamin Braatz
2005-03-20 15:37:13 UTC
Created attachment 53994 [details]
Modified ebuild for ghostscript
Created attachment 53995 [details, diff]
Diff for ghostscript ebuild
Created attachment 53996 [details, diff]
Patch for the ghostscript Makefiles and sources
Created attachment 53997 [details]
Modified ebuild for gv
Created attachment 53998 [details, diff]
Diff for gv ebuild
Created attachment 53999 [details, diff]
Patch for the gv sources
Sorry for the broken links in my bug report. I did not know that bugzilla automatically links texts "attachment xxx" to the attachments with that number. Of course I meant the attachments of this bug in the given order not the first six attachments ever made to gentoo bugzilla. Created attachment 54405 [details, diff]
Unix-dll patch
I tried your patch set, but it didn't work for me. I had actually been working
on this a while back, but got busy. I merged in the patch that you had and I
didn't to produce this attached patch. Thanks!
Created attachment 54406 [details, diff]
IJS patch
And the IJS patches. You'll see in the ebuild why they need to be separate.
Created attachment 54407 [details]
Ebuild
Just in case you want to use the same ebuild I'm using. I know it gets through
compile. It's still working on install.
I have verified that everything builds and installs to image correctly using the patches I attached. Unfortunately, the package is installing some things to ${DESTDIR}/usr/local, which of course needs to be fixed. I am currently swamped with work, so unfortunately I don't have time to look into exactly where the culprit is. If you can provide a patch for the /usr/local problem, I will be happy to spend the time to verify and commit it to portage. Otherwise it's going to have to wait until my research crunch is over (about 2 weeks). Created attachment 54909 [details]
Yet another ebuild
Hello!
I tried your ebuild, but it didn't work out for me, because of the issue with
the man-pages mentioned in the original report. So I re-added this as an
additional patch, which I will post in a minute.
Moreover, I removed your copying and sed-iting of Makefiles and config.* files,
because I think these were the reason for the installation to /usr/local: If
you copy an already complete Makefile, then the whole
autoconf/configure-process is pointless.
On my machine autoconf and configure somehow get the prefix (/usr) right and I
do not have to hand-sed the used libraries in, either, because they are found
by configure. So the ebuild just applies the three patches.
Hopefully, this one works better with you. Otherwise, I don't know. Perhaps you
can post what exactly is going wrong?
Regards
Created attachment 54910 [details, diff]
Patch for the man page installation
I had some issues with ghostscript not building shared libraries without changing the makefile, which is why I used the other one. autoconf doesn't overwrite Makefile.in. I found the culprit in that new makefile, prefix was set to /usr/local there. Are you getting shared libraries with your version of the makefile? (Will also add your patch for the manpage, sorry about that). BTW, the following is one of the reasons I cannot use the current Makefile: pstoraster/gdevcups.c:3514: warning: left-hand operand of comma expression has no effect pstoraster/gdevcups.c:3568: error: parse error before ')' token pstoraster/gdevcups.c:3570: error: parse error before ')' token pstoraster/gdevcups.c:3581: error: parse error before ')' token pstoraster/gdevcups.c:3581: warning: left-hand operand of comma expression has no effect pstoraster/gdevcups.c:3625: error: parse error before ')' token pstoraster/gdevcups.c:3625: warning: left-hand operand of comma expression has no effect pstoraster/gdevcups.c:3658: error: parse error before ')' token pstoraster/gdevcups.c:3669: error: parse error before ')' token pstoraster/gdevcups.c:3669: error: parse error before ')' token pstoraster/gdevcups.c: In function `cups_set_color_info': pstoraster/gdevcups.c:2515: warning: value computed is not used pstoraster/gdevcups.c:2515: warning: value computed is not used pstoraster/gdevcups.c: In function `cups_put_params': pstoraster/gdevcups.c:2026: warning: statement with no effect pstoraster/gdevcups.c:2028: warning: statement with no effect pstoraster/gdevcups.c:2030: warning: statement with no effect pstoraster/gdevcups.c:2034: warning: statement with no effect pstoraster/gdevcups.c:2038: warning: statement with no effect pstoraster/gdevcups.c:2039: warning: statement with no effect pstoraster/gdevcups.c:2041: warning: statement with no effect pstoraster/gdevcups.c:2042: warning: statement with no effect pstoraster/gdevcups.c:2043: warning: statement with no effect pstoraster/gdevcups.c:2044: warning: statement with no effect pstoraster/gdevcups.c:2122: warning: value computed is not used pstoraster/gdevcups.c:2151: warning: value computed is not used pstoraster/gdevcups.c: In function `cups_print_planar': pstoraster/gdevcups.c:3658: warning: value computed is not used pstoraster/gdevcups.c: At top level: pstoraster/gdevcups.c:1235: warning: `cups_map_cielab' defined but not used make: *** [obj/gdevcups.o] Error 1 !!! ERROR: app-text/ghostscript-7.07.1-r8 failed. !!! Function src_compile, Line 133, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message. This is building ghostscript with USE="cups", but we sort of want that to work. I also remember getting errors with jpeg, png and zlib but I don't remember what they were. You don't get them? What USE flags are you compiling ghostscript with? If you use my patches and yours for the manpage, does the application work for you? As soon as I get the cjk dependency worked out, I'm willing to commit on ghostscript. Both ghostscript and gv are in CVS. Works great here. Shoot me an email if there are any problems; I don't expect there to be any. |