Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 19937
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Printing Team <printing@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Thomas Weidner <3.14159@gmx.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ghostscript-7.05.6-r2.ebuild New ebuild recognizing gimp-print correctly text/plain Daniel Karlsson 2003-06-18 07:58 0000 2.72 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 19937 depends on: Show dependency tree
Bug 19937 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: 2003-04-25 09:16 0000
Hi,

when trying to emerge ghostscript gimp-print is emerged as a dependancy, but i
don't need gimp-print. I only need ghostscript with cups support (i use hpijs).
A solution might be to seperate cups and gimp-print support in the ebuild,
perhaps a gimp-print useflag.

------- Comment #1 From Martin Holzer (RETIRED) 2003-05-22 08:42:44 0000 -------
*** Bug 21248 has been marked as a duplicate of this bug. ***

------- Comment #2 From Chris PeBenito 2003-05-25 01:07:26 0000 -------
As Thomas said, ghostscript shouldn't automatically require gimp-print if cups
support is enabled.  It seems to me that the gimp-print should be enabled, and
added to DEPEND if cups and X are in the USE.  IMO, this is a bug, not an
enhancement.

------- Comment #3 From Danny 2003-06-15 20:03:08 0000 -------
Shouldn't someone set this ebuild back to ~X86 quickly?  It's silly that it
wants me to install gimp so that it can install gimp-print.  Most users won't
know what of the installed stuff can be uninstalled once this problem is fixed.
 Look at all it wants me to install:

Calculating world dependencies ...done!
[ebuild  N   ] dev-perl/Text-Balanced-1.95  
[ebuild  N   ] dev-perl/Parse-RecDescent-1.94  
[ebuild  N   ] dev-perl/XML-Writer-0.4-r2  
[ebuild  N   ] media-sound/esound-0.2.29  
[ebuild  N   ] gnome-base/ORBit-0.5.17  
[ebuild  N   ] gnome-base/gnome-libs-1.4.2  
[ebuild  N   ] media-libs/gdk-pixbuf-0.21.0  
[ebuild  N   ] dev-perl/XML-Parser-2.31-r1  
[ebuild  N   ] dev-perl/gtk-perl-0.7008-r9  
[ebuild  N   ] dev-perl/File-Spec-0.82  
[ebuild  N   ] dev-perl/Test-Harness-2.28  
[ebuild  N   ] dev-perl/Data-Dumper-2.101  
[ebuild  N   ] dev-perl/Inline-0.44  
[ebuild  N   ] dev-perl/Filter-1.29  
[ebuild  N   ] dev-perl/ExtUtils-F77-1.14-r1  
[ebuild  N   ] dev-perl/PDL-2.3.4  
[ebuild  N   ] media-libs/mpeg-lib-1.3.1-r1  
[ebuild  N   ] media-gfx/gimp-1.2.3-r3  
[ebuild  N   ] net-ftp/curl-7.10.2  
[ebuild  N   ] net-print/foomatic-2.0.0  
[ebuild  N   ] media-gfx/gimp-print-4.2.5  
[ebuild    U ] app-text/ghostscript-7.05.6-r2 [7.05.5-r2] 

------- Comment #4 From Daniel Karlsson 2003-06-16 03:08:46 0000 -------
It seems to be a problem with this line: 
	cups? ( || ( gimp-print gimp-print-cups ) ) 
 
I understand what it is supposed to do, but is it really possible to do it this way? 
If it is not, portage doesn't like it that much. Perhaps, there is another way to solve this 
problem? 

