Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to Ebuild ghostscript with changed Makefile ??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
vert
Apprentice
Apprentice


Joined: 07 May 2002
Posts: 214
Location: Delft, The Netherlands

PostPosted: Tue May 21, 2002 7:27 am    Post subject: How to Ebuild ghostscript with changed Makefile ?? Reply with quote

I'm trying to get my printer to work. Therefor I need to recompile ghostscript with a specific printer driver included. This is what I did:

    1. Unpack the ghostscript source (from /usr/portage/distfiles/)
    2. Edit the Makefile
    3. Tar the ghostscript dir back into an tar.bz2 archive
    4. Replace the orginal with the new source archive
    5. Change the md5sum and size in the ghostscript digest file
    6. Run emerge ghostscript

Everything then works as normal, only the driver is not compiled. Tried other drivers, but it seems the configuration changes are simply ignored. I also tried the whole process with ebuild steps, but (not surprising) still no drivers. Am I doing something wrong?? Is it true that the changes are ignored by the ghostscript ebuild ??
Any help is very much appreciated. I would really really like to print under gentoo :cry:
Back to top
View user's profile Send private message
vert
Apprentice
Apprentice


Joined: 07 May 2002
Posts: 214
Location: Delft, The Netherlands

PostPosted: Wed May 22, 2002 9:42 am    Post subject: Reply with quote

Is there really nobody that can help me with this problem??

No ghostscript/ebuild experts around?

:cry:
Back to top
View user's profile Send private message
Curious
Bodhisattva
Bodhisattva


Joined: 13 May 2002
Posts: 395
Location: Sydney, Australia

PostPosted: Wed May 22, 2002 10:04 am    Post subject: Re: How to Ebuild ghostscript with changed Makefile ?? Reply with quote

vert wrote:


    1. Unpack the ghostscript source (from /usr/portage/distfiles/)
    2. Edit the Makefile
    3. Tar the ghostscript dir back into an tar.bz2 archive
    4. Replace the orginal with the new source archive
    5. Change the md5sum and size in the ghostscript digest file
    6. Run emerge ghostscript



I know nothing about your specific problem, but why not emerge ghostscript, recompile ghostscript with the custom driver in, say, your home directory, test if it works, and then copy the files over the top of the installed ones?

Of course, an update will break this, but it would break it your way regardless.

Bryn.
_________________
Are you down with the Hawk?
Back to top
View user's profile Send private message
vert
Apprentice
Apprentice


Joined: 07 May 2002
Posts: 214
Location: Delft, The Netherlands

PostPosted: Sat May 25, 2002 5:24 pm    Post subject: Reply with quote

I tried your suggestion, but the compile breaks on some function (right now I'm not behind my computer). I tried using binaries from a debian server (same version, which does have all printer support...) but no luck. It can't find all sorts of things. And I would still like to know if it isn't possible to use the ebuild tools in this case. I think it is very strange the modifications are just ignored :roll:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum