Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213620 - Add qt4-based gtk-engines-qt-1.1.ebuild
Summary: Add qt4-based gtk-engines-qt-1.1.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
: 215205 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-03-16 19:32 UTC by Magnus Kessler
Modified: 2008-11-04 10:46 UTC (History)
14 users (show)

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


Attachments
gtk-engines-qt-1.1.ebuild (gtk-engines-qt-1.1.ebuild,668 bytes, text/plain)
2008-03-16 19:34 UTC, Magnus Kessler
Details
patch missing stdlib.h include; from upstream (1.1-stdlib.patch,340 bytes, patch)
2008-03-16 19:35 UTC, Magnus Kessler
Details | Diff
Ebuild without kde4 dependency (gtk-engines-qt-1.1.ebuild,662 bytes, text/plain)
2008-04-21 01:08 UTC, Dennis Schridde
Details
gtk-egnines-qt-1.1.ebuild - updated: includes patch + runs buildsycoca for showing the item immediately in systemsettings/kcontrol + some minor cleanups (gtk-engines-qt-1.1.ebuild,717 bytes, text/plain)
2008-07-22 05:08 UTC, Elias Probst
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Kessler 2008-03-16 19:32:55 UTC
gtk-qt-engine has been updated to work with kde4/qt-4. I have attached an ebuild for this new version.

Reproducible: Always

Steps to Reproduce:
Comment 1 Magnus Kessler 2008-03-16 19:34:31 UTC
Created attachment 146333 [details]
gtk-engines-qt-1.1.ebuild
Comment 2 Magnus Kessler 2008-03-16 19:35:58 UTC
Created attachment 146335 [details, diff]
patch missing stdlib.h include; from upstream

place 1.1-stdlib.patch into $FILES. Upstream have already patched the code-base, so this won't be needed in future versions any more
Comment 3 Tony Murray 2008-03-17 15:01:20 UTC
I just renamed the 0.8 ebuild to 1.1 and it installed and works fine.  The only issue is qt3 is no longer supported with 1.0+
Comment 4 Tony Murray 2008-03-17 15:03:06 UTC
Obviosly, you need to update dependency info and maybe this needs to be a slotted upgrade.
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2008-03-21 11:11:15 UTC
does not look good in my opinion - I will not add that soon. kde4 does not support small fonts for me :(
Comment 6 André-Sebastian Liebe 2008-03-28 15:04:19 UTC
*** Bug 215205 has been marked as a duplicate of this bug. ***
Comment 7 Henrik Segesten 2008-04-03 10:45:30 UTC
The supplied ebuild and patch works fine for me. Thanks a lot!
Comment 8 Franz Trischberger 2008-04-09 14:38:47 UTC
(In reply to comment #4)
> and maybe this needs to be a
> slotted upgrade.

I think slotted is not possible, as the installed files (including the lib) still are same, only difference is the dependency on qt4 instead of qt4.
Comment 9 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-04-09 15:31:45 UTC
(In reply to comment #8)
> (In reply to comment #4)
> > and maybe this needs to be a
> > slotted upgrade.
> 
> I think slotted is not possible, as the installed files (including the lib)
> still are same, only difference is the dependency on qt4 instead of qt4.
 
The ChangeLog on the site actually lists it explicitly as the only change between v1.0 and v1.1...
Comment 10 Dennis Schridde 2008-04-21 01:08:11 UTC
Created attachment 150470 [details]
Ebuild without kde4 dependency

I am successfully using an ebuild without kde4. It can still be configured with the kde3 kcm module from version 0.8 (parallel/sloted install).

I get these messages during configure:
-- bonoboui not found.  Some features of the theme engine will not work as intended.
-- extractrc not found.  You will not be able to run 'make extract_messages' in the 'po' directory.
-- WARNING: The KDE4 development package was not found.  The KDE Control Center module will not be built
(Well, the last one was to be expected...)

The bonoboui thing may be interesting. I don't know what "will not work as intended", but I do notice issues in tab-rendering, so maybe those are related.
Comment 11 Dennis Schridde 2008-04-21 01:09:32 UTC
PS: That ebuild is also not using the stdlib patch. Either upstream silently included it into the tarball, or gtk-qt doesn't build the affected parts on my system.
Comment 12 Michal 2008-04-21 13:35:33 UTC
Audacius crashed when works together with gtk-engines-qt-1.1. 
/infringement the protection of memory/
 
GIMP and EasyTag work fine.
Comment 13 Vladimir Kulev 2008-05-16 14:58:03 UTC
The latest ebuild failed to compile for me until I included the patch. The original tarball does not contain it.
Comment 14 George 2008-05-23 12:49:34 UTC
(In reply to comment #13)
> The latest ebuild failed to compile for me until I included the patch. The
> original tarball does not contain it.
> 

Yes, that's why the patch is there. It goes in the files directory.

Anyway, the ebuild worked for me, though it seems a bit buggier than the old .8. Firefox' icons don't fit in as well as with qt3, and the tab highlighting is a bit weird, after mousing over the tabs all look different. I think all of the bugs are upstream right now, but if this does go in the tree it should probably stay masked until a newer version. Having a menu in KDE4 is quite nice though.
Comment 15 Elias Probst 2008-07-22 05:08:37 UTC
Created attachment 161073 [details]
gtk-egnines-qt-1.1.ebuild - updated: includes patch + runs buildsycoca for showing the item immediately in systemsettings/kcontrol + some minor cleanups
Comment 16 Shufeng Zheng 2008-09-11 16:41:23 UTC
Emerge failed at:
[ 40%] Generating ui_kcmgtkwidget.h                                                             
Scanning dependencies of target kcm_gtk4                                                        
[ 44%] Building CXX object kcm_gtk/CMakeFiles/kcm_gtk4.dir/kcm_gtk4_automoc.o                   
In file included from /var/tmp/portage/x11-themes/gtk-engines-qt-1.1/work/gtk-engines-qt_build/kcm_gtk/moc_kcmgtk.cpp:10,                                                                       
                 from /var/tmp/portage/x11-themes/gtk-engines-qt-1.1/work/gtk-engines-qt_build/kcm_gtk/kcm_gtk4_automoc.cpp:2:                                                                  
/var/tmp/portage/x11-themes/gtk-engines-qt-1.1/work/gtk-engines-qt_build/kcm_gtk/../../gtk-qt-engine/kcm_gtk/kcmgtk.h:27:29: error: ui_kcmgtkwidget.h: No such file or directory                
In file included from /var/tmp/portage/x11-themes/gtk-engines-qt-1.1/work/gtk-engines-qt_build/kcm_gtk/moc_searchpaths.cpp:10,                                                                  
                 from /var/tmp/portage/x11-themes/gtk-engines-qt-1.1/work/gtk-engines-qt_build/kcm_gtk/kcm_gtk4_automoc.cpp:3:                                                                  
/var/tmp/portage/x11-themes/gtk-engines-qt-1.1/work/gtk-engines-qt_build/kcm_gtk/../../gtk-qt-engine/kcm_gtk/searchpaths.h:27:28: error: ui_searchpaths.h: No such file or directory            
/var/tmp/portage/x11-themes/gtk-engines-qt-1.1/work/gtk-engines-qt_build/kcm_gtk/../../gtk-qt-engine/kcm_gtk/kcmgtk.h:55: error: ‘Ui_KcmGtkWidget’ does not name a type                         
/var/tmp/portage/x11-themes/gtk-engines-qt-1.1/work/gtk-engines-qt_build/kcm_gtk/../../gtk-qt-engine/kcm_gtk/searchpaths.h:49: error: ‘Ui_SearchPaths’ does not name a type                     
make[2]: *** [kcm_gtk/CMakeFiles/kcm_gtk4.dir/kcm_gtk4_automoc.o] Error 1                       
make[1]: *** [kcm_gtk/CMakeFiles/kcm_gtk4.dir/all] Error 2                                      
make: *** [all] Error 2                                                                         
 *                                                                                              
 * ERROR: x11-themes/gtk-engines-qt-1.1 failed.                                                 
 * Call stack:                                                                                  
 *               ebuild.sh, line   49:  Called src_compile                                      
 *             environment, line 2615:  Called kde4overlay-base_src_compile                     
 *             environment, line 1956:  Called kde4overlay-base_src_make                        
 *             environment, line 1989:  Called cmake-utils_src_make                             
 *             environment, line  685:  Called die                                              
 * The specific snippet of code:                                                                
 *           emake "$@" || die "Make failed!";                                                  
 *  The die message:                                                                            
 *   Make failed!    

But those file missed in /gtk-qt-engines/ are actually located in /gtk-engines-qt_build/
Is there a problem with my system?
Comment 17 DeusEx 2008-10-18 17:11:45 UTC
Did use this ebuild along with the patch, but on KDE 4.1.2 it won't work, as the menu doesn't appear on the systemconfig menu.
Any suggestion??

Thanks
Comment 18 Dan Coats 2008-10-27 16:47:29 UTC
run kcmshell4 kcmgtk4 and the dialog should open.
Comment 19 Tomáš Chvátal (RETIRED) gentoo-dev 2008-10-27 17:59:50 UTC
Done. In the tree.
Comment 20 DeusEx 2008-11-04 10:46:48 UTC
(In reply to comment #18)
> run kcmshell4 kcmgtk4 and the dialog should open.
> 

I've tried, but i get:

~$ kcmshell4 kcmgtk4
findServiceByDesktopPath: kcmgtk4.desktop not found
kcmshell(23434)/kcmshell (kdelibs) locateModule: Could not find module ' "kcmgtk4" '.

If i look at the logs, the kcmgtk4.desktop file was installed in /usr/share/applications/kde4/.
What's wrong?