Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

4
multimedia/ogle/DESCR Normal file
View File

@@ -0,0 +1,4 @@
Ogle is a open source DVD player that supports DVD menus and navigation.
You should be able to play DVDs directly from the device, a mounted fs, an
image file or a copy on your harddrive. There are keyboard commands for
navigation in both player modes.

View File

@@ -0,0 +1,13 @@
===========================================================================
$NetBSD: MESSAGE.NetBSD,v 1.3 2008/03/12 20:54:37 wiz Exp $
You may need to increase the value of SHMMAXPGS in your kernel
configuration to use ${PKGBASE}, e.g.
options SHMMAXPGS=32768
or on newer releases during runtime, using
sysctl -w kern.ipc.shmmaxpgs=32768
===========================================================================

54
multimedia/ogle/Makefile Normal file
View File

@@ -0,0 +1,54 @@
# $NetBSD: Makefile,v 1.32 2012/10/23 10:24:09 wiz Exp $
DISTNAME= ogle-0.9.2
PKGREVISION= 8
CATEGORIES= multimedia
MASTER_SITES= http://www.dtek.chalmers.se/groups/dvd/dist/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.dtek.chalmers.se/groups/dvd/
COMMENT= DVD player with menus
LICENSE= gnu-gpl-v2
ONLY_FOR_PLATFORM= NetBSD-1.5.[23]*-i386 NetBSD-1.5[Y-Z]*-i386
ONLY_FOR_PLATFORM+= NetBSD-1.6*-i386 NetBSD-[2-9]*-i386
ONLY_FOR_PLATFORM+= NetBSD-1.6[D-Z]*-powerpc
ONLY_FOR_PLATFORM+= NetBSD-[2-9]*-powerpc
ONLY_FOR_PLATFORM+= NetBSD-1.6Z*-alpha NetBSD-[2-9]*-alpha
ONLY_FOR_PLATFORM+= NetBSD-1.6Z*-sparc64 NetBSD-[2-9]*-sparc64
ONLY_FOR_PLATFORM+= NetBSD-*-x86_64
ONLY_FOR_PLATFORM+= Linux-*-*
ONLY_FOR_PLATFORM+= SunOS-*-* DragonFly-*-*
USE_TOOLS+= gmake
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS=${CPPFLAGS:M*:Q}
#CONFIGURE_ARGS+= --enable-obsdaudio
#CONFIGURE_ARGS+= --disable-sunaudio
GCC_REQD+= 2.95.3
.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc-4*)
WRAPPER_TRANSFORM_CMDS+= opt:-mcpu=pentiumpro:-mtune=pentiumpro
.endif
MESSAGE_SUBST+= PKGBASE=${PKGBASE}
BUILDLINK_API_DEPENDS.libdvdread+= libdvdread>=4.1.3
.include "../../audio/liba52/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../multimedia/libdvdread/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXinerama/buildlink3.mk"
.include "../../x11/libXv/buildlink3.mk"
.include "../../x11/libXxf86vm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

30
multimedia/ogle/PLIST Normal file
View File

@@ -0,0 +1,30 @@
@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:08:09 joerg Exp $
bin/ifo_dump
bin/ogle
include/ogle/dvd.h
include/ogle/dvdbookmarks.h
include/ogle/dvdcontrol.h
include/ogle/dvdevents.h
include/ogle/msgevents.h
lib/ogle/libdvdcontrol.la
lib/ogle/libmsgevents.la
lib/ogle/ogle_ac3_p
lib/ogle/ogle_audio
lib/ogle/ogle_audio_debug
lib/ogle/ogle_cli
lib/ogle/ogle_cli_debug
lib/ogle/ogle_ctrl
lib/ogle/ogle_ctrl_debug
lib/ogle/ogle_gui_debug
lib/ogle/ogle_mpeg_ps
lib/ogle/ogle_mpeg_ps_debug
lib/ogle/ogle_mpeg_vs
lib/ogle/ogle_mpeg_vs_debug
lib/ogle/ogle_nav
lib/ogle/ogle_nav_debug
lib/ogle/ogle_vout
lib/ogle/ogle_vout_debug
man/man1/ogle.1
man/man5/oglerc.5
share/ogle/ogle_conf.dtd
share/ogle/oglerc

View File

@@ -0,0 +1,15 @@
# $NetBSD: buildlink3.mk,v 1.9 2012/06/14 07:43:07 sbd Exp $
BUILDLINK_TREE+= ogle
.if !defined(OGLE_BUILDLINK3_MK)
OGLE_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ogle+= ogle>=0.9.2
BUILDLINK_ABI_DEPENDS.ogle+= ogle>=0.9.2nb8
BUILDLINK_PKGSRCDIR.ogle?= ../../multimedia/ogle
.include "../../textproc/libxml2/buildlink3.mk"
.endif # OGLE_BUILDLINK3_MK
BUILDLINK_TREE+= -ogle

