commit isight-firmware-tools for openSUSE:Factory

2015-04-07 Thread h_root
Hello community,

here is the log from the commit of package isight-firmware-tools for 
openSUSE:Factory checked in at 2015-04-07 09:29:18

Comparing /work/SRC/openSUSE:Factory/isight-firmware-tools (Old)
 and  /work/SRC/openSUSE:Factory/.isight-firmware-tools.new (New)


Package is isight-firmware-tools

Changes:

--- 
/work/SRC/openSUSE:Factory/isight-firmware-tools/isight-firmware-tools.changes  
2013-05-13 14:57:50.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.isight-firmware-tools.new/isight-firmware-tools.changes
 2015-04-07 09:29:19.0 +0200
@@ -1,0 +2,9 @@
+Fri Apr  3 08:12:36 UTC 2015 - mplus...@suse.com
+
+- Cleanup spec file with spec-cleaner
+- Use udev macros from systemd-rpm-macros
+- Update info rules
+- Add gpg signature
+- Use url for source
+
+---

New:

  isight-firmware-tools-1.6.tar.gz.asc
  isight-firmware-tools.keyring



Other differences:
--
++ isight-firmware-tools.spec ++
--- /var/tmp/diff_new_pack.NEB56Q/_old  2015-04-07 09:29:19.0 +0200
+++ /var/tmp/diff_new_pack.NEB56Q/_new  2015-04-07 09:29:19.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package isight-firmware-tools
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,8 @@
 #
 
 
+%define _udevdir %(pkg-config --variable=udevdir udev)
+%define _udevrulesdir %{_udevdir}/rules.d
 Name:   isight-firmware-tools
 Version:1.6
 Release:0
@@ -23,20 +25,26 @@
 License:GPL-2.0
 Group:  Amusements/Toys/Graphics
 Url:http://bersace03.free.fr/ift/
-Source: isight-firmware-tools-%{version}.tar.gz
+Source0:
https://launchpad.net/isight-firmware-tools/main/%{version}/+download/isight-firmware-tools-%{version}.tar.gz
+Source1:
https://launchpad.net/isight-firmware-tools/main/%{version}/+download/isight-firmware-tools-%{version}.tar.gz.asc
+Source2:%{name}.keyring
 Patch0: isight-firmware-tools-older_isight-1.6.0.diff
 Patch1: isight-ft-udev.patch
+BuildRequires:  autoconf
 BuildRequires:  automake
-BuildRequires:  gcc
 BuildRequires:  intltool
 BuildRequires:  libgcrypt-devel
+BuildRequires:  libtool
 BuildRequires:  libusb-devel
 BuildRequires:  pkgconfig
+BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(udev)
+Requires(post): %{install_info_prereq}
+Requires(preun): %{install_info_prereq}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%define _udevdir %(pkg-config --variable=udevdir udev)
-%define _udevrulesdir %{_udevdir}/rules.d
+%{?systemd_requires}
+
 %description
 This project provide tools to manipulate firmware for Built-in iSight
 found on Apple machine since iMac G5 iSight
@@ -45,13 +53,14 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+
 %build
-autoreconf -fiv
+autoreconf -fi
 %configure
 make %{?_smp_mflags}
 
 %install
-%makeinstall
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
 %find_lang %{name}
 
 rm -f %{buildroot}%{_infodir}/dir
@@ -59,27 +68,23 @@
 mkdir -p %{buildroot}%{_docdir}
 mv %{buildroot}%{_datadir}/doc/isight-firmware-tools 
%{buildroot}%{_docdir}/isight-firmware-tools
 
-%clean
-rm -rf %{buildroot}
-
 %post
-/sbin/install-info %{_infodir}/ift-extract.info %{_infodir}/dir || :
-/sbin/install-info %{_infodir}/ift-export.info %{_infodir}/dir || :
+%install_info --info-dir=%{_infodir} %{_infodir}/ift-extract.info.gz
+%install_info --info-dir=%{_infodir} %{_infodir}/ift-export.info.gz
+%{udev_rules_update}
 
 %preun
-if [ $1 = 0 ] ; then
-  /sbin/install-info --delete %{_infodir}/ift-extract.info %{_infodir}/dir || :
-  /sbin/install-info --delete %{_infodir}/ift-export.info %{_infodir}/dir || :
-fi
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/ift-extract.info.gz
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/ift-export.info.gz
 
 %files -f %{name}.lang
 %defattr(-,root,root)
 %{_udevrulesdir}/isight.rules
-%dir %{_datadir}/doc/packages/%{name}
+%dir %{_docdir}/%{name}
 %{_bindir}/ift-export
 %{_bindir}/ift-extract
 %{_udevdir}/ift-load
