Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] wxGTK linkate alle GTK 1
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Cagnulein
l33t
l33t


Joined: 18 Sep 2003
Posts: 861
Location: Modena, Italy

PostPosted: Wed Dec 31, 2003 11:24 am    Post subject: [RISOLTO] wxGTK linkate alle GTK 1 Reply with quote

come da oggetto: è possibile farlo con emerge?

linkandole alle GTK 2 ho notato un sacco di memoryleaks, soprattuto con amule :(


Last edited by Cagnulein on Sat Jan 03, 2004 9:35 am; edited 1 time in total
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Wed Dec 31, 2003 12:54 pm    Post subject: Reply with quote

prova a mettere -gtk2 quando lo emergi
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
Cagnulein
l33t
l33t


Joined: 18 Sep 2003
Posts: 861
Location: Modena, Italy

PostPosted: Wed Dec 31, 2003 6:39 pm    Post subject: Reply with quote

ma io volevo ottenere esattamente il contrario :cry:
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Thu Jan 01, 2004 12:27 pm    Post subject: Reply with quote

ah ottimo :) avevo capito il contrario (buon anno)
in realtà tra le use appare:
Code:
# emerge -pv wxGTK
 
These are the packages that I would merge, in order:
 
Calculating dependencies ...done!
[ebuild   R   ] x11-libs/wxGTK-2.4.1-r1  +nls -odbc +opengl +gtk2


gioca un po' su quella "gtk2" e otterrai qualsiasi cosa tu voglia :!:
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
Cagnulein
l33t
l33t


Joined: 18 Sep 2003
Posts: 861
Location: Modena, Italy

PostPosted: Thu Jan 01, 2004 8:40 pm    Post subject: Reply with quote

eheheh :D
ti ringrazio! :P

provo e ti so dire :P
Back to top
View user's profile Send private message
Cagnulein
l33t
l33t


Joined: 18 Sep 2003
Posts: 861
Location: Modena, Italy

PostPosted: Thu Jan 01, 2004 9:39 pm    Post subject: Reply with quote

ancora non so se ho risolto (sto compilando :macina: :macina: )

cmq nell'ebuild c'è una simpaticissima riga con un bel --enable-gtk2
commentata e adesso starò a vedere :P
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Thu Jan 01, 2004 9:46 pm    Post subject: Reply with quote

Cagnulein wrote:
ancora non so se ho risolto (sto compilando :macina: :macina: )

cmq nell'ebuild c'è una simpaticissima riga con un bel --enable-gtk2
commentata e adesso starò a vedere :P


Se hai modifcato l'ebuild del portage ricordati di spostarlo in PORTAGE_OVERLAY altrimenti te lo sovrascrive al prossimo emerge sync
Back to top
View user's profile Send private message
Cagnulein
l33t
l33t


Joined: 18 Sep 2003
Posts: 861
Location: Modena, Italy

PostPosted: Thu Jan 01, 2004 9:48 pm    Post subject: Reply with quote

thx, non la sapevo questa, ti ringrazio. Sono sempre ben accetti tips nuovi :P
Back to top
View user's profile Send private message
GhePeU
Guru
Guru


Joined: 12 Aug 2003
Posts: 549
Location: Mestre, Italy

PostPosted: Fri Jan 02, 2004 12:32 am    Post subject: Reply with quote

installa app-portage/ufed e deseleziona gtk2
_________________
That is not dead which can eternal lie,
and with strange aeons even death may die.
Back to top
View user's profile Send private message
ares
Apprentice
Apprentice


Joined: 13 Oct 2003
Posts: 280
Location: Savigliano (CN)

PostPosted: Fri Jan 02, 2004 12:29 pm    Post subject: Reply with quote

Così facendo però lo togli la USE gtk2 dal make.conf...potresti invece provare con
USE=-gtk2 emerge wxGTK
_________________
My portage and homepage
Back to top
View user's profile Send private message
Cagnulein
l33t
l33t


Joined: 18 Sep 2003
Posts: 861
Location: Modena, Italy

