First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 223121
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Printing Team <printing@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sébastien Monassa <monassa@systm.fr>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
hplip-2.8.5-r1.ebuild hplip-2.8.5-r1.ebuild with USEflag "systray" text/plain Kai Sommer 2008-07-09 18:26 0000 4.23 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 223121 depends on: Show dependency tree
Bug 223121 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: 2008-05-21 21:14 0000
Starting with net-print/hplip-2.8.5 hp-systray replaces /etc/init.d/hplip
startup script. When trying to launch it as a normal user, I get

error: Qt3 version of hp-systray requires python-ctypes module. Exiting!

Reproducible: Always

Steps to Reproduce:
1. emerge =net-print/hplip-2.8.5
2. hp-systray
Actual Results:  
error: Qt3 version of hp-systray requires python-ctypes module. Exiting!


Expected Results:  
An HP icon appearing in the systray (of KDE in my case)

Emerging dev-python/ctypes solved the problem. It should be added as a
mandatory dependency of the ebuild.

------- Comment #1 From Denis Dupeyron 2008-05-26 06:26:54 0000 -------
I'm currently away, so I don't have access to my printer to test this. I'll fix
it as soon as I'll get back home, in a couple of days.

Denis.

------- Comment #2 From Kai Sommer 2008-07-09 18:26:09 0000 -------
Created an attachment (id=159967) [details]
hplip-2.8.5-r1.ebuild with USEflag "systray"

I made a -r1 ebuild with the new USEflag "systray" and that dependency with
"dev-python/ctypes".
Maybe it helps... :)

------- Comment #3 From Denis Dupeyron 2008-07-09 20:15:43 0000 -------
(In reply to comment #2)
> Created an attachment (id=159967) [edit] [details]
> hplip-2.8.5-r1.ebuild with USEflag "systray"
> 
> I made a -r1 ebuild with the new USEflag "systray" and that dependency with
> "dev-python/ctypes".
> Maybe it helps... :)

Thanks a lot. I'll have a look at it as soon as I'll have access to my printer,
which seems to be less and less often nowadays unfortunately.

Denis.

------- Comment #4 From Sébastien Monassa 2008-07-13 08:13:09 0000 -------
(In reply to comment #2)
> Created an attachment (id=159967) [edit] [details]
> hplip-2.8.5-r1.ebuild with USEflag "systray"
> 
> I made a -r1 ebuild with the new USEflag "systray" and that dependency with
> "dev-python/ctypes".
> Maybe it helps... :)
> 

Thanks. It works correctly with the "systray" use flag by pulling
"dev-python/ctypes" in.

But if you don't use "systray" it still builds the hp-systray executable. And
it's the same problem again.

If you cannot disable the hp-systray building, maybe should you consider it's
part of the package and always pull in "dev-python/ctypes" without any
"systray" use flag.

------- Comment #5 From Denis Dupeyron 2008-07-13 11:28:13 0000 -------
(In reply to comment #4)
> If you cannot disable the hp-systray building, maybe should you consider it's
> part of the package and always pull in "dev-python/ctypes" without any
> "systray" use flag.

As annoying as it is (i.e. I'm not particularly fond of the feature),
upstream's documentation seems to imply that it is not optional. At least
that's what I remember.

Denis, still not hear his printer.

------- Comment #6 From Denis Dupeyron 2008-07-30 14:56:11 0000 -------
I have just committed hplip-2.8.6b. There are new qt3 and qt4 USE flags, and
when qt3 is used python-ctypes is added to RDEPEND.

Thanks for reporting this.
Denis.

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