diff options
author | Daniel Black <dragonheart@gentoo.org> | 2004-07-30 04:59:28 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2004-07-30 04:59:28 +0000 |
commit | f12bea2a2c275c68b12601858063b7dac1724b12 (patch) | |
tree | 8dceb6350dd5c37e5fe56ea274017f3b501d7112 /media-video/dvdstyler | |
parent | dont delete fun extra files when USE=uclibc (Manifest recommit) (diff) | |
download | gentoo-2-f12bea2a2c275c68b12601858063b7dac1724b12.tar.gz gentoo-2-f12bea2a2c275c68b12601858063b7dac1724b12.tar.bz2 gentoo-2-f12bea2a2c275c68b12601858063b7dac1724b12.zip |
inital import as per bug #47899
Diffstat (limited to 'media-video/dvdstyler')
-rw-r--r-- | media-video/dvdstyler/ChangeLog | 8 | ||||
-rw-r--r-- | media-video/dvdstyler/Manifest | 10 | ||||
-rw-r--r-- | media-video/dvdstyler/dvdstyler-1.05.ebuild | 71 | ||||
-rw-r--r-- | media-video/dvdstyler/files/1.05-AutoMakefile.patch | 122 | ||||
-rw-r--r-- | media-video/dvdstyler/files/1.05-code.patch | 71 | ||||
-rw-r--r-- | media-video/dvdstyler/files/1.05-configure.patch | 10 | ||||
-rw-r--r-- | media-video/dvdstyler/files/digest-dvdstyler-1.05 | 1 | ||||
-rw-r--r-- | media-video/dvdstyler/metadata.xml | 9 |
8 files changed, 302 insertions, 0 deletions
diff --git a/media-video/dvdstyler/ChangeLog b/media-video/dvdstyler/ChangeLog new file mode 100644 index 000000000000..382d10520bda --- /dev/null +++ b/media-video/dvdstyler/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for media-video/dvdstyler +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/dvdstyler/ChangeLog,v 1.1 2004/07/30 04:59:28 dragonheart Exp $ + + 30 Jul 2004; Daniel Black <dragonheart@gentoo.org> : + inital import as per bug #47899. Thanks to Ian Haylock + <haylocki@v21mail.co.uk> for the bug + diff --git a/media-video/dvdstyler/Manifest b/media-video/dvdstyler/Manifest new file mode 100644 index 000000000000..006d7fdd23fb --- /dev/null +++ b/media-video/dvdstyler/Manifest @@ -0,0 +1,10 @@ +MD5 bee230371518a5dbcb6bd46ef6dec8c2 ChangeLog 318 +MD5 120e384dcf35fd092e15c0d6e10dee59 dvdstyler-1.0_beta2.ebuild 1311 +MD5 50c1da0de828cea5851ae51571c1b34a dvdstyler-1.05.ebuild 1216 +MD5 3fd2aa08ab171a250c139fa29e28408b files/digest-dvdstyler-1.0 70 +MD5 b35b84e2dbe157267063d898998b08af files/1.0b2-Makefile.patch 419 +MD5 319f66e3e23eb9ab1959a11390379432 files/1.0b2-MainWin.patch 1681 +MD5 ea30a1d226dfb91d1813b20f2c704175 files/1.0b2-MenuBox.patch 853 +MD5 e626d29ad240fcc289afc775f4b22995 files/digest-dvdstyler-1.0_beta2 67 +MD5 9743089cc18b068cd41b24ab805241c7 files/digest-dvdstyler-1.0.5 64 +MD5 371cffa55d3999c3330b141722406ca9 files/digest-dvdstyler-1.05 66 diff --git a/media-video/dvdstyler/dvdstyler-1.05.ebuild b/media-video/dvdstyler/dvdstyler-1.05.ebuild new file mode 100644 index 000000000000..fa38979a456b --- /dev/null +++ b/media-video/dvdstyler/dvdstyler-1.05.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/dvdstyler/dvdstyler-1.05.ebuild,v 1.1 2004/07/30 04:59:28 dragonheart Exp $ + +inherit eutils + +MY_P=DVDStyler-${PV} + +DESCRIPTION="DVD filesystem Builder" +HOMEPAGE="http://dvdstyler.sourceforge.net" +SRC_URI="mirror://sourceforge/dvdstyler/${MY_P}.tar.gz" +RESTRICT="nomirror" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +S=${WORKDIR}/${MY_P} + +RDEPEND="virtual/x11 + >=x11-libs/wxGTK-2.4.2 + >=media-video/mjpegtools-1.6.2 + >=media-video/dvdauthor-0.6.10 + media-video/mpgtx + >=gnome-base/libgnomeui-2.0 + x11-libs/gtk+ + virtual/libc + media-libs/tiff + media-libs/libpng + media-libs/jpeg + dev-libs/glib + sys-libs/zlib + app-cdr/dvd+rw-tools + app-cdr/cdrtools" + + +DEPEND="${RDEPEND} + dev-util/pkgconfig + sys-devel/gcc + sys-devel/automake + >=sys-apps/sed-4" + +# sys-devel/autoconf" +#PDEPEND= kde? and gnome + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${PV}-AutoMakefile.patch + epatch ${FILESDIR}/${PV}-code.patch + sed -i -e "s:-O3::g" ${S}/configure.in ${S}/configure +} + +src_compile() { + # Propergate automake patch + # autoconf + automake + + econf || die "Failed to configure" + + sed -i -e "s:^prefix=.*${PN}\$::g" configure* + + emake || dir "Failed to make" +} + + +src_install() { + + emake DESTDIR=${D} install + + mv ${D}/usr/share/docs/DVDStyler ${D}/usr/share/docs/${PF} +} diff --git a/media-video/dvdstyler/files/1.05-AutoMakefile.patch b/media-video/dvdstyler/files/1.05-AutoMakefile.patch new file mode 100644 index 000000000000..5d2b338b2ec0 --- /dev/null +++ b/media-video/dvdstyler/files/1.05-AutoMakefile.patch @@ -0,0 +1,122 @@ +diff -ru DVDStyler-1.05.orig/Makefile.am DVDStyler-1.05/Makefile.am +--- DVDStyler-1.05.orig/Makefile.am 2004-07-20 21:14:26.000000000 +0930 ++++ DVDStyler-1.05/Makefile.am 2004-07-30 08:39:40.566063040 +0930 +@@ -3,7 +3,7 @@ + + ACLOCAL_AMFLAGS=-I. + +-dist_pkgdatadir=$(prefix) ++dist_pkgdatadir=@datadir@/docs/@PACKAGE_NAME@ + dist_pkgdata_DATA = silence.mp2 AUTHORS COPYING INSTALL README ChangeLog + + run: all +diff -ru DVDStyler-1.05.orig/backgrounds/Makefile.am DVDStyler-1.05/backgrounds/Makefile.am +--- DVDStyler-1.05.orig/backgrounds/Makefile.am 2004-06-15 20:28:06.000000000 +0930 ++++ DVDStyler-1.05/backgrounds/Makefile.am 2004-07-30 08:37:53.152392400 +0930 +@@ -1,3 +1,3 @@ + +-dist_pkgdatadir=$(prefix)/backgrounds ++dist_pkgdatadir=@datadir@/@PACKAGE_NAME@/backgrounds + dist_pkgdata_DATA = *.jpg +diff -ru DVDStyler-1.05.orig/buttons/Makefile.am DVDStyler-1.05/buttons/Makefile.am +--- DVDStyler-1.05.orig/buttons/Makefile.am 2004-06-15 20:28:06.000000000 +0930 ++++ DVDStyler-1.05/buttons/Makefile.am 2004-07-30 08:38:19.326413344 +0930 +@@ -1,3 +1,3 @@ + +-dist_pkgdatadir=$(prefix)/buttons ++dist_pkgdatadir=@datadir@/@PACKAGE_NAME@/buttons + dist_pkgdata_DATA = *.xml +diff -ru DVDStyler-1.05.orig/configure.in DVDStyler-1.05/configure.in +--- DVDStyler-1.05.orig/configure.in 2004-06-30 04:58:59.000000000 +0930 ++++ DVDStyler-1.05/configure.in 2004-07-30 08:36:47.052441120 +0930 +@@ -119,7 +119,6 @@ + + dnl vars + orig_prefix=$prefix +-prefix=$prefix/dvdstyler + AC_SUBST(orig_prefix) + AC_SUBST(LDFLAGS) + AC_SUBST(CFLAGS) +diff -ru DVDStyler-1.05.orig/install.win32/Makefile.am DVDStyler-1.05/install.win32/Makefile.am +--- DVDStyler-1.05.orig/install.win32/Makefile.am 2004-06-11 20:36:10.000000000 +0930 ++++ DVDStyler-1.05/install.win32/Makefile.am 2004-07-30 08:36:36.990970696 +0930 +@@ -7,13 +7,13 @@ + + if USE_KDE + install-kde: +- mkdir -p $(KDE_DATA_DIR)/icons +- if test -w $(KDE_DATA_DIR)/icons ; then \ +- install -m 644 $(top_srcdir)/src/rc/$(ICON) $(KDE_DATA_DIR)/icons/$(ICON); \ ++ $(INSTALL) -d $(DESTDIR)$(KDE_DATA_DIR)/icons ++ if test -w $(DESTDIR)$(KDE_DATA_DIR)/icons ; then \ ++ install -m 644 $(top_srcdir)/src/rc/$(ICON) $(DESTDIR)$(KDE_DATA_DIR)/icons/$(ICON); \ + fi +- mkdir -p $(KDE_DATA_DIR)/applnk/Multimedia +- if test -w $(KDE_DATA_DIR)/applnk/Multimedia ; then \ +- install -m 644 $(srcdir)/$(DESK) $(KDE_DATA_DIR)/applnk/Multimedia; \ ++ $(INSTALL) -d $(DESTDIR)$(KDE_DATA_DIR)/applnk/Multimedia ++ if test -w $(DESTDIR)$(KDE_DATA_DIR)/applnk/Multimedia ; then \ ++ install -m 644 $(srcdir)/$(DESK) $(DESTDIR)$(KDE_DATA_DIR)/applnk/Multimedia; \ + fi + + else +@@ -25,14 +25,14 @@ + + if USE_GNOME + install-gnome: +- mkdir -p $(GNOME_DATA_DIR)/pixmaps +- if test -w $(GNOME_DATA_DIR)/pixmaps ; then \ +- install -m 644 $(top_srcdir)/src/rc/$(XPM) $(GNOME_DATA_DIR)/pixmaps/$(XPM); \ +- install -m 644 $(top_srcdir)/src/rc/$(ICON) $(GNOME_DATA_DIR)/pixmaps/$(ICON); \ ++ $(INSTALL) -d $(DESTDIR)$(GNOME_DATA_DIR)/pixmaps ++ if test -w $(DESTDIR)$(GNOME_DATA_DIR)/pixmaps ; then \ ++ install -m 644 $(top_srcdir)/src/rc/$(XPM) $(DESTDIR)$(GNOME_DATA_DIR)/pixmaps/$(XPM); \ ++ install -m 644 $(top_srcdir)/src/rc/$(ICON) $(DESTDIR)$(GNOME_DATA_DIR)/pixmaps/$(ICON); \ + fi +- mkdir -p $(GNOME_DATA_DIR)/gnome/apps/ +- if test -w $(GNOME_DATA_DIR)/gnome/apps/Multimedia ; then \ +- install -m 644 $(srcdir)/$(DESK) $(GNOME_DATA_DIR)/gnome/apps/Multimedia; \ ++ $(INSTALL) -d $(DESTDIR)$(GNOME_DATA_DIR)/gnome/apps/ ++ if test -w $(DESTDIR)$(GNOME_DATA_DIR)/gnome/apps/Multimedia ; then \ ++ install -m 644 $(srcdir)/$(DESK) $(DESTDIR)$(GNOME_DATA_DIR)/gnome/apps/Multimedia; \ + fi + + else +diff -ru DVDStyler-1.05.orig/locale/Makefile.in DVDStyler-1.05/locale/Makefile.in +--- DVDStyler-1.05.orig/locale/Makefile.in 2004-06-15 19:25:59.000000000 +0930 ++++ DVDStyler-1.05/locale/Makefile.in 2004-07-30 08:42:04.506180816 +0930 +@@ -9,7 +9,7 @@ + LINGUAS=de it ru + + prefix=@prefix@ +-DATADIR=@prefix@ ++DATADIR=@datadir@ + INSTALL=@INSTALL@ + + all: allmo +@@ -35,13 +35,14 @@ + + install: allmo + linguas='$(LINGUAS)'; for lang in $$linguas ; do \ +- $(INSTALL) -d $(DATADIR)/locale/$$lang/LC_MESSAGES ; \ +- $(INSTALL) -m 644 $$lang/$(PROGNAME).mo $(DATADIR)/locale/$$lang/LC_MESSAGES/$(PROGNAME).mo ; \ ++ $(INSTALL) -d $(DESTDIR)$(DATADIR)/locale/$$lang/LC_MESSAGES ; \ ++ $(INSTALL) -m 644 $$lang/$(PROGNAME).mo \ ++ $(DESTDIR)$(DATADIR)/locale/$$lang/LC_MESSAGES/$(PROGNAME).mo ; \ + done + + uninstall: + linguas='$(LINGUAS)'; for lang in $$linguas ; do \ +- rm -f $(DATADIR)/locale/$$lang/LC_MESSAGES/$(PROGNAME).mo ; \ ++ rm -f $(DESTDIR)$(DATADIR)/locale/$$lang/LC_MESSAGES/$(PROGNAME).mo ; \ + done + + clean: +diff -ru DVDStyler-1.05.orig/src/rc/Makefile.am DVDStyler-1.05/src/rc/Makefile.am +--- DVDStyler-1.05.orig/src/rc/Makefile.am 2004-07-04 01:42:44.000000000 +0930 ++++ DVDStyler-1.05/src/rc/Makefile.am 2004-07-30 08:38:58.600442784 +0930 +@@ -1,3 +1,3 @@ + +-dist_pkgdatadir=@bindir@/rc ++dist_pkgdatadir=@datadir@/@PACKAGE_NAME@/rc + dist_pkgdata_DATA = *.png *.cur diff --git a/media-video/dvdstyler/files/1.05-code.patch b/media-video/dvdstyler/files/1.05-code.patch new file mode 100644 index 000000000000..697990e27ab3 --- /dev/null +++ b/media-video/dvdstyler/files/1.05-code.patch @@ -0,0 +1,71 @@ +diff -ru DVDStyler-1.05.orig/src/MainWin.cpp DVDStyler-1.05/src/MainWin.cpp +--- DVDStyler-1.05.orig/src/MainWin.cpp 2004-07-26 22:10:20.000000000 +0930 ++++ DVDStyler-1.05/src/MainWin.cpp 2004-07-30 13:44:08.146968624 +0930 +@@ -39,8 +39,8 @@ + #include "rc/files.xpm" + + +-#define BACKGROUNDS_DIR wxGetAppPath() + _T("/../backgrounds") +-#define BUTTONS_DIR wxGetAppPath() + _T("/../buttons") ++#define BACKGROUNDS_DIR _T("/usr/share/DVDStyler/backgrounds") ++#define BUTTONS_DIR _T("/usr/share/DVDStyler/buttons") + #define DATA_DIR(fname) wxGetAppPath() + wxFILE_SEP_PATH + _T("..") + wxFILE_SEP_PATH + fname + + //////////////////////////// help functions ////////////////////////////////// +@@ -327,7 +327,7 @@ + { + ShowDirTree(false); + m_thumbnails->Clear(); +- wxString fname = wxFindFirstFile(BUTTONS_DIR + _T("/*.xml")); ++ wxString fname = wxFindFirstFile(_T("/usr/share/DVDStyler/buttons/*.xml")); + while (!fname.IsEmpty()) + { + wxThumb* thumb = new wxThumb(fname); +@@ -708,7 +708,7 @@ + wxString hlFile = menuFile + _T("_highlight.png"); + wxString selFile = menuFile + _T("_select.png"); + wxString spuFile = menuFile + _T("_spumux.xml"); +- wxString silenceFile = DATA_DIR(_T("silence.mp2")); ++ wxString silenceFile = _T("/usr/share/DVDStyler/silence.mp2"); + + bool videoMenu = menu->HasVideoBackground(); + +diff -ru DVDStyler-1.05.orig/src/MenuBox.cpp DVDStyler-1.05/src/MenuBox.cpp +--- DVDStyler-1.05.orig/src/MenuBox.cpp 2004-07-26 22:10:59.000000000 +0930 ++++ DVDStyler-1.05/src/MenuBox.cpp 2004-07-30 13:42:34.552197192 +0930 +@@ -284,11 +284,11 @@ + case ttTR: + case ttBL: SetCursor(wxCursor(wxCURSOR_SIZENESW)); break; + #else +- case ttIn: SetCursor(wxImage(wxGetAppPath() + _T("/rc/move.cur")));break; ++ case ttIn: SetCursor(wxImage(_T("/usr/share/DVDStyler/rc/move.cur")));break; + case ttTL: +- case ttBR: SetCursor(wxImage(wxGetAppPath() + _T("/rc/nwse.cur")));break; ++ case ttBR: SetCursor(wxImage(_T("/usr/share/DVDStyler/rc/nwse.cur")));break; + case ttTR: +- case ttBL: SetCursor(wxImage(wxGetAppPath() + _T("/rc/nesw.cur")));break; ++ case ttBL: SetCursor(wxImage(_T("/usr/share/DVDStyler/rc/nesw.cur")));break; + #endif + } + } +diff -ru DVDStyler-1.05.orig/src/dvdstyler.cpp DVDStyler-1.05/src/dvdstyler.cpp +--- DVDStyler-1.05.orig/src/dvdstyler.cpp 2004-07-04 21:12:48.000000000 +0930 ++++ DVDStyler-1.05/src/dvdstyler.cpp 2004-07-30 13:42:34.557196432 +0930 +@@ -58,7 +58,7 @@ + // Pop up a dialog the first time the program is run + if (!lang.length()) + { +- m_locale.AddCatalogLookupPathPrefix(wxGetAppPath() + _T("/../locale")); ++ m_locale.AddCatalogLookupPathPrefix(_T("/usr/share/locale")); + m_locale.AddCatalog(_T("dvdstyler")); + m_locale.Init(wxLANGUAGE_DEFAULT); + lang = ChooseLanguage(NULL); +@@ -68,7 +68,7 @@ + if (lang != _T("en")) + { + m_locale.Init(_T(""), lang, _T(""), true, true); +- m_locale.AddCatalogLookupPathPrefix(wxGetAppPath() + _T("/../locale")); ++ m_locale.AddCatalogLookupPathPrefix(_T("/usr/share/locale")); + m_locale.AddCatalog(_T("dvdstyler")); + } + diff --git a/media-video/dvdstyler/files/1.05-configure.patch b/media-video/dvdstyler/files/1.05-configure.patch new file mode 100644 index 000000000000..fe9ebb5b058b --- /dev/null +++ b/media-video/dvdstyler/files/1.05-configure.patch @@ -0,0 +1,10 @@ +--- DVDStyler-1.05/configure.in.old 2004-07-29 20:25:02.495948232 +0930 ++++ DVDStyler-1.05/configure.in 2004-07-29 20:25:29.651819912 +0930 +@@ -119,7 +119,6 @@ + + dnl vars + orig_prefix=$prefix +-prefix=$prefix/dvdstyler + AC_SUBST(orig_prefix) + AC_SUBST(LDFLAGS) + AC_SUBST(CFLAGS) diff --git a/media-video/dvdstyler/files/digest-dvdstyler-1.05 b/media-video/dvdstyler/files/digest-dvdstyler-1.05 new file mode 100644 index 000000000000..1f4612556ac6 --- /dev/null +++ b/media-video/dvdstyler/files/digest-dvdstyler-1.05 @@ -0,0 +1 @@ +MD5 36e67e16085020305efdb3a008457de1 DVDStyler-1.05.tar.gz 596952 diff --git a/media-video/dvdstyler/metadata.xml b/media-video/dvdstyler/metadata.xml new file mode 100644 index 000000000000..866ae3a9796b --- /dev/null +++ b/media-video/dvdstyler/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>media-video</herd> +<maintainer> + <email>dragonheart@gentoo.org</email> + <name>Daniel Black</name> +</maintainer> +</pkgmetadata> |