New port ogle-gui version 0.7.5: An add-on graphical user interface

for Ogle

Reviewed by:	Björn Englund <d4bjorn@dtek.chalmers.se>,
		Håkan Hjort <d95hjort@dtek.chalmers.se>
		(both are ogle developers)
Tested by:	chris@choll.freeserve.co.uk,
		Brooks Davis <brooks@one-eyed-alien.net>,
		Jason Andresen <jandrese@mitre.org>,
		MANTANI Nobutaka <nobutaka@nobutaka.com>,
		Oliver Brandmueller <ob@e-Gitt.NET>,
		Scott Long <scott_long@btc.adaptec.com>,
		Volker Stolz <stolz@hyperion.informatik.rwth-aachen.de>
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2001-10-26 15:40:05 +00:00
parent b4e36dc966
commit 109111b8b3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=49222
21 changed files with 363 additions and 0 deletions

View file

@ -179,6 +179,7 @@
SUBDIR += netshow SUBDIR += netshow
SUBDIR += nurbs++ SUBDIR += nurbs++
SUBDIR += ogle SUBDIR += ogle
SUBDIR += ogle-gui
SUBDIR += opendis SUBDIR += opendis
SUBDIR += opendx SUBDIR += opendx
SUBDIR += opendx-samples SUBDIR += opendx-samples

View file

@ -0,0 +1,44 @@
# New ports collection makefile for: ogle
# Date created: Tue Oct 16 18:35:39 BRST 2001
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ogle
PORTVERSION= 0.7.5
CATEGORIES= graphics gnome
MASTER_SITES= http://www.dtek.chalmers.se/groups/dvd/dist/
PKGNAMESUFFIX= -gui
DISTNAME= ${PORTNAME}_gui-${PORTVERSION}
MAINTAINER= lioux@FreeBSD.org
BUILD_DEPENDS= automake:${PORTSDIR}/devel/automake
LIB_DEPENDS= dvdcontrol.4:${PORTSDIR}/graphics/ogle \
intl.1:${PORTSDIR}/devel/gettext \
jpeg.9:${PORTSDIR}/graphics/jpeg
RUN_DEPENDS= ogle:${PORTSDIR}/graphics/ogle
USE_X_PREFIX= yes
USE_GNOMELIBS= yes
USE_GTK= yes
USE_XPM= yes
GNU_CONFIGURE= yes
USE_AUTOCONF= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-dvd-includes=${LOCALBASE}/include \
--with-dvdcontrol=${LOCALBASE} \
--without-included-gettext
post-patch:
@${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC}
pre-configure:
.for file in intl/Makefile.in po/Makefile.in.in
@${ECHO} 'all:' > ${WRKSRC}/${file}
@${ECHO} 'install:' >> ${WRKSRC}/${file}
.endfor
.include <bsd.port.mk>

View file

@ -0,0 +1 @@
MD5 (ogle_gui-0.7.5.tar.gz) = 1fe07e24fb43c6034f923b2d73fb2559

View file

@ -0,0 +1,10 @@
--- Makefile.am.orig Mon Oct 22 16:42:37 2001
+++ Makefile.am Mon Oct 22 16:42:40 2001
@@ -1,6 +1,6 @@
## Process this file with automake to produce Makefile.in
-SUBDIRS = intl po macros src doc
+SUBDIRS = intl po src
install-data-local:
@$(NORMAL_INSTALL)

View file

@ -0,0 +1,25 @@
--- configure.in.orig Tue Sep 18 22:31:48 2001
+++ configure.in Thu Oct 25 14:19:39 2001
@@ -19,6 +19,9 @@
GNOME_COMPILE_WARNINGS
GNOME_X_CHECKS
+dnl Checks for header files.
+AC_CHECK_HEADERS(sys/param.h)
+
dnl Add the languages which your application supports here.
ALL_LINGUAS=""
AM_GNU_GETTEXT
@@ -86,6 +89,12 @@
;;
linux*)
AC_DEFINE(LINUX, 1, [This is a Linux system])
+ ;;
+ freebsd*)
+ AC_DEFINE(FREEBSD, 1, [This is a FreeBSD system])
+ ;;
+ netbsd*|openbsd*)
+ AC_DEFINE(BSDfamily, 1, [This is a BSD system])
;;
*)
epa

View file

@ -0,0 +1,13 @@
--- src/callbacks.c.orig Mon Sep 17 23:20:48 2001
+++ src/callbacks.c Mon Oct 22 15:45:26 2001
@@ -124,6 +124,10 @@
#else
#ifdef SOLARIS
char *dev="/cdrom/cdrom0";
+#elif FREEBSD
+ char *dev="/dev/acd0c";
+#elif BSDfamily
+ char *dev="/dev/racd0c";
#else
#error "No default path."
#endif

View file

@ -0,0 +1,37 @@
--- src/xsniffer.c.orig Thu Sep 6 14:10:17 2001
+++ src/xsniffer.c Thu Oct 25 18:22:04 2001
@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@@ -35,6 +39,9 @@
#include "xsniffer.h"
#include "callbacks.h"
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
extern int msgqid;
@@ -66,7 +73,12 @@
fprintf(stderr, "xsniff_mouse\n");
while(1) {
- DVDNextEvent(nav2, &mev);
+#if (defined(BSD) && (BSD >= 199306))
+ if (DVDNextEventNonBlocking(nav2, &mev) != DVD_E_Ok)
+#else
+ if (DVDNextEvent(nav2, &mev) != DVD_E_Ok)
+#endif
+ pthread_exit(NULL);
switch(mev.type) {

View file

@ -0,0 +1 @@
An add-on graphical user interface for Ogle

View file

@ -0,0 +1,20 @@
[ from developer's site ]
This is a Graphical Interface for Ogle.
Ogle is an open DVD player which:
o Supports DVD menus and navigation
o Reads from mounted, unmounted DVDs and hard drive
o Reads encrypted and unencrypted DVDs using libdvdread/libdvdcss
o A new MPEG2 decoder with mmx/altivec/medialib acceleration
o Normal X11 and XFree86 Xvideo display support with subpicture
overlay
o Accelerated display on Sun FFB2+ cards
o Angle, audio and subpicture selection
o Handles advanced subpicture commands such as fade/scroll and wipe
o Detects and uses correct aspect for movie and menus
o Possible to play AC3 via S/PDIF with an external command
o Fullscreen mode
o Screenshots with and without subpicture overlay
WWW: http://www.dtek.chalmers.se/~dvd/

View file

@ -0,0 +1,7 @@
=============================================
To use the graphical interface, just run Ogle
It will detect the graphical interface
Run 'ogle'
=============================================

View file

@ -0,0 +1,23 @@
bin/ogle_gui
share/pixmaps/ogle_gui/angle.xpm
share/pixmaps/ogle_gui/enter.xpm
share/pixmaps/ogle_gui/fastforward.xpm
share/pixmaps/ogle_gui/go_up.xpm
share/pixmaps/ogle_gui/menus.xpm
share/pixmaps/ogle_gui/rewind.xpm
share/pixmaps/ogle_gui/skip_backwards.xpm
share/pixmaps/ogle_gui/skip_forwards.xpm
share/pixmaps/ogle_gui/stock_down_arrow.xpm
share/pixmaps/ogle_gui/stock_first.xpm
share/pixmaps/ogle_gui/stock_last.xpm
share/pixmaps/ogle_gui/stock_left_arrow.xpm
share/pixmaps/ogle_gui/stock_pause.xpm
share/pixmaps/ogle_gui/stock_right_arrow.xpm
share/pixmaps/ogle_gui/stock_stop.xpm
share/pixmaps/ogle_gui/stock_timer.xpm
share/pixmaps/ogle_gui/stock_timer_stopped.xpm
share/pixmaps/ogle_gui/stock_up_arrow.xpm
share/pixmaps/ogle_gui/stock_volume.xpm
share/pixmaps/ogle_gui/subpicture.xpm
@dirrm share/pixmaps/ogle_gui
@unexec rmdir share/pixmaps 2>/dev/null || true

View file

@ -0,0 +1,44 @@
# New ports collection makefile for: ogle
# Date created: Tue Oct 16 18:35:39 BRST 2001
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ogle
PORTVERSION= 0.7.5
CATEGORIES= graphics gnome
MASTER_SITES= http://www.dtek.chalmers.se/groups/dvd/dist/
PKGNAMESUFFIX= -gui
DISTNAME= ${PORTNAME}_gui-${PORTVERSION}
MAINTAINER= lioux@FreeBSD.org
BUILD_DEPENDS= automake:${PORTSDIR}/devel/automake
LIB_DEPENDS= dvdcontrol.4:${PORTSDIR}/graphics/ogle \
intl.1:${PORTSDIR}/devel/gettext \
jpeg.9:${PORTSDIR}/graphics/jpeg
RUN_DEPENDS= ogle:${PORTSDIR}/graphics/ogle
USE_X_PREFIX= yes
USE_GNOMELIBS= yes
USE_GTK= yes
USE_XPM= yes
GNU_CONFIGURE= yes
USE_AUTOCONF= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-dvd-includes=${LOCALBASE}/include \
--with-dvdcontrol=${LOCALBASE} \
--without-included-gettext
post-patch:
@${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC}
pre-configure:
.for file in intl/Makefile.in po/Makefile.in.in
@${ECHO} 'all:' > ${WRKSRC}/${file}
@${ECHO} 'install:' >> ${WRKSRC}/${file}
.endfor
.include <bsd.port.mk>

View file

@ -0,0 +1 @@
MD5 (ogle_gui-0.7.5.tar.gz) = 1fe07e24fb43c6034f923b2d73fb2559

View file

@ -0,0 +1,10 @@
--- Makefile.am.orig Mon Oct 22 16:42:37 2001
+++ Makefile.am Mon Oct 22 16:42:40 2001
@@ -1,6 +1,6 @@
## Process this file with automake to produce Makefile.in
-SUBDIRS = intl po macros src doc
+SUBDIRS = intl po src
install-data-local:
@$(NORMAL_INSTALL)

View file

@ -0,0 +1,25 @@
--- configure.in.orig Tue Sep 18 22:31:48 2001
+++ configure.in Thu Oct 25 14:19:39 2001
@@ -19,6 +19,9 @@
GNOME_COMPILE_WARNINGS
GNOME_X_CHECKS
+dnl Checks for header files.
+AC_CHECK_HEADERS(sys/param.h)
+
dnl Add the languages which your application supports here.
ALL_LINGUAS=""
AM_GNU_GETTEXT
@@ -86,6 +89,12 @@
;;
linux*)
AC_DEFINE(LINUX, 1, [This is a Linux system])
+ ;;
+ freebsd*)
+ AC_DEFINE(FREEBSD, 1, [This is a FreeBSD system])
+ ;;
+ netbsd*|openbsd*)
+ AC_DEFINE(BSDfamily, 1, [This is a BSD system])
;;
*)
epa

