On Thu, Mar 14, 2013 at 01:26:15PM +0100, Pascal Stumpf wrote:
> Update to 1.0.0. No header/API changes, and multimedia/shrip is still
> happy.
How does this program even work? I load up ogmrip and it can't find the
DVD disc.
It looks like this should be added to the port, but even with that it
doesn't find the DVD disc.
$OpenBSD$
--- libogmdvd/ogmdvd-disc.c.orig Sat Mar 16 01:32:35 2013
+++ libogmdvd/ogmdvd-disc.c Sat Mar 16 01:35:27 2013
@@ -607,7 +607,11 @@ ogmdvd_disc_new (const gchar *device, GError **error)
g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
if (!device || !*device)
+#ifdef __OpenBSD__
+ device = "/dev/cd0c";
+#else
device = "/dev/dvd";
+#endif
reader = dvd_open_reader (device, error);
if (!reader)
> Index: Makefile
> ===================================================================
> RCS file: /home/pascal/cvs/ports/multimedia/ogmrip/Makefile,v
> retrieving revision 1.5
> diff -u -p -r1.5 Makefile
> --- Makefile 6 Feb 2013 14:23:06 -0000 1.5
> +++ Makefile 14 Mar 2013 12:21:03 -0000
> @@ -5,11 +5,10 @@ SHARED_ONLY = Yes
> COMMENT-main = DVD ripper/converter
> COMMENT-dvdcpy = copy selected info from DVD
>
> -V = 0.13.8
> +V = 1.0.0
> DISTNAME = ogmrip-$V
> PKGNAME-main = ogmrip-$V
> PKGNAME-dvdcpy = dvdcpy-$V
> -REVISION-main = 2
>
> SHARED_LIBS += ogmdvd-gtk 0.0 # 1.0
> SHARED_LIBS += ogmdvd 0.0 # 1.0
> @@ -53,7 +52,7 @@ MODULES = devel/gettext \
> BUILD_DEPENDS = x11/mplayer \
> textproc/gsed
> RUN_DEPENDS-main = ${RUN_DEPENDS} \
> - STEM->=0.13.8:${PKGPATH},-dvdcpy \
> + STEM->=1.0.0:${PKGPATH},-dvdcpy \
> x11/mplayer \
> audio/lame \
> multimedia/mkvtoolnix \
> Index: distinfo
> ===================================================================
> RCS file: /home/pascal/cvs/ports/multimedia/ogmrip/distinfo,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 distinfo
> --- distinfo 26 Jun 2012 11:46:06 -0000 1.1.1.1
> +++ distinfo 14 Mar 2013 12:11:19 -0000
> @@ -1,5 +1,2 @@
> -MD5 (ogmrip-0.13.8.tar.gz) = O0iuRg7fBG/bJB3wkom0DQ==
> -RMD160 (ogmrip-0.13.8.tar.gz) = xvSGd5CwfDLE+LRpPtV2hEr6g7I=
> -SHA1 (ogmrip-0.13.8.tar.gz) = T4yAsxtp7C/ifcy7iwEElSZbz/U=
> -SHA256 (ogmrip-0.13.8.tar.gz) = 6mp15sxP598e1lZIryCMh3SJWaazcoR7EAXDuSzFpCM=
> -SIZE (ogmrip-0.13.8.tar.gz) = 3254176
> +SHA256 (ogmrip-1.0.0.tar.gz) = aEimIhUqYombboducOw23xr3vpgDuLnICe1jEZa8GMw=
> +SIZE (ogmrip-1.0.0.tar.gz) = 3262205
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.