PostPosted: Fri Jan 02, 2004 4:47 pm    Post subject: Reply with quote

dunque ecco dove sono arrivato:
- ricompilato le wxgtk commentando quella riga che indicavo sopra
- ricompilato amule

ma c'è un memory leaks da paura (come prima in sostanza, quindi la modifica non ha portato ai risultati sperati)....

una domanda...come faccio ad essere sicuro che non abbia compilato usando le gtk2?

grazie per gl'altri 2 tips interessanti :)
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Fri Jan 02, 2004 4:58 pm    Post subject: Reply with quote

Cagnulein wrote:
dunque ecco dove sono arrivato:
- ricompilato le wxgtk commentando quella riga che indicavo sopra
- ricompilato amule

ma c'è un memory leaks da paura (come prima in sostanza, quindi la modifica non ha portato ai risultati sperati)....

una domanda...come faccio ad essere sicuro che non abbia compilato usando le gtk2?

grazie per gl'altri 2 tips interessanti :)


Se fai:

Code:

ldd /usr/bin/amule


ottieni la lista delle librerie che usa l'applicazione.

IMHO la soluzione ai leaks si chiama mldonkey (ma non volgio scatenare una guerra di religione!)
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Fri Jan 02, 2004 5:02 pm    Post subject: Reply with quote

forse è + semplice fare così?

Code:
 # etcat -u wxgtk
[ Colour Code : set unset ]
[ Legend      : (U) Col 1 - Current USE flags        ]
[             : (I) Col 2 - Installed With USE flags ]
 
 U I [ Found these USE variables in : x11-libs/wxGTK-2.4.1-r1 ]
 + + nls    : unknown
 - - odbc   : Adds ODBC Support (Open DataBase Connectivity)
 + + opengl : Adds support for OpenGL
 + + gtk2   : Use gtk+-2.0.0 over gtk+-1.2 in cases where a program supports both.


nel caso non avessi etcat installati app-portage/gentoolkit :D
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
GhePeU
Guru
Guru


Joined: 12 Aug 2003
Posts: 549
Location: Mestre, Italy

PostPosted: Fri Jan 02, 2004 8:56 pm    Post subject: Reply with quote

ares wrote:
Così facendo però lo togli la USE gtk2 dal make.conf...potresti invece provare con
USE=-gtk2 emerge wxGTK


in 5 mesi ho visto usare quell'use solo due volte... e in entrambe le occasioni c'erano problemi di funzionamento
_________________
That is not dead which can eternal lie,
and with strange aeons even death may die.
Back to top
View user's profile Send private message
Cagnulein
l33t
l33t


Joined: 18 Sep 2003
Posts: 861
Location: Modena, Italy

PostPosted: Fri Jan 02, 2004 9:03 pm    Post subject: Reply with quote

Quote:
[ Colour Code : set unset ]
[ Legend : (U) Col 1 - Current USE flags ]
[ : (I) Col 2 - Installed With USE flags ]

U I [ Found these USE variables in : x11-libs/wxGTK-2.4.2 ]
+ + nls : unknown
- - odbc : Adds ODBC Support (Open DataBase Connectivity)
+ + opengl : Adds support for OpenGL
+ + gtk2 : Use gtk+-2.0.0 over gtk+-1.2 in cases where a program supports both.
- - unicode : Adds support for Unicode
- - debug : Tells configure and the makefiles to build for debugging. Effects vary acrosss packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES+=nostrip too.


quindi sta usando ancora le gtk2 :(

provo a seguire gl'altri consigli ora

grazie di tutto ancora una volta :P
Back to top
View user's profile Send private message
Cagnulein
l33t
l33t


Joined: 18 Sep 2003
Posts: 861
Location: Modena, Italy

PostPosted: Sat Jan 03, 2004 9:35 am    Post subject: Reply with quote

fatto così
Quote:
installa app-portage/ufed e deseleziona gtk2

e tutto funziona bene ora

vi ringrazio tutti :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum