pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/unicap unicap provides a uniform interface to...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3b719ed44d6e
branches: trunk
changeset: 546914:3b719ed44d6e
user: jmcneill <jmcneill%pkgsrc.org@localhost>
date: Tue Sep 09 11:50:18 2008 +0000
description:
unicap provides a uniform interface to video capture devices. It allows
applications to use any supported video capture device via a single API.
diffstat:
graphics/unicap/DESCR | 2 +
graphics/unicap/Makefile | 37 ++++++++++++
graphics/unicap/PLIST | 76 ++++++++++++++++++++++++++
graphics/unicap/buildlink3.mk | 23 +++++++
graphics/unicap/distinfo | 23 +++++++
graphics/unicap/patches/patch-aa | 30 ++++++++++
graphics/unicap/patches/patch-ab | 15 +++++
graphics/unicap/patches/patch-ac | 19 ++++++
graphics/unicap/patches/patch-ad | 15 +++++
graphics/unicap/patches/patch-ae | 18 ++++++
graphics/unicap/patches/patch-af | 15 +++++
graphics/unicap/patches/patch-ag | 18 ++++++
graphics/unicap/patches/patch-ah | 46 +++++++++++++++
graphics/unicap/patches/patch-ai | 18 ++++++
graphics/unicap/patches/patch-aj | 17 +++++
graphics/unicap/patches/patch-ak | 18 ++++++
graphics/unicap/patches/patch-al | 18 ++++++
graphics/unicap/patches/patch-am | 26 ++++++++
graphics/unicap/patches/patch-an | 17 +++++
graphics/unicap/patches/patch-ao | 26 ++++++++
graphics/unicap/patches/patch-ap | 113 +++++++++++++++++++++++++++++++++++++++
graphics/unicap/patches/patch-aq | 23 +++++++
graphics/unicap/patches/patch-ar | 23 +++++++
23 files changed, 636 insertions(+), 0 deletions(-)
diffs (truncated from 728 to 300 lines):
diff -r 7884319aa166 -r 3b719ed44d6e graphics/unicap/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/unicap/DESCR Tue Sep 09 11:50:18 2008 +0000
@@ -0,0 +1,2 @@
+unicap provides a uniform interface to video capture devices. It allows
+applications to use any supported video capture device via a single API.
diff -r 7884319aa166 -r 3b719ed44d6e graphics/unicap/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/unicap/Makefile Tue Sep 09 11:50:18 2008 +0000
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/09/09 11:50:18 jmcneill Exp $
+
+DISTNAME= unicap-0.9.1
+CATEGORIES= graphics
+MASTER_SITES= http://unicap-imaging.org/downloads/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://unicap-imaging.org/
+COMMENT= Uniform interface to video capture devices
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_TOOLS+= perl pkg-config gmake
+USE_LIBTOOL= yes
+USE_PKGLOCALEDIR= yes
+GNU_CONFIGURE= yes
+
+CONFIGURE_ARGS+= --disable-v4l
+CONFIGURE_ARGS+= --disable-vid21394
+CONFIGURE_ARGS+= --enable-ucil-theora
+#CONFIGURE_ARGS+= --enable-ucil-avcodec
+
+.if exists(/usr/include/sys/videoio.h)
+CONFIGURE_ARGS+= --enable-v4l2
+.else
+CONFIGURE_ARGS+= --disable-v4l2
+.endif
+
+.include "../../devel/pango/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+#.include "../../multimedia/ffmpeg/buildlink3.mk"
+.include "../../multimedia/libtheora/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../x11/libICE/buildlink3.mk"
+.include "../../x11/libXv/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 7884319aa166 -r 3b719ed44d6e graphics/unicap/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/unicap/PLIST Tue Sep 09 11:50:18 2008 +0000
@@ -0,0 +1,76 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/09/09 11:50:18 jmcneill Exp $
+include/unicap/ucil.h
+include/unicap/ucil_png.h
+include/unicap/ucil_version.h
+include/unicap/unicap.h
+include/unicap/unicap_status.h
+include/unicap/unicap_version.h
+include/unicap/unicapgtk.h
+include/unicap/unicapgtk_device_property.h
+include/unicap/unicapgtk_device_selection.h
+include/unicap/unicapgtk_property_dialog.h
+include/unicap/unicapgtk_version.h
+include/unicap/unicapgtk_video_display.h
+include/unicap/unicapgtk_video_format_selection.h
+lib/libucil.la
+lib/libunicap.la
+lib/libunicapgtk.la
+lib/pkgconfig/libucil.pc
+lib/pkgconfig/libunicap.pc
+lib/pkgconfig/libunicapgtk.pc
+lib/unicap2/cpi/libv4l2.la
+share/gtk-doc/html/libucil/ch01.html
+share/gtk-doc/html/libucil/home.png
+share/gtk-doc/html/libucil/index.html
+share/gtk-doc/html/libucil/index.sgml
+share/gtk-doc/html/libucil/left.png
+share/gtk-doc/html/libucil/libucil-colorspace.html
+share/gtk-doc/html/libucil/libucil-draw.html
+share/gtk-doc/html/libucil/libucil-mpeg.html
+share/gtk-doc/html/libucil/libucil-queue.html
+share/gtk-doc/html/libucil/libucil-ucil-theora.html
+share/gtk-doc/html/libucil/libucil-ucil-version.html
+share/gtk-doc/html/libucil/libucil-ucil.html
+share/gtk-doc/html/libucil/libucil-yuvops.html
+share/gtk-doc/html/libucil/libucil.devhelp
+share/gtk-doc/html/libucil/libucil.devhelp2
+share/gtk-doc/html/libucil/right.png
+share/gtk-doc/html/libucil/style.css
+share/gtk-doc/html/libucil/up.png
+share/gtk-doc/html/libunicap/ch01.html
+share/gtk-doc/html/libunicap/home.png
+share/gtk-doc/html/libunicap/index.html
+share/gtk-doc/html/libunicap/index.sgml
+share/gtk-doc/html/libunicap/left.png
+share/gtk-doc/html/libunicap/libunicap-unicap.html
+share/gtk-doc/html/libunicap/libunicap.devhelp
+share/gtk-doc/html/libunicap/libunicap.devhelp2
+share/gtk-doc/html/libunicap/right.png
+share/gtk-doc/html/libunicap/style.css
+share/gtk-doc/html/libunicap/up.png
+share/gtk-doc/html/libunicapgtk/UnicapgtkDeviceProperty.html
+share/gtk-doc/html/libunicapgtk/UnicapgtkDeviceSelection.html
+share/gtk-doc/html/libunicapgtk/UnicapgtkPropertyDialog.html
+share/gtk-doc/html/libunicapgtk/UnicapgtkVideoDisplay.html
+share/gtk-doc/html/libunicapgtk/ch01.html
+share/gtk-doc/html/libunicapgtk/home.png
+share/gtk-doc/html/libunicapgtk/index.html
+share/gtk-doc/html/libunicapgtk/index.sgml
+share/gtk-doc/html/libunicapgtk/left.png
+share/gtk-doc/html/libunicapgtk/libunicapgtk-UnicapgtkVideoFormatSelection.html
+share/gtk-doc/html/libunicapgtk/libunicapgtk-unicapgtk-version.html
+share/gtk-doc/html/libunicapgtk/libunicapgtk-unicapgtk.html
+share/gtk-doc/html/libunicapgtk/libunicapgtk.devhelp
+share/gtk-doc/html/libunicapgtk/libunicapgtk.devhelp2
+share/gtk-doc/html/libunicapgtk/right.png
+share/gtk-doc/html/libunicapgtk/style.css
+share/gtk-doc/html/libunicapgtk/up.png
+share/locale/de/LC_MESSAGES/unicap.mo
+share/locale/fr/LC_MESSAGES/unicap.mo
+share/locale/ru/LC_MESSAGES/unicap.mo
+@dirrm share/gtk-doc/html/libunicapgtk
+@dirrm share/gtk-doc/html/libunicap
+@dirrm share/gtk-doc/html/libucil
+@dirrm lib/unicap2/cpi
+@dirrm lib/unicap2
+@dirrm include/unicap
diff -r 7884319aa166 -r 3b719ed44d6e graphics/unicap/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/unicap/buildlink3.mk Tue Sep 09 11:50:18 2008 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/09/09 11:50:18 jmcneill Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+UNICAP_BUILDLINK3_MK:= ${UNICAP_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= unicap
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nunicap}
+BUILDLINK_PACKAGES+= unicap
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}unicap
+
+.if !empty(UNICAP_BUILDLINK3_MK:M+)
+BUILDLINK_API_DEPENDS.unicap+= unicap>=0.9.1
+BUILDLINK_ABI_DEPENDS.unicap+= unicap>=0.9.1
+BUILDLINK_PKGSRCDIR.unicap?= ../../graphics/unicap
+.endif # UNICAP_BUILDLINK3_MK
+
+.include "../../x11/libXv/buildlink3.mk"
+.include "../../multimedia/libtheora/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff -r 7884319aa166 -r 3b719ed44d6e graphics/unicap/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/unicap/distinfo Tue Sep 09 11:50:18 2008 +0000
@@ -0,0 +1,23 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/09/09 11:50:18 jmcneill Exp $
+
+SHA1 (unicap-0.9.1.tar.gz) = d0e8265ab5dd924626f59ce421798081e92d833f
+RMD160 (unicap-0.9.1.tar.gz) = bfb5a8659fd4b76be86c8c31fd2de7615c7f235e
+Size (unicap-0.9.1.tar.gz) = 1320764 bytes
+SHA1 (patch-aa) = daafd02550b56a538b81669b5e792238e7d739a9
+SHA1 (patch-ab) = 7731b1dbd1f6dd8bf640e20bb70a2fbf231b3088
+SHA1 (patch-ac) = 30f65b1c48aade6d2515b54e55fbc89bfc252c2d
+SHA1 (patch-ad) = d7b60e7c54c6ac9e9160bae089fb2b44ffc61818
+SHA1 (patch-ae) = 83d0f86b305f732effa45e609c3e4b067796e331
+SHA1 (patch-af) = 13e400f7197dfdf69fa253a50618c3152566df8e
+SHA1 (patch-ag) = 5e5bd6fbbc0eb9263a2aa5eb2641bb16ee58a413
+SHA1 (patch-ah) = 554dfb541809d4c54fd155cd2fe263330b3f5b3d
+SHA1 (patch-ai) = ced51a4b5b98793375c8a024a076e56006d3dfc6
+SHA1 (patch-aj) = 1bbe0b055538adb99a4ec29ce3a53b95c17e4fe7
+SHA1 (patch-ak) = 1bfdf9e4b989ea847c1971956860128afd17cdb5
+SHA1 (patch-al) = 007aec2cb6c9b7fcaea70ba48a52a50d48d767c1
+SHA1 (patch-am) = b11ef1b3f8133e88142ea89361370d9791fa3a10
+SHA1 (patch-an) = 9cd622733b177b6cfc39f73a518686ecb7c39e54
+SHA1 (patch-ao) = d88378597bff3a535fdcb5d3bce5e4b7700800fd
+SHA1 (patch-ap) = 37678ec66287b172cefddbb11677753f2ca5abef
+SHA1 (patch-aq) = b3f2a2f63e18578567a343824cbdd0e9d4e955e9
+SHA1 (patch-ar) = 1ff2ae9191573022fe716053990aed0726c1318f
diff -r 7884319aa166 -r 3b719ed44d6e graphics/unicap/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/unicap/patches/patch-aa Tue Sep 09 11:50:18 2008 +0000
@@ -0,0 +1,30 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/09/09 11:50:18 jmcneill Exp $
+
+
+--- libucil/colorspace.c.orig 2008-08-12 04:31:15.000000000 -0400
++++ libucil/colorspace.c 2008-09-09 00:10:25.000000000 -0400
+@@ -25,7 +25,12 @@
+ #endif //HAVE_AVCODEC
+
+ #include <sys/types.h>
++#ifdef __linux__
+ #include <linux/types.h>
++#elif defined(__NetBSD__)
++/* for __uN/__sN typedefs */
++#include <sys/videoio.h>
++#endif
+ #include <glib.h>
+ #include <string.h>
+
+@@ -1595,9 +1600,8 @@
+ }
+ else
+ {
+- g_message( "Could not convert format: %c%c%c%c %08x to %c%c%c%c %08x\n",
+- src->format.fourcc, src->format.fourcc,
+- dest->format.fourcc, dest->format.fourcc );
++ g_message( "Could not convert format: %08x to %08x\n",
++ src->format.fourcc, dest->format.fourcc );
+ }
+
+ }
diff -r 7884319aa166 -r 3b719ed44d6e graphics/unicap/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/unicap/patches/patch-ab Tue Sep 09 11:50:18 2008 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 2008/09/09 11:50:18 jmcneill Exp $
+
+
+--- libucil/colorspace.h.orig 2008-09-08 23:02:38.000000000 -0400
++++ libucil/colorspace.h 2008-09-08 23:02:51.000000000 -0400
+@@ -21,7 +21,9 @@
+ #define __COLORSPACE_H__
+
+ #include <sys/types.h>
++#ifdef __linux__
+ #include <linux/types.h>
++#endif
+
+ #include "unicap.h"
+
diff -r 7884319aa166 -r 3b719ed44d6e graphics/unicap/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/unicap/patches/patch-ac Tue Sep 09 11:50:18 2008 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-ac,v 1.1.1.1 2008/09/09 11:50:18 jmcneill Exp $
+
+
+--- libucil/yuvops.c.orig 2008-09-08 23:04:54.000000000 -0400
++++ libucil/yuvops.c 2008-09-08 23:05:22.000000000 -0400
+@@ -13,8 +13,12 @@
+ #include "ucil.h"
+
+ #include <sys/types.h>
++#ifdef __linux__
+ #include <linux/types.h>
+-
++#elif defined(__NetBSD__)
++/* for __uN/__sN typedefs */
++#include <sys/videoio.h>
++#endif
+
+
+ #define CLIP(v,l,h) (((v)<(l))?(l):(v)>(h)?(h):(v))
diff -r 7884319aa166 -r 3b719ed44d6e graphics/unicap/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/unicap/patches/patch-ad Tue Sep 09 11:50:18 2008 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.1.1.1 2008/09/09 11:50:18 jmcneill Exp $
+
+
+--- libucil/rgbops.c.orig 2008-09-08 23:05:48.000000000 -0400
++++ libucil/rgbops.c 2008-09-08 23:05:59.000000000 -0400
+@@ -13,7 +13,9 @@
+ #include "ucil.h"
+
+ #include <sys/types.h>
++#ifdef __linux__
+ #include <linux/types.h>
++#endif
+
+
+ void ucil_blend_rgb24_a( unicap_data_buffer_t *dest,
diff -r 7884319aa166 -r 3b719ed44d6e graphics/unicap/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/unicap/patches/patch-ae Tue Sep 09 11:50:18 2008 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-ae,v 1.1.1.1 2008/09/09 11:50:18 jmcneill Exp $
+
+
+--- libucil/avi.h.orig 2008-09-08 23:09:57.000000000 -0400
++++ libucil/avi.h 2008-09-08 23:10:19.000000000 -0400
+@@ -21,7 +21,12 @@
+ # define AVI_H_
+
+ #include <sys/types.h>
++#ifdef __linux__
+ #include <linux/types.h>
++#elif defined(__NetBSD__)
++/* for __uN/__sN typedefs */
++#include <sys/videoio.h>
++#endif
+
+ typedef struct
+ {
diff -r 7884319aa166 -r 3b719ed44d6e graphics/unicap/patches/patch-af
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
Home |
Main Index |
Thread Index |
Old Index