-%doc %{_datadir}/doc/packages/%{name}/HOWTO
+%doc %{_docdir}/%{name}/HOWTO
 %{_infodir}/*
 %{_mandir}/man1/*.1%{ext_man}
 




commit isight-firmware-tools for openSUSE:Factory

2013-05-13 Thread h_root
Hello community,

here is the log from the commit of package isight-firmware-tools for 
openSUSE:Factory checked in at 2013-05-13 14:57:48

Comparing /work/SRC/openSUSE:Factory/isight-firmware-tools (Old)
 and  /work/SRC/openSUSE:Factory/.isight-firmware-tools.new (New)


Package is isight-firmware-tools

Changes:

--- 
/work/SRC/openSUSE:Factory/isight-firmware-tools/isight-firmware-tools.changes  
2012-10-11 10:49:07.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.isight-firmware-tools.new/isight-firmware-tools.changes
 2013-05-13 14:57:50.0 +0200
@@ -1,0 +2,6 @@
+Thu May  9 04:47:32 UTC 2013 - crrodrig...@opensuse.org
+
+-  isight-ft-udev.patch: detect the udev directories 
+   at compile time.
+
+---

New:

  isight-ft-udev.patch



Other differences:
--
++ isight-firmware-tools.spec ++
--- /var/tmp/diff_new_pack.jbpulJ/_old  2013-05-13 14:57:51.0 +0200
+++ /var/tmp/diff_new_pack.jbpulJ/_new  2013-05-13 14:57:51.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package isight-firmware-tools
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,13 +25,18 @@
 Url:http://bersace03.free.fr/ift/
 Source: isight-firmware-tools-%{version}.tar.gz
 Patch0: isight-firmware-tools-older_isight-1.6.0.diff
+Patch1: isight-ft-udev.patch
+BuildRequires:  automake
 BuildRequires:  gcc
 BuildRequires:  intltool
 BuildRequires:  libgcrypt-devel
 BuildRequires:  libusb-devel
+BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(udev)
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-
+%define _udevdir %(pkg-config --variable=udevdir udev)
+%define _udevrulesdir %{_udevdir}/rules.d
 %description
 This project provide tools to manipulate firmware for Built-in iSight
 found on Apple machine since iMac G5 iSight
@@ -39,8 +44,9 @@
 %prep
 %setup -q
 %patch0 -p1
-
+%patch1 -p1
 %build
+autoreconf -fiv
 %configure
 make %{?_smp_mflags}
 
@@ -68,15 +74,11 @@
 
 %files -f %{name}.lang
 %defattr(-,root,root)
-%config %{_sysconfdir}/udev/rules.d/isight.rules
-%dir %{_libdir}/udev
+%{_udevrulesdir}/isight.rules
 %dir %{_datadir}/doc/packages/%{name}
 %{_bindir}/ift-export
 %{_bindir}/ift-extract
-%dir %{_libdir}/udev
-%dir %{_sysconfdir}/udev/rules.d
-%dir %{_sysconfdir}/udev
-%{_libdir}/udev/ift-load
+%{_udevdir}/ift-load
 %doc %{_datadir}/doc/packages/%{name}/HOWTO
 %{_infodir}/*
 %{_mandir}/man1/*.1%{ext_man}

++ isight-ft-udev.patch ++
--- isight-firmware-tools-1.6.orig/configure.ac
+++ isight-firmware-tools-1.6/configure.ac
@@ -24,8 +24,8 @@ AC_SUBST(IFT_LIBS)
 PKG_CHECK_MODULES(LOAD, [libusb])
 AC_SUBST(LOAD_CFLAGS)
 AC_SUBST(LOAD_LIBS)
-
-udevdir=${libdir}/udev
+PKG_PROG_PKG_CONFIG
+udevdir=$($PKG_CONFIG --variable=udevdir udev)
 AC_SUBST(udevdir)
 
 dnl GETTEXT
--- isight-firmware-tools-1.6.orig/src/Makefile.am
+++ isight-firmware-tools-1.6/src/Makefile.am
@@ -21,7 +21,7 @@ ift_load_SOURCES = udev.c load.c load.h
 ift_load_CFLAGS = $(IFT_CFLAGS) $(LOAD_CFLAGS) $(AM_CFLAGS)
 ift_load_LDADD = $(IFT_LIBS) $(LOAD_LIBS)
 
-rulesdir = ${sysconfdir}/udev/rules.d
+rulesdir = ${udevdir}/rules.d
 rules_DATA = isight.rules
 
 # AC_SUBST sucks
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit isight-firmware-tools for openSUSE:Factory

2012-10-11 Thread h_root
Hello community,

here is the log from the commit of package isight-firmware-tools for 
openSUSE:Factory checked in at 2012-10-11 10:46:35

Comparing /work/SRC/openSUSE:Factory/isight-firmware-tools (Old)
 and  /work/SRC/openSUSE:Factory/.isight-firmware-tools.new (New)


Package is isight-firmware-tools, Maintainer is 

Changes:

--- 
/work/SRC/openSUSE:Factory/isight-firmware-tools/isight-firmware-tools.changes  
2012-02-07 14:46:01.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.isight-firmware-tools.new/isight-firmware-tools.changes
 2012-10-11 10:49:07.0 +0200
@@ -1,0 +2,5 @@
+Wed Oct 10 19:56:50 UTC 2012 - co...@suse.com
+
+- own udev directories to avoid udev build dependency
+
+---
@@ -5 +9,0 @@
-



Other differences:
--
++ isight-firmware-tools.spec ++
--- /var/tmp/diff_new_pack.e7o5Jh/_old  2012-10-11 10:49:08.0 +0200
+++ /var/tmp/diff_new_pack.e7o5Jh/_new  2012-10-11 10:49:08.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package isight-firmware-tools
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,14 +16,13 @@
 #
 
 
-
 Name:   isight-firmware-tools
 Version:1.6
-Release:1
-License:GPL-2.0
+Release:0
 Summary:Tools to manipulate firmware for Built-in iSight
-Url:http://bersace03.free.fr/ift/
+License:GPL-2.0
 Group:  Amusements/Toys/Graphics
+Url:http://bersace03.free.fr/ift/
 Source: isight-firmware-tools-%{version}.tar.gz
 Patch0: isight-firmware-tools-older_isight-1.6.0.diff
 BuildRequires:  gcc
@@ -74,6 +73,9 @@
 %dir %{_datadir}/doc/packages/%{name}
 %{_bindir}/ift-export
 %{_bindir}/ift-extract
+%dir %{_libdir}/udev
+%dir %{_sysconfdir}/udev/rules.d
+%dir %{_sysconfdir}/udev
 %{_libdir}/udev/ift-load
 %doc %{_datadir}/doc/packages/%{name}/HOWTO
 %{_infodir}/*

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit isight-firmware-tools for openSUSE:Factory

2012-02-07 Thread h_root
Hello community,

here is the log from the commit of package isight-firmware-tools for 
openSUSE:Factory checked in at 2012-02-07 14:45:58

Comparing /work/SRC/openSUSE:Factory/isight-firmware-tools (Old)
 and  /work/SRC/openSUSE:Factory/.isight-firmware-tools.new (New)


Package is isight-firmware-tools, Maintainer is 

Changes:

--- 
/work/SRC/openSUSE:Factory/isight-firmware-tools/isight-firmware-tools.changes  
2011-09-23 02:03:45.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.isight-firmware-tools.new/isight-firmware-tools.changes
 2012-02-07 14:46:01.0 +0100
@@ -1,0 +2,6 @@
+Tue Feb 07 07:35:09 UTC 2012 - tuukka.pasa...@ilmi.fi
+
+- Added support for older iMac isight 
+
+
+---

New:

  isight-firmware-tools-older_isight-1.6.0.diff



Other differences:
--
++ isight-firmware-tools.spec ++
--- /var/tmp/diff_new_pack.wcEAcP/_old  2012-02-07 14:46:04.0 +0100
+++ /var/tmp/diff_new_pack.wcEAcP/_new  2012-02-07 14:46:04.0 +0100
@@ -25,6 +25,7 @@
 Url:http://bersace03.free.fr/ift/
 Group:  Amusements/Toys/Graphics
 Source: isight-firmware-tools-%{version}.tar.gz
+Patch0: isight-firmware-tools-older_isight-1.6.0.diff
 BuildRequires:  gcc
 BuildRequires:  intltool
 BuildRequires:  libgcrypt-devel
@@ -38,6 +39,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure

++ isight-firmware-tools-older_isight-1.6.0.diff ++
diff --git a/src/load.h b/src/load.h
index ac5d354..7dc1b4f 100644
--- a/src/load.h
+++ b/src/load.h
@@ -40,7 +40,8 @@
 #define_LOAD_H_
 
 #define APPLE_VENDOR_ID0x05AC
-#defineISIGHT_PRODUCT_ID   0x8300
+#defineISIGHT_PRODUCT_ID1  0x8300
+#defineISIGHT_PRODUCT_ID2  0x8501
 
 #defineift_debug(args...)  syslog(LOG_DEBUG, args)
 #defineift_message(args...)syslog(LOG_INFO, args)
diff --git a/src/udev.c b/src/udev.c
index 004e773..94d43c2 100644
--- a/src/udev.c
+++ b/src/udev.c
@@ -109,11 +109,18 @@ main(int argc, char *argv[])
 
 
dev = find_usb_product(APPLE_VENDOR_ID,
-  ISIGHT_PRODUCT_ID);
+  ISIGHT_PRODUCT_ID1);
+
+/* If we can't open that device try another one. Older */
+   if (!dev){
+   dev = find_usb_product(APPLE_VENDOR_ID,
+  ISIGHT_PRODUCT_ID2);
+}
 
