summaryrefslogtreecommitdiff
path: root/x11/xvidcap-gtk2
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2005-01-12 19:52:37 +0000
committerreed <reed@pkgsrc.org>2005-01-12 19:52:37 +0000
commit9a2a2e367d3f63dba8cce25a05c85868d6fc9d01 (patch)
tree3f5deb580341b8dc63cb4d1eacd6e791c0dc2fd7 /x11/xvidcap-gtk2
parent8231aba9db9dd1a76ef07a30bc3d4987c4d481b0 (diff)
downloadpkgsrc-9a2a2e367d3f63dba8cce25a05c85868d6fc9d01.tar.gz
Import of xvidcap-gtk2 package. Previously GTK2 support for xvidcap
was done by setting make variable XVIDCAP_GTK2_GUI=YES and building x11/xvidcap. This uses new x11/xvidcap/Makefile.common. It doesn't share patches directory because some are different. The developer told me that later the gtk2 will be extended to add GNOME bloat, so this may become xvidcap-gnome later. The DESCRiption: gvidcap is a tool (like Lotus ScreenCam and Camtasia) that captures movement on a selected area of an X11 screen to files. Frame output formats include: XWD, PPM, PNG, MNG, JPEG and MPEG. This is the GTK2 version of xvidcap.
Diffstat (limited to 'x11/xvidcap-gtk2')
-rw-r--r--x11/xvidcap-gtk2/DESCR5
-rw-r--r--x11/xvidcap-gtk2/Makefile14
-rw-r--r--x11/xvidcap-gtk2/PLIST10
-rw-r--r--x11/xvidcap-gtk2/distinfo8
-rw-r--r--x11/xvidcap-gtk2/patches/patch-ab13
-rw-r--r--x11/xvidcap-gtk2/patches/patch-ac18
-rw-r--r--x11/xvidcap-gtk2/patches/patch-ad13
-rw-r--r--x11/xvidcap-gtk2/patches/patch-ae33
8 files changed, 114 insertions, 0 deletions
diff --git a/x11/xvidcap-gtk2/DESCR b/x11/xvidcap-gtk2/DESCR
new file mode 100644
index 00000000000..31e9ddcb11b
--- /dev/null
+++ b/x11/xvidcap-gtk2/DESCR
@@ -0,0 +1,5 @@
+gvidcap is a tool (like Lotus ScreenCam and Camtasia) that captures
+movement on a selected area of an X11 screen to files. Frame output
+formats include: XWD, PPM, PNG, MNG, JPEG and MPEG.
+
+This is the GTK2 version of xvidcap.
diff --git a/x11/xvidcap-gtk2/Makefile b/x11/xvidcap-gtk2/Makefile
new file mode 100644
index 00000000000..faf6d47abca
--- /dev/null
+++ b/x11/xvidcap-gtk2/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/01/12 19:52:37 reed Exp $
+#
+
+.include "../../x11/xvidcap/Makefile.common"
+
+PKGNAME= ${DISTNAME:S/-/-gtk2-/}
+COMMENT= Capture X display to individual frames or MPEG video (GTK2 version)
+
+CONFLICTS+= xvidcap<1.1.3nb3
+
+CONFIGURE_ARGS+= --with-gtk2
+
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xvidcap-gtk2/PLIST b/x11/xvidcap-gtk2/PLIST
new file mode 100644
index 00000000000..26810812958
--- /dev/null
+++ b/x11/xvidcap-gtk2/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/12 19:52:37 reed Exp $
+bin/gvidcap
+man/man1/gvidcap.1
+share/doc/xvidcap-gtk2-${PKGVERSION}/AUTHORS
+share/doc/xvidcap-gtk2-${PKGVERSION}/ChangeLog
+share/doc/xvidcap-gtk2-${PKGVERSION}/INSTALL
+share/doc/xvidcap-gtk2-${PKGVERSION}/NEWS
+share/doc/xvidcap-gtk2-${PKGVERSION}/README
+share/doc/xvidcap-gtk2-${PKGVERSION}/TODO
+@dirrm share/doc/xvidcap-gtk2-${PKGVERSION}
diff --git a/x11/xvidcap-gtk2/distinfo b/x11/xvidcap-gtk2/distinfo
new file mode 100644
index 00000000000..4f7774b0e44
--- /dev/null
+++ b/x11/xvidcap-gtk2/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/01/12 19:52:37 reed Exp $
+
+SHA1 (xvidcap-1.1.3.tar.gz) = e6d86a4184c8cc3e74738fb6e20d49c0d1640025
+Size (xvidcap-1.1.3.tar.gz) = 1627036 bytes
+SHA1 (patch-ab) = 3e3835f57e204aa24a30b5940afc221d70cfc9f5
+SHA1 (patch-ac) = 0de9d748e3808a210ec68d140eb1dfd5e18d9e4f
+SHA1 (patch-ad) = ac40095849f721cfd8aa1e0143dff3ac9b705be7
+SHA1 (patch-ae) = f03b83335798a9f06efcfd830cfe02b5ccb1b54e
diff --git a/x11/xvidcap-gtk2/patches/patch-ab b/x11/xvidcap-gtk2/patches/patch-ab
new file mode 100644
index 00000000000..bd3a8b2de64
--- /dev/null
+++ b/x11/xvidcap-gtk2/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/01/12 19:52:38 reed Exp $
+
+--- src/capture.c.orig 2004-05-29 01:52:02.000000000 +0200
++++ src/capture.c 2004-05-29 01:56:27.000000000 +0200
+@@ -643,7 +643,7 @@
+ (*job->close) (fp);
+ else if (job->flags & FLG_SYNC) {
+ if (job->open == (void *(*)(char *, char*))fopen)
+- fdatasync(fileno(fp));
++ fdatasync(fileno((FILE *)fp));
+ }
+
+ /* substract the time we needed for creating and saving
diff --git a/x11/xvidcap-gtk2/patches/patch-ac b/x11/xvidcap-gtk2/patches/patch-ac
new file mode 100644
index 00000000000..0ae1842a53f
--- /dev/null
+++ b/x11/xvidcap-gtk2/patches/patch-ac
@@ -0,0 +1,18 @@
+$NetBSD: patch-ac,v 1.1.1.1 2005/01/12 19:52:38 reed Exp $
+
+--- ffmpeg/Makefile.orig 2004-02-06 23:42:45.000000000 -0800
++++ ffmpeg/Makefile
+@@ -136,10 +136,10 @@ installlib:
+ dep: depend
+
+ depend: .depend
+- make -C libavcodec depend
+- make -C libavformat depend
++ $(MAKE) -C libavcodec depend
++ $(MAKE) -C libavformat depend
+ ifeq ($(BUILD_VHOOK),yes)
+- make -C vhook depend
++ $(MAKE) -C vhook depend
+ endif
+
+ .depend: $(SRCS)
diff --git a/x11/xvidcap-gtk2/patches/patch-ad b/x11/xvidcap-gtk2/patches/patch-ad
new file mode 100644
index 00000000000..c9586457bda
--- /dev/null
+++ b/x11/xvidcap-gtk2/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 2005/01/12 19:52:38 reed Exp $
+
+--- ffmpeg/configure.orig 2004-02-06 23:42:46.000000000 -0800
++++ ffmpeg/configure
+@@ -25,7 +25,7 @@ cross_prefix=""
+ cc="gcc"
+ ar="ar"
+ ranlib="ranlib"
+-make="make"
++make=${MAKE}
+ strip="strip"
+ cpu=`uname -m`
+ tune="generic"
diff --git a/x11/xvidcap-gtk2/patches/patch-ae b/x11/xvidcap-gtk2/patches/patch-ae
new file mode 100644
index 00000000000..ac711c252c7
--- /dev/null
+++ b/x11/xvidcap-gtk2/patches/patch-ae
@@ -0,0 +1,33 @@
+$NetBSD: patch-ae,v 1.1.1.1 2005/01/12 19:52:37 reed Exp $
+
+--- src/Makefile.in.orig Sat Feb 14 12:06:20 2004
++++ src/Makefile.in
+@@ -195,14 +195,14 @@ xvidcap_LDADD = ../Xw/libXw.a $(am__app
+ @WITHGTK2_TRUE@gvidcap_LDFLAGS = $(AM_LDFLAGS) `pkg-config --libs gtk+-2.0`
+ @WITHGTK2_TRUE@@WITHGT_TRUE@gvidcap_LDADD = ../gt/libgt.a
+
+-man1_MANS = ../man/xvidcap.man ../man/gvidcap.man
++man1_MANS = ../man/gvidcap.man
+
+ EXTRA_DIST = mkresfile.sh
+ subdir = src
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = $(top_builddir)/config.h
+ CONFIG_CLEAN_FILES =
+-@WITHGTK2_TRUE@bin_PROGRAMS = xvidcap$(EXEEXT) gvidcap$(EXEEXT)
++@WITHGTK2_TRUE@bin_PROGRAMS = gvidcap$(EXEEXT)
+ @WITHGTK2_FALSE@bin_PROGRAMS = xvidcap$(EXEEXT)
+ PROGRAMS = $(bin_PROGRAMS)
+
+@@ -1801,9 +1801,8 @@ uninstall-man: uninstall-man1
+
+
+ install-data-hook:
+- mkdir -p ${datadir}/doc/${PACKAGE_TARNAME}_${PACKAGE_VERSION}
+- ./mkresfile.sh > XVidcap.ad && cp XVidcap.ad ${datadir}/doc/${PACKAGE_TARNAME}_${PACKAGE_VERSION}
+- cp ../README ../NEWS ../TODO ../INSTALL ../AUTHORS ../ChangeLog ${datadir}/doc/${PACKAGE_TARNAME}_${PACKAGE_VERSION}
++ mkdir -p ${datadir}/doc/${PACKAGE_TARNAME}-gtk2-${PACKAGE_VERSION}
++ cp ../README ../NEWS ../TODO ../INSTALL ../AUTHORS ../ChangeLog ${datadir}/doc/${PACKAGE_TARNAME}-gtk2-${PACKAGE_VERSION}
+
+ uninstall-hook:
+ rm -rf ${datadir}/doc/${PACKAGE_TARNAME}_${PACKAGE_VERSION}