Difference between revisions of "Dev:Gentoo Ebuilds"

From Synfig Studio :: Documentation
Jump to: navigation, search
(quick howto)
 
(59 intermediate revisions by 13 users not shown)
Line 1: Line 1:
We're working on ebuild files for the Gentoo operating system here. To use this page directly with Gentoo, you need to know how Portage works. Specifically:
+
<!--Categories-->
* Create a Portage overlay so these ebuilds won't be clobbered by an emerge sync
+
{{Category|Building}}
* Cut out each ebuild and put it in the proper place in the overlay.
+
* Find mistakes in the ebuilds, and post fixes here
+
  
'''''These ebuilds are not yet complete! Only use if you know what you're doing and are prepared to fix them!'''''
+
We're working on ebuild files for the Gentoo operating system here. To use this page directly with Gentoo, you need to know how Portage works. You can either create a new local overlay and put there the ebuilds from the Gentoo BugZilla (faster) or use the sunrise overlay (easier).
  
== Some more elaborated ebuids are already in the bugzilla ==
+
To create a Portage overlay (so these ebuilds won't be clobbered by an emerge sync). You can follow [http://www.gentoo-wiki.info/HOWTO_Installing_3rd_Party_Ebuilds this] and read more information [http://en.gentoo-wiki.com/wiki/Overlay here].
  
'''synfig-studio''' (-> /overlay/media-gfx/synfig-studio)
+
= Ebuilds in Gentoo's BugZilla =
 +
 
 +
These are also in gentoo's sunrise overlay. More information on now to add it [http://overlays.gentoo.org/proj/sunrise here].
 +
You can choose to install the release versions (package-x.xx.xx) (stable) or the development version (-9999) (unstable)
 +
 
 +
'''synfigstudio''' (media-gfx/synfigstudio)
  
 
   http://bugs.gentoo.org/show_bug.cgi?id=111279
 
   http://bugs.gentoo.org/show_bug.cgi?id=111279
  
'''synfig''' (-> /overlay/media-gfx/synfig)
+
'''synfig''' (media-gfx/synfig)
  
 
   http://bugs.gentoo.org/show_bug.cgi?id=111278
 
   http://bugs.gentoo.org/show_bug.cgi?id=111278
  
'''ETL''' (-> /overlay/dev-cpp/ETL)
+
'''ETL''' (dev-cpp/ETL)
  
 
   http://bugs.gentoo.org/show_bug.cgi?id=111277
 
   http://bugs.gentoo.org/show_bug.cgi?id=111277
  
== Short howto ==
+
= Howto for both release and development ebuilds =
1. make digests in your '''overlay''' directory i.e.:
+
  '''ebuild''' /overlay/media-gfx/synfig-studio/synfig-studio-0.61.01.ebuid '''digest'''
+
  ...
+
 
+
2. this goes in the '''/etc/portage/package.use'''
+
  media-gfx/synfig  ffmpeg freetype imagemagick libdv openexr
+
  media-gfx/synfig-studio fmod
+
 
+
3. emerge -av synfig-studio
+
 
+
----
+
 
+
==dev-cpp/etl-0.04.07==
+
<pre>
+
 
+
inherit eutils
+
 
+
DESCRIPTION="Extended Class and Template Library"
+
HOMEPAGE="http://www.synfig.com/"
+
SRC_URI="http://www.bridgetone.com/voria/files/ETL-${PV}.tar.gz"
+
 
+
LICENSE="GPL-2"
+
SLOT="0"
+
KEYWORDS="~x86"
+
IUSE=""
+
S=${WORKDIR}/ETL-${PV}
+
 
+
src_compile() {
+
    econf || die "econf failed"
+
}
+
 
+
src_install() {
+
    make DESTDIR=${D} install || die "install failed"
+
}
+
</pre>
+
 
+
==media-gfx/synfig-0.61.04==
+
<pre>
+
DESCRIPTION="Synfig: Film-Quality Vector Animation (core engine)"
+
HOMEPAGE="http://www.synfig.com/"
+
SRC_URI=""
+
 
+
LICENSE="GPL-2"
+
SLOT="0"
+
KEYWORDS="~x86"
+
IUSE=""
+
 
+
DEPEND="dev-cpp/libxmlpp
+
        dev-libs/libsigc++
+
        >=dev-cpp/ETL-0.04.07"
+
</pre>
+
 
+
 
+
==media-gfx/synfig-studio-0.61.04==
+
<pre>
+
MY_P=${PN/-/}-${PV/_p/-}
+
S=${WORKDIR}/${MY_P}
+
 
+
DESCRIPTION="Synfig: Film-Quality Vector Animation (main UI)"
+
HOMEPAGE="http://www.synfig.com/"
+
SRC_URI=""
+
 
+
LICENSE="GPL-2"
+
SLOT="0"
+
KEYWORDS="~x86"
+
IUSE=""
+
 
+
 
+
DEPEND=">=dev-cpp/gtkmm-2.4
+
        >=media-gfx/synfig-${PV}"
+
</pre>
+
 
+
 
+
==dev-cpp/ETL-svn==
+
<pre>
+
inherit subversion
+
 
+
DESCRIPTION="Synfig: Film-Quality Vector Animation (support libraries, SVN-sources)"
+
HOMEPAGE="http://www.synfig.com/"
+
SRC_URI=""
+
 
+
LICENSE="GPL-2"
+
SLOT="0"
+
KEYWORDS="~x86"
+
IUSE=""
+
 
+
DEPEND=""
+
 
+
#  svn co http://svn.voria.com/code/ETL/trunk/ ETL
+
# ./bootstrap
+
# ./configure
+
# sudo make install
+
</pre>
+
 
+
 
+
==media-gfx/synfig-svn==
+
<pre>
+
inherit subversion
+
  
DESCRIPTION="Synfig: Film-Quality Vector Animation (core engine, SVN-sources)"
+
Please check this [http://www.gentoo-wiki.info/HOWTO_Installing_3rd_Party_Ebuilds HOWTO Installing 3rd Party Ebuilds] first.
HOMEPAGE="http://www.synfig.com/"
+
We will say "/overlay" as path to your overlay. This tipically would be "/usr/local/portage".
SRC_URI=""
+
  
LICENSE="GPL-2"
+
1. Make the directories needed in your overlay:
SLOT="0"
+
  '''mkdir''' /overlay/dev-cpp/ETL /overlay/media-gfx/synfig /overlay/media-gfx/synfigstudio
KEYWORDS="~x86"
+
IUSE=""
+
  
DEPEND="dev-cpp/libxmlpp
+
2. Go to the links above in the Gentoo BugZilla and download the ebuilds for the last release or the development version for all the packages (ETL, synfig and synfigstudio).
        dev-libs/libsigc++
+
        dev-cpp/ETL-svn
+
        !dev-cpp/ETL"
+
</pre>
+
  
 +
3. Copy your downloaded ebuilds into the appropiate directories:
 +
  '''ETL''' -> /overlay/dev-cpp/ETL
 +
  '''synfig''' -> /overlay/media-gfx/synfig
 +
  '''synfigstudio''' -> /overlay/media-gfx/synfigstudio
  
==media-gfx/synfig-studio-svn==
+
4. Make digests for them. ie::
<pre>
+
  '''ebuild''' /overlay/dev-cpp/ETL/ETL-0.04.13.ebuild '''digest'''
inherit subversion
+
  '''ebuild''' /overlay/media-gfx/synfig/synfig-0.62.00.ebuild '''digest'''
 +
  '''ebuild''' /overlay/media-gfx/synfigstudio/synfigstudio-0.62.00.ebuild '''digest'''
  
DESCRIPTION="Synfig: Film-Quality Vector Animation (main UI, SVN-sources)"
+
5. Edit your '''/etc/portage/package.use''' and add:
HOMEPAGE="http://www.synfig.com/"
+
  media-gfx/synfig ffmpeg freetype imagemagick dv openexr
SRC_URI=""
+
  
LICENSE="GPL-2"
+
6. Unmask the packages for your architecture if needed adding to your '''/etc/portage/packages.keywords''':
SLOT="0"
+
  dev-cpp/ETL
KEYWORDS="~x86"
+
  media-gfx/synfig
IUSE=""
+
  media-gfx/synfigstudio
  
DEPEND=">=dev-cpp/gtkmm-2.4
+
7. Happily compile:
        media-gfx/synfig-svn
+
  emerge -av synfigstudio
        !media-gfx/synfig"
+
</pre>
+

Latest revision as of 11:46, 20 February 2010


We're working on ebuild files for the Gentoo operating system here. To use this page directly with Gentoo, you need to know how Portage works. You can either create a new local overlay and put there the ebuilds from the Gentoo BugZilla (faster) or use the sunrise overlay (easier).

To create a Portage overlay (so these ebuilds won't be clobbered by an emerge sync). You can follow this and read more information here.

Ebuilds in Gentoo's BugZilla

These are also in gentoo's sunrise overlay. More information on now to add it here. You can choose to install the release versions (package-x.xx.xx) (stable) or the development version (-9999) (unstable)

synfigstudio (media-gfx/synfigstudio)

 http://bugs.gentoo.org/show_bug.cgi?id=111279

synfig (media-gfx/synfig)

 http://bugs.gentoo.org/show_bug.cgi?id=111278

ETL (dev-cpp/ETL)

 http://bugs.gentoo.org/show_bug.cgi?id=111277

Howto for both release and development ebuilds

Please check this HOWTO Installing 3rd Party Ebuilds first. We will say "/overlay" as path to your overlay. This tipically would be "/usr/local/portage".

1. Make the directories needed in your overlay:

 mkdir /overlay/dev-cpp/ETL /overlay/media-gfx/synfig /overlay/media-gfx/synfigstudio

2. Go to the links above in the Gentoo BugZilla and download the ebuilds for the last release or the development version for all the packages (ETL, synfig and synfigstudio).

3. Copy your downloaded ebuilds into the appropiate directories:

 ETL -> /overlay/dev-cpp/ETL
 synfig -> /overlay/media-gfx/synfig
 synfigstudio -> /overlay/media-gfx/synfigstudio

4. Make digests for them. ie::

 ebuild /overlay/dev-cpp/ETL/ETL-0.04.13.ebuild digest
 ebuild /overlay/media-gfx/synfig/synfig-0.62.00.ebuild digest
 ebuild /overlay/media-gfx/synfigstudio/synfigstudio-0.62.00.ebuild digest

5. Edit your /etc/portage/package.use and add:

 media-gfx/synfig  ffmpeg freetype imagemagick dv openexr

6. Unmask the packages for your architecture if needed adding to your /etc/portage/packages.keywords:

 dev-cpp/ETL
 media-gfx/synfig
 media-gfx/synfigstudio

7. Happily compile:

 emerge -av synfigstudio