View file

@ -0,0 +1,13 @@
--- src/callbacks.c.orig Mon Sep 17 23:20:48 2001
+++ src/callbacks.c Mon Oct 22 15:45:26 2001
@@ -124,6 +124,10 @@
#else
#ifdef SOLARIS
char *dev="/cdrom/cdrom0";
+#elif FREEBSD
+ char *dev="/dev/acd0c";
+#elif BSDfamily
+ char *dev="/dev/racd0c";
#else
#error "No default path."
#endif

View file

@ -0,0 +1,37 @@
--- src/xsniffer.c.orig Thu Sep 6 14:10:17 2001
+++ src/xsniffer.c Thu Oct 25 18:22:04 2001
@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@@ -35,6 +39,9 @@
#include "xsniffer.h"
#include "callbacks.h"
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
extern int msgqid;
@@ -66,7 +73,12 @@
fprintf(stderr, "xsniff_mouse\n");
while(1) {
- DVDNextEvent(nav2, &mev);
+#if (defined(BSD) && (BSD >= 199306))
+ if (DVDNextEventNonBlocking(nav2, &mev) != DVD_E_Ok)
+#else
+ if (DVDNextEvent(nav2, &mev) != DVD_E_Ok)
+#endif
+ pthread_exit(NULL);
switch(mev.type) {

View file

@ -0,0 +1 @@
An add-on graphical user interface for Ogle

View file

@ -0,0 +1,20 @@
[ from developer's site ]
This is a Graphical Interface for Ogle.
Ogle is an open DVD player which:
o Supports DVD menus and navigation
o Reads from mounted, unmounted DVDs and hard drive
o Reads encrypted and unencrypted DVDs using libdvdread/libdvdcss
o A new MPEG2 decoder with mmx/altivec/medialib acceleration
o Normal X11 and XFree86 Xvideo display support with subpicture
overlay
o Accelerated display on Sun FFB2+ cards
o Angle, audio and subpicture selection
o Handles advanced subpicture commands such as fade/scroll and wipe
o Detects and uses correct aspect for movie and menus
o Possible to play AC3 via S/PDIF with an external command
o Fullscreen mode
o Screenshots with and without subpicture overlay
WWW: http://www.dtek.chalmers.se/~dvd/

View file

@ -0,0 +1,7 @@
=============================================
To use the graphical interface, just run Ogle
It will detect the graphical interface
Run 'ogle'
=============================================

View file

@ -0,0 +1,23 @@
bin/ogle_gui
share/pixmaps/ogle_gui/angle.xpm
share/pixmaps/ogle_gui/enter.xpm
share/pixmaps/ogle_gui/fastforward.xpm
share/pixmaps/ogle_gui/go_up.xpm
share/pixmaps/ogle_gui/menus.xpm
share/pixmaps/ogle_gui/rewind.xpm
share/pixmaps/ogle_gui/skip_backwards.xpm
share/pixmaps/ogle_gui/skip_forwards.xpm
share/pixmaps/ogle_gui/stock_down_arrow.xpm
share/pixmaps/ogle_gui/stock_first.xpm
share/pixmaps/ogle_gui/stock_last.xpm
share/pixmaps/ogle_gui/stock_left_arrow.xpm
share/pixmaps/ogle_gui/stock_pause.xpm
share/pixmaps/ogle_gui/stock_right_arrow.xpm
share/pixmaps/ogle_gui/stock_stop.xpm
share/pixmaps/ogle_gui/stock_timer.xpm
share/pixmaps/ogle_gui/stock_timer_stopped.xpm
share/pixmaps/ogle_gui/stock_up_arrow.xpm
share/pixmaps/ogle_gui/stock_volume.xpm
share/pixmaps/ogle_gui/subpicture.xpm
@dirrm share/pixmaps/ogle_gui
@unexec rmdir share/pixmaps 2>/dev/null || true