pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/cheese Cheese uses your webcam to take photos...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/086a78f67f82
branches:  trunk
changeset: 546785:086a78f67f82
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Sun Sep 07 22:43:00 2008 +0000

description:
Cheese uses your webcam to take photos and videos, applies fancy special
effects and lets you share the fun with others. Under the hood, Cheese
uses GStreamer to apply fancy effects to photos and videos. With Cheese
it is easy to take photos of you, your friends, pets or whatever you want
and share them with others.

This package includes a patch to disable the HAL dependency for webcam
discovery.

diffstat:

 graphics/cheese/DESCR            |    5 +
 graphics/cheese/Makefile         |   51 +++++++++++++++
 graphics/cheese/PLIST            |  129 +++++++++++++++++++++++++++++++++++++++
 graphics/cheese/distinfo         |    7 ++
 graphics/cheese/options.mk       |   14 ++++
 graphics/cheese/patches/patch-aa |   49 ++++++++++++++
 graphics/cheese/patches/patch-ab |  103 +++++++++++++++++++++++++++++++
 7 files changed, 358 insertions(+), 0 deletions(-)

diffs (truncated from 386 to 300 lines):

diff -r 7e96a41b3794 -r 086a78f67f82 graphics/cheese/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cheese/DESCR     Sun Sep 07 22:43:00 2008 +0000
@@ -0,0 +1,5 @@
+Cheese uses your webcam to take photos and videos, applies fancy special
+effects and lets you share the fun with others. Under the hood, Cheese
+uses GStreamer to apply fancy effects to photos and videos. With Cheese
+it is easy to take photos of you, your friends, pets or whatever you want
+and share them with others.
diff -r 7e96a41b3794 -r 086a78f67f82 graphics/cheese/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cheese/Makefile  Sun Sep 07 22:43:00 2008 +0000
@@ -0,0 +1,51 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/09/07 22:43:00 jmcneill Exp $
+
+DISTNAME=      cheese-2.22.3
+CATEGORIES=    graphics
+MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/cheese/2.22/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.gnome.org/projects/cheese/
+COMMENT=       Use your webcam to take photos and videos
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+GNU_CONFIGURE=         yes
+USE_DIRS+=             gnome2-1.5
+USE_TOOLS+=            pkg-config perl intltool gmake
+USE_TOOLS+=            autoconf automake autoreconf
+USE_LIBTOOL=           yes
+USE_PKGLOCALEDIR=      yes
+
+GCONF_SCHEMAS+=        cheese.schemas
+
+pre-configure:
+       cd ${WRKSRC} && autoreconf -vi # -f breaks it
+
+post-install:
+.for schema in ${GCONF_SCHEMAS}
+       ${INSTALL_DATA} ${WRKSRC}/data/${schema} ${PREFIX}/share/gconf/schemas
+.endfor
+
+.include "options.mk"
+
+.include "../../devel/GConf/schemas.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/libgnomeui/buildlink3.mk"
+.include "../../devel/pango/buildlink3.mk"
+.include "../../graphics/cairo/buildlink3.mk"
+.include "../../graphics/librsvg/buildlink3.mk"
+.include "../../mail/evolution-data-server/buildlink3.mk"
+.include "../../multimedia/gst-plugins0.10-base/buildlink3.mk"
+.include "../../multimedia/gst-plugins0.10-good/buildlink3.mk"
+DEPENDS+= gst-plugins0.10-theora>=0.10.1:../../multimedia/gst-plugins0.10-theora
+DEPENDS+= gst-plugins0.10-ogg>=0.10.1:../../multimedia/gst-plugins0.10-ogg
+DEPENDS+= gst-plugins0.10-vorbis>=0.10.1:../../audio/gst-plugins0.10-vorbis
+.include "../../multimedia/gstreamer0.10/buildlink3.mk"
+.include "../../sysutils/dbus/buildlink3.mk"
+.include "../../sysutils/dbus-glib/buildlink3.mk"
+.include "../../textproc/gnome-doc-utils/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../x11/libXxf86vm/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 7e96a41b3794 -r 086a78f67f82 graphics/cheese/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cheese/PLIST     Sun Sep 07 22:43:00 2008 +0000
@@ -0,0 +1,129 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/09/07 22:43:00 jmcneill Exp $
+bin/cheese
+libexec/cheese/cheese-bugreport.sh
+share/applications/cheese.desktop
+share/cheese/cheese-ui.xml
+share/cheese/cheese.ui
+share/cheese/effects/Hulk.png
+share/cheese/effects/Mauve.png
+share/cheese/effects/NoirBlanc.png
+share/cheese/effects/Saturation.png
+share/cheese/effects/dicetv.png
+share/cheese/effects/edgetv.png
+share/cheese/effects/identity.png
+share/cheese/effects/shagadelictv.png
+share/cheese/effects/vertigotv.png
+share/cheese/effects/videoflip_h.png
+share/cheese/effects/videoflip_v.png
+share/cheese/effects/warptv.png
+share/cheese/pixmaps/camera-icon.svg
+share/cheese/pixmaps/thumbnail-frame.png
+share/cheese/sounds/shutter0.ogg
+share/cheese/sounds/shutter1.ogg
+share/cheese/sounds/shutter2.ogg
+share/cheese/sounds/shutter3.ogg
+share/cheese/sounds/shutter4.ogg
+share/gconf/schemas/cheese.schemas
+share/gnome/help/cheese/C/cheese.xml
+share/gnome/help/cheese/C/figures/cheese-effects-screenshot.jpg
+share/gnome/help/cheese/C/figures/cheese-screenshot.jpg
+share/gnome/help/cheese/C/legal.xml
+share/gnome/help/cheese/el/cheese.xml
+share/gnome/help/cheese/el/figures/cheese-effects-screenshot.jpg
+share/gnome/help/cheese/el/figures/cheese-screenshot.jpg
+share/gnome/help/cheese/es/cheese.xml
+share/gnome/help/cheese/es/figures/cheese-effects-screenshot.jpg
+share/gnome/help/cheese/es/figures/cheese-screenshot.jpg
+share/gnome/help/cheese/fr/cheese.xml
+share/gnome/help/cheese/fr/figures/cheese-effects-screenshot.jpg
+share/gnome/help/cheese/fr/figures/cheese-screenshot.jpg
+share/gnome/help/cheese/oc/cheese.xml
+share/gnome/help/cheese/oc/figures/cheese-effects-screenshot.jpg
+share/gnome/help/cheese/oc/figures/cheese-screenshot.jpg
+share/gnome/help/cheese/ru/cheese.xml
+share/gnome/help/cheese/ru/figures/cheese-effects-screenshot.jpg
+share/gnome/help/cheese/ru/figures/cheese-screenshot.jpg
+share/gnome/help/cheese/sv/cheese.xml
+share/gnome/help/cheese/sv/figures/cheese-effects-screenshot.jpg
+share/gnome/help/cheese/sv/figures/cheese-screenshot.jpg
+share/icons/hicolor/16x16/apps/cheese.png
+share/icons/hicolor/22x22/apps/cheese.png
+share/icons/hicolor/24x24/apps/cheese.png
+share/icons/hicolor/32x32/apps/cheese.png
+share/icons/hicolor/48x48/apps/cheese.png
+share/icons/hicolor/icon-theme.cache
+share/icons/hicolor/scalable/apps/cheese.svg
+share/locale/ar/LC_MESSAGES/cheese.mo
+share/locale/be@latin/LC_MESSAGES/cheese.mo
+share/locale/bg/LC_MESSAGES/cheese.mo
+share/locale/bn_IN/LC_MESSAGES/cheese.mo
+share/locale/ca/LC_MESSAGES/cheese.mo
+share/locale/cs/LC_MESSAGES/cheese.mo
+share/locale/da/LC_MESSAGES/cheese.mo
+share/locale/de/LC_MESSAGES/cheese.mo
+share/locale/el/LC_MESSAGES/cheese.mo
+share/locale/en_GB/LC_MESSAGES/cheese.mo
+share/locale/es/LC_MESSAGES/cheese.mo
+share/locale/et/LC_MESSAGES/cheese.mo
+share/locale/eu/LC_MESSAGES/cheese.mo
+share/locale/fi/LC_MESSAGES/cheese.mo
+share/locale/fr/LC_MESSAGES/cheese.mo
+share/locale/ga/LC_MESSAGES/cheese.mo
+share/locale/gl/LC_MESSAGES/cheese.mo
+share/locale/gu/LC_MESSAGES/cheese.mo
+share/locale/he/LC_MESSAGES/cheese.mo
+share/locale/hu/LC_MESSAGES/cheese.mo
+share/locale/it/LC_MESSAGES/cheese.mo
+share/locale/ja/LC_MESSAGES/cheese.mo
+share/locale/ko/LC_MESSAGES/cheese.mo
+share/locale/lt/LC_MESSAGES/cheese.mo
+share/locale/mk/LC_MESSAGES/cheese.mo
+share/locale/ml/LC_MESSAGES/cheese.mo
+share/locale/mr/LC_MESSAGES/cheese.mo
+share/locale/nb/LC_MESSAGES/cheese.mo
+share/locale/nl/LC_MESSAGES/cheese.mo
+share/locale/nn/LC_MESSAGES/cheese.mo
+share/locale/oc/LC_MESSAGES/cheese.mo
+share/locale/pa/LC_MESSAGES/cheese.mo
+share/locale/pl/LC_MESSAGES/cheese.mo
+share/locale/pt/LC_MESSAGES/cheese.mo
+share/locale/pt_BR/LC_MESSAGES/cheese.mo
+share/locale/ro/LC_MESSAGES/cheese.mo
+share/locale/ru/LC_MESSAGES/cheese.mo
+share/locale/sl/LC_MESSAGES/cheese.mo
+share/locale/sv/LC_MESSAGES/cheese.mo
+share/locale/th/LC_MESSAGES/cheese.mo
+share/locale/tr/LC_MESSAGES/cheese.mo
+share/locale/uk/LC_MESSAGES/cheese.mo
+share/locale/vi/LC_MESSAGES/cheese.mo
+share/locale/zh_CN/LC_MESSAGES/cheese.mo
+share/locale/zh_HK/LC_MESSAGES/cheese.mo
+share/locale/zh_TW/LC_MESSAGES/cheese.mo
+share/omf/cheese/cheese-C.omf
+share/omf/cheese/cheese-el.omf
+share/omf/cheese/cheese-es.omf
+share/omf/cheese/cheese-fr.omf
+share/omf/cheese/cheese-oc.omf
+share/omf/cheese/cheese-ru.omf
+share/omf/cheese/cheese-sv.omf
+@dirrm share/omf/cheese
+@dirrm share/gnome/help/cheese/sv/figures
+@dirrm share/gnome/help/cheese/sv
+@dirrm share/gnome/help/cheese/ru/figures
+@dirrm share/gnome/help/cheese/ru
+@dirrm share/gnome/help/cheese/oc/figures
+@dirrm share/gnome/help/cheese/oc
+@dirrm share/gnome/help/cheese/fr/figures
+@dirrm share/gnome/help/cheese/fr
+@dirrm share/gnome/help/cheese/es/figures
+@dirrm share/gnome/help/cheese/es
+@dirrm share/gnome/help/cheese/el/figures
+@dirrm share/gnome/help/cheese/el
+@dirrm share/gnome/help/cheese/C/figures
+@dirrm share/gnome/help/cheese/C
+@dirrm share/gnome/help/cheese
+@dirrm share/cheese/sounds
+@dirrm share/cheese/pixmaps
+@dirrm share/cheese/effects
+@dirrm share/cheese
+@dirrm libexec/cheese
diff -r 7e96a41b3794 -r 086a78f67f82 graphics/cheese/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cheese/distinfo  Sun Sep 07 22:43:00 2008 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/09/07 22:43:00 jmcneill Exp $
+
+SHA1 (cheese-2.22.3.tar.gz) = eb7f66d8d7420578ee5a8e51eb2b2f1546ac4b70
+RMD160 (cheese-2.22.3.tar.gz) = 0634167bc3e5e52648f53e5c394199eb655c7309
+Size (cheese-2.22.3.tar.gz) = 1650728 bytes
+SHA1 (patch-aa) = 050ad40875386a4570c850da2a6c3d1ab7844cb2
+SHA1 (patch-ab) = 38151c3fa8557d7b62342224cfb8817a19b0917f
diff -r 7e96a41b3794 -r 086a78f67f82 graphics/cheese/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cheese/options.mk        Sun Sep 07 22:43:00 2008 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1.1.1 2008/09/07 22:43:00 jmcneill Exp $
+#
+PKG_OPTIONS_VAR=       PKG_OPTIONS.cheese
+PKG_SUPPORTED_OPTIONS= hal
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mhal)
+CONFIGURE_ARGS+=       --enable-hal
+# XXX FIXME
+#.  include "../../sysutils/hal/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --enable-hal=no
+.endif
diff -r 7e96a41b3794 -r 086a78f67f82 graphics/cheese/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cheese/patches/patch-aa  Sun Sep 07 22:43:00 2008 +0000
@@ -0,0 +1,49 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/09/07 22:43:00 jmcneill Exp $
+
+--- configure.ac.orig  2008-06-29 12:17:43.000000000 -0400
++++ configure.ac
+@@ -17,8 +17,9 @@ AM_PROG_LIBTOOL
+ 
+ CFLAGS="${CFLAGS} -Wall"
+ 
+-GNOME_MAINTAINER_MODE_DEFINES
+-GNOME_COMPILE_WARNINGS
++dnl If you can find where these come from, use them! ;)
++dnl GNOME_MAINTAINER_MODE_DEFINES
++dnl GNOME_COMPILE_WARNINGS
+ 
+ #*******************************************************************************
+ # Expanded dirs
+@@ -83,18 +84,30 @@ PKG_CHECK_MODULES(CHEESE, \ 
+   libebook-1.2 >= $LIBEBOOK_REQUIRED \
+   cairo >= $CAIRO_REQUIRED \
+   dbus-1 >= $DBUS_REQUIRED \
+-  hal >= $HAL_REQUIRED \
+   dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
+   pangocairo >= $PANGOCAIRO_REQUIRED \
+   librsvg-2.0 >= $LIBRSVG_REQUIRED \
+   xxf86vm)
+-
+ AC_SUBST(CHEESE_CFLAGS)
+ 
+ CHEESE_LIBS="$CHEESE_LIBS -lgstinterfaces-0.10"
+ 
+ AC_SUBST(CHEESE_LIBS)
+ 
++AC_ARG_ENABLE(hal, AS_HELP_STRING([--enable-hal], [Use the HAL library (default=no)]),, enable_hal=no)
++
++if test "x$enable_hal" = "xyes"; then
++  PKG_CHECK_MODULES([HAL], hal >= $HAL_REQUIRED, ac_have_hal=yes, ac_have_hal=no)
++else
++  enable_hal=no
++fi
++
++if test "x$ac_have_hal" = "xyes"; then
++  AC_DEFINE(HAVE_HAL, 1, define to 1 if HAL is used)
++else
++  AC_DEFINE(HAVE_HAL, 0, define to 1 if HAL is used)
++fi
++
+ AC_PATH_PROG(GCONFTOOL, gconftool-2)
+ AM_GCONF_SOURCE_2
+ 
diff -r 7e96a41b3794 -r 086a78f67f82 graphics/cheese/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cheese/patches/patch-ab  Sun Sep 07 22:43:00 2008 +0000
@@ -0,0 +1,103 @@
+$NetBSD: patch-ab,v 1.1.1.1 2008/09/07 22:43:00 jmcneill Exp $
+
+--- src/cheese-webcam.c.orig   2008-06-29 12:17:43.000000000 -0400
++++ src/cheese-webcam.c        2008-09-07 16:36:47.000000000 -0400
+@@ -31,7 +31,22 @@
+ #include <gdk-pixbuf/gdk-pixbuf.h>
+ #include <X11/Xlib.h>
+ #include <X11/extensions/xf86vmode.h>
++
++#if HAVE_HAL
+ #include <libhal.h>
++#else
++#include <sys/ioctl.h>
++#include <fcntl.h>
++#include <unistd.h>
++#if defined(__NetBSD__) || defined(__OpenBSD__)
++#include <sys/types.h>



Home | Main Index | Thread Index | Old Index