------- Comment #5 From Wolfram Schlich 2003-06-17 02:52:21 0000 -------
this ghostscript "update" would merge xfree even on (server) machines, where
USE="-X"! this gimp-print dependancy is really unnecessary. it now prevents me
from running "emerge -u world" :((

------- Comment #6 From Daniel Karlsson 2003-06-17 03:57:21 0000 -------
What is the reason behind the dependency on gimp-print? If we trigger on cups
we should 
depend on gimp-print-cups, NOT gimp-print. The best thing to do would be
testing if either one 
is installed and if not then it should install gimp-print-cups. The problem
with the current use 
line is that it ALWAYS want to install gimp-print. That will fail because of
gimp-print-cups that 
is already installed on the system (in my case). 
Personaly, I don't quite like ghostscript depending upon gimp-print*. Is this
really necessary? 

And could we get a little response from some developer please! This is actually
a very annoying 
and major bug. I don't understand how this could get through testing. There
must be quite a few 
people out there experiencing this problem. 

------- Comment #7 From Daniel Karlsson 2003-06-18 07:58:51 0000 -------
Created an attachment (id=13464) [details]
New ebuild recognizing gimp-print correctly

------- Comment #8 From Daniel Karlsson 2003-06-18 07:59:21 0000 -------
I have made an altered version of ghostscript 7.05.6-r2.ebuild that seems to
recognize 
gimp-print just fine. Not too sure, please test anyone. Not that good at
writing bash. 

If there is some developer reading this, could you please look at my ebuild so
we can, 
hopefully, put an end to this. 

------- Comment #9 From Gregorio Guidi (RETIRED) 2003-06-20 08:57:30 0000 -------
Regarding your change:
if use cups; then
  has_version gimp-print-cups || has_version gimp-print \
    && myconf="${myconf} --enable-cups --with-gimp-print" 
else
  myconf="${myconf} --disable-cups --without-gimp-print"
fi

I think that if someone has USE=cups and neither gimp-print nor
gimp-print-cups installed, this does the wrong thing.
Apart from this issue, en ebuild that behaves differently depending
on external factors is probably a big source of trouble for the
developers, so I reccomend to find a different solution.

As anyone tried just switching gimp-print with gimp-print-cups in
DEPEND? Otherwise I would opt for a virtual/gimp-print or even for
a gimp-print use-flag.

------- Comment #10 From Daniel Karlsson 2003-06-20 13:18:42 0000 -------
Yes, I agree with you. My solution is not a good idea actually. What if we
always require 
gimp-print-cups? Just switching the gimp-print and gimp-print-cups, as you say
Guidi, would 
do. Is that a solution good enough? 

I think a useflag is a bit of an overkill if we can solve it the way described
above. 

------- Comment #11 From Daniel Karlsson 2003-06-20 13:35:25 0000 -------
No, it's not that easy. :-( You can't just switch the the two words. (Look at
comment #6) 
I question if that construct is correct. Could be a bug in the current Portage
version I'm using, 
though. 

------- Comment #12 From Daniel Karlsson 2003-06-21 01:44:01 0000 -------
I vote for a virtual package because we have two packages that can't be
installed at the same 
time. Funny, couldn't they be made to complement each other? 
I don't know what to think about the USE flag issue. 

------- Comment #13 From Thomas Raschbacher 2003-06-24 05:40:29 0000 -------
hmm... afaik someone did an ebuild which kinda combines gimp-print and
gimp-print-cups(which is only the devel version of gimp-print) i'll check it
out ..

------- Comment #14 From Daniel Karlsson 2003-06-25 01:14:26 0000 -------
In idea came to mind looking at the latest attachment to bug #14909. Does the
latest portage 
version support local USE flags? If it does, it could be a good idea to let a
local USE flag 
control whether gimp-print should enable support for gimp or not. Then we could
delete 
gimp-print-cups for good! OK, it looks like gimp-print ebuild needs some
tweaking in the install 
section also. Any thoughts? 

------- Comment #15 From Heinrich Wendel (RETIRED) 2003-06-28 14:08:49 0000 -------
will be seperated in next ghostscript version.

------- Comment #16 From Heinrich Wendel (RETIRED) 2003-07-16 07:04:41 0000 -------
ghostscript-7.05.6-r3 now in portage ...

------- Comment #17 From Daniel Karlsson 2003-07-24 07:34:38 0000 -------
Any good response to the third release? I would like this to be put to stable
as soon as 
possible because this bug is a MAJOR hindrance in my system upgrades. I'm
getting 
desperate... :-) 

------- Comment #18 From Mr. Bones. 2003-07-24 11:04:44 0000 -------
I agree.  What's the hold up in marking it stable?

------- Comment #19 From Daniel Karlsson 2003-07-30 13:58:10 0000 -------
Thank you, my printing now works like a charm! 

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug