HOWTO instalar Anjuta2

De Gentoo Linux Wiki


Ahora mismo esta página está en desarrollo por
Usuario:AnimAlf
Por favor, NO edites esta página hasta que no se quite esta nota. Gracias.
Para hacer sugerencias puedes usar la página de discusión.


Este articulo es parte de las series de HOWTO.
Kernel & Hardware Red y Servicios Portage Relacionado con el Sistema Servidor X Juegos Misceláneos

Tabla de contenidos

[editar] Introducción

Anjuta es todo un gran entorno de programación C/C++ para Gnome. Que también soporta otros leguajes de programación. En este HOWTO, voy a explicar como instalar la versión 2.0.2, la nueva versión alpha que todavia no está preparara para portage.

Nota: Aquí están los bugs pendientes para portar Anjuta2 dentro de portage.

Notese también que no todas las parte funcionarán, la creación de aplicaciones gtkmm no funcionara completamente mientras libglademm no sea actualizada. (Corregidme si estoy equivocado -xFallenAngel)

[editar] Step 1 : Portage overlay

Before we can install Anjuta2 (2.0.2), we need to create a portage overlay containing Anjuta2 (no longer need to add most of it's dependencies as they were added to portage).

mkdir /usr/local/portage/dev-util/anjuta/files -p

Now we obtain the necessary ebuild and patches

wget -O /usr/local/portage/dev-util/anjuta/anjuta-2.0.2.ebuild \
 "http://bugs.gentoo.org/attachment.cgi?id=97980"
wget -O /usr/local/portage/dev-util/anjuta/files/2.0.2-install-sandbox.patch \
 "http://bugs.gentoo.org/attachment.cgi?id=86898"

Note: these attachments may be out of date. Check for newer versions in the corresponding bugs.

Digest the ebuild

ebuild /usr/local/portage/dev-util/anjuta/anjuta-2.0.2.ebuild digest


Note: I had to set PORTDIR_OVERLAY="/usr/local/portage" (in /etc/make.conf) in order to get the digesting to work!
AreJ 13:37, 17 December 2005 (GMT)

[editar] Stap 2 : Package masks

Now we need to take care of the package masks


Archivo: /etc/portage/package.keywords
dev-util/anjuta ~x86
dev-libs/gdl ~x86 # Needed by anjuta-2.0.2
dev-libs/gnome-build ~x86 # Needed by anjuta-2.0.2
sys-devel/autogen ~x86 # Needed by anjuta-2.0.2
dev-util/glade ~x86  #needed by anjuta-2.0.2

Even if anjuta uses glade in order to edit the GUI's of the projects opened into it, seems that the new version of glade broke a bit the anjuta's glade plugin, which runs embedded inside anjuta.We must install anjuta without the glade plugin support until someone will fix this issue, hopefully as soon as possible.(I've noticed that the cvs version of anjuta doesn't have this issue, but now we're installing 2.0.2 not the one from cvs.)

echo "dev-util/anjuta -glade" >> /etc/portage/package.use 

Even if you do not add any of scintilla and sourceview, the ebuild seems to take care to include the scintilla text editor automatically. I personally use scintilla and don't change anything here, but you could install them both and select one of them at runtime, when you open a source file. To add support for both of them issue the following command:

echo "dev-util/anjuta glade scintilla sourceview" >> /etc/portage/package.use

[editar] Stap 3 : Emerge

Now is the long part, lets emerge anjuta

emerge -av anjuta

you should get something like this :


Código: emerge -av anjuta
These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] gnome-extra/gdl-0.6.1  -debug -doc 0 kB [1]
[ebuild  N    ] dev-util/gnome-build-0.1.3  -debug -doc 0 kB [1]
[ebuild  N    ] gnome-base/gnome-common-2.8.0  -debug -doc 57 kB
[ebuild  N    ] dev-util/glade-3.0.1  -debug -doc +gnome 0 kB [1]
[ebuild  N    ] www-client/mozilla-1.7.8-r1  +crypt -debug +gnome -ipv6 +java -ldap -mozcalendar -mozdevelop -moznocompose -moznoirc -moznomail -moznoxft -mozsvg -mozxmlterm -postgres +ssl +truetype -xinerama -xprint 0 kB
[ebuild  N    ] dev-util/devhelp-0.10  -debug +firefox +zlib 0 kB
[ebuild  N    ] dev-util/guile-1.6.7  2,968 kB
[ebuild  N    ] sys-devel/autogen-5.7.1  1,195 kB
[ebuild  N   ] dev-util/anjuta-2.0.2 -debug -doc -glade -inherit-graph -subversion 0 kB [1]

Total size of downloads: 4,221 kB
Portage overlays:
 [1] /usr/local/portage

Do you want me to merge these packages? [Yes/No]

All you have to do now is accept and enjoy anjuta2 :-)

[editar] Conclusion

Anjuta2 is really great! I hope that it will go stable soon and be put in portage.
I hope that I did not make any mistakes, if I did then please feel free to edit this HOWTO.

High 10:48, 16 Jul 2005 (GMT)

Updated to anjuta-2.0.2 by
Grzegorz Dymarek 20:26, 17 May 2006 (GMT)

Updated with some needed ~x86 packages for 2.0.2
Raymond den Ouden 16:52, 7 September 2006 (GMT)

Removed some unneeded ~x86 packages for 2.0.2, and the links pointing to the ebuilds where updated.
Paskov 00:54, 25 September 2006 (GTM+3)

Herramientas personales
Otros idiomas