Difference between revisions of "Dev:Gentoo Ebuilds"

From Synfig Studio :: Documentation
Jump to: navigation, search
m (tweaked the format)
 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
<!--Categories-->
 
<!--Categories-->
[[Category:Building]]
+
{{Category|Building}}
  
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:
+
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).
* Create a Portage overlay so these ebuilds won't be clobbered by an emerge sync
+
* Cut out each ebuild and put it in the proper place in the overlay.
+
* Find mistakes in the ebuilds, and post fixes here
+
  
= Using the sunrise overlay =
+
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 is available in the [http://gentoo-wiki.com/Portage_Overlay_Listing#Sunrise_-_Gentoo_User_Overlay sunrise] overlay. If are already using sunrise you can install synfig with:
+
= Ebuilds in Gentoo's BugZilla =
<pre>
+
emerge synfig-studio
+
</pre>
+
  
= Specific-version 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)
  
'''synfig-studio''' (-> /overlay/media-gfx/synfig-studio)
+
'''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.05.ebuild '''digest'''
+
  ...
+
  
2. this goes in the '''/etc/portage/package.use'''
+
Please check this [http://www.gentoo-wiki.info/HOWTO_Installing_3rd_Party_Ebuilds HOWTO Installing 3rd Party Ebuilds] first.
  media-gfx/synfig  ffmpeg freetype imagemagick libdv openexr
+
We will say "/overlay" as path to your overlay. This tipically would be "/usr/local/portage".
  media-gfx/synfig-studio fmod
+
  
3. emerge -av synfig-studio
+
1. Make the directories needed in your overlay:
 +
  '''mkdir''' /overlay/dev-cpp/ETL /overlay/media-gfx/synfig /overlay/media-gfx/synfigstudio
  
=SVN Ebuilds=
+
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-cpp/ETL-svn==
+
<pre>
+
DESCRIPTION="VoriaETL is a multiplatform class and template library designed to
+
complement and supplement the C++ STL. (SVN-sources)"
+
HOMEPAGE="http://www.synfig.com/"
+
SRC_URI=""
+
  
LICENSE="GPL-2"
+
3. Copy your downloaded ebuilds into the appropiate directories:
SLOT="0"
+
  '''ETL''' -> /overlay/dev-cpp/ETL
KEYWORDS="~amd64 ~x86"
+
  '''synfig''' -> /overlay/media-gfx/synfig
IUSE=""
+
  '''synfigstudio''' -> /overlay/media-gfx/synfigstudio
  
DEPEND=""
+
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'''
  
PROVIDE="virtual/ETL"
+
5. Edit your '''/etc/portage/package.use''' and add:
 +
  media-gfx/synfig  ffmpeg freetype imagemagick dv openexr
  
ESVN_REPO_URI="http://svn.voria.com/code/ETL/trunk/"
+
6. Unmask the packages for your architecture if needed adding to your '''/etc/portage/packages.keywords''':
ESVN_PROJECT="${PN}"
+
  dev-cpp/ETL
 +
  media-gfx/synfig
 +
  media-gfx/synfigstudio
  
inherit eutils
+
7. Happily compile:
inherit subversion
+
  emerge -av synfigstudio
 
+
src_compile() {
+
        autoreconf -if
+
        econf || die
+
}
+
 
+
src_install() {
+
        make DESTDIR="${D}" install || die
+
}
+
</pre>
+
 
+
 
+
==media-gfx/synfig-svn==
+
<pre>
+
DESCRIPTION="Synfig: Film-Quality Vector Animation (core engine, SVN-sources)"
+
HOMEPAGE="http://www.synfig.com/"
+
SRC_URI=""
+
 
+
LICENSE="GPL-2"
+
SLOT="0"
+
KEYWORDS="~amd64 ~x86"
+
IUSE="tiff jpeg png freetype fontconfig openexr ffmpeg debug"
+
 
+
DEPEND="dev-cpp/libxmlpp
+
        dev-libs/libsigc++
+
sys-devel/libtool
+
png? ( media-libs/libpng )
+
tiff? ( media-libs/tiff )
+
jpeg? ( media-libs/jpeg )
+
imagemagick? ( media-gfx/imagemagick )
+
freetype? ( media-libs/freetype )
+
fontconfig? ( media-libs/fontconfig )
+
openexr? ( media-libs/openexr )
+
ffmpeg? ( media-video/ffmpeg )
+
+
        virtual/ETL"
+
 
+
PROVIDE="virtual/synfig"
+
 
+
ESVN_REPO_URI="http://svn.voria.com/code/synfig-core/trunk"
+
ESVN_PROJECT="${PN}"
+
 
+
inherit subversion
+
 
+
 
+
src_compile() {
+
libtoolize --ltdl --copy -f
+
autoreconf -if
+
econf \
+
$(use_enable ffmpeg) \
+
$(use_enable libdv) \
+
$(use_enable imagemagick) \
+
$(use_enable ffmpeg libavcodec) \
+
$(use_enable freetype) \
+
        $(use_enable debug) \
+
|| die
+
emake || die
+
}
+
 
+
src_install() {
+
make DESTDIR="${D}" install || die
+
}
+
</pre>
+
 
+
==media-gfx/synfig-studio-svn==
+
<pre>
+
DESCRIPTION="Synfig: Film-Quality Vector Animation (main UI, SVN-sources)"
+
HOMEPAGE="http://www.synfig.com/"
+
SRC_URI=""
+
 
+
LICENSE="GPL-2"
+
SLOT="0"
+
KEYWORDS="~amd64 ~x86"
+
IUSE=""
+
 
+
DEPEND=">=dev-cpp/gtkmm-2.4
+
        virtual/synfig
+
!media-gfx/synfig-studio"
+
 
+
 
+
ESVN_REPO_URI="http://svn.voria.com/code/synfig-studio/trunk"
+
ESVN_PROJECT="${PN}"
+
 
+
inherit subversion
+
 
+
src_compile() {
+
autoreconf -if
+
econf || die
+
emake || die
+
}
+
 
+
src_install() {
+
make DESTDIR="${D}" install || die
+
}
+
</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