9
multimedia/ogle/distinfo Normal file
View File

@@ -0,0 +1,9 @@
$NetBSD: distinfo,v 1.6 2012/04/07 08:28:45 he Exp $
SHA1 (ogle-0.9.2.tar.gz) = bf44e835d04634b4e52fb50bab2a1b78e69391eb
RMD160 (ogle-0.9.2.tar.gz) = 16055614b5a3b336aa42a96efc0456bf88f37129
Size (ogle-0.9.2.tar.gz) = 488984 bytes
SHA1 (patch-aa) = 95778b6a78f8d37416428bc27b709ed64bf4533a
SHA1 (patch-ab) = 0a4837639fd3e0dbab6ff804962f62fd7971582c
SHA1 (patch-ac) = c30136ad38ff2238abfafe0fad419a4214acbb03
SHA1 (patch-ad) = d1e9150f7544175f4bdf3b3fbc8fb3d072c04b5c

View File

@@ -0,0 +1,20 @@
$NetBSD: patch-aa,v 1.2 2012/04/07 08:28:45 he Exp $
Also handle DragonFly BSD.
--- include/ogle_endian.h.orig 2005-12-07 19:00:42.000000000 +0000
+++ include/ogle_endian.h
@@ -42,11 +42,11 @@
# include <sys/bswap.h>
# define FROM_BE_16(x) (bswap16(x))
# define FROM_BE_32(x) (bswap32(x))
-#elif defined(HAVE_SYS_ENDIAN_H) && !defined(__FreeBSD__)
+#elif defined(HAVE_SYS_ENDIAN_H) && !defined(__FreeBSD__) && !defined(__DragonFly__)
# include <sys/endian.h>
# define FROM_BE_16(x) (swap16(x))
# define FROM_BE_32(x) (swap32(x))
-#elif defined(HAVE_SYS_ENDIAN_H) && defined(__FreeBSD__) && __FreeBSD_version >= 470000
+#elif defined(HAVE_SYS_ENDIAN_H) && ((defined(__FreeBSD__) && __FreeBSD_version >= 470000) || defined(__DragonFly__))
# include <sys/endian.h>
# define FROM_BE_16(x) (be16toh(x))
# define FROM_BE_32(x) (be32toh(x))

View File

