Navigation

Project: wok

Clone project: hg clone http://hg.slitaz.org/wok

  • Download tarball:
  • bz2
  • gz

Search

wok changeset 13963:6af97d5ff38a

Up: guvcview (1.6.1, using now gtk+3 since it seems to not conflict with gtk+)
author Claudinei Pereira <claudinei@slitaz.org>
date Thu Jan 31 15:40:22 2013 -0200 (14 months ago ago)
parents eb0cfcbf7d5b
children 1bd1a64aae1c caf70f451921
files guvcview/receipt guvcview/stuff/guvcview.desktop guvcview/stuff/v412_formats.patch guvcview/stuff/vcodecs.patch
line diff
     1.1 --- a/guvcview/receipt	Thu Jan 31 09:04:37 2013 +0100
     1.2 +++ b/guvcview/receipt	Thu Jan 31 15:40:22 2013 -0200
     1.3 @@ -2,7 +2,7 @@
     1.4  
     1.5  PACKAGE="guvcview"
     1.6  SOURCE="guvcview-src"
     1.7 -VERSION="1.5.0"
     1.8 +VERSION="1.6.1"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="A simple GTK interface for capturing and viewing video from webcams."
    1.11  MAINTAINER="claudinei@slitaz.org"
    1.12 @@ -11,16 +11,16 @@
    1.13  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.15  
    1.16 -DEPENDS="gtk+ libsdl libpng portaudio libv4l ffmpeg libgudev"
    1.17 -BUILD_DEPENDS="gtk+-dev libsdl-dev libpng-dev portaudio-dev libv4l-dev \
    1.18 -ffmpeg-dev libgudev-dev"
    1.19 +DEPENDS="gtk+3 portaudio ffmpeg libsdl libv4l libgudev"
    1.20 +BUILD_DEPENDS="gtk+3-dev portaudio-dev ffmpeg-dev libsdl-dev libv4l-dev \
    1.21 +libgudev-dev"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26 -	patch -p0 < $stuff/v412_formats.patch
    1.27 -	patch -p0 < $stuff/vcodecs.patch
    1.28 -	./configure --prefix=/usr $CONFIGURE_ARGS && 
    1.29 +	./configure --prefix=/usr \
    1.30 +		    --disable-debian-menu \
    1.31 +		    --disable-pulse $CONFIGURE_ARGS && 
    1.32  	make && 
    1.33  	make install
    1.34  }
    1.35 @@ -28,8 +28,7 @@
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.37  genpkg_rules()
    1.38  {
    1.39 -	mkdir -p $fs/usr/share/pixmaps $fs/usr/bin $fs/usr/share/menu
    1.40 +	mkdir -p $fs/usr/share/pixmaps $fs/usr/bin 
    1.41  	cp -a $install/usr/bin/* $fs/usr/bin
    1.42  	cp -a $install/usr/share/pixmaps/* $fs/usr/share/pixmaps
    1.43 -	cp -a $install/usr/share/menu/* $fs/usr/share/menu
    1.44  }
     2.1 --- a/guvcview/stuff/guvcview.desktop	Thu Jan 31 09:04:37 2013 +0100
     2.2 +++ b/guvcview/stuff/guvcview.desktop	Thu Jan 31 15:40:22 2013 -0200
     2.3 @@ -1,12 +1,18 @@
     2.4  [Desktop Entry]
     2.5 -Version=1.0
     2.6  Name=guvcview
     2.7 +Name[it]=guvcview
     2.8  GenericName=GTK UVC video viewer
     2.9 +GenericName[it]=GTK UVC visualizzatore video
    2.10 +X-GNOME-FullName=GTK UVC video viewer
    2.11 +X-GNOME-FullName[it]=GTK UVC visualizzatore video
    2.12  Comment=A video viewer and capturer for the linux uvc driver
    2.13 +Comment[it]=Un visualizzatore e catturatore video per il driver uvc di linux
    2.14 +Comment[pt]=Visualize e capture imagens da sua webcam em linux
    2.15  TryExec=guvcview
    2.16  Exec=guvcview
    2.17  Icon=/usr/share/pixmaps/guvcview/guvcview.png
    2.18  Terminal=false
    2.19  Type=Application
    2.20  Categories=Video;AudioVideo;
    2.21 +X-GNOME-Gettext-Domain=guvcview
    2.22  StartupNotify=true
     3.1 --- a/guvcview/stuff/v412_formats.patch	Thu Jan 31 09:04:37 2013 +0100
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,14 +0,0 @@
     3.4 ---- src/v4l2_formats.c.old
     3.5 -+++ src/v4l2_formats.c
     3.6 -@@ -20,10 +20,7 @@
     3.7 - #                                                                               #
     3.8 - ********************************************************************************/
     3.9 - 
    3.10 --#include <glib/gprintf.h>
    3.11 --#include <glib/gstdio.h>
    3.12 --#include <glib/gutils.h>
    3.13 --#include <glib/gtestutils.h>
    3.14 -+#include <glib.h>
    3.15 - #include <fcntl.h>
    3.16 - #include <string.h>
    3.17 - #include <sys/types.h>
     4.1 --- a/guvcview/stuff/vcodecs.patch	Thu Jan 31 09:04:37 2013 +0100
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,13 +0,0 @@
     4.4 ---- src/vcodecs.c.old
     4.5 -+++ src/vcodecs.c
     4.6 -@@ -30,6 +30,10 @@
     4.7 - #include <glib/gi18n.h>
     4.8 - #include <linux/videodev2.h>
     4.9 - 
    4.10 -+#define CODEC_FLAG2_BPYRAMID 0
    4.11 -+#define CODEC_FLAG2_WPRED 0
    4.12 -+#define CODEC_FLAG2_FASTPSKIP 0
    4.13 -+
    4.14 - static BITMAPINFOHEADER mkv_codecPriv =
    4.15 - {
    4.16 - 	.biSize = 0x00000028, //40 bytes