Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
usare mozilla-bin per compilare GNOME
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
klaudyo
Apprentice
Apprentice


Joined: 03 Dec 2003
Posts: 207

PostPosted: Mon Oct 18, 2004 1:47 pm    Post subject: usare mozilla-bin per compilare GNOME Reply with quote

Ciao,
cercando nel forum non sono proprio riuscito a trovare un modo per compilare tutto GNOME usando mozilla-bin al posto di mozilla.

Si può?

Gli unici due pacchetti che richiedono mozilla sono epiphany e evolution se nelle useflag è richiesto il supporto a mozilla.

Visto che uso firefox e GNOME, perdere tempo a compilare mozilla mi scoccia. Al tempo stesso voglio avere la GNOME completa (anche se non uso epiphany) così da non dover ogni volta "aggiustare" l'update del sistema.

Ma non mi piace stare ad iniettare pacchetti nel portage tree. Sarebbe suff. trovare un modo per dirgli di usare mozilla-bin. Ne sapete niente?
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Mon Oct 18, 2004 1:51 pm    Post subject: Reply with quote

anche se l'inject e' + veloce (anche se deprecato in futuro) potresti cambiare l'ebuild.

Lo copi in portage overlay..e cambi la dipendenza con mozilla-bin.
ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
klaudyo
Apprentice
Apprentice


Joined: 03 Dec 2003
Posts: 207

PostPosted: Mon Oct 18, 2004 2:05 pm    Post subject: Reply with quote

Sarebbe stato carino se nelle USE dell'ebuild "gnome" (come di tutti gli ebuild simili in "grossezza") fosse previsto qualcosa del tipo "bin", che lo forzasse ad usare (quendo è possibile) i pacchetti *-bin al posto dei sorgenti.

Così sarebbe stato sufficiente un

Code:
USE="bin" emerge gnome


Tra l'altro nelle mie ricerche mi è sembrato che questa cosa farebbe comodo a molti utenti....
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Mon Oct 18, 2004 2:33 pm    Post subject: Reply with quote

di useflag ce ne sono gia' tante...e spesso chi fa l'ebuild se le dimentica...
meglio non esagerare :)

..anche perche' e' facilmente risolvibile ;)
ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30925
Location: here

PostPosted: Mon Oct 18, 2004 2:35 pm    Post subject: Reply with quote

Infatti poi si sa che il sistema di pacchettizzazione di gentoo e' basato sui sorgenti
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
klaudyo
Apprentice
Apprentice


Joined: 03 Dec 2003
Posts: 207

PostPosted: Mon Oct 18, 2004 2:43 pm    Post subject: Reply with quote

Ok, basato su sorgenti. Ma occorre essere ragionevoli con pacchetti così grandi.

Ora non vogli stare a fare filosofia sulla questione sorgenti vs binari, ma è chiaro che su pacchetti di questo tipo sia necessario trovare un compromesso! Se si è eccessivamente conservatori sulla questione sorgenti, Gentoo rischia di allontanarsi dai bisogni dei suoi utenti (IMHO chiaramente).
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30925
Location: here

PostPosted: Mon Oct 18, 2004 2:51 pm    Post subject: Reply with quote

klaudyo wrote:
Ora non vogli stare a fare filosofia sulla questione sorgenti vs binari, ma è chiaro che su pacchetti di questo tipo sia necessario trovare un compromesso!

Il compromesso c'e' i GRP tutti precompilati. Iniziare a mischiare tra mezzo compilato e mezzo no non la trovo una grande idea
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
klaudyo
Apprentice
Apprentice


Joined: 03 Dec 2003
Posts: 207

PostPosted: Mon Oct 18, 2004 3:04 pm    Post subject: Reply with quote

Rimane il fatto che un problema come quello che ho esposto non viene risolto. Sono disposto a compilare GNOME ma non mozilla. "Mischiando" sorgenti e binari credo che si avrebbe una soluzione elegante e veloce. Potrei avere l'ultima GNOME e l'ultimo Mozilla avendo compilato solo quello che mi interessava.

Oltre tutto tutto ciò riguarderebbe quei 3, 4 pacchetti che si trovano in versione "-bin".

Riflessioni:

1) deduco che non ti piacerà molto neanche il fatto di avere pacchetti "-bin" nel portage tree, giusto?

2) se nel portage tree si trovano pacchetti binari (proprio perchè sono grossi da compilare), che male c'è a sfruttare fino in fondo questa opportunità avendo pacchetti sorgenti che usano pacchetti binari? D'altra parte sarebbe già tutto pronto, no?

PS non mi fraintendere, cmq, non voglio essere polemico, solo costruttivo :D
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30925
Location: here

PostPosted: Mon Oct 18, 2004 3:15 pm    Post subject: Reply with quote

