summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-video/ogmrip/ChangeLog36
-rw-r--r--media-video/ogmrip/Manifest10
-rw-r--r--media-video/ogmrip/files/digest-ogmrip-0.6.21
-rw-r--r--media-video/ogmrip/files/digest-ogmrip-0.8.21
-rw-r--r--media-video/ogmrip/files/digest-ogmrip-0.9.01
-rw-r--r--media-video/ogmrip/files/ogmrip-0.9.0-gcc4.patch175
-rw-r--r--media-video/ogmrip/files/ogmrip-0.9.0-lang.patch12
-rw-r--r--media-video/ogmrip/metadata.xml8
-rw-r--r--media-video/ogmrip/ogmrip-0.6.2.ebuild49
-rw-r--r--media-video/ogmrip/ogmrip-0.8.2.ebuild52
-rw-r--r--media-video/ogmrip/ogmrip-0.9.0.ebuild57
11 files changed, 402 insertions, 0 deletions
diff --git a/media-video/ogmrip/ChangeLog b/media-video/ogmrip/ChangeLog
new file mode 100644
index 000000000000..21c389dcf88a
--- /dev/null
+++ b/media-video/ogmrip/ChangeLog
@@ -0,0 +1,36 @@
+# ChangeLog for app-cdr/ogmrip
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/ogmrip/ChangeLog,v 1.1 2005/09/17 15:11:09 metalgod Exp $
+
+ 17 Sep 2005; Luis Medinas <metalgod@gentoo.org>
+ +files/ogmrip-0.9.0-gcc4.patch, +files/ogmrip-0.9.0-lang.patch,
+ +metadata.xml, +ogmrip-0.6.2.ebuild, +ogmrip-0.8.2.ebuild,
+ +ogmrip-0.9.0.ebuild:
+ Moved from app-cdr/ogmrip to media-video/ogmrip.
+
+ 28 Aug 2005; Luis Medinas <metalgod@gentoo.org>
+ +files/ogmrip-0.9.0-gcc4.patch, ogmrip-0.9.0.ebuild:
+ Added gcc-4.0.x patch thanks to Ian Kumlien <pomac@vapor.com> and Olivier
+ Rolland <billl@users.sf.net>. Closes bug #103299.
+
+*ogmrip-0.9.0 (20 Aug 2005)
+
+ 20 Aug 2005; Luis Medinas <metalgod@gentoo.org>
+ +files/ogmrip-0.9.0-lang.patch, +ogmrip-0.9.0.ebuild:
+ Version Bump. Closes bug #97337 thanks to Olivier Rolland <billl@users.sf.net>.
+
+*ogmrip-0.8.2 (10 Jun 2005)
+
+ 10 Jun 2005; Lars Weiler <pylon@gentoo.org> +ogmrip-0.8.2.ebuild:
+ Version bump. Thanks to the contributors in bug #83900.
+
+ 30 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org> ogmrip-0.6.2.ebuild:
+ added ~amd64 to KEYWORDS, fixes #87204
+
+*ogmrip-0.6.2 (08 Jan 2005)
+
+ 08 Jan 2005; Lars Weiler <pylon@gentoo.org> +metadata.xml,
+ +ogmrip-0.6.2.ebuild:
+ Initial commit.
+ Thanks to Olivier Rolland in bug #72041.
+
diff --git a/media-video/ogmrip/Manifest b/media-video/ogmrip/Manifest
new file mode 100644
index 000000000000..24909daa4734
--- /dev/null
+++ b/media-video/ogmrip/Manifest
@@ -0,0 +1,10 @@
+MD5 94b4e5f90569e534c0b63fcd4ec34b89 ChangeLog 1103
+MD5 f6ae03147b33c97f5bb09d5de8690601 metadata.xml 227
+MD5 e9e0fe8f55d0b1473e3b88a15cdfca18 ogmrip-0.6.2.ebuild 1766
+MD5 3b0e56fe697e3f3ea90c291a02fa9c40 ogmrip-0.8.2.ebuild 1855
+MD5 69c1a7d5b3166fc4f20646c9f10ead3a ogmrip-0.9.0.ebuild 1965
+MD5 aa7f34882cf21f05139524a800cb1ccb files/digest-ogmrip-0.6.2 64
+MD5 605be9978689669c27e4a0d5fbcd57d9 files/digest-ogmrip-0.8.2 64
+MD5 d3c45dfbfd5046c58d6a1e774471e280 files/ogmrip-0.9.0-lang.patch 450
+MD5 0b8ceac327eb68f927a2fbb841bfb53a files/ogmrip-0.9.0-gcc4.patch 5279
+MD5 87e11fb2b44c544d59834a678e353021 files/digest-ogmrip-0.9.0 64
diff --git a/media-video/ogmrip/files/digest-ogmrip-0.6.2 b/media-video/ogmrip/files/digest-ogmrip-0.6.2
new file mode 100644
index 000000000000..199de37c3a36
--- /dev/null
+++ b/media-video/ogmrip/files/digest-ogmrip-0.6.2
@@ -0,0 +1 @@
+MD5 c5a209a82d635523cdf43c5e35a30cd2 ogmrip-0.6.2.tar.gz 469266
diff --git a/media-video/ogmrip/files/digest-ogmrip-0.8.2 b/media-video/ogmrip/files/digest-ogmrip-0.8.2
new file mode 100644
index 000000000000..4f9b5575f51e
--- /dev/null
+++ b/media-video/ogmrip/files/digest-ogmrip-0.8.2
@@ -0,0 +1 @@
+MD5 c84a295d1b67fa69b8c81b89f54c4acc ogmrip-0.8.2.tar.gz 517390
diff --git a/media-video/ogmrip/files/digest-ogmrip-0.9.0 b/media-video/ogmrip/files/digest-ogmrip-0.9.0
new file mode 100644
index 000000000000..8fb731c25baa
--- /dev/null
+++ b/media-video/ogmrip/files/digest-ogmrip-0.9.0
@@ -0,0 +1 @@
+MD5 4884da2f0011c9da86306b19b2d7d310 ogmrip-0.9.0.tar.gz 565778
diff --git a/media-video/ogmrip/files/ogmrip-0.9.0-gcc4.patch b/media-video/ogmrip/files/ogmrip-0.9.0-gcc4.patch
new file mode 100644
index 000000000000..d46ac494489a
--- /dev/null
+++ b/media-video/ogmrip/files/ogmrip-0.9.0-gcc4.patch
@@ -0,0 +1,175 @@
+--- libogmrip/ogmrip-codec.h.orig Wed Aug 24 17:44:16 2005
++++ libogmrip/ogmrip-codec.h Wed Aug 24 17:44:33 2005
+@@ -59,10 +59,10 @@
+
+ void ogmrip_codec_set_chapters (OGMRipCodec *codec,
+ guint start,
+- guint end);
++ gint end);
+ void ogmrip_codec_get_chapters (OGMRipCodec *codec,
+ guint *start,
+- guint *end);
++ gint *end);
+
+ G_END_DECLS
+
+--- libogmrip/ogmrip-codec.c.orig Wed Aug 24 17:44:10 2005
++++ libogmrip/ogmrip-codec.c Wed Aug 24 17:45:10 2005
+@@ -115,17 +115,26 @@
+ }
+
+ void
+-ogmrip_codec_set_chapters (OGMRipCodec *codec, guint start, guint end)
++ogmrip_codec_set_chapters (OGMRipCodec *codec, guint start, gint end)
+ {
+ g_return_if_fail (OGMRIP_IS_CODEC (codec));
+
+ codec->priv->dirty = TRUE;
+- codec->priv->start = MIN (start, end);
+- codec->priv->end = MAX (start, end);
++
++ if (end < 0)
++ {
++ codec->priv->start = start;
++ codec->priv->end = -1;
++ }
++ else
++ {
++ codec->priv->start = MIN (start, end);
++ codec->priv->end = MAX (start, end);
++ }
+ }
+
+ void
+-ogmrip_codec_get_chapters (OGMRipCodec *codec, guint *start, guint *end)
++ogmrip_codec_get_chapters (OGMRipCodec *codec, guint *start, gint *end)
+ {
+ g_return_if_fail (OGMRIP_IS_CODEC (codec));
+ g_return_if_fail (start != NULL);
+--- libogmrip/ogmrip-backend.c.orig Wed Aug 24 17:44:22 2005
++++ libogmrip/ogmrip-backend.c Wed Aug 24 17:47:30 2005
+@@ -274,7 +274,8 @@
+
+ GPtrArray *argv;
+ const gchar *device;
+- gint vid, aid, start, end;
++ gint vid, aid, end;
++ guint start;
+
+ g_return_val_if_fail (OGMRIP_IS_AUDIO (audio), NULL);
+
+@@ -370,7 +371,8 @@
+
+ GPtrArray *argv;
+ const gchar *device;
+- gint vid, aid, start, end;
++ gint vid, aid, end;
++ guint start;
+
+ g_return_val_if_fail (OGMRIP_IS_AUDIO (audio), NULL);
+
+@@ -619,8 +621,8 @@
+ GString *options;
+
+ const gchar *device;
+- gint vid, pass, start, end;
+- gint bitrate;
++ gint vid, pass, bitrate, end;
++ guint start;
+
+ g_return_val_if_fail (OGMRIP_IS_VIDEO (video), NULL);
+
+@@ -729,9 +731,8 @@
+ GString *options;
+
+ const gchar *device;
+- gint vid, pass, start, end;
+- guint cmp, precmp, subcmp;
+- gint dia, predia;
++ gint vid, pass, end, dia, predia;
++ guint start, cmp, precmp, subcmp;
+
+ g_return_val_if_fail (OGMRIP_IS_VIDEO (video), NULL);
+
+@@ -836,7 +837,8 @@
+ GString *options;
+
+ const gchar *device;
+- gint vid, pass, start, end/*, subq*/;
++ gint vid, pass, end/*, subq*/;
++ guint start;
+
+ g_return_val_if_fail (OGMRIP_IS_VIDEO (video), NULL);
+
+@@ -936,7 +938,9 @@
+ GPtrArray *argv;
+
+ const gchar *device;
+- gint vid, start, end;
++ gint vid, end;
++ guint start;
++
+ guint crop_x, crop_y, crop_width, crop_height;
+ guint scale_width, scale_height;
+ gboolean crop, scale;
+@@ -1407,7 +1411,8 @@
+
+ GPtrArray *argv;
+ const gchar *device;
+- gint vid, sid, start, end;
++ gint vid, sid, end;
++ guint start;
+
+ g_return_val_if_fail (OGMRIP_IS_SUBP (subp), NULL);
+
+--- subrip/spudec.c.orig Wed Aug 24 17:48:10 2005
++++ subrip/spudec.c Wed Aug 24 17:48:22 2005
+@@ -365,7 +365,7 @@
+ unsigned int next_off;
+ unsigned int start_pts = 0;
+ unsigned int end_pts = 0;
+- unsigned int current_nibble[2];
++ unsigned int current_nibble[2] = { 0, 0 };
+ unsigned int control_start;
+ unsigned int display = 0;
+ unsigned int start_col = 0;
+--- subrip/vobsub.h.orig Wed Aug 24 17:49:10 2005
++++ subrip/vobsub.h Wed Aug 24 17:49:54 2005
+@@ -13,7 +13,7 @@
+ extern int vobsub_get_packet (void *vobhandle, float pts, void **data,
+ int *timestamp);
+ extern int vobsub_get_next_packet (void *vobhandle, void **data,
+- int *timestamp);
++ unsigned int *timestamp);
+ extern void vobsub_close (void *this);
+ extern unsigned int vobsub_get_indexes_count (void * /* vobhandle */ );
+ extern char *vobsub_get_id (void * /* vobhandle */ ,
+@@ -27,7 +27,7 @@
+ extern void vobsub_out_output (void *me, const unsigned char *packet, int len,
+ double pts);
+ extern void vobsub_out_close (void *me);
+-extern int vobsub_set_from_lang (void *vobhandle, unsigned char *lang);
++extern int vobsub_set_from_lang (void *vobhandle, char *lang);
+ extern unsigned int vobsub_get_forced_subs_flag (void const *const vobhandle);
+ extern void vobsub_seek (void *vobhandle, float pts);
+
+--- subrip/vobsub.c.orig Wed Aug 24 17:48:45 2005
++++ subrip/vobsub.c Wed Aug 24 17:49:45 2005
+@@ -1417,7 +1417,7 @@
+ }
+
+ int
+-vobsub_set_from_lang (void *vobhandle, unsigned char *lang)
++vobsub_set_from_lang (void *vobhandle, char *lang)
+ {
+ int i;
+ vobsub_t *vob = (vobsub_t *) vobhandle;
+@@ -1471,7 +1471,7 @@
+ }
+
+ int
+-vobsub_get_next_packet (void *vobhandle, void **data, int *timestamp)
++vobsub_get_next_packet (void *vobhandle, void **data, unsigned int *timestamp)
+ {
+ vobsub_t *vob = (vobsub_t *) vobhandle;
+ if (vob->spu_streams && 0 <= vobsub_id
diff --git a/media-video/ogmrip/files/ogmrip-0.9.0-lang.patch b/media-video/ogmrip/files/ogmrip-0.9.0-lang.patch
new file mode 100644
index 000000000000..a99f4a78a798
--- /dev/null
+++ b/media-video/ogmrip/files/ogmrip-0.9.0-lang.patch
@@ -0,0 +1,12 @@
+--- src/ogmrip-pref.c.orig 2005-08-18 21:57:57.667814250 +0200
++++ src/ogmrip-pref.c 2005-08-18 22:00:19.612685250 +0200
+@@ -199,8 +199,7 @@
+ GtkTreeModel *model;
+
+ model = gtk_combo_box_get_model (combo);
+- ogmrip_pref_set_active_lang (combo,
+- CLAMP (gconf_value_get_int (entry->value), 0, gtk_tree_model_iter_n_children (model, NULL) - 1));
++ ogmrip_pref_set_active_lang (combo, gconf_value_get_int (entry->value));
+ }
+
+ static void
diff --git a/media-video/ogmrip/metadata.xml b/media-video/ogmrip/metadata.xml
new file mode 100644
index 000000000000..5f776a5642b5
--- /dev/null
+++ b/media-video/ogmrip/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>media-optical</herd>
+<maintainer>
+ <email>pylon@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/media-video/ogmrip/ogmrip-0.6.2.ebuild b/media-video/ogmrip/ogmrip-0.6.2.ebuild
new file mode 100644
index 000000000000..a58b7cfd6ece
--- /dev/null
+++ b/media-video/ogmrip/ogmrip-0.6.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/ogmrip/ogmrip-0.6.2.ebuild,v 1.1 2005/09/17 15:11:09 metalgod Exp $
+
+inherit gnome2 eutils
+
+DESCRIPTION="Application and libraries for encoding DVDs into DivX/OGM files"
+HOMEPAGE="http://ogmrip.sourceforge.net/"
+SRC_URI="mirror://sourceforge/ogmrip/${P}.tar.gz"
+LICENSE="LGPL-2.1"
+
+SLOT="0"
+IUSE="debug gnome matroska subp"
+KEYWORDS="~x86 ~ppc ~amd64"
+
+RDEPEND=">=dev-libs/glib-2.4.6
+ >=media-libs/libdvdread-0.9.4
+ >=media-sound/ogmtools-1.4
+ >=media-sound/vorbis-tools-1.0
+ >=media-sound/lame-3.96
+ >=media-video/mplayer-1.0_pre4
+ matroska? ( >=media-video/mkvtoolnix-0.9 )
+ gnome? ( >=gnome-base/gconf-2.6
+ >=gnome-base/libgnomeui-2.6
+ >=gnome-base/libglade-2.4 )
+ subp? ( >=app-text/gocr-0.39
+ >=app-text/enchant-1.1 )"
+
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.29
+ >=dev-util/pkgconfig-0.12.0"
+
+G2CONF="${G2CONF} $(use_enable gnome gnome-support) $(use_enable debug maintainer-mode) $(use_enable subp enchant-support)"
+
+DOCS="AUTHORS ChangeLog COPYING README INSTALL NEWS TODO"
+
+pkg_setup() {
+ if ! which mencoder 2> /dev/null; then
+ eerror "Unable to find mencoder in the PATH. You need mencoder to use OGMRip."
+ eerror "Please, add encode to your USE flags and emerge mplayer again."
+ die "Unable to find mencoder in the PATH. You need mencoder to use OGMRip."
+ fi
+ if ! mencoder -ovc help 2> /dev/null | grep -q "^ *xvid *- .*$"; then
+ echo
+ eerror "Mplayer is not build with XviD support. OGMRip requires XviD support in mplayer."
+ eerror "Please, add xvid to your USE flags and emerge mplayer again."
+ die "Mplayer is not build with XviD support. OGMRip requires XviD support in mplayer."
+ fi
+}
diff --git a/media-video/ogmrip/ogmrip-0.8.2.ebuild b/media-video/ogmrip/ogmrip-0.8.2.ebuild
new file mode 100644
index 000000000000..43c35a85069c
--- /dev/null
+++ b/media-video/ogmrip/ogmrip-0.8.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/ogmrip/ogmrip-0.8.2.ebuild,v 1.1 2005/09/17 15:11:09 metalgod Exp $
+
+inherit gnome2 eutils
+
+DESCRIPTION="Application and libraries for encoding DVDs into AVI/OGM files"
+HOMEPAGE="http://ogmrip.sourceforge.net/"
+SRC_URI="mirror://sourceforge/ogmrip/${P}.tar.gz"
+LICENSE="LGPL-2.1"
+
+SLOT="0"
+IUSE="debug gnome hal matroska subp"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND=">=dev-libs/glib-2.6
+ >=media-libs/libdvdread-0.9.4
+ >=media-sound/ogmtools-1.4
+ >=media-sound/vorbis-tools-1.0
+ >=media-sound/lame-3.96
+ >=media-video/mplayer-1.0_pre4
+ matroska? ( >=media-video/mkvtoolnix-0.9 )
+ gnome? ( >=x11-libs/gtk+-2.6
+ >=gnome-base/gconf-2.6
+ >=gnome-base/libgnomeui-2.6
+ >=gnome-base/libglade-2.5 )
+ subp? ( >=app-text/gocr-0.39
+ >=app-text/enchant-1.1 )
+ hal? ( >=sys-apps/hal-0.4.2 )"
+
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.29
+ >=dev-util/pkgconfig-0.12.0"
+
+G2CONF="${G2CONF} $(use_enable gnome gnome-support) $(use_enable debug maintainer-mode) $(use_enable subp enchant-support) $(use_enable hal hal-support)"
+
+DOCS="AUTHORS ChangeLog COPYING README INSTALL NEWS TODO"
+
+pkg_setup() {
+ if ! which mencoder > /dev/null 2>&1; then
+ eerror "Unable to find mencoder in the PATH. You need mencoder to use OGMRip."
+ eerror "Please, add encode to your USE flags and emerge mplayer again."
+ die "Unable to find mencoder in the PATH. You need mencoder to use OGMRip."
+ fi
+ if ! mencoder -ovc help 2> /dev/null | grep -q "^ *xvid *- .*$"; then
+ echo
+ eerror "Mplayer is not build with XviD support. OGMRip requires XviD support in mplayer."
+ eerror "Please, add xvid to your USE flags and emerge mplayer again."
+ die "Mplayer is not build with XviD support. OGMRip requires XviD support in mplayer."
+ fi
+}
+
diff --git a/media-video/ogmrip/ogmrip-0.9.0.ebuild b/media-video/ogmrip/ogmrip-0.9.0.ebuild
new file mode 100644
index 000000000000..cee280978fb8
--- /dev/null
+++ b/media-video/ogmrip/ogmrip-0.9.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/ogmrip/ogmrip-0.9.0.ebuild,v 1.1 2005/09/17 15:11:09 metalgod Exp $
+
+inherit gnome2 eutils
+
+DESCRIPTION="Application and libraries for encoding DVDs into AVI/OGM files"
+HOMEPAGE="http://ogmrip.sourceforge.net/"
+SRC_URI="mirror://sourceforge/ogmrip/${P}.tar.gz"
+LICENSE="LGPL-2.1"
+
+SLOT="0"
+IUSE="debug gnome hal matroska subp"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND=">=dev-libs/glib-2.6
+ >=media-libs/libdvdread-0.9.4
+ >=media-sound/ogmtools-1.4
+ >=media-sound/vorbis-tools-1.0
+ >=media-sound/lame-3.96
+ >=media-video/mplayer-1.0_pre4
+ matroska? ( >=media-video/mkvtoolnix-0.9 )
+ gnome? ( >=x11-libs/gtk+-2.6
+ >=gnome-base/gconf-2.6
+ >=gnome-base/libgnomeui-2.6
+ >=gnome-base/libglade-2.5 )
+ subp? ( >=app-text/gocr-0.39
+ >=app-text/enchant-1.1 )
+ hal? ( >=sys-apps/hal-0.4.2 )"
+
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.29
+ >=dev-util/pkgconfig-0.12.0"
+
+G2CONF="${G2CONF} $(use_enable gnome gnome-support) $(use_enable debug maintainer-mode) $(use_enable subp enchant-support) $(use_enable hal hal-support)"
+
+DOCS="AUTHORS ChangeLog COPYING README INSTALL NEWS TODO"
+
+pkg_setup() {
+ if ! which mencoder > /dev/null 2>&1; then
+ eerror "Unable to find mencoder in the PATH. You need mencoder to use OGMRip."
+ eerror "Please, add encode to your USE flags and emerge mplayer again."
+ die "Unable to find mencoder in the PATH. You need mencoder to use OGMRip."
+ fi
+ if ! mencoder -ovc help 2> /dev/null | grep -q "^ *xvid *- .*$"; then
+ echo
+ eerror "Mplayer is not build with XviD support. OGMRip requires XviD support in mplayer."
+ eerror "Please, add xvid to your USE flags and emerge mplayer again."
+ die "Mplayer is not build with XviD support. OGMRip requires XviD support in mplayer."
+ fi
+}
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-lang.patch
+ epatch ${FILESDIR}/${P}-gcc4.patch
+}