@@ -0,0 +1,32 @@
$NetBSD: patch-ab,v 1.2 2012/04/07 08:28:45 he Exp $
Also handle DragonFly BSD.
--- configure.orig 2005-12-07 19:04:43.000000000 +0000
+++ configure
@@ -7850,6 +7850,7 @@ else
cat conftest.$ac_ext >&5
ac_cv_always_inline=no
fi
+case ${host_os} in dragonfly*) ac_cv_always_inline=no;; esac
rm -f conftest.$ac_objext conftest.$ac_ext
CFLAGS="$SAVE_CFLAGS"
echo "$as_me:$LINENO: result: $ac_cv_always_inline" >&5
@@ -12864,7 +12865,7 @@ if test "${enable_oss+set}" = set; then
fi;
if test "x$enable_oss" != xno; then
case "$host" in
- *-linux*|*-openbsd*|*-freebsd*|*-bsdi*)
+ *-linux*|*-openbsd*|*-freebsd*|*-bsdi*|*-dragonfly*)
cat >>confdefs.h <<\_ACEOF
@@ -13764,7 +13765,7 @@ solaris*)
linux*)
DEFAULT_DVD_DEVICE="/dev/dvd"
;;
-freebsd*)
+freebsd* | dragonfly*)
DEFAULT_DVD_DEVICE="/dev/acd0c"
;;
netbsd*)

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-ac,v 1.2 2012/04/07 08:28:45 he Exp $
Make program_name a global.
--- ac3/ac3dec_wrap.c.orig 2003-03-02 15:50:03.000000000 +0000
+++ ac3/ac3dec_wrap.c
@@ -48,7 +48,7 @@ static int attach_stream_buffer(uint8_t
static void handle_events(MsgEventQ_t *q, MsgEvent_t *ev);
-static char *program_name;
+char *program_name;
static FILE *outfile;

View File

@@ -0,0 +1,129 @@
$NetBSD: patch-ad,v 1.2 2012/04/07 08:28:45 he Exp $
Adapt to libdvdread 4.2.0 (actually >= 4.1.3).
--- vmg/ifo_dump.c.orig 2003-06-25 16:12:43.000000000 +0000
+++ vmg/ifo_dump.c
@@ -59,121 +59,8 @@ static void print_ifo(char *path, int ti
return;
}
- if((h = ifoOpen(dvd, title)) == NULL)
- return;
-
- if(h->vmgi_mat != NULL) {
+ ifo_print(dvd, title);
- printf("VMG top level\n-------------\n");
- ifoPrint_VMGI_MAT(h->vmgi_mat);
-
- printf("\nFirst Play PGC\n--------------\n");
- ifoPrint_PGC(h->first_play_pgc);
-
- printf("\nTitle Track search pointer table\n");
- printf( "------------------------------------------------\n");
- ifoPrint_TT_SRPT(h->tt_srpt);
-
- printf("\nMenu PGCI Unit table\n");
- printf( "--------------------\n");
- if(h->vmgi_mat->vmgm_pgci_ut != 0) {
- ifoPrint_PGCI_UT(h->pgci_ut);
- } else
- printf("No Menu PGCI Unit table present\n");
-
- printf("\nParental Manegment Information table\n");
- printf( "------------------------------------\n");
- if(h->vmgi_mat->ptl_mait != 0) {
- ifoPrint_PTL_MAIT(h->ptl_mait);
- } else
- printf("No Parental Management Information present\n");
-
- printf("\nVideo Title Set Attribute Table\n");
- printf( "-------------------------------\n");
- ifoPrint_VTS_ATRT(h->vts_atrt);
-
-
- printf("\nText Data Manager Information\n");
- printf( "-----------------------------\n");
- if(h->vmgi_mat->txtdt_mgi != 0) {
- //ifoPrint_TXTDT_MGI(h->txtdt_mgi);
- printf("Can't print Text Data Manager Information yet\n");
- } else
- printf("No Text Data Manager Information present\n");
-
- if(1) {
-
- printf("\nCell Address table\n");
- printf( "-----------------\n");
- if(h->vmgi_mat->vmgm_c_adt != 0) {
- ifoPrint_C_ADT(h->menu_c_adt);
- } else
- printf("No Cell Address table present\n");
-
- printf("\nVideo Title set Menu VOBU address map\n");
- printf( "-----------------\n");
- if(h->vmgi_mat->vmgm_vobu_admap != 0) {
- ifoPrint_VOBU_ADMAP(h->menu_vobu_admap);
- } else
- printf("No Menu VOBU address map present\n");
- }
- }
-
- if(h->vtsi_mat != NULL) {
-
- printf("VTS top level\n-------------\n");
- ifoPrint_VTSI_MAT(h->vtsi_mat);
-
- printf("\nPart of title search pointer table information\n");
- printf( "----------------------------------------------\n");
- ifoPrint_VTS_PTT_SRPT(h->vts_ptt_srpt);
-
- printf("\nPGCI Unit table\n");
- printf( "--------------------\n");
- ifoPrint_PGCIT(h->vts_pgcit);
-
- printf("\nMenu PGCI Unit table\n");
- printf( "--------------------\n");
- if(h->vtsi_mat->vtsm_pgci_ut != 0) {
- ifoPrint_PGCI_UT(h->pgci_ut);
- } else
- printf("No Menu PGCI Unit table present\n");
-
- if(1) {
-
- printf("\nTime Map table\n");
- printf( "-----------------\n");
- if(h->vtsi_mat->vts_tmapt != 0) {
- ifoPrint_VTS_TMAPT(h->vts_tmapt);
- } else
- printf("No Time Map table present\n");
-
- printf("\nMenu Cell Address table\n");
- printf( "-----------------\n");
- if(h->vtsi_mat->vtsm_c_adt != 0) {
- ifoPrint_C_ADT(h->menu_c_adt);
- } else
- printf("No Cell Address table present\n");
-
- printf("\nVideo Title Set Menu VOBU address map\n");
- printf( "-----------------\n");
- if(h->vtsi_mat->vtsm_vobu_admap != 0) {
- ifoPrint_VOBU_ADMAP(h->menu_vobu_admap);
- } else
- printf("No Menu VOBU address map present\n");
-
- printf("\nCell Address table\n");
- printf( "-----------------\n");
- ifoPrint_C_ADT(h->vts_c_adt);
-
- printf("\nVideo Title Set VOBU address map\n");
- printf( "-----------------\n");
- ifoPrint_VOBU_ADMAP(h->vts_vobu_admap);
-
- }
- }
-
-
/* Vob */
}