No mi stanno bene i pacchetti bin (io uso openoffice-bin :P ). Per quanto riguarda usare mozilla-bin la modifica non e' difficilissima. La modifica e' subito fatta. Allora e' epiphany che richiede mozilla quindi nell'ebuild di epiphany metti la IUSE bin e poi scrivi queste due linee
Code:
        !bin? ( >=net-www/mozilla-1.7.3 )
        bin? ( >=net-www/mozilla-bin-1.7.3

L'ebuild completo si 1.2.9-r1 per avere mozilla bin (USE flag bin) e'
Code:
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-www/epiphany/epiphany-1.2.9-r1.ebuild,v 1.6 2004/09/20 15:46:15 malc Exp $

inherit eutils gnome2

DESCRIPTION="GNOME webbrowser based on the mozilla rendering engine"
HOMEPAGE="http://www.gnome.org/projects/epiphany/"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="x86 ppc sparc alpha amd64 ~ia64"
IUSE="gnome doc bin"

RDEPEND=">=dev-libs/glib-2.4.1
        >=x11-libs/gtk+-2.4
        >=gnome-base/gconf-1.2
        >=dev-libs/libxml2-2.6.6
        >=gnome-base/libgnomeui-2.6.0
        >=gnome-base/libglade-2.3.1
        >=gnome-base/libbonoboui-2.2
        >=gnome-base/orbit-2
        >=gnome-base/gnome-vfs-2.3.1
        !bin? ( >=net-www/mozilla-1.7.3 )
        bin? ( >=net-www/mozilla-bin-1.7.3 )
        gnome? ( >=gnome-base/nautilus-2.5 )"

DEPEND="${RDEPEND}
        app-text/scrollkeeper
        dev-util/pkgconfig
        >=dev-util/intltool-0.29
        doc? ( >=dev-util/gtk-doc-1 )"

DOCS="AUTHORS COPYING* ChangeLog* NEWS README TODO"

use gnome \
        && G2CONF="${G2CONF} --enable-nautilus-view=yes" \
        || G2CONF="${G2CONF} --enable-nautilus-view=no"

MAKEOPTS="${MAKEOPTS} -j1"

src_unpack() {

        unpack ${A}

        cd ${S}
        epatch ${FILESDIR}/${P}-mozilla-1.7.3.patch

}

pkg_setup () {

        if [ ! -f ${ROOT}/usr/lib/mozilla/components/libwidget_gtk2.so ]
        then
                eerror "you need mozilla-1.4+ compiled against gtk+-2"
                eerror "export USE=\"gtk2\" ;emerge mozilla -p "
                die "Need Mozilla compiled with gtk+-2.0!"
        fi

}

#CXXFLAGS="${CXXFLAGS} -DMOZILLA_SNAPSHOT=17"

Se vuoi puoi proporre la cosa a bugs poi saranno i developer che vedranno se metterla o meno :D


EDIT: Prova dell'ebuild
Code:
# emerge -pv epiphany

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] net-www/mozilla-1.7.3  +crypt -debug -debug -gnome +gtk2 +gtk2 -java -java -ldap -mozcalendar -mozdevelop -moznocompose -moznoirc -moznomail -moznoxft -moznoxft -mozsvg -mozxmlterm +ssl -xinerama +xprint  29,119 kB
[ebuild  N    ] net-www/epiphany-1.2.9-r1  -bin -debug -debug -doc -gnome  2,933 kB

Total size of downloads: 32,053 kB


# USE="bin" emerge -pv epiphany

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] net-www/mozilla-bin-1.7.3   12,636 kB
[ebuild  N    ] net-www/epiphany-1.2.9-r1  +bin -debug -debug -doc -gnome  2,933 kB

Total size of downloads: 15,570 kB

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
klaudyo
Apprentice
Apprentice


Joined: 03 Dec 2003
Posts: 207

PostPosted: Mon Oct 18, 2004 3:36 pm    Post subject: Reply with quote

Effettivamente è una modifica facile... :D

Ad ogni modo la mia voleva essere una riflessione di più ampio respiro... vabbè ti ringrazio cmq!!!!!

Ciao.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30925
Location: here

PostPosted: Mon Oct 18, 2004 3:39 pm    Post subject: Reply with quote

klaudyo wrote:
Ad ogni modo la mia voleva essere una riflessione di più ampio respiro... vabbè ti ringrazio cmq!!!!!

Prova a sottoporre il bug e domanda se possibile
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
klaudyo
Apprentice
Apprentice


Joined: 03 Dec 2003
Posts: 207

PostPosted: Mon Oct 18, 2004 3:59 pm    Post subject: Reply with quote

Intendi alla ML? Quale?

Non si possono raggiungere gli sviluppatori via forum? Mi resterebbe più comodo.....
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30925
Location: here

PostPosted: Mon Oct 18, 2004 4:01 pm    Post subject: Reply with quote

klaudyo wrote:
Intendi alla ML? Quale?

No intendo proprio su https://bugs.gentoo.org/ penso sia il posto migliore per proporre la cosa
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Kind_of_blue
Guru
Guru


Joined: 10 Oct 2004
Posts: 485

PostPosted: Tue Oct 19, 2004 8:58 pm    Post subject: Reply with quote

beh ... se tanto è gia su ... non si potrebbe usare una variabile in make.conf ... la stessa che si usa per non installare parte dei pacchetti Kde?

Quote:
DO_NOT_COMPILE="mozilla"

????????????????
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