aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-10-26 23:40:05 +0800
committerlioux <lioux@FreeBSD.org>2001-10-26 23:40:05 +0800
commit7fdd1cb395b5eb23b05340517dbfba6179d76e74 (patch)
tree0b8cf46190dbe885af923ae1d4330eb735f4313d /graphics
parent49ecae909aa15fb57cea56a51d4d65ccfcf6030b (diff)
downloadfreebsd-ports-gnome-7fdd1cb395b5eb23b05340517dbfba6179d76e74.tar.gz
freebsd-ports-gnome-7fdd1cb395b5eb23b05340517dbfba6179d76e74.tar.zst
freebsd-ports-gnome-7fdd1cb395b5eb23b05340517dbfba6179d76e74.zip
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>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/ogle-gui/Makefile44
-rw-r--r--graphics/ogle-gui/distinfo1
-rw-r--r--graphics/ogle-gui/files/patch-Makefile.am10
-rw-r--r--graphics/ogle-gui/files/patch-configure.in25
-rw-r--r--graphics/ogle-gui/files/patch-src::callbacks.c13
-rw-r--r--graphics/ogle-gui/files/patch-src::xsniffer.c37
-rw-r--r--graphics/ogle-gui/pkg-comment1
-rw-r--r--graphics/ogle-gui/pkg-descr20
-rw-r--r--graphics/ogle-gui/pkg-message7
-rw-r--r--graphics/ogle-gui/pkg-plist23
11 files changed, 182 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index d6833b4c0d90..4ae7b956dc28 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -179,6 +179,7 @@
SUBDIR += netshow
SUBDIR += nurbs++
SUBDIR += ogle
+ SUBDIR += ogle-gui
SUBDIR += opendis
SUBDIR += opendx
SUBDIR += opendx-samples
diff --git a/graphics/ogle-gui/Makefile b/graphics/ogle-gui/Makefile
new file mode 100644
index 000000000000..7d376c873e6e
--- /dev/null
+++ b/graphics/ogle-gui/Makefile
@@ -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>
diff --git a/graphics/ogle-gui/distinfo b/graphics/ogle-gui/distinfo
new file mode 100644
index 000000000000..0cde9db8a517
--- /dev/null
+++ b/graphics/ogle-gui/distinfo
@@ -0,0 +1 @@
+MD5 (ogle_gui-0.7.5.tar.gz) = 1fe07e24fb43c6034f923b2d73fb2559
diff --git a/graphics/ogle-gui/files/patch-Makefile.am b/graphics/ogle-gui/files/patch-Makefile.am
new file mode 100644
index 000000000000..ad90adf3b110
--- /dev/null
+++ b/graphics/ogle-gui/files/patch-Makefile.am
@@ -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)
diff --git a/graphics/ogle-gui/files/patch-configure.in b/graphics/ogle-gui/files/patch-configure.in
new file mode 100644
index 000000000000..205687967d8d
--- /dev/null
+++ b/graphics/ogle-gui/files/patch-configure.in
@@ -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
diff --git a/graphics/ogle-gui/files/patch-src::callbacks.c b/graphics/ogle-gui/files/patch-src::callbacks.c
new file mode 100644
index 000000000000..7f8c947bad78
--- /dev/null
+++ b/graphics/ogle-gui/files/patch-src::callbacks.c
@@ -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
diff --git a/graphics/ogle-gui/files/patch-src::xsniffer.c b/graphics/ogle-gui/files/patch-src::xsniffer.c
new file mode 100644
index 000000000000..ced8dfcc2cff
--- /dev/null
+++ b/graphics/ogle-gui/files/patch-src::xsniffer.c
@@ -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) {
+
diff --git a/graphics/ogle-gui/pkg-comment b/graphics/ogle-gui/pkg-comment
new file mode 100644
index 000000000000..32ceaaf5bd0e
--- /dev/null
+++ b/graphics/ogle-gui/pkg-comment
@@ -0,0 +1 @@
+An add-on graphical user interface for Ogle
diff --git a/graphics/ogle-gui/pkg-descr b/graphics/ogle-gui/pkg-descr
new file mode 100644
index 000000000000..cd282c548f21
--- /dev/null
+++ b/graphics/ogle-gui/pkg-descr
@@ -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/
diff --git a/graphics/ogle-gui/pkg-message b/graphics/ogle-gui/pkg-message
new file mode 100644
index 000000000000..edbec57ce332
--- /dev/null
+++ b/graphics/ogle-gui/pkg-message
@@ -0,0 +1,7 @@
+
+=============================================
+To use the graphical interface, just run Ogle
+It will detect the graphical interface
+Run 'ogle'
+=============================================
+
diff --git a/graphics/ogle-gui/pkg-plist b/graphics/ogle-gui/pkg-plist
new file mode 100644
index 000000000000..dc736716b313
--- /dev/null
+++ b/graphics/ogle-gui/pkg-plist
@@ -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