Permalink
Browse files

updates

  • Loading branch information...
1 parent 0cf40bf commit 1472391703806f3e41908f9c822a204eea8e3f13 @sjvermeu committed Mar 12, 2012
@@ -1,3 +0,0 @@
-AUX dblatex-0.3-gentoo.patch 435 RMD160 113982f9b13a123d89561d7ee03e33adc0d53b90 SHA1 ac0cbacd53535aef3828a673f9fdb80423c17665 SHA256 b59c86dd3e4804a2992e500dc81bff80fefc20a7a63bf3e9818680c237dd083b
-DIST dblatex-0.3.tar.bz2 1129409 RMD160 987090d2282b8ff802f6e806f788d9fdc42187e2 SHA1 60a853354de23a44c2f32bca812909e3a5dd76ba SHA256 e1b69a4503918bda50179be331849c5b00e1927c071e53d8ae709c2791d271c7
-EBUILD dblatex-0.3.ebuild 1248 RMD160 93e12e0e716fcfc7118a6c8e924a6838f9e6cd3b SHA1 c72f97568c189cbd48c375e04bb354df89ddbe6f SHA256 efe485eb23608b54f4a3e55f4326f6539a15cdf58d3222033d89a15e9d43355b
@@ -1,51 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-PYTHON_DEPEND="*"
-SUPPORT_PYTHON_ABIS="1"
-# Not tested with Python 3.
-RESTRICT_PYTHON_ABIS="3.*"
-PYTHON_MODNAME="dbtexmf"
-
-inherit distutils eutils
-
-DESCRIPTION="Transform DocBook using TeX macros"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-HOMEPAGE="http://dblatex.sourceforge.net/"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="app-text/texlive
- dev-texlive/texlive-latexextra
- dev-texlive/texlive-mathextra
- dev-texlive/texlive-xetex
- dev-libs/libxslt
- app-text/docbook-xml-dtd
- dev-texlive/texlive-pictures"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- distutils_src_prepare
-}
-
-src_compile() {
- distutils_src_compile
- epatch "${FILESDIR}"/${P}-gentoo.patch
-}
-
-src_install() {
- distutils_src_install
- newbin "${S}"/scripts/dblatex docbook2latex || die "newbin failed"
- mv "${D}"/usr/share/man/man1/dblatex.1.gz \
- "${D}"/usr/share/man/man1/docbook2latex.1.gz || die "mv dblatex.1.gz"
- mv "${D}"/usr/share/doc/${PN}/* "${D}"/usr/share/doc/${PF} || die "mv doc"
-
- einfo "This package installs its main binary as"
- einfo " docbook2latex"
- einfo "to avoid collisions with other latex packages."
-}
@@ -1,12 +0,0 @@
---- scripts.orig/dblatex 2010-08-14 08:39:51.000000000 +0200
-+++ scripts/dblatex 2010-08-14 08:55:50.157421000 +0200
-@@ -2,7 +2,8 @@
- import sys
- import os
-
--package_base = os.path.join(os.path.dirname(sys.argv[0]), "..")
-+#package_base = os.path.join(os.path.dirname(sys.argv[0]), "..")
-+package_base = "/usr/share/dblatex"
- sys.path.append(os.path.realpath(os.path.join(package_base, "lib")))
-
- from dbtexmf.dblatex import dblatex
@@ -0,0 +1,124 @@
+# ChangeLog for media-video/guvcview
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/guvcview/ChangeLog,v 1.26 2012/02/13 10:59:58 radhermit Exp $
+
+*guvcview-1.5.2 (13 Feb 2012)
+
+ 13 Feb 2012; Tim Harder <radhermit@gentoo.org> +guvcview-1.5.2.ebuild,
+ +files/guvcview-1.5.2-pulse.patch:
+ Version bump.
+
+ 28 Jan 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> guvcview-1.5.1.ebuild:
+ x86 stable wrt bug #399789
+
+ 23 Jan 2012; Agostino Sarubbo <ago@gentoo.org> guvcview-1.5.1.ebuild:
+ Stable for amd64, wrt bug #399789
+
+ 18 Nov 2011; Luca Barbato <lu_zero@gentoo.org>
+ files/guvcview-1.5.1-loops.patch:
+ Trim away cosmetics
+
+ 18 Nov 2011; Luca Barbato <lu_zero@gentoo.org> guvcview-1.5.1.ebuild,
+ +files/guvcview-1.5.1-loops.patch:
+ Fix segfault when enumerating controls
+
+*guvcview-1.5.1 (12 Nov 2011)
+
+ 12 Nov 2011; Tim Harder <radhermit@gentoo.org> +guvcview-1.5.1.ebuild:
+ Version bump.
+
+ 09 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> guvcview-1.5.0.ebuild:
+ Fix HOMEPAGE from berlios to sourceforge.
+
+*guvcview-1.5.0 (22 Aug 2011)
+
+ 22 Aug 2011; Tim Harder <radhermit@gentoo.org> +guvcview-1.5.0.ebuild:
+ Version bump
+
+ 21 Apr 2011; Tim Harder <radhermit@gentoo.org> guvcview-1.4.2.ebuild,
+ guvcview-1.4.4.ebuild:
+ Depend on virtual/ffmpeg instead of media-video/ffmpeg.
+
+ 19 Apr 2011; Thomas Kahle <tomka@gentoo.org> guvcview-1.4.2.ebuild:
+ x86 stable per bug 359603
+
+ 21 Mar 2011; Markos Chandras <hwoarang@gentoo.org> guvcview-1.4.2.ebuild:
+ Stable on amd64 wrt bug #359603
+
+*guvcview-1.4.4 (20 Mar 2011)
+
+ 20 Mar 2011; Samuli Suominen <ssuominen@gentoo.org> +guvcview-1.4.4.ebuild:
+ Version bump.
+
+*guvcview-1.4.2 (14 Oct 2010)
+
+ 14 Oct 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +guvcview-1.4.2.ebuild:
+ Version bump wrt #326903 by Siim Ainsaar.
+
+ 05 Apr 2010; Markos Chandras <hwoarang@gentoo.org> guvcview-1.2.2.ebuild:
+ Stable on amd64 wrt bug #310187
+
+ 24 Mar 2010; Christian Faulhammer <fauli@gentoo.org>
+ guvcview-1.2.2.ebuild:
+ stable x86, bug 310187
+
+*guvcview-1.3.0 (19 Mar 2010)
+
+ 19 Mar 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +guvcview-1.3.0.ebuild:
+ Version bump.
+
+*guvcview-1.2.2 (22 Feb 2010)
+
+ 22 Feb 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +guvcview-1.2.2.ebuild:
+ Version bump wrt #295378, thanks to Marco Paolone for ebuild.
+
+*guvcview-1.1.1 (02 Jun 2009)
+
+ 02 Jun 2009; Samuli Suominen <ssuominen@gentoo.org>
+ +guvcview-1.1.1.ebuild:
+ Version bump.
+
+ 30 May 2009; Samuli Suominen <ssuominen@gentoo.org> guvcview-1.1.0.ebuild,
+ +files/guvcview-1.1.0-automagic_pulseaudio.patch:
+ Patch pulseaudio to have AC_ARG_ENABLE for controlling the feature with
+ correct version checking.
+
+ 29 May 2009; Samuli Suominen <ssuominen@gentoo.org> guvcview-1.1.0.ebuild:
+ USE pulseaudio for >=0.9.15 and don't allow previous versions installed
+ because of missing include wrt #271183.
+
+*guvcview-1.1.0 (24 May 2009)
+
+ 24 May 2009; Zac Medico <zmedico@gentoo.org> +guvcview-1.1.0.ebuild:
+ 1.1.0 bump.
+
+ 29 Apr 2009; Samuli Suominen <ssuominen@gentoo.org>
+ -files/guvcview-0.9.6-implicit_declaration_setlocale.patch,
+ +files/guvcview-1.0.5-implicit_declaration_setlocale.patch,
+ -guvcview-0.9.6.ebuild, guvcview-1.0.5.ebuild:
+ Add include for locale.h to get setlocale wrt #267862, thanks to Ivan
+ Miljenovic.
+
+*guvcview-1.0.5 (23 Apr 2009)
+
+ 23 Apr 2009; Zac Medico <zmedico@gentoo.org> +guvcview-1.0.5.ebuild:
+ Version bump.
+
+ 17 Dec 2008; Steve Dibb <beandog@gentoo.org> guvcview-0.9.6.ebuild:
+ Add ~amd64, bug 250621
+
+ 10 Dec 2008; Samuli Suominen <ssuominen@gentoo.org>
+ +files/guvcview-0.9.6-implicit_declaration_setlocale.patch,
+ guvcview-0.9.6.ebuild:
+ Add include for locale.h to get setlocale wrt #250495, thanks to Ivan
+ Miljenovic.
+
+*guvcview-0.9.6 (09 Dec 2008)
+
+ 09 Dec 2008; Samuli Suominen <ssuominen@gentoo.org> +guvcview-0.9.6.ebuild:
+ Initial commit from Gentoo forums, thanks to RMX for pointing this
+ application out for me.
+
@@ -0,0 +1,6 @@
+AUX guvcview-1.5.1-loops.patch 1486 RMD160 a814b2b556c0f88dc68d40bcc54b434041548e2d SHA1 d14f9a22acc3098f7210ce0488913b9344211bbe SHA256 70a7aa5434c136ba25f0e8e38d25169fd5f5ee62416b745e21f4f9d5728215fb
+AUX guvcview-1.5.2-pulse.patch 1619 RMD160 f74cca0c06aeba2277568b5c41b4a0557256caaa SHA1 f1f3d7da68a8a37c17ac2a8f82cb5095ab4464fa SHA256 9fd361415f81ec64182f7f893c249a7ce31025f5f2971acc7b01f998c7995ec5
+DIST guvcview-src-1.5.3.tar.gz 508813 RMD160 c964900725a76761e640cd4eb16dc0c1ecc49552 SHA1 3eb4bf09587d4d1a93f73d7d64ad1a046aff3b21 SHA256 c484f22f415b9695c4f8a88d00fb64adc8b241664b6ddc5d06a789c99cb4c044
+EBUILD guvcview-1.5.3.ebuild 966 RMD160 bf28067574510176caffd7977ca4a64207440e36 SHA1 41380034beb604154f9fb4240f160546ebce34f3 SHA256 976064edef9ab3556192659120a7d546fad2dc7042acc06b92f9911b4a2dc851
+MISC ChangeLog 4016 RMD160 ef65f68c274d44219b9e692c24090a7d8b74d6a0 SHA1 b0dbfecbe50bf847dca6b0b8066c5ec12fdbf3fc SHA256 2dc76d78dc9d165f621e2172b5251fd5759ea798d8b05706d2cc4605436f1975
+MISC metadata.xml 228 RMD160 3071d739d8e15041d594882afdfc434453568466 SHA1 06e3ee83b7a5a910d2d63ea77afb2e5a292606f6 SHA256 060670a1a67923937e4bf55598ae59368d5e716b0b618dedaf12b15f45e8e234
@@ -0,0 +1,61 @@
+--- guvcview-src-1.5.1.orig/src/v4l2_controls.c 2011-11-18 12:12:53.049556430 +0100
++++ guvcview-src-1.5.1/src/v4l2_controls.c 2011-11-18 12:13:00.095556136 +0100
+@@ -993,10 +993,10 @@
+ int i = 0;
+ int done = 0;
+
+- while(!done)
++ for(; next != NULL; current = next, next = current->next)
+ {
+ if(current->control.flags & V4L2_CTRL_FLAG_WRITE_ONLY)
+- goto next_control;
++ continue;
+
+ clist[count].id = current->control.id;
+ #ifndef DISABLE_STRING_CONTROLS
+@@ -1081,15 +1081,6 @@
+
+ count = 0;
+
+- if(next == NULL)
+- done = 1;
+- }
+-
+-next_control:
+- if(!done)
+- {
+- current = next;
+- next = current->next;
+ }
+ }
+
+@@ -1188,10 +1179,10 @@
+ int i = 0;
+ int done = 0;
+
+- while(!done)
++ for(; next != NULL; current = next, next = current->next)
+ {
+ if(current->control.flags & V4L2_CTRL_FLAG_READ_ONLY)
+- goto next_control;
++ continue;
+
+ clist[count].id = current->control.id;
+ switch (current->control.type)
+@@ -1269,16 +1260,6 @@
+
+
+ count = 0;
+-
+- if(next == NULL)
+- done = 1;
+- }
+-
+-next_control:
+- if(!done)
+- {
+- current = next;
+- next = current->next;
+ }
+ }
+
@@ -0,0 +1,54 @@
+--- guvcview-src-1.5.2/src/pulse_audio.c.orig
++++ guvcview-src-1.5.2/src/pulse_audio.c
+@@ -29,11 +29,7 @@
+
+ #include <errno.h>
+
+-#if GLIB_MINOR_VERSION < 31
+- #define __AMUTEX pdata->mutex
+-#else
+- #define __AMUTEX &pdata->mutex
+-#endif
++#define __AMUTEX &pdata->mutex
+
+ //run in separate thread
+ static void* pulse_read_audio(void *userdata)
+@@ -56,7 +52,7 @@
+ ss.channels = pdata->channels;
+ __UNLOCK_MUTEX(__AMUTEX);
+
+- printf("starting pulse audio thread: %d hz- %d ch\n",ss.rate, ss.channels);
++ g_print("starting pulse audio thread: %d hz- %d ch\n",ss.rate, ss.channels);
+ if (!(pdata->pulse_simple = pa_simple_new(NULL, "Guvcview Video Capture", PA_STREAM_RECORD, NULL, "pcm.record", &ss, NULL, NULL, &error)))
+ {
+ g_printerr(": pa_simple_new() failed: %s\n", pa_strerror(error));
+@@ -114,7 +110,7 @@
+ }
+
+ finish:
+- printf("audio thread exited\n");
++ g_print("audio thread exited\n");
+ pdata->streaming = FALSE;
+ if (pdata->pulse_simple)
+ pa_simple_free(pdata->pulse_simple);
+@@ -126,19 +122,7 @@
+ pulse_init_audio(struct paRecordData* pdata)
+ {
+ //start audio capture thread
+-#if GLIB_MINOR_VERSION < 31
+- if( (pdata->pulse_read_th = g_thread_create(
+- (GThreadFunc) pulse_read_audio,
+- pdata, //data
+- FALSE, //joinable - no need waiting for thread to finish
+- NULL) //error
+- ) == NULL)
+-#else
+- if( (pdata->pulse_read_th = g_thread_new("pulse thread",
+- (GThreadFunc) pulse_read_audio,
+- pdata)
+- ) == NULL)
+-#endif
++ if(__THREAD_CREATE(&pdata->pulse_read_th, (GThreadFunc) pulse_read_audio,pdata))
+ {
+ g_printerr("Pulse thread creation failed\n");
+ return (-1);
@@ -0,0 +1,43 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/guvcview/guvcview-1.5.2.ebuild,v 1.1 2012/02/13 10:59:58 radhermit Exp $
+
+EAPI=4
+
+inherit autotools eutils
+
+MY_P=${PN}-src-${PV}
+DESCRIPTION="GTK+ UVC Viewer"
+HOMEPAGE="http://guvcview.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="pulseaudio"
+
+RDEPEND=">=dev-libs/glib-2.10:2
+ virtual/ffmpeg
+ >=media-libs/libsdl-1.2.10
+ >=media-libs/libpng-1.4
+ media-libs/libv4l
+ >=media-libs/portaudio-19_pre
+ sys-fs/udev
+ x11-libs/gtk+:3
+ pulseaudio? ( >=media-sound/pulseaudio-0.9.15 )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ sys-devel/gettext"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ sed -i -e '/^guvcviewdocdir/,/^$/d' Makefile.am || die
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-debian-menu \
+ $(use_enable pulseaudio pulse)
+}
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>

0 comments on commit 1472391

Please sign in to comment.