Difference between revisions of "Dev:Gentoo Ebuilds"

From Synfig Studio :: Documentation
Jump to: navigation, search
(Let's make some ebuilds that people can use!)
 
 
(64 intermediate revisions by 15 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).
  
===dev-cpp/ETL-0.04.07==
+
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].
<pre>
+
MY_P=${PN/-/}-${PV/_p/-}
+
S=${WORKDIR}/${MY_P}
+
  
DESCRIPTION="Synfig: Film-Quality Vector Animation (support libraries)"
+
= Ebuilds in Gentoo's BugZilla =
HOMEPAGE="http://www.synfig.com/"
+
SRC_URI=""
+
  
LICENSE="GPL-2"
+
These are also in gentoo's sunrise overlay. More information on now to add it [http://overlays.gentoo.org/proj/sunrise here].
SLOT="0"
+
You can choose to install the release versions (package-x.xx.xx) (stable) or the development version (-9999) (unstable)
KEYWORDS="~x86"
+
IUSE=""
+
</pre>
+
  
 +
'''synfigstudio''' (media-gfx/synfigstudio)
  
===media-gfx/synfig-0.61.04==
+
  http://bugs.gentoo.org/show_bug.cgi?id=111279
<pre>
+
MY_P=${PN/-/}-${PV/_p/-}
+
S=${WORKDIR}/${MY_P}
+
  
DESCRIPTION="Synfig: Film-Quality Vector Animation (core engine)"
+
'''synfig''' (media-gfx/synfig)
HOMEPAGE="http://www.synfig.com/"
+
SRC_URI=""
+
  
LICENSE="GPL-2"
+
  http://bugs.gentoo.org/show_bug.cgi?id=111278
SLOT="0"
+
KEYWORDS="~x86"
+
IUSE=""
+
  
DEPEND=">=dev-cpp/ETL-0.04.07"
+
'''ETL''' (dev-cpp/ETL)
</pre>
+
  
 +
  http://bugs.gentoo.org/show_bug.cgi?id=111277
  
===media-gfx/synfig-studio-0.61.04==
+
= Howto for both release and development ebuilds =
<pre>
+
MY_P=${PN/-/}-${PV/_p/-}
+
S=${WORKDIR}/${MY_P}
+
  
DESCRIPTION="Synfig: Film-Quality Vector Animation (main UI)"
+
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=""
+
  
 +
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).
  
DEPEND=">=media-gfx/synfig-${PV}"
+
3. Copy your downloaded ebuilds into the appropiate directories:
</pre>
+
  '''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'''
  
==dev-cpp/ETL-svn==
+
5. Edit your '''/etc/portage/package.use''' and add:
<pre>
+
  media-gfx/synfig  ffmpeg freetype imagemagick dv openexr
inherit subversion
+
  
DESCRIPTION="Synfig: Film-Quality Vector Animation (support libraries, SVN-sources)"
+
6. Unmask the packages for your architecture if needed adding to your '''/etc/portage/packages.keywords''':
HOMEPAGE="http://www.synfig.com/"
+
  dev-cpp/ETL
SRC_URI=""
+
  media-gfx/synfig
 +
  media-gfx/synfigstudio
  
LICENSE="GPL-2"
+
7. Happily compile:
SLOT="0"
+
  emerge -av synfigstudio
KEYWORDS="~x86"
+
IUSE=""
+
 
+
DEPEND=""
+
</pre>
+
 
+
 
+
==media-gfx/synfig-svn==
+
<pre>
+
inherit subversion
+
 
+
DESCRIPTION="Synfig: Film-Quality Vector Animation (core engine, SVN-sources)"
+
HOMEPAGE="http://www.synfig.com/"
+
SRC_URI=""
+
 
+
LICENSE="GPL-2"
+
SLOT="0"
+
KEYWORDS="~x86"
+
IUSE=""
+
 
+
DEPEND="dev-cpp/ETL-svn
+
        !dev-cpp/ETL"
+
</pre>
+
 
+
 
+
==media-gfx/synfig-studio-svn==
+
<pre>
+
inherit subversion
+
 
+
DESCRIPTION="Synfig: Film-Quality Vector Animation (main UI, SVN-sources)"
+
HOMEPAGE="http://www.synfig.com/"
+
SRC_URI=""
+
 
+
LICENSE="GPL-2"
+
SLOT="0"
+
KEYWORDS="~x86"
+
IUSE=""
+
 
+
DEPEND="media-gfx/synfig-svn
+
        !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