diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 878769a..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: v4l2-tool -# $Id$ -NAME := v4l2-tool -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/db.patch b/db.patch deleted file mode 100644 index f70bfe5..0000000 --- a/db.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -urN v4l2-tool-1.0.3/src/interface.c v4l2-tool-1.0.3-patched/src/interface.c ---- v4l2-tool-1.0.3/src/interface.c 2007-08-28 11:25:20.000000000 +0530 -+++ v4l2-tool-1.0.3-patched/src/interface.c 2007-08-28 12:37:02.000000000 +0530 -@@ -274,7 +274,7 @@ - } - strncat(srch1,gtxt,6); - -- fp = fopen("uvcvideo.txt", "r"); -+ fp = fopen("/usr/share/v4l2-tool/uvcvideo.txt", "r"); - if (fp == NULL) - exit(0); - while ((r_read = getline(&line, &len, fp)) != -1) { -@@ -286,7 +286,7 @@ - } - } - fclose (fp); -- fp = fopen("gspcav2.txt", "r"); -+ fp = fopen("/usr/share/v4l2-tool/gspcav2.txt", "r"); - if (fp == NULL) - exit(0); - while ((r_read = getline(&line, &len, fp)) != -1) { diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..e69de29 diff --git a/sources b/sources deleted file mode 100644 index 7e539ab..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -73a91e0252b6955a84b59c5cd6e6ce15 v4l2-tool-1.0.3.tar.gz diff --git a/v4l2-tool-1.0.3-lsusb.patch b/v4l2-tool-1.0.3-lsusb.patch deleted file mode 100644 index 44a975d..0000000 --- a/v4l2-tool-1.0.3-lsusb.patch +++ /dev/null @@ -1,15 +0,0 @@ -Correct path to lsusb -Lubomir Rintel - -diff -up v4l2-tool-1.0.3/src/interface.c.lsusb v4l2-tool-1.0.3/src/interface.c ---- v4l2-tool-1.0.3/src/interface.c.lsusb 2009-09-20 13:15:56.199876752 +0200 -+++ v4l2-tool-1.0.3/src/interface.c 2009-09-20 13:15:56.234996207 +0200 -@@ -206,7 +206,7 @@ on_lsusb_button_clicked ( - char *fileName="/tmp/usbfile"; - gchar *text; gsize length; - -- rread=system("/sbin/lsusb | grep -v 0000 > /tmp/usbfile"); -+ rread=system("/usr/sbin/lsusb | grep -v 0000 > /tmp/usbfile"); - lsusbwindow = gtk_window_new (GTK_WINDOW_TOPLEVEL); - gtk_window_set_policy(GTK_WINDOW(lsusbwindow), FALSE, TRUE, TRUE); - gtk_window_set_title (GTK_WINDOW(lsusbwindow), _("lsusb - USB Device Information")); diff --git a/v4l2-tool.spec b/v4l2-tool.spec deleted file mode 100644 index c560350..0000000 --- a/v4l2-tool.spec +++ /dev/null @@ -1,97 +0,0 @@ -Name: v4l2-tool -Version: 1.0.3 -Release: 5%{?dist} -Summary: This package gives v4l2 device information of webcam - -Group: Applications/Multimedia -License: GPLv2 -URL: http://v4lx-devinfo.sf.net/ -Source0: http://downloads.sourceforge.net/v4lx-devinfo/%{name}-%{version}.tar.gz -Patch0: db.patch -Patch1: v4l2-tool-1.0.3-lsusb.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: desktop-file-utils libgnomeui-devel -BuildRequires: automake - -%description -This package gives v4l2 device information of webcam. This -application is used to get more hardware information from attached -webcam device. This application is tested with gspca and uvcvideo -v4l2 kernel drivers. There are five tabs each corresponding to one -ioctl call and returning respective structure fills with values. - - -%prep -%setup -q -n %{name}-%{version} -%patch0 -p1 -b .db -%patch1 -p1 -b .lsusb - -%build -sh autogen.sh -%configure -make %{?_smp_mflags} - -%install -rm -rf %{buildroot} -make install DESTDIR=%{buildroot} -mkdir -p %{buildroot}%{_datadir}/%{name} -install -p -m 644 src/uvcvideo.txt %{buildroot}%{_datadir}/%{name}/uvcvideo.txt -install -p -m 644 src/gspcav2.txt %{buildroot}%{_datadir}/%{name}/gspcav2.txt -mkdir -p %{buildroot}%{_datadir}/pixmaps/ -install -p -m 644 v4l2-tool-logo.png %{buildroot}%{_datadir}/pixmaps/v4l2-tool-logo.png - -cat << EOF > %{name}.desktop -[Desktop Entry] -Name=v4l2-tool -Comment=Gives webcam details using v4l2 kernel driver -Exec=v4l2-tool -Icon=v4l2-tool-logo -Terminal=false -Type=Application -Encoding=UTF-8 -Categories=GNOME;Application;AudioVideo;Video; -EOF - -desktop-file-install --vendor fedora \ - --dir %{buildroot}/%{_datadir}/applications/ \ - %{name}.desktop - - -%clean -rm -rf %{buildroot} - - -%files -%defattr(-, root, root, -) -%doc COPYING AUTHORS ChangeLog README -%{_bindir}/v4l2-tool -%{_datadir}/pixmaps/v4l2-tool* -%{_datadir}/v4l2-tool -%{_datadir}/applications/fedora-v4l2-tool.desktop - -%changelog -* Sun Sep 20 2009 Lubomir Rintel - 1.0.3-5 -- Correct path to lsusb - -* Sun Jul 26 2009 Fedora Release Engineering - 1.0.3-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Wed Feb 25 2009 Fedora Release Engineering - 1.0.3-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Sat Feb 09 2008 Parag Nemade - 1.0.3-2 -- Rebuild for gcc 4.3 - -* Tue Aug 28 2007 Parag Nemade - 1.0.3-1 -- update to new upstream release - -* Tue Aug 21 2007 Parag Nemade - 1.0.2-3 -- update License tag -- build against new rpm package - -* Thu Nov 30 2006 Parag Nemade 1.0.2-2 -- Fixed Desktop file, Source URL, Added COPYING under %%doc - -* Sat Aug 26 2006 Parag Nemade 1.0.2-1 -- Initial specfile for Fedora Extras -