Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54119 - gtk-qt-engine-0.5 ebuild (new package)
Summary: gtk-qt-engine-0.5 ebuild (new package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Brad Laue (RETIRED)
URL: http://www.freedesktop.org/Software/g...
Whiteboard:
Keywords: EBUILD
: 51003 58945 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-16 13:56 UTC by Genady Okrain
Modified: 2004-10-03 13:57 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gtk-qt-engine-0.41.ebuild (gtk-qt-engine-0.41.ebuild,639 bytes, text/plain)
2004-06-16 13:58 UTC, Genady Okrain
Details
The new ebuild for x11-themes/gtk-qt-engine-0.41.ebuild (gtk-qt-engine-0.41.ebuild,583 bytes, text/plain)
2004-06-21 04:40 UTC, Elias Probst
Details
gtk-qt-engine-0.5.ebuild (gtk-qt-engine-0.5.ebuild,583 bytes, text/plain)
2004-07-31 07:23 UTC, Genady Okrain
Details
gtk-qt-engine-0.5.ebuild (gtk-qt-engine-0.5.ebuild,558 bytes, text/plain)
2004-08-13 10:04 UTC, Patrick Dawson (RETIRED)
Details
Alternative ebuild for qtk-qt 0.5 (gtk-qt-engine-0.5.ebuild,680 bytes, text/plain)
2004-08-25 10:40 UTC, J.O. Aho
Details
gtk-qt-engine-0.5.ebuild (gtk-qt-engine-0.5.ebuild,516 bytes, text/plain)
2004-08-25 12:11 UTC, Patrick Dawson (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Genady Okrain 2004-06-16 13:56:05 UTC
http://www.freedesktop.org/Software/gtk-qt

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Genady Okrain 2004-06-16 13:58:10 UTC
Created attachment 33395 [details]
gtk-qt-engine-0.41.ebuild
Comment 2 Sridhar Dhanapalan 2004-06-18 04:41:38 UTC
Here's what I get:

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-x11-themes_-_gtk-qt-engine-0.41-21389.log"

open_wr:   /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
--------------------------------------------------------------------------------
Comment 3 Genady Okrain 2004-06-18 05:06:12 UTC
yes the isue with sandbox
im trying to make a patch the solve this

you can try disabling sandbox it should work
Comment 4 Elias Probst 2004-06-21 04:40:19 UTC
Created attachment 33743 [details]
The new ebuild for x11-themes/gtk-qt-engine-0.41.ebuild

I rewrote your ebuild. Now it's compliant to the ebuild guidelines
(http://www.gentoo.org/doc/en/ebuild-mistakes.xml), uses a function from the
kde.eclass to have a workaround for the .qtrc-bug, inherits gtk-engines2.eclass
and follows this eclass' guidelines. (Don't define a DEPEND, use newdepend and
some other things.)

Greetings

Elias P.
Comment 5 Genady Okrain 2004-06-21 07:45:09 UTC
good job
thanks
Comment 6 Sridhar Dhanapalan 2004-06-21 18:39:32 UTC
The second ebuild works well. Thank you.
Comment 7 Matthew 2004-06-28 15:32:37 UTC
*** Bug 51003 has been marked as a duplicate of this bug. ***
Comment 8 Patrick Dawson (RETIRED) gentoo-dev 2004-07-12 22:04:16 UTC
Works very well for me, thanks! Great theme for KDE users.
Comment 9 Matthew 2004-07-19 17:33:16 UTC
Just wanted to add that I noticed, since adding the new eBuild to my portage overlay, I get a message saying

">>> Updating Portage cache... -has_version() in global scope: x11-themes/gtk-qt-engine-0.41
has_version() in global scope: x11-themes/gtk-qt-engine-0.41
has_version() in global scope: x11-themes/gtk-qt-engine-0.41
  ...done!"

whenever I do emerge sync, not sure if it's an issue with the eBuild itself or not though.
Comment 11 Seemant Kulleen (RETIRED) gentoo-dev 2004-07-30 16:08:40 UTC
*** Bug 58945 has been marked as a duplicate of this bug. ***
Comment 12 Elias Probst 2004-07-30 16:12:39 UTC
Version 0.5 is out, bumping the ebuild does it all. Works great here.

Greetings

Elias P.
Comment 13 Patrick Dawson (RETIRED) gentoo-dev 2004-07-30 22:04:16 UTC
Much better than 0.41. The menus in Thunderbird and the Azureus crash are fixed, though I'm noticing lots of graphical glitches with scrollbars, which weren't there in 0.41.
Almost ready for portage, but not quite. Wait another version or two :)
Comment 14 Genady Okrain 2004-07-31 07:23:15 UTC
Created attachment 36523 [details]
gtk-qt-engine-0.5.ebuild
Comment 15 Luca Santarelli 2004-08-03 01:06:11 UTC
Much stabler than 0.41 :-)
Comment 16 Luca Santarelli 2004-08-07 12:28:11 UTC
It is working really fine under KDE (Mozilla and Eclipse are skinned almost perfectly, they at least don't crash as they used to did with the previous releases).

Unluckily, gtk-qt-engine completely kills the window manager of XFCE4 (you get the panel, the taskbar, the windows... but no window borders/titlebars, etc).

I'm gonna try and file a bug report to the original author.
Comment 17 Luca Santarelli 2004-08-08 01:39:33 UTC
Ok, this is an incompatibility similar to the one which makes Metacity misbehave. The original author has added some code to fix the XFCE4 issue and will put them in CVS soon. For a permanent fix it looks like a patch to Qt is needed.
Comment 18 Tony Murray 2004-08-12 15:58:53 UTC
It fails for me.

Also, DEPEND and RDEPEND are supposed to be set, even if they are empty.

checking for uic... /usr/qt/3/bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!

!!! ERROR: x11-themes/gtk-qt-engine-0.5 failed.
!!! Function econf, Line 362, Exitcode 1
!!! econf failed
Comment 19 Patrick Dawson (RETIRED) gentoo-dev 2004-08-13 10:04:34 UTC
Created attachment 37366 [details]
gtk-qt-engine-0.5.ebuild

You're right. Here's a proper ebuild.
Comment 20 Andreas Simon 2004-08-14 09:15:41 UTC
The dependency on x11-themes/qtpixmap seems wrong to me.
The gtk-qt-engine doesn't depend on qtpixmap.
Comment 21 J.O. Aho 2004-08-25 09:52:43 UTC
In the latest patch (2004-08-13), there is the line

	addwrite ${QTDIR}/etc/settings

but ain't that a bit overkill, when the eclass kde is already includes the addwrite line.
Comment 22 J.O. Aho 2004-08-25 10:40:09 UTC
Created attachment 38185 [details]
Alternative ebuild for qtk-qt 0.5

Not sure if the arts option works as it should, but gtk-qt can be built with or
without arts support.

gtk-qt don't really depend on x11-themes/qtpixmap, but I kept it there.

gtk-qt does build on ppc too, so it should be included in the KEYWORDS, we
can't just support x86.

removed the addwrite line, as this has no use anymore, as we now inherit the
right packges. 

This does build well for me and I hope it will work for everyone else too.
Comment 23 Andreas Simon 2004-08-25 11:05:21 UTC
> gtk-qt don't really depend on x11-themes/qtpixmap, but I kept it there.

There is just one case where gtk-qt uses qtpixmap, and that is when qtpixmap is chooses as current Qt style. gtk-qt uses whichever Qt style is chooses to draw gtk widgets, it hasn't to be qtpixmap.

I just grepped qtpixmap in gtk-qt's sources and couldn't find any reference.
Comment 24 Patrick Dawson (RETIRED) gentoo-dev 2004-08-25 12:11:58 UTC
Created attachment 38191 [details]
gtk-qt-engine-0.5.ebuild

Thanks for the suggestions, but please note that this package *does* depend on
kdelibs.
In general, we don't add keywords unless we can test those archs personally. As
soon as this is in portage, I'll notify the ppc devs and get them to keyword
it.
Comment 25 Tony Murray 2004-08-25 23:51:27 UTC
I give the latest ebuilds a thumbs up.  This would be a great thing to have in portage, hopefully it gets added soon.
Comment 26 J.O. Aho 2004-08-26 07:42:07 UTC
According to a friend who is involved in GentooPPC, the chance to get an ebuild approved increases quite a lot with the removeval of addwrite.

Thanks to my friend I got to know about this nice software.
Comment 27 Patrick Dawson (RETIRED) gentoo-dev 2004-08-26 19:03:55 UTC
Again, I'm not going to put version 0.5 in portage because I don't feel it's ready quite yet. If another dev does, feel free to take this and handle the inevitable bug reports ;-)
If they fix some of the more obvious bugs with the next release, I'll commit that.
Comment 28 Andreas Simon 2004-08-27 00:50:16 UTC
But this package is already in Portage (with a wrong dependency)!

It was commited by Brad Laue on August 23.
Comment 29 Patrick Dawson (RETIRED) gentoo-dev 2004-08-28 08:18:00 UTC
Uh, okay. It's his then. Brad, take care of this.
Comment 30 Patrick Dawson (RETIRED) gentoo-dev 2004-10-02 10:16:03 UTC
brad, are you going to fix this ebuild to use need-kde and use_with, or what? If you don't want to maintain it, I'll take it.
Comment 31 Brad Laue (RETIRED) gentoo-dev 2004-10-02 10:47:23 UTC
Argh. Patrick if you'd like to take maintainership you're more than welcome.
Comment 32 Patrick Dawson (RETIRED) gentoo-dev 2004-10-03 13:57:01 UTC
OK, I'll take this. I need something interesting to maintain ;-)
Closing this bug since it's been in portage for a while now.