Difference between revisions of "CompilingGentoo"

From Inkscape Wiki
Jump to navigation Jump to search
 
(Updating instructions)
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Gentoo Linux ==
== Inkscape CVS on Gentoo Linux ==


If it doesn't build, try installing libtool.  If that doesn't work then try
The CVS ebuild of Inkscape makes getting the latest copy as easy as "emerge inkscape-cvs" : )
installing the gentoo equivalents of the following Debian packages (from
debian/control, in alphabetical order):


  Build-Depends: automake1.7, debhelper (>= 4.0.0), gettext, intltool,
=== How to do it ===
    libart-2.0-dev (>= 2.3.10), libatk1.0-dev, libfreetype6-dev, libgc-dev,
    libglib2.0-dev, libgtk2.0-dev (>= 2.0.6-1), libgtkmm-2.4-dev,
    libpango1.0-dev, libpng12-dev, libpopt-dev, libsigc++-2.0-dev, libtool,
    libxft2-dev, libxml-parser-perl, libxml2-dev (>= 2-2.4.24), pkg-config,
    xlibs-dev, zlib1g-dev


To get the 2.4 version of gtkmm:
* If you have not already done so, <a href="http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=5#doc_chap2">set up a portage overlay</a>.
 
* <a href="http://inkscape.org/doc/inkscape-cvs-0.42.ebuild">Download</a> and save the ebuild to media-gfx/inkscape-cvs/inkscape-cvs-0.42.ebuild inside your portage overlay (you will need to create those directories if you haven't already done so).
emerge sync
* Open a console and as root run 'ebuild <portage overlay>/media-gfx/inkscape-cvs/inkscape-cvs-0.42.ebuild digest' (substitute <portage overlay> with your portage overlay directory
ACCEPT_KEYWORDS="~x86" emerge gtkmm
* Now run 'echo "media-gfx/inkscape-cvs ~x86" >> /etc/portage/package.keywords' (change "~x86" for whatever architecture you're on).
 
* Now you can simply run 'emerge inkscape-cvs' to get the latest CVS version of Inkscape!
==== Gentoo CVS Ebuild ready ! ====
 
Hi there,
 
This afternoon I decided to make an ebuild for the CVS of inkscape for gentoo users !
 
''To use it:''
 
* <a href="http://www.inkscape.org/doc/inkscape-1.0.ebuild">Download it</a> (pretty obvious isn't it ? :)
* Copy the file into /usr/portage/media-gfx/inkscape/
* run the command 'emerge inkscape' in root
* Drink a coffee or two
* Enjoy !
 
You can improve it and send me back the modifications and I'll update the file.
 
I need feedback !
 
Here is my jabber id: pol@amessage.de<br>
Here is my e-mail  : blenderman _at_ tiscali _dot_ be
 
Cya
 
-Dell'Aiera Pol-
 
-- Annotation: You need an installed gtkmm-2.2 (2.4 does not work currently), Dominic
 
Note that the Gentoo packagename for the Boehm garbage collector Inkscape requires is boehm-gc.
Unfortunately, this was set up without --enable-cplusplus.  You can manually get it to work, though:
See http://www.gentoo.org/doc/en/faq.xml#configure and follow the steps. After installing it this
way, I also had to do `chmod a+rx /usr/include/gc` so Inkscape's ./configure will find the headers
 
Also, gentoo includes libsigc++ 2.0.1, but Inkscape requires 2.0.3, so that has to be manually
installed.

Revision as of 18:50, 5 April 2005

Inkscape CVS on Gentoo Linux

The CVS ebuild of Inkscape makes getting the latest copy as easy as "emerge inkscape-cvs" : )

How to do it

  • If you have not already done so, <a href="http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=5#doc_chap2">set up a portage overlay</a>.
  • <a href="http://inkscape.org/doc/inkscape-cvs-0.42.ebuild">Download</a> and save the ebuild to media-gfx/inkscape-cvs/inkscape-cvs-0.42.ebuild inside your portage overlay (you will need to create those directories if you haven't already done so).
  • Open a console and as root run 'ebuild <portage overlay>/media-gfx/inkscape-cvs/inkscape-cvs-0.42.ebuild digest' (substitute <portage overlay> with your portage overlay directory
  • Now run 'echo "media-gfx/inkscape-cvs ~x86" >> /etc/portage/package.keywords' (change "~x86" for whatever architecture you're on).
  • Now you can simply run 'emerge inkscape-cvs' to get the latest CVS version of Inkscape!