| View previous topic :: View next topic |
| Author |
Message |
count_zero Guru


Joined: 16 May 2004 Posts: 443 Location: Little Rock, Arkansas, USA
|
Posted: Wed May 17, 2006 1:33 pm Post subject: DeVeDe 1.4 ebuild |
|
|
Here's a pretty neat DVD creator program that's not in portage, which does video conversion to mpeg-2 files.
http://www.rastersoft.com/programas/devede.html
I've hacked together a really ugly looking ebuild (I don't know much about making these), but it works.
| Code: | # Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
DESCRIPTION="DVD Video Creator"
HOMEPAGE="http://www.rastersoft.com/programas/devede.html"
SRC_URI="http://www.rastersoft.com/descargas/devede14.tar.bz2"
LICENSE="GPL"
SLOT="0"
KEYWORDS="x86"
IUSE=""
RDEPEND=">=x11-libs/gtk+-2.4
>=dev-lang/python
>=dev-util/glade
>=dev-python/pygtk
>=media-video/mplayer
>=media-video/dvdauthor
>=app-cdr/cdrtools"
DEPEND="${RDEPEND}"
S=${WORKDIR}/devede
src_unpack()
{
unpack ${A}
}
src_install() {
cd ${S}
mkdir -p ${D}/usr/bin/
mkdir -p ${D}/usr/share/devede
mkdir -p ${D}/usr/share/doc/devede
mkdir -p ${D}/usr/share/locale/es/LC_MESSAGES
mkdir -p ${D}/usr/share/locale/gl/LC_MESSAGES
mkdir -p ${D}/usr/share/pixmaps
mkdir -p ${D}/usr/share/applications
install devede.py ${D}/usr/bin/ || die "failed to install"
chmod 755 ${D}/usr/bin/devede.py || die "failed to install"
install -d ${D}/usr/share/devede/ || die "failed to install"
install -d ${D}/usr/share/doc/devede/ || die "failed to install"
install -d ${D}/usr/share/locale/es/LC_MESSAGES || die "failed to install"
install -d ${D}/usr/share/locale/gl/LC_MESSAGES || die "failed to install"
install po/es.mo ${D}/usr/share/locale/es/LC_MESSAGES/devede.mo || die "failed to install"
install po/gl.mo ${D}/usr/share/locale/gl/LC_MESSAGES/devede.mo || die "failed to install"
install devede.glade ${D}/usr/share/devede/devede.glade || die "failed to install"
install devede.png ${D}/usr/share/pixmaps/ || die "failed to install"
install devede.desktop ${D}/usr/share/applications/devede.desktop || die "failed to install"
install docs/* ${D}/usr/share/doc/devede/ || die "failed to install"
install pixmaps/* ${D}/usr/share/devede/ || die "failed to install"
}
|
Feel free to suggest improvements to the ebuild. _________________ "We must all hang together, or assuredly we shall all hang separately."
-Ben Franklin |
|
| Back to top |
|
 |
mb.Tab n00b


Joined: 07 May 2006 Posts: 44 Location: /home/mb.Tab
|
Posted: Thu May 18, 2006 9:10 am Post subject: |
|
|
Cool Thanks for it....will try it out later this day... ....and report any issues !
mb.Tab _________________ [center]~*It´s mb.Tab*~[/center] |
|
| Back to top |
|
 |
guid0 Apprentice


Joined: 06 Jul 2003 Posts: 179 Location: The Netherlands / Nederland
|
Posted: Sat Jul 01, 2006 2:58 pm Post subject: |
|
|
nice. now lets get it in portage  |
|
| Back to top |
|
 |
t0nik n00b


Joined: 11 Oct 2002 Posts: 55 Location: Moscow, Russia
|
Posted: Tue Jul 11, 2006 7:57 am Post subject: |
|
|
I've made a ebuild for media-video/devede-2.1:
| Code: | # Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
DESCRIPTION="DVD Video Creator"
HOMEPAGE="http://www.rastersoft.com/programas/devede.html"
SRC_URI="http://www.rastersoft.com/descargas/${PN}${PV/\.}.tar.bz2"
LICENSE="GPL"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="nls doc"
RDEPEND=">=x11-libs/gtk+-2.4
>=dev-lang/python-2.4
dev-util/glade
dev-python/pygtk
media-video/mplayer
media-video/dvdauthor
media-video/vcdimager
app-cdr/cdrtools"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${PN}
src_install() {
newbin ${S}/devede.py devede
if use nls; then
insinto /usr/share/locale/es/LC_MESSAGES
newins ${S}/po/es.mo devede.mo
insinto /usr/share/locale/gl/LC_MESSAGES
newins ${S}/po/gl.mo devede.mo
fi
insinto /usr/share/applications
doins ${S}/${PN}.desktop
insinto /usr/share/pixmaps
doins ${S}/${PN}.png
insinto /usr/share/${PN}
doins ${S}/${PN}.glade
insinto /usr/share/${PN}
doins ${S}/pixmaps/*
if use doc; then
insinto /usr/share/doc/${P}/html
dohtml ${S}/docs/*
fi
} |
_________________ sorry my bad english
t0nik |
|
| Back to top |
|
 |
mb.Tab n00b


Joined: 07 May 2006 Posts: 44 Location: /home/mb.Tab
|
Posted: Wed Jul 12, 2006 6:19 am Post subject: |
|
|
Hey, thanks for that ebuild. The prog seems to work so far, although I haven´t converted any file yet !
 _________________ [center]~*It´s mb.Tab*~[/center] |
|
| Back to top |
|
 |
crox n00b

Joined: 26 Dec 2006 Posts: 3
|
Posted: Tue Dec 26, 2006 4:53 pm Post subject: |
|
|
I've adapted t0nik's ebuild for version 2.8:
| Code: | # Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
DESCRIPTION="DVD Video Creator"
HOMEPAGE="http://www.rastersoft.com/programas/devede.html"
SRC_URI="http://www.rastersoft.com/descargas/${PN}${PV/\.}.tar.bz2"
LICENSE="GPL"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="nls doc"
RDEPEND=">=x11-libs/gtk+-2.4
>=dev-lang/python-2.4
dev-util/glade
dev-python/pygtk
media-video/mplayer
media-video/dvdauthor
media-video/vcdimager
app-cdr/cdrtools"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${PN}${PV/\.}
src_install() {
newbin ${S}/devede.py devede
if use nls; then
insinto /usr/share/locale/es/LC_MESSAGES
newins ${S}/po/es.mo devede.mo
insinto /usr/share/locale/gl/LC_MESSAGES
newins ${S}/po/gl.mo devede.mo
fi
insinto /usr/share/applications
doins ${S}/${PN}.desktop
insinto /usr/share/pixmaps
doins ${S}/${PN}.png
insinto /usr/share/${PN}
doins ${S}/${PN}.glade
insinto /usr/share/${PN}
doins ${S}/pixmaps/*
insinto /usr/lib/${PN}
doins ${S}/${PN}_*.py
insinto /usr/share/${PN}
doins ${S}/*.ttf
if use doc; then
insinto /usr/share/doc/${P}/html
dohtml ${S}/docs/*
fi
}
|
|
|
| Back to top |
|
 |
mariourk l33t


Joined: 11 Jul 2003 Posts: 765 Location: Urk, Netherlands
|
Posted: Fri Dec 29, 2006 2:32 pm Post subject: |
|
|
I'ma able to make an iso. But the subtitles I added are not on the DVD
Anyone knows why?  _________________ If there is one thing to learn from history, it's that we usualy don't learn anything from it, at all.
http://www.winterfell.nl |
|
| Back to top |
|
 |
labor_ratte Tux's lil' helper


Joined: 01 May 2006 Posts: 76 Location: Silicon Saxony
|
Posted: Wed Feb 14, 2007 4:35 am Post subject: |
|
|
Thanks for sharing, guys!
Now version 2.11 is out, I've updated the ebuild as well.
media-video/devede/devede-2.11.ebuild
| Code: | # Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
DESCRIPTION="DVD Video Creator"
HOMEPAGE="http://www.rastersoft.com/programas/devede.html"
SRC_URI="http://www.rastersoft.com/descargas/${PN}-${PV}.tar.bz2"
LICENSE="GPL"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="nls doc"
RDEPEND=">=x11-libs/gtk+-2.4
>=dev-lang/python-2.4
dev-python/pygtk
media-video/mplayer
media-video/dvdauthor
media-video/vcdimager
app-cdr/cdrtools"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${PN}-${PV}
src_install() {
newbin ${S}/devede.py devede
if use nls; then
insinto /usr/share/locale/es/LC_MESSAGES
newins ${S}/po/es.mo devede.mo
insinto /usr/share/locale/gl/LC_MESSAGES
newins ${S}/po/gl.mo devede.mo
insinto /usr/share/locale/cs_CZ/LC_MESSAGES
newins ${S}/po/cs_CZ.mo devede.mo
insinto /usr/share/locale/de_DE/LC_MESSAGES
newins ${S}/po/de_DE.mo devede.mo
insinto /usr/share/locale/it/LC_MESSAGES
newins ${S}/po/it.mo devede.mo
insinto /usr/share/locale/nb_NO/LC_MESSAGES
newins ${S}/po/nb_NO.mo devede.mo
insinto /usr/share/locale/pt_BR/LC_MESSAGES
newins ${S}/po/pt_BR.mo devede.mo
fi
insinto /usr/share/applications
doins ${S}/${PN}.desktop
insinto /usr/share/pixmaps
doins ${S}/${PN}.png
insinto /usr/share/${PN}
doins ${S}/${PN}.glade
insinto /usr/share/${PN}
doins ${S}/pixmaps/*
insinto /usr/lib/${PN}
doins ${S}/${PN}_*.py
insinto /usr/share/${PN}
doins ${S}/*.ttf
if use doc; then
insinto /usr/share/doc/${P}/html
dohtml ${S}/docs/*
fi
}
pkg_postinst() {
elog "You may change settings in ~/.devede, created after first run."
}
|
EDIT:
More translations available!
Added postinstall message.
EDIT2: removed dev-util/glade dependency because it seems not needed really _________________ [Mini-ITX] [Mini-Barebones] [Mini-PCs] [Sub-/Notebooks]
MTN MiniTechNet ...wo die Zukunft kleiner wird
Das Hardware Magazin
* Auswahl im Top-Menu! |
|
| Back to top |
|
 |
mb.Tab n00b


Joined: 07 May 2006 Posts: 44 Location: /home/mb.Tab
|
Posted: Thu Feb 15, 2007 7:42 am Post subject: |
|
|
Thanks a lot for your work _________________ [center]~*It´s mb.Tab*~[/center] |
|
| Back to top |
|
 |
Voyageur Developer


Joined: 06 Mar 2005 Posts: 325 Location: Paris, France
|
Posted: Thu Feb 15, 2007 8:52 am Post subject: |
|
|
Don't forget to add your ebuild version to the open bugreport
Also, a few notes/cleanups:
* "GPL" is not a valid license in portage (you must specify the version), use "GPL-2" here
* ${P} is shorter and cleaner than ${PN}-${PV}
* the "S=..." line is redundant (this is the default one), you can remove it
* (will test it more thoroughly later) it works as well with cdrkit as with cdrtools, you can RDEPEND on | Code: | | || ( app-cdr/cdrtools app-cdr/cdrkit ) |
Hum... I wonder how well it copes with matroska files, I'll take a look tonight _________________ Routinely breaking NX, GNUstep, miscellaneous (filezilla, freenet6, rdesktop, ...) packages |
|
| Back to top |
|
 |
labor_ratte Tux's lil' helper


Joined: 01 May 2006 Posts: 76 Location: Silicon Saxony
|
Posted: Sun Feb 18, 2007 10:25 am Post subject: |
|
|
Voyageur,
many thanks for the helpful hints. It really strengthened my interest to gain an insight in making ebuilds well.
Now I have done quite a step and cleaned it up a bit. Of course the knowledge is borrowed by looking at other ebuilds.
The native language selection is now handled through the linguas variable. Also rearranged the order in src_install() to get rid of the many ${S}/*. Still not sure about the dropped glade dependency, but here it works fine without. Would be nice to know if you can use either cdrkit or cdrtools, please share your results.
media-video/devede/devede-2.11.ebuild
| Code: | # Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
DESCRIPTION="DVD Video Creator"
HOMEPAGE="http://www.rastersoft.com/programas/devede.html"
SRC_URI="http://www.rastersoft.com/descargas/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
LANGS="cs_CZ de_DE es gl it nb_NO pt_BR"
IUSE="doc nls"
for i in ${LANGS}; do
IUSE="${IUSE} linguas_${i}"
done
RDEPEND=">=x11-libs/gtk+-2.4
>=dev-lang/python-2.4
dev-python/pygtk
media-video/mplayer
media-video/dvdauthor
media-video/vcdimager
app-cdr/cdrtools"
DEPEND="${RDEPEND}"
src_install() {
newbin devede.py devede
doicon ${PN}.png
domenu ${PN}.desktop
insinto /usr/share/${PN}
doins ${PN}.glade
insinto /usr/share/${PN}
doins pixmaps/*
insinto /usr/lib/${PN}
doins ${PN}_*.py
insinto /usr/share/${PN}
doins *.ttf
if use doc; then
insinto /usr/share/doc/${P}/html
dohtml ${S}/docs/*
fi
if use nls; then
cd po/
for n in *.mo; do
if use linguas_${n/.mo}; then
insinto /usr/share/locale/${n/.mo}/LC_MESSAGES
newins ${n} ${PN}.mo
fi
done
fi
}
pkg_postinst() {
elog "You may change settings in ~/.devede, created after first run."
}
|
With posting on bugzilla unfortunately I've no experience and no account at once, maybe some other nice guy could do that?
EDIT: The latest ebuild is now on bugzilla, view http://bugs.gentoo.org/show_bug.cgi?id=139986 _________________ [Mini-ITX] [Mini-Barebones] [Mini-PCs] [Sub-/Notebooks]
MTN MiniTechNet ...wo die Zukunft kleiner wird
Das Hardware Magazin
* Auswahl im Top-Menu! |
|
| Back to top |
|
 |
Voyageur Developer


Joined: 06 Mar 2005 Posts: 325 Location: Paris, France
|
Posted: Mon Feb 26, 2007 5:14 pm Post subject: |
|
|
You're welcome! Reading ebuilds already in portage is also a favorite method of mine
Also I made some ISOs with cdrkit installed, all went well (after all cdrkit is still a fork of cdrtools). There were talks about a virtual/cdrtools or something like that at some time, but for now it's manually one or the other (exclusive since they are blockers to each other) _________________ Routinely breaking NX, GNUstep, miscellaneous (filezilla, freenet6, rdesktop, ...) packages |
|
| Back to top |
|
 |
labor_ratte Tux's lil' helper


Joined: 01 May 2006 Posts: 76 Location: Silicon Saxony
|
Posted: Wed Feb 28, 2007 9:27 am Post subject: |
|
|
Version bump to 2.12! Changes are:
* Added french translation. (and portuguese as well)
* Fixed some issues with non-UTF8 systems
| Voyageur wrote: | | There were talks about a virtual/cdrtools or something like that at some time, but for now it's manually one or the other (exclusive since they are blockers to each other) |
I've checked both the ebuilds of cdrkit and cdrtools, they are providing virtual/cdrtools.
So for now I've changed the dependency to virtual/cdrtools.
You may notice that the "Info" button still shows version 2.11, though it seems to be an oblivion in devede.glade.
The ebuild can be found on bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=139986 _________________ [Mini-ITX] [Mini-Barebones] [Mini-PCs] [Sub-/Notebooks]
MTN MiniTechNet ...wo die Zukunft kleiner wird
Das Hardware Magazin
* Auswahl im Top-Menu! |
|
| Back to top |
|
 |
labor_ratte Tux's lil' helper


Joined: 01 May 2006 Posts: 76 Location: Silicon Saxony
|
Posted: Tue Apr 17, 2007 12:58 pm Post subject: |
|
|
Version bump to 2.13! Changes are:
* Added creation of MPEG4/DIVX files.
* Added swedish and slovak translations.
* Fixed some issues with translations (thanks to Marco de Freitas)
The updated ebuild can be found as #139986 at bugzilla. _________________ [Mini-ITX] [Mini-Barebones] [Mini-PCs] [Sub-/Notebooks]
MTN MiniTechNet ...wo die Zukunft kleiner wird
Das Hardware Magazin
* Auswahl im Top-Menu! |
|
| Back to top |
|
 |
anz Apprentice


Joined: 05 Feb 2003 Posts: 279 Location: Vienna
|
Posted: Thu Apr 26, 2007 5:31 am Post subject: |
|
|
Thanks alot, Dear labor_ratte,
the ebuild from the bugzilla link works on ~x86 and ~amd64!
(DeVeDe in combination with avidemux is great!) _________________ Greetings from Vienna |
|
| Back to top |
|
 |
labor_ratte Tux's lil' helper


Joined: 01 May 2006 Posts: 76 Location: Silicon Saxony
|
Posted: Tue May 01, 2007 1:36 pm Post subject: |
|
|
You're welcome, anz!
If anyone using this ebuild is experiencing some issues, i.e. missing or wrong dependencies, please let me know.
I've just changed the LINGUAS handling to more common variables. _________________ [Mini-ITX] [Mini-Barebones] [Mini-PCs] [Sub-/Notebooks]
MTN MiniTechNet ...wo die Zukunft kleiner wird
Das Hardware Magazin
* Auswahl im Top-Menu! |
|
| Back to top |
|
 |
devsk Veteran


Joined: 23 Oct 2003 Posts: 2026 Location: Bay Area, CA
|
Posted: Sat May 26, 2007 6:10 pm Post subject: |
|
|
| why is it not in portage as yet? |
|
| Back to top |
|
 |
Rainmaker Veteran


Joined: 11 Feb 2004 Posts: 1650 Location: /home/NL/ehv/
|
Posted: Sat May 26, 2007 8:07 pm Post subject: |
|
|
| devsk wrote: | | why is it not in portage as yet? |
From the bug report:
| Quote: | | Assigned To: Default Assignee for New Packages <maintainer-wanted@gentoo.org> |
So there is no maintainer yet... _________________ If you can't dazzle them with brilliance, baffle them with bullshit. |
|
| Back to top |
|
 |
|