if (!dev)
ift_error(_(No iSight found));
 
+
if (load_firmware(dev, firmware) == -1)
ift_error(_(Failed to upload firmware to 0x%04X:0x%04X),
  dev-descriptor.idVendor,
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit isight-firmware-tools for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package isight-firmware-tools for 
openSUSE:Factory checked in at 2011-12-06 18:19:45

Comparing /work/SRC/openSUSE:Factory/isight-firmware-tools (Old)
 and  /work/SRC/openSUSE:Factory/.isight-firmware-tools.new (New)


Package is isight-firmware-tools, Maintainer is 

Changes:




Other differences:
--
++ isight-firmware-tools.spec ++
--- /var/tmp/diff_new_pack.Yp5VOf/_old  2011-12-06 18:34:25.0 +0100
+++ /var/tmp/diff_new_pack.Yp5VOf/_new  2011-12-06 18:34:25.0 +0100
@@ -20,7 +20,7 @@
 Name:   isight-firmware-tools
 Version:1.6
 Release:1
-License:GPLv2
+License:GPL-2.0
 Summary:Tools to manipulate firmware for Built-in iSight
 Url:http://bersace03.free.fr/ift/
 Group:  Amusements/Toys/Graphics

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit isight-firmware-tools for openSUSE:Factory

2011-07-06 Thread h_root

Hello community,

here is the log from the commit of package isight-firmware-tools for 
openSUSE:Factory
checked in at Wed Jul 6 12:55:22 CEST 2011.




New Changes file:

--- /dev/null   2010-08-26 16:28:41.0 +0200
+++ 
/mounts/work_src_done/STABLE/isight-firmware-tools/isight-firmware-tools.changes
2011-06-02 09:36:12.0 +0200
@@ -0,0 +1,11 @@
+---
+Thu Jun  2 07:35:09 UTC 2011 - idon...@novell.com
+
+- Version bump to version 1.6 
+
+---
+Mon Jul 06 2009 tuukka.pasa...@ilmi.fi
+
+- packaged isight-firmware-tools version 1.4.2 using the buildservice spec 
file wizard
+ 
+

calling whatdependson for head-i586


New:

  isight-firmware-tools-1.6.tar.gz
  isight-firmware-tools.changes
  isight-firmware-tools.spec



Other differences:
--
++ isight-firmware-tools.spec ++
#
# spec file for package isight-firmware-tools
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An Open Source License is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:   isight-firmware-tools
Version:1.6
Release:1
License:GPLv2
Summary:Tools to manipulate firmware for Built-in iSight
Url:http://bersace03.free.fr/ift/
Group:  Amusements/Toys/Graphics
Source: isight-firmware-tools-%{version}.tar.gz
BuildRequires:  gcc
BuildRequires:  intltool
BuildRequires:  libgcrypt-devel
BuildRequires:  libusb-devel
BuildRequires:  pkgconfig(glib-2.0)
BuildRoot:  %{_tmppath}/%{name}-%{version}-build

%description
This project provide tools to manipulate firmware for Built-in iSight
found on Apple machine since iMac G5 iSight

%prep
%setup -q

%build
%configure
make %{?_smp_mflags}

%install
%makeinstall
%find_lang %{name}

rm -f %{buildroot}%{_infodir}/dir

mkdir -p %{buildroot}%{_docdir}
mv %{buildroot}%{_datadir}/doc/isight-firmware-tools 
%{buildroot}%{_docdir}/isight-firmware-tools

%clean
rm -rf %{buildroot}

%post
/sbin/install-info %{_infodir}/ift-extract.info %{_infodir}/dir || :
/sbin/install-info %{_infodir}/ift-export.info %{_infodir}/dir || :

%preun
if [ $1 = 0 ] ; then
  /sbin/install-info --delete %{_infodir}/ift-extract.info %{_infodir}/dir || :
  /sbin/install-info --delete %{_infodir}/ift-export.info %{_infodir}/dir || :
fi

%files -f %{name}.lang
%defattr(-,root,root)
%config %{_sysconfdir}/udev/rules.d/isight.rules
%dir %{_libdir}/udev
%dir %{_datadir}/doc/packages/%{name}
%{_bindir}/ift-export
%{_bindir}/ift-extract
%{_libdir}/udev/ift-load
%doc %{_datadir}/doc/packages/%{name}/HOWTO
%{_infodir}/*
%{_mandir}/man1/*.1%{ext_man}

%changelog





Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org