View previous topic :: View next topic |
Author |
Message |
n3m0 l33t
Joined: 08 Feb 2004 Posts: 798 Location: Richville, Naples, Italy, Europe
|
Posted: Tue Aug 17, 2004 5:31 pm Post subject: [TIP] Omogeneità grafica tra QT e GTK |
|
|
IMPORTANT_EDIT_01/09/2004: in questa data la versione 0.5 è disponibile ormai nel portage, quindi è consigliato l'utilizzo dell'ebuild ufficiale. IO non sono il mantainer dell'ebuild, quindi non è detto che pubblicherò qui altri ebuild a riguardo (ma non è detto neanche il contrario).
IMPORTANT_EDIT_01/04/2005: VERSIONE 0.6. Emergendo tale versione è possibile ottenere il seguendo messaggio:
Code: | ********************************************************************
WARNING: You do not have the bonobo development packages installed
These are not required, but strongly recommended, as they improve
some aspects of the theme engine.
******************************************************************** |
I pacchetti "fortemente raccomandati" da installare sono questi:
=DvD= wrote: | Code: | * gnome-base/libbonobo
* gnome-base/libbonoboui |
|
==================================================================================
nemo, nel post originale wrote: | Visto che ne vedo parlare poco in giro, ho pensato di segnalare questo piccolissimo TIP, magari a qualcuno interessa.
Molto spesso in giro per la rete, così come in giro per alcuni amici, sento lamentele del fatto che non è possibile avere omogeneità tra le GUI in QT/KDE e quelle in GTK/GNOME, tranne che con alcuni temi sviluppati per entrambi i widget set.
Tempo fa ho scoperto un gtk-engine che permetteva di disegnare le GTK (1 e 2) con il tema correntemente applicato alle QT.
La versione che provai tempo fa (0.2 o 0.3) mi mandava in crash le apps in GTK e quindi lasciai perdere. Poco tempo fa ci ho riprovato con una nuova versione (0.5) ed è andato tutto ok.
L'engine l'ho trovato qua ma la home page ufficiale dovrebbe essere questa, anche se le news sembrano essere più aggiornate al primo link.
Qui nel bugzilla di Gentoo trovate lo sviluppo dell'ebuild relativo.
C'è da dire che però io non ho usato l'ebuild di bugzilla per la 0.5, semplicemente perchè quando ho deciso di installare l'engine non c'era ancora e quindi modificai quello della versione 0.3 come segue:
Code: | # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header$
inherit gtk-engines2 eutils
IUSE="gtk2"
DESCRIPTION="GTK+2 Qt Theme Engine"
HOMEPAGE="http://www.kde-look.org/content/show.php?content=9714"
SRC_URI="http://www.freedesktop.org/Software/gtk-qt/${P}.tar.bz2"
KEYWORDS="~x86 ~ppc ~sparc ~alpha"
LICENSE="GPL-2"
SLOT="2"
DEPEND="${DEPEND}
dev-util/pkgconfig
>=x11-themes/qtpixmap-0.25"
src_unpack() {
unpack ${A} || die
} |
Quindi provate prima l'ebuild su bugzilla e se non va, usate pure quello riportato qui sopra. A me ha funzionato
L'ebuild va messo in:
Code: | $PORTDIR_OVERLAY/x11-themes/gtk-qt-engine/ |
Hola!
|
_________________ Lenergia è la civiltà. Lasciarla in mano ai piromani/petrolieri è criminale. Perché aspettare che finisca il petrolio?
Letà della pietra non è mica finita per mancanza di pietre. - B.G.
Site/Blog: http://www.neminis.org
Last edited by n3m0 on Thu Mar 31, 2005 10:49 pm; edited 2 times in total |
|
Back to top |
|
|
Frez Apprentice
Joined: 29 Aug 2003 Posts: 166
|
Posted: Thu Aug 19, 2004 9:28 am Post subject: |
|
|
wow, The Gimp con i mosfet-liquid widgets ! Molto carino
grazie _________________ There is one more thing ... it's been emotional |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31019 Location: here
|
Posted: Thu Aug 19, 2004 12:36 pm Post subject: |
|
|
Ottimo tip. Aggiunto ai post utilissimi _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
n3m0 l33t
Joined: 08 Feb 2004 Posts: 798 Location: Richville, Naples, Italy, Europe
|
Posted: Thu Aug 19, 2004 6:29 pm Post subject: |
|
|
fedeliallalinea wrote: | Ottimo tip. Aggiunto ai post utilissimi |
Onorato _________________ Lenergia è la civiltà. Lasciarla in mano ai piromani/petrolieri è criminale. Perché aspettare che finisca il petrolio?
Letà della pietra non è mica finita per mancanza di pietre. - B.G.
Site/Blog: http://www.neminis.org |
|
Back to top |
|
|
t0mcat Tux's lil' helper
Joined: 12 Feb 2004 Posts: 111 Location: Catania, Italy
|
Posted: Wed Sep 01, 2004 2:26 am Post subject: |
|
|
a me fa ancora crashare un po' di apps in gtk
ho ripiegato sul tema QT-Curve unificato per qt,gtk e gtk2. _________________ il gattaccio
a.k.a etienne |
|
Back to top |
|
|
DottorFalken Tux's lil' helper
Joined: 30 Nov 2003 Posts: 132 Location: Chiesina Uzzanese, Italy
|
Posted: Wed Sep 01, 2004 1:18 pm Post subject: |
|
|
Ho provato i due ebuild (quello di bugzilla e l'altro) ma danno tutti e due lo stesso errore.
Code: | ACCEPT_KEYWORDS="~x86" emerge -pv ./gtk-qt-engine.ebuild
These are the packages that I would merge, in order:
Calculating dependencies \
!!! Problem with determining the name/location of an ebuild.
!!! Please report this on IRC and bugs if you are not causing it.
!!! mycpv: x11-themes/gtk-qt-engine
!!! mysplit: ['x11-themes', 'gtk-qt-engine']
!!! psplit: None
!!! error: unsubscriptable object
|
_________________ Pierluigi #315529
Proud of 3940.35 bogomips |
|
Back to top |
|
|
t0mcat Tux's lil' helper
Joined: 12 Feb 2004 Posts: 111 Location: Catania, Italy
|
Posted: Wed Sep 01, 2004 2:02 pm Post subject: |
|
|
ma è incluso nel portage, non c'è bisogno di scaricarlo e usarlo in overlay. _________________ il gattaccio
a.k.a etienne |
|
Back to top |
|
|
GhePeU Guru
Joined: 12 Aug 2003 Posts: 549 Location: Mestre, Italy
|
Posted: Wed Sep 01, 2004 2:24 pm Post subject: |
|
|
DottorFalken wrote: | Ho provato i due ebuild (quello di bugzilla e l'altro) ma danno tutti e due lo stesso errore.
Code: | ACCEPT_KEYWORDS="~x86" emerge -pv ./gtk-qt-engine.ebuild
These are the packages that I would merge, in order:
Calculating dependencies \
!!! Problem with determining the name/location of an ebuild.
!!! Please report this on IRC and bugs if you are not causing it.
!!! mycpv: x11-themes/gtk-qt-engine
!!! mysplit: ['x11-themes', 'gtk-qt-engine']
!!! psplit: None
!!! error: unsubscriptable object
|
|
non puoi usare un ebuild da una directory qualsiasi
devi creare x11-themes/gtk-qt-engine/ in /usr/portage/ (sapendo che però verrà cancellata col prossimo emerge sync) oppure nella tua PORTDIR_OVERLAY, e copiare l'ebuild li dentro _________________ That is not dead which can eternal lie,
and with strange aeons even death may die. |
|
Back to top |
|
|
DottorFalken Tux's lil' helper
Joined: 30 Nov 2003 Posts: 132 Location: Chiesina Uzzanese, Italy
|
Posted: Wed Sep 01, 2004 4:51 pm Post subject: |
|
|
Ed è proprio quello che ho fatto. Creata la directory nella dir di overlay.
Buttato lì l'ebuild e lanciato emerge.
Code: | ls -la /usr/local/portage/x11-themes/gtk-qt-engine/
totale 5
drwxr-xr-x 2 root root 88 1 set 15:13 .
drwxr-xr-x 44 root root 1416 1 set 15:12 ..
-rw-r--r-- 1 root root 558 1 set 15:16 gtk-qt-engine.ebuild
|
Se lancio il comando
Code: | emerge -pv gtk-qt-engine
These are the packages that I would merge, in order:
Calculating dependencies
!!! Problem with determining the name/location of an ebuild.
!!! Please report this on IRC and bugs if you are not causing it.
!!! mycpv: x11-themes/gtk-qt-engine
!!! mysplit: ['x11-themes', 'gtk-qt-engine']
!!! psplit: None
!!! error: unsubscriptable object
!!! Problem in x11-themes/gtk-qt-engine dependencies.
!!! 17
|
_________________ Pierluigi #315529
Proud of 3940.35 bogomips |
|
Back to top |
|
|
DottorFalken Tux's lil' helper
Joined: 30 Nov 2003 Posts: 132 Location: Chiesina Uzzanese, Italy
|
Posted: Wed Sep 01, 2004 4:52 pm Post subject: |
|
|
Allego anche il codice dell'ebuild
Code: | # Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit gtk-engines2 kde
need-kde 3
DESCRIPTION="Use your Qt themes with your GTK applications"
HOMEPAGE="http://www.freedesktop.org/Software/gtk-qt"
SRC_URI="http://www.freedesktop.org/Software/gtk-qt/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND="${DEPEND} >=x11-themes/qtpixmap-0.27"
src_compile() {
addwrite ${QTDIR}/etc/settings
gtk-engines2_src_compile
}
src_install() {
gtk-engines2_src_install
}
|
_________________ Pierluigi #315529
Proud of 3940.35 bogomips |
|
Back to top |
|
|
koma Advocate
Joined: 06 Jun 2003 Posts: 2702 Location: Italy
|
Posted: Wed Sep 01, 2004 6:01 pm Post subject: |
|
|
manca la versione nel nome fisico del file chiamalo Code: | gtk-qt-engine-0.5.ebuild |
_________________ http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD |
|
Back to top |
|
|
DottorFalken Tux's lil' helper
Joined: 30 Nov 2003 Posts: 132 Location: Chiesina Uzzanese, Italy
|
Posted: Wed Sep 01, 2004 6:37 pm Post subject: |
|
|
Ora funziona _________________ Pierluigi #315529
Proud of 3940.35 bogomips |
|
Back to top |
|
|
n3m0 l33t
Joined: 08 Feb 2004 Posts: 798 Location: Richville, Naples, Italy, Europe
|
Posted: Wed Sep 01, 2004 7:27 pm Post subject: |
|
|
Ora la versione 0.5 e' disponibile nel portage, quindi, direi di fidarvi di quella. _________________ Lenergia è la civiltà. Lasciarla in mano ai piromani/petrolieri è criminale. Perché aspettare che finisca il petrolio?
Letà della pietra non è mica finita per mancanza di pietre. - B.G.
Site/Blog: http://www.neminis.org |
|
Back to top |
|
|
Cerberos86 Guru
Joined: 13 Dec 2003 Posts: 581 Location: Padova
|
Posted: Mon Dec 06, 2004 3:53 pm Post subject: |
|
|
scuate la mia inettitudine... C'è un eseguibile?
Oppure basta settare il tema con Kcontrol? e automaticamente si setta per gtk...?
Thanks _________________ Account jabber: cerberos@jabber.org
"I'm using the hand..." ~ Guybrush Threepwood ~ |
|
Back to top |
|
|
OKreZ Guru
Joined: 27 Apr 2003 Posts: 372 Location: Padova (IT)
|
Posted: Mon Dec 06, 2004 4:03 pm Post subject: |
|
|
Cerberos86 wrote: | scuate la mia inettitudine... C'è un eseguibile?
Oppure basta settare il tema con Kcontrol? e automaticamente si setta per gtk...?
Thanks |
Devi settare .gtkrc-2.0 nella tua home in modo da utilizzare gtk-qt-engine (puoi aiutarti con switch2), in questo modo le applicazioni gtk2 utilizzeranno il tema che hai scelto nel kcontrol. _________________ (HCS)OKreZ |
|
Back to top |
|
|
=DvD= Veteran
Joined: 25 Mar 2004 Posts: 1353
|
Posted: Thu Mar 31, 2005 1:58 pm Post subject: |
|
|
Veramente bello, ho emerso ora la 0.6 ma Code: | ********************************************************************
WARNING: You do not have the bonobo development packages installed
These are not required, but strongly recommended, as they improve
some aspects of the theme engine.
******************************************************************** |
eix mi sforna un bel po' di roba per bonobo ...
Cosa devo emergere secondo voi?
(prima che mi metta a emergere tutto!!) |
|
Back to top |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Thu Mar 31, 2005 2:42 pm Post subject: |
|
|
Penso che ti servano almeno questi:
Code: | gnome-base/bonobo
Latest version available: 1.0.22
Latest version installed: [ Not Installed ]
Size of downloaded files: 1,158 kB
Homepage: http://www.gnome.org/
Description: A set of language and system independent CORBA interfaces
License: GPL-2
* gnome-base/libbonobo
Latest version available: 2.8.0
Latest version installed: 2.8.0
Size of downloaded files: 1,426 kB
Homepage: http://www.gnome.org/
Description: GNOME CORBA framework
License: LGPL-2.1 GPL-2
* gnome-base/libbonoboui
Latest version available: 2.8.0
Latest version installed: 2.8.0
Size of downloaded files: 947 kB
Homepage: http://www.gnome.org/
Description: User Interface part of libbonobo
License: GPL-2 LGPL-2.1
|
_________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
|
=DvD= Veteran
Joined: 25 Mar 2004 Posts: 1353
|
Posted: Thu Mar 31, 2005 3:44 pm Post subject: |
|
|
Quote: | * gnome-base/libbonobo
* gnome-base/libbonoboui |
Sono bastati questi!
Direi di aggiornare il primo post aggiungendo queste info... penso sia importante |
|
Back to top |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Thu Mar 31, 2005 10:33 pm Post subject: |
|
|
=DvD= wrote: |
Direi di aggiornare il primo post aggiungendo queste info... penso sia importante |
Manda un PM all'autore _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
|
=DvD= Veteran
Joined: 25 Mar 2004 Posts: 1353
|
Posted: Thu Mar 31, 2005 10:37 pm Post subject: |
|
|
gutter wrote: | =DvD= wrote: |
Direi di aggiornare il primo post aggiungendo queste info... penso sia importante |
Manda un PM all'autore |
E se non si logga per 3 mesi??? Fallo tu che sei mod! non penso che si offenda (io non mi offenderei, anzi!) è tutto documentato |
|
Back to top |
|
|
n3m0 l33t
Joined: 08 Feb 2004 Posts: 798 Location: Richville, Naples, Italy, Europe
|
Posted: Thu Mar 31, 2005 10:43 pm Post subject: |
|
|
Beh, credo in realtà che le informazioni riguardo bonobo (che se ho capito bene vengono date come warning dall'ebuild ufficiale) siano superflue in questo topic. In ogni caso, credo che le aggiungerò. _________________ Lenergia è la civiltà. Lasciarla in mano ai piromani/petrolieri è criminale. Perché aspettare che finisca il petrolio?
Letà della pietra non è mica finita per mancanza di pietre. - B.G.
Site/Blog: http://www.neminis.org |
|
Back to top |
|
|
=DvD= Veteran
Joined: 25 Mar 2004 Posts: 1353
|
Posted: Thu Mar 31, 2005 10:47 pm Post subject: |
|
|
n3m0 wrote: | Beh, credo in realtà che le informazioni riguardo bonobo (che se ho capito bene vengono date come warning dall'ebuild ufficiale) siano superflue in questo topic. In ogni caso, credo che le aggiungerò. |
ebuild wrote: | ********************************************************************
WARNING: You do not have the bonobo development packages installed
These are not required, but strongly recommended, as they improve
some aspects of the theme engine.
******************************************************************** |
Penso che siano abbastanza importanti invece, ma il tip è tuo! |
|
Back to top |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Thu Mar 31, 2005 10:48 pm Post subject: |
|
|
=DvD= wrote: |
E se non si logga per 3 mesi??? Fallo tu che sei mod! non penso che si offenda (io non mi offenderei, anzi!) è tutto documentato |
Si è loggato _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
|
n3m0 l33t
Joined: 08 Feb 2004 Posts: 798 Location: Richville, Naples, Italy, Europe
|
Posted: Thu Mar 31, 2005 10:50 pm Post subject: |
|
|
=DvD= wrote: | Penso che siano abbastanza importanti invece, ma il tip è tuo! |
Io non ho detto che non fossero importanti. Solo che pensavo che il warning dell'ebuild fosse sufficiente
Ma per eccesso di bontà, ho già modificato il post _________________ Lenergia è la civiltà. Lasciarla in mano ai piromani/petrolieri è criminale. Perché aspettare che finisca il petrolio?
Letà della pietra non è mica finita per mancanza di pietre. - B.G.
Site/Blog: http://www.neminis.org |
|
Back to top |
|
|
=DvD= Veteran
Joined: 25 Mar 2004 Posts: 1353
|
Posted: Thu Mar 31, 2005 11:15 pm Post subject: |
|
|
E' vero, ma eix bonobo ritorna molti pacchetti e può non essere ovvio quali bisogna emergere, tutto qui! |
|
Back to top |
|
|
|