commit 22bc8c2e4884dd72ec57af99137fbdee4707343a7f8d9ea31dd7355628571244 Author: OBS User unknown Date: Mon Jan 8 16:45:38 2007 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libgphoto2?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libgphoto2-2.3.1.3.trunk.tar.bz2 b/libgphoto2-2.3.1.3.trunk.tar.bz2 new file mode 100644 index 0000000..27c03f2 --- /dev/null +++ b/libgphoto2-2.3.1.3.trunk.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d55fc6ae3b96ad893f0c71779719347fd4e12a9febc27cf92f461e7990a78c37 +size 2699773 diff --git a/libgphoto2.changes b/libgphoto2.changes new file mode 100644 index 0000000..20b6650 --- /dev/null +++ b/libgphoto2.changes @@ -0,0 +1,558 @@ +------------------------------------------------------------------- +Mon Jan 8 16:40:31 CET 2007 - meissner@suse.de + +- upgraded to 2.3.1.3.trunk. + - large parts of PTP2 driver rewritten. + - possibility to download data without need + to keep it in memory. + +------------------------------------------------------------------- +Tue Dec 5 15:05:26 CET 2006 - meissner@suse.de + +- upgraded to 2.3.0 final. + - some new ids + - bugfixes + +------------------------------------------------------------------- +Tue Nov 14 22:31:04 CET 2006 - meissner@suse.de + +- Some new ids added. +- fixed broken canon driver (GP_LOG does not exist). +- Fixed && -> & + +------------------------------------------------------------------- +Thu Nov 9 11:10:34 CET 2006 - meissner@suse.de + +- updated to current SVN: + - lots of new PTP USB ids + - small bugfixes + +------------------------------------------------------------------- +Mon Oct 30 18:08:45 CET 2006 - meissner@suse.de + +- include doxygen documentation +- use correct types for portable_audio_player so we + get ACLs from hal-resmgr. + +------------------------------------------------------------------- +Fri Oct 27 16:54:22 CEST 2006 - meissner@suse.de + +- split into libgphoto2 and libgphoto2-devel +- updated to current TRUNK + - some bugfixes (strncat) + - some new USB ids. + +------------------------------------------------------------------- +Fri Oct 27 14:59:35 CEST 2006 - ro@suse.de + +- provide libgphoto2-devel until/unless package is split + +------------------------------------------------------------------- +Tue Oct 17 13:41:33 CEST 2006 - meissner@suse.de + +- upgraded to current trunk. + - MTP playlist support. + - More MTP fixes. + - Lots of new ids. + - Fast CANON directory retrieval. + +------------------------------------------------------------------- +Tue Sep 5 16:37:00 CEST 2006 - meissner@suse.de + +- dbus_connection_disconnect() -> dbus_connection_close() + +------------------------------------------------------------------- +Tue Aug 29 14:22:41 CEST 2006 - meissner@suse.de + +- more bugfixes from trunk and split off C# bindings + package. + +------------------------------------------------------------------- +Mon Aug 28 16:51:04 CEST 2006 - meissner@suse.de + +- upgraded to current trunk version. + - MTP fixes, including handling of Umlauts + - New device ids + - C# binding fixes +- removed upstreamed patches. + +------------------------------------------------------------------- +Tue Aug 1 02:07:44 CEST 2006 - dmueller@suse.de + +- add compiler warning fix for installed headers + +------------------------------------------------------------------- +Mon Jun 19 13:27:03 CEST 2006 - meissner@suse.de + +- Upgraded to 2.2.0 release. + - More new USB ids. + - Lots of MTP fixes. + - wait_for_event handling. + - metadata handling for MTP. + +------------------------------------------------------------------- +Wed Apr 26 11:25:56 CEST 2006 - meissner@suse.de + +- Readd names and "libgphoto2 support" tag for the MTP devices. +- Mark the devices as "user" to get correct resmgr support. + (both reported by thoenig) + +------------------------------------------------------------------- +Sat Apr 22 17:45:50 CEST 2006 - meissner@suse.de + +- Added 4 new PTP ids. + +------------------------------------------------------------------- +Wed Apr 5 14:44:09 CEST 2006 - meissner@suse.de + +- Report MTP Music Players correctly via FDI (hackish solution) #163015 +- Some more new PTP ids. + +------------------------------------------------------------------- +Mon Mar 27 13:22:34 CEST 2006 - meissner@suse.de + +- Merged some important fixes from CVS. +- libgphoto2-map-mp3.patch: Map MP3 mimetypes correctly to PTP + ObjectFormat codes. +- libgphoto2-mtp-fixes.patch: Fixed some read/write problems on PTP + compatible music complayers. +- libgphoto2-new-usbids.patch: New USB IDs collected over the last + few weeks. + +------------------------------------------------------------------- +Wed Feb 22 15:39:40 CET 2006 - stbinner@suse.de + +- don't require hal on 9.2 supplementary distributions + +------------------------------------------------------------------- +Fri Jan 27 02:05:57 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Wed Jan 25 11:15:49 CET 2006 - meissner@suse.de + +- Ignore Olympus cameras with Sierra firmware, since + they also appear as storage devices. +- Prepare for adding "camera" to "info.capabilities". +- Some bugfixes. + +------------------------------------------------------------------- +Mon Jan 23 10:53:45 CET 2006 - meissner@suse.de + +- Upgraded to current CVS. + - More PTP / MTP bugfixes. + +------------------------------------------------------------------- +Mon Jan 16 11:44:11 CET 2006 - meissner@suse.de + +- Upgraded to current CVS. + - Lots of MTP / PTP fixes. + - PTP configuration handling rewrite +- use -fstack-protector only in SL > 10.0 + +------------------------------------------------------------------- +Thu Jan 12 18:39:05 CET 2006 - meissner@suse.de + +- Upgraded to current CVS. + - Lots of MTP and iRiver related fixes. + +------------------------------------------------------------------- +Tue Jan 10 23:17:06 CET 2006 - meissner@suse.de + +- Upgraded to 2.1.99 +- Upgraded to current CVS. + - Various new ids. + - Various bugfixes in ptp driver. + - translation updates. + +------------------------------------------------------------------- +Fri Dec 16 16:12:11 CET 2005 - meissner@suse.de + +- Upgraded to current CVS. (Some new ids, Ricoh R3 fixes). +- Fixed build in PLUS. + +------------------------------------------------------------------- +Mon Nov 28 17:48:59 CET 2005 - meissner@suse.de + +- Upgraded to current CVS (almost only new model ids). + +- Dropped last patch, I made fixes for this upstream, but parts + of the problem are actually on the gnome-volume-manager side. + + The fdi file in this package only contains non-usb-storage accessible + cameras. + +------------------------------------------------------------------- +Fri Nov 11 19:00:11 CET 2005 - fejj@suse.de + +- Revert fdi file fixes since they actually break them worse than before + +------------------------------------------------------------------- +Mon Oct 10 17:22:01 CEST 2005 - meissner@suse.de + +- Newest CVS snapshot: + - Changed HAL fdi file according to upstream + suggestion. + +------------------------------------------------------------------- +Tue Sep 27 15:56:17 CEST 2005 - meissner@suse.de + +- Upgraded to latest CVS snapshot. + - reduce memory footprint when downloading images + - new ids + +------------------------------------------------------------------- +Sat Aug 20 15:30:40 CEST 2005 - schwab@suse.de + +- Don't require hotplug. + +------------------------------------------------------------------- +Thu Aug 18 09:16:21 CEST 2005 - meissner@suse.de + +- removed /etc/hotplug/usb/usbcam.usermap use. #105276 + +------------------------------------------------------------------- +Wed Aug 17 14:44:20 CEST 2005 - meissner@suse.de + +- Merged to current CVS. + - New "disk:" support to support mass storage cameras (written + by Marcus M.), changes in libgphoto2_port/disk/disk.c, libgphoto2/ + gphoto2-abilities-list.c and camlibs/directory/directory.c. + + Tested and working with gphoto2, f-spot, digikam, and KDE camera:/ + - usb - suppress some unnecessary "usb:XXX,YYY" ports. + - escape & in HAL FDI maps. + - Some small bugfixes and new ids. + +------------------------------------------------------------------- +Fri Aug 12 15:10:02 CEST 2005 - meissner@suse.de + +- Upgraded to current CVS. + - Some new ids + - Some bugfixes for PTP. +- FDI patch is obsolete. + +------------------------------------------------------------------- +Tue Aug 9 10:24:20 CEST 2005 - meissner@suse.de + +- Supply the libgphoto2 camera name in the FDI script. + +------------------------------------------------------------------- +Tue Jul 19 13:17:05 CEST 2005 - meissner@suse.de + +- gphoto-desktopdev is no longer used at all, all done + via hal-resmgr. +- Generate usbmap and fdimap on the fly during build, + no longer shipped seperately. +- Create FDI map XML file and install into freedesktop + FDI space. + +------------------------------------------------------------------- +Mon Jul 11 10:16:39 CEST 2005 - meissner@suse.de + +- Upgraded to latest development snapshot. + - buildsystem changes, now generates slightly + different shared drivers + - disk backend with hal support + - PTP driver enhancements, especially for Nikon D70 + - new HP Photosmart 215 driver + +------------------------------------------------------------------- +Mon Jun 27 11:10:39 CEST 2005 - meissner@suse.de + +- upgraded to 2.1.6. + - added 3 more cameras, some final fixes. + +------------------------------------------------------------------- +Fri Jun 10 12:09:01 CEST 2005 - meissner@suse.de + +- Upgraded to 2.1.6rc2. + - 2.6.12 kernel fixes + - libusb 0.10 fixes + - various new cameras and features. + +------------------------------------------------------------------- +Mon Mar 21 16:33:51 CET 2005 - meissner@suse.de + +- Added Sea & Sea 5000G, reported missing by Gerald. + +------------------------------------------------------------------- +Tue Mar 1 15:11:53 CET 2005 - meissner@suse.de + +- get rid of slashes in camera names. + +------------------------------------------------------------------- +Tue Feb 22 10:47:27 CET 2005 - meissner@suse.de + +- last change (etc/dev.d/usb) is not necessary. + +------------------------------------------------------------------- +Fri Feb 18 17:20:05 CET 2005 - meissner@suse.de + +- fixed directory lists. + +------------------------------------------------------------------- +Fri Feb 18 14:20:47 CET 2005 - meissner@suse.de + +- Upgraded to current CVS. + - Nikon and Pentax Sierra mode support. + - bugfixes and some new models for existing drivers. + +- Move gphoto-desktop dev also to /etc/dev.d/usb/, since hotplug + is no longer used, but udev is. + +------------------------------------------------------------------- +Fri Feb 4 15:49:00 CET 2005 - meissner@suse.de + +- Upgraded to current 2.1.6 development branch + version. + +------------------------------------------------------------------- +Thu Dec 16 10:09:28 CET 2004 - meissner@suse.de + +- Upgraded to 2.1.5 release. + +------------------------------------------------------------------- +Tue Nov 30 17:11:10 CET 2004 - meissner@suse.de + +- Upgraded to 2.1.5rc1. + +------------------------------------------------------------------- +Tue Oct 19 11:41:50 CEST 2004 - meissner@suse.de + +- Upgraded to current CVS head versions. +- no -> nb renamed. +- Added starts of PTP configuration magic. + +------------------------------------------------------------------- +Fri Sep 17 17:11:29 CEST 2004 - meissner@suse.de + +- Some new ids of new cameras extracted from HEAD branch. + +------------------------------------------------------------------- +Mon Sep 6 10:32:51 CEST 2004 - meissner@suse.de + +- Upgraded to current CVS. + - PTP config handling improved. + - More cameras. + +------------------------------------------------------------------- +Tue Aug 31 13:14:21 CEST 2004 - meissner@suse.de + +- Upgrade to current CVS. + - detach kernel drivers for stv680 and spca50x + if used. + - PTP property handling. + - sq905 fixes. + +------------------------------------------------------------------- +Thu Aug 19 13:58:07 CEST 2004 - meissner@suse.de + +- Updated to current HEAD development branch. + - lots of new PTP ids + - handling of multiple USB cameras at once. + - lots of fixes in other drivers. + - new drivers for newer small cameras. + +------------------------------------------------------------------- +Mon Apr 19 14:19:03 CEST 2004 - meissner@suse.de + +- %jobs, fixed syntax aliasing problems. + +------------------------------------------------------------------- +Wed Apr 7 10:36:31 CEST 2004 - meissner@suse.de + +- removed hotplug from neededforbuild. + +------------------------------------------------------------------- +Tue Apr 6 07:51:55 CEST 2004 - adrian@suse.de + +- hardcode camera hotplug file name + (partly workarounds #37902) + +------------------------------------------------------------------- +Mon Mar 22 11:06:31 CET 2004 - meissner@suse.de + +- updated from branch: + - canon: 2 critical bugfixes, 1 new id. + - ptp2: better working capture code, new ids. + - agfa cl20: heaps of fixes + - misc: new camera ids for several drivers. +- updated usbcam.usermap accordingly. + +------------------------------------------------------------------- +Thu Mar 18 17:51:38 CET 2004 - adrian@suse.de + +- create icon and register device in resmgr via hotplug + +------------------------------------------------------------------- +Mon Jan 19 15:46:16 CET 2004 - meissner@suse.de + +- Upgraded to final 2.1.4 version. + +------------------------------------------------------------------- +Wed Jan 7 15:19:54 CET 2004 - meissner@suse.de + +- Upgraded to current CVS (head4): + - multiple cameras of same type at once support. + - several new camera ids, lots of bug fixes. + +------------------------------------------------------------------- +Fri Nov 21 13:25:24 CET 2003 - meissner@suse.de + +- upgraded to current CVS head with all the Ricoh G3 fixes. + +------------------------------------------------------------------- +Wed Oct 15 16:00:25 CEST 2003 - meissner@suse.de + +- do not build as root. + +------------------------------------------------------------------- +Mon Oct 13 11:31:42 CEST 2003 - meissner@suse.de + +- Upgraded to current development snapshot. + +------------------------------------------------------------------- +Wed Sep 17 13:36:01 CEST 2003 - meissner@suse.de + +- sierra driver: Do not stop a never started progress context. +- ptp2 driver: Increase timeout for capture #30946 + +------------------------------------------------------------------- +Mon Sep 15 10:21:30 CEST 2003 - meissner@suse.de + +- added diff with bugfixes and new camera ids from current cvs. + - Fixes and new ids in PTP2 driver + - Fixes and new ids in Canon driver + - Make pdc640 driver recognize cameras at all. + - Fixes for soundvision driver, new camera model. + +------------------------------------------------------------------- +Sun Aug 10 22:38:32 CEST 2003 - meissner@suse.de + +- Updated to 2.1.2 release. + +------------------------------------------------------------------- +Mon Jun 16 12:56:12 CEST 2003 - meissner@suse.de + +- updated to 2.1.2 rc3 level (called dev11). + +------------------------------------------------------------------- +Thu Jun 12 20:26:17 CEST 2003 - meissner@suse.de + +- fixed build, added %find_lang usage. + +------------------------------------------------------------------- +Thu Jun 12 10:05:31 CEST 2003 - meissner@suse.de + +- added hotplug to neededforbuild due to missing directories. +- added missing dir %_libdir/libgphoto2. + +------------------------------------------------------------------- +Tue May 13 16:39:19 CEST 2003 - meissner@suse.de + +- %_lib fix. + +------------------------------------------------------------------- +Tue May 13 15:12:15 CEST 2003 - meissner@suse.de + +- Upgraded to 2.1.2dev8 (current CVS): + - new ptp2 driver + - agfa cl20 driver + - spca50x drivers merged into one + - lots of bugs fixed. +- fixed filelist (added manpages). + +------------------------------------------------------------------- +Mon Feb 17 17:05:44 CET 2003 - meissner@suse.de + +- Drop our own usbcam hotplug script and use desktopdev from resmgr + instead. + +------------------------------------------------------------------- +Mon Feb 17 15:20:34 CET 2003 - meissner@suse.de + +- Upgraded to current CVS: bugfixes, pdc640 driver fixed again. +- Fixed serial device open if resmgr is not running. +- Updated usbids. + +------------------------------------------------------------------- +Thu Feb 6 15:13:27 CET 2003 - meissner@suse.de + +- Upgraded to current CVS. + - Fixed support for Typhoon Stylocam, some + more stuff in pdc640 driver. +- Fixed usbcam script now for real. + +------------------------------------------------------------------- +Sat Jan 25 12:08:04 CET 2003 - meissner@suse.de + +- Upgraded to current CVS. + - New gcam300, pccam300, benq driver. + - Fixes in others. +- Fixed usermap, and usbcam script. + +------------------------------------------------------------------- +Thu Jan 9 10:47:46 CET 2003 - meissner@suse.de + +- Upgraded to current CVS version. + - New stv0674 camera driver. + - Fixes in sierra, ptp, casio, largan camlibs. + - More ids in others. +- resmgr style locking for serial devices. + +------------------------------------------------------------------- +Mon Dec 2 15:53:45 CET 2002 - meissner@suse.de + +- Final 2.1.1, translations complete, refreshed usbmap. + +------------------------------------------------------------------- +Wed Nov 20 09:41:57 CET 2002 - meissner@suse.de + +- neededforbuild += resmgr + +------------------------------------------------------------------- +Mon Nov 18 15:39:02 CET 2002 - meissner@suse.de + +- Updated to RC1 of libgphoto 2.1.1. + - spca504_flash camlib. + - More PTP camera models, some PTP endianess problems fixed. +- Fixed some 64bit bigendian and type punning problems with gcc 3.3. +- Use new resmgr in usermap script if present. + +------------------------------------------------------------------- +Thu Oct 31 05:52:43 PST 2002 - meissner@suse.de + +- Updated to latest upstream: + - SiPix Stylecam Blink driver added. + - More models for other cameras. + - Bugfixes. + +------------------------------------------------------------------- +Thu Sep 26 06:12:12 PDT 2002 - meissner@suse.de + +- Updated to latest upstream: + - More Canon Models. + - New Drivers: Kodak DC210, Largan lMini, pccam600, Mustek GSmart, + SX330Z. + +------------------------------------------------------------------- +Fri Aug 23 14:15:32 CEST 2002 - meissner@suse.de + +- Do not cat into system files, use seperate files for USB usermaps. + +------------------------------------------------------------------- +Tue Aug 20 10:50:11 CEST 2002 - meissner@suse.de + +- added prereq: hotplug /bin/cat + +------------------------------------------------------------------- +Wed Jul 31 09:07:29 CEST 2002 - meissner@suse.de + +- dropped provides: gphoto + +------------------------------------------------------------------- +Mon Jul 29 11:49:50 CEST 2002 - meissner@suse.de + +- splitted up from gphoto. diff --git a/libgphoto2.spec b/libgphoto2.spec new file mode 100644 index 0000000..271c1c9 --- /dev/null +++ b/libgphoto2.spec @@ -0,0 +1,539 @@ +# +# spec file for package libgphoto2 (Version 2.3.1.3.trunk) +# +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: libgphoto2 +BuildRequires: doxygen gcc-c++ hal-devel libexif libjpeg-devel mDNSResponder-devel mDNSResponder-lib +URL: http://gphoto.org/ +%define prefix /usr +License: GNU Library General Public License v. 2.0 and 2.1 (LGPL) +Group: Hardware/Other +Summary: A Digital Camera Library +Version: 2.3.1.3.trunk +Release: 1 +Source0: libgphoto2-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: udev resmgr +%package devel +Summary: Development headers for libgphoto2 +License: GNU Library General Public License v. 2.0 and 2.1 (LGPL) +Group: Hardware/Other +Requires: libgphoto2 = %version libusb libexif + +%description +gPhoto (GNU Photo) is a set of libraries for previewing, retrieving, +and capturing images from a range of supported digital cameras to your +local hard drive. It does not support digital cameras based on the USB +storage protocol. Those can be mounted by Linux directly. + +As of this time, gPhoto supports around 500 cameras, listed on: + +http://gphoto.sourceforge.net/proj/libgphoto2/support.php + +or by running + +gphoto2 --list-cameras + + + +Authors: +-------- + Scott Fritzinger + Lutz Müller + + Eugene Crosser + Matt Martin + Gary Ross + M. Adam Kendall + Del Simmons + Bob Paauwe + Cliff Wright + Phill Hugo + Beat Christen + Warren Baird + Brent D. Metz + Brian Hirt + Mandrake + Randy D. Scott + Paul S. Jenner + Tuomas Kuosmanen + Ole Aamot + Mariusz Zynel + Johannes Erdfelt + Werner Almesberger + Ole W. Saastad + Veros Kaplan + Wolfgang Reissnegger + Philippe Marzouk + Edouard Lafargue + Bart van Leeuwen + M. Adam Kendall + Mark Davies + Beat Christen + Gus Hartmann + Raymond Penners + Marcus Meissner + Hans Ulrich Niedermann + Colin Marquardt + + +%description devel +gPhoto (GNU Photo) is a set of libraries for previewing, retrieving, +and capturing images from a range of supported digital cameras to your +local hard drive. + +These are its development libraries and headers. + + + +Authors: +-------- + Scott Fritzinger + Lutz Müller + + Eugene Crosser + Matt Martin + Gary Ross + M. Adam Kendall + Del Simmons + Bob Paauwe + Cliff Wright + Phill Hugo + Beat Christen + Warren Baird + Brent D. Metz + Brian Hirt + Mandrake + Randy D. Scott + Paul S. Jenner + Tuomas Kuosmanen + Ole Aamot + Mariusz Zynel + Johannes Erdfelt + Werner Almesberger + Ole W. Saastad + Veros Kaplan + Wolfgang Reissnegger + Philippe Marzouk + Edouard Lafargue + Bart van Leeuwen + M. Adam Kendall + Mark Davies + Beat Christen + Gus Hartmann + Raymond Penners + Marcus Meissner + Hans Ulrich Niedermann + Colin Marquardt + +%prep +%setup -q + +%build +%{?suse_update_config:%{suse_update_config -f . libgphoto2_port}} +PATH="/usr/X11R6/bin:$PATH" \ +%if %suse_version > 1000 +export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fstack-protector" +%endif +CFLAGS="$RPM_OPT_FLAGS" \ +./configure \ + --prefix=%{prefix} \ + --mandir=%{_mandir} \ + --libdir=%{_libdir} \ + --with-doc-dir=%{_defaultdocdir}/%{name} \ + --with-drivers=all \ + --disable-static +make %{?jobs:-j%jobs} + +%install +# skip-check-libtool-deps +rm -rf $RPM_BUILD_ROOT +export LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} +make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install +%{find_lang} libgphoto2-2 +%{find_lang} libgphoto2_port-0 +cat libgphoto2-2.lang libgphoto2_port-0.lang > libgphoto2-all.lang +pushd packaging/generic + export CAMLIBS=$RPM_BUILD_ROOT/%_libdir/libgphoto2/%version/ +%if %suse_version < 1000 + install -m 0755 -d $RPM_BUILD_ROOT/etc/hotplug/usb/ + ./print-camera-list usb-usermap > $RPM_BUILD_ROOT/etc/hotplug/usb/usbcam.usermap + if [ ! -s $RPM_BUILD_ROOT/etc/hotplug/usb/usbcam.usermap ]; then + echo "*** Did not generate a usermap. Check the build." + exit 1 + fi +%endif +%if %suse_version >= 1000 + # Check the installed hal (in neededforbuild) if the directory + # is still at the place we expect to avoid surprises. + if [ ! -d /usr/share/hal/fdi/information/20thirdparty/ ] ; then + echo "*** The hal FDI file location has changed. Fix the build." + exit 1 + fi + install -m 0755 -d $RPM_BUILD_ROOT/usr/share/hal/fdi/information/20thirdparty/ + ./print-camera-list hal-fdi > $RPM_BUILD_ROOT/usr/share/hal/fdi/information/20thirdparty/10-camera-libgphoto2.fdi + # ./print-camera-list hal-fdi-dev > $RPM_BUILD_ROOT/usr/share/hal/fdi/information/20thirdparty/10-camera-libgphoto2-device.fdi + if [ ! -s $RPM_BUILD_ROOT/usr/share/hal/fdi/information/20thirdparty/10-camera-libgphoto2.fdi ]; then + echo "*** Did not generate a fdi map. Check the build." + exit 1 + fi +%endif +popd +# udev helpers not used here. +rm $RPM_BUILD_ROOT/usr/lib/udev/check-mtp-device +rm $RPM_BUILD_ROOT/usr/lib/udev/check-ptp-camera +mv doc/doxygen-output/libgphoto2-api.html apidocs + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f libgphoto2-all.lang +%defattr(-,root,root) +%{_libdir}/libgphoto2 +%{_libdir}/libgphoto2_port +%dir %{_defaultdocdir}/%{name} +%{_defaultdocdir}/%{name}/* +%{prefix}/share/%{name} +%{_libdir}/libgphoto2.so.* +%{_libdir}/libgphoto2_port.so.* +%if %suse_version < 1000 +/etc/hotplug/usb/* +%endif +%{_mandir}/man3/libgphoto2.3* +%{_mandir}/man3/libgphoto2_port.3* +%if %suse_version >= 1000 +/usr/share/hal/fdi/information/20thirdparty/10-camera-libgphoto2.fdi +# /usr/share/hal/fdi/information/20thirdparty/10-camera-libgphoto2-device.fdi +%endif + +%files devel +%defattr(-,root,root) +%doc apidocs +%{prefix}/include/gphoto2 +%{prefix}/bin/gphoto2-config +%{prefix}/bin/gphoto2-port-config +%{_libdir}/libgphoto2.so +%{_libdir}/libgphoto2.la +%{_libdir}/libgphoto2_port.so +%{_libdir}/libgphoto2_port.la +%{_libdir}/pkgconfig/libgphoto2.pc +%{_libdir}/pkgconfig/libgphoto2_port.pc + +%post +%run_ldconfig + +%changelog -n libgphoto2 +* Mon Jan 08 2007 - meissner@suse.de +- upgraded to 2.3.1.3.trunk. + - large parts of PTP2 driver rewritten. + - possibility to download data without need + to keep it in memory. +* Tue Dec 05 2006 - meissner@suse.de +- upgraded to 2.3.0 final. + - some new ids + - bugfixes +* Tue Nov 14 2006 - meissner@suse.de +- Some new ids added. +- fixed broken canon driver (GP_LOG does not exist). +- Fixed && -> & +* Thu Nov 09 2006 - meissner@suse.de +- updated to current SVN: + - lots of new PTP USB ids + - small bugfixes +* Mon Oct 30 2006 - meissner@suse.de +- include doxygen documentation +- use correct types for portable_audio_player so we + get ACLs from hal-resmgr. +* Fri Oct 27 2006 - meissner@suse.de +- split into libgphoto2 and libgphoto2-devel +- updated to current TRUNK + - some bugfixes (strncat) + - some new USB ids. +* Fri Oct 27 2006 - ro@suse.de +- provide libgphoto2-devel until/unless package is split +* Tue Oct 17 2006 - meissner@suse.de +- upgraded to current trunk. + - MTP playlist support. + - More MTP fixes. + - Lots of new ids. + - Fast CANON directory retrieval. +* Tue Sep 05 2006 - meissner@suse.de +- dbus_connection_disconnect() -> dbus_connection_close() +* Tue Aug 29 2006 - meissner@suse.de +- more bugfixes from trunk and split off C# bindings + package. +* Mon Aug 28 2006 - meissner@suse.de +- upgraded to current trunk version. + - MTP fixes, including handling of Umlauts + - New device ids + - C# binding fixes +- removed upstreamed patches. +* Tue Aug 01 2006 - dmueller@suse.de +- add compiler warning fix for installed headers +* Mon Jun 19 2006 - meissner@suse.de +- Upgraded to 2.2.0 release. + - More new USB ids. + - Lots of MTP fixes. + - wait_for_event handling. + - metadata handling for MTP. +* Wed Apr 26 2006 - meissner@suse.de +- Readd names and "libgphoto2 support" tag for the MTP devices. +- Mark the devices as "user" to get correct resmgr support. + (both reported by thoenig) +* Sat Apr 22 2006 - meissner@suse.de +- Added 4 new PTP ids. +* Wed Apr 05 2006 - meissner@suse.de +- Report MTP Music Players correctly via FDI (hackish solution) #163015 +- Some more new PTP ids. +* Mon Mar 27 2006 - meissner@suse.de +- Merged some important fixes from CVS. +- libgphoto2-map-mp3.patch: Map MP3 mimetypes correctly to PTP + ObjectFormat codes. +- libgphoto2-mtp-fixes.patch: Fixed some read/write problems on PTP + compatible music complayers. +- libgphoto2-new-usbids.patch: New USB IDs collected over the last + few weeks. +* Wed Feb 22 2006 - stbinner@suse.de +- don't require hal on 9.2 supplementary distributions +* Fri Jan 27 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Wed Jan 25 2006 - meissner@suse.de +- Ignore Olympus cameras with Sierra firmware, since + they also appear as storage devices. +- Prepare for adding "camera" to "info.capabilities". +- Some bugfixes. +* Mon Jan 23 2006 - meissner@suse.de +- Upgraded to current CVS. + - More PTP / MTP bugfixes. +* Mon Jan 16 2006 - meissner@suse.de +- Upgraded to current CVS. + - Lots of MTP / PTP fixes. + - PTP configuration handling rewrite +- use -fstack-protector only in SL > 10.0 +* Thu Jan 12 2006 - meissner@suse.de +- Upgraded to current CVS. + - Lots of MTP and iRiver related fixes. +* Tue Jan 10 2006 - meissner@suse.de +- Upgraded to 2.1.99 +- Upgraded to current CVS. + - Various new ids. + - Various bugfixes in ptp driver. + - translation updates. +* Fri Dec 16 2005 - meissner@suse.de +- Upgraded to current CVS. (Some new ids, Ricoh R3 fixes). +- Fixed build in PLUS. +* Mon Nov 28 2005 - meissner@suse.de +- Upgraded to current CVS (almost only new model ids). +- Dropped last patch, I made fixes for this upstream, but parts + of the problem are actually on the gnome-volume-manager side. + The fdi file in this package only contains non-usb-storage accessible + cameras. +* Fri Nov 11 2005 - fejj@suse.de +- Revert fdi file fixes since they actually break them worse than before +* Mon Oct 10 2005 - meissner@suse.de +- Newest CVS snapshot: + - Changed HAL fdi file according to upstream + suggestion. +* Tue Sep 27 2005 - meissner@suse.de +- Upgraded to latest CVS snapshot. + - reduce memory footprint when downloading images + - new ids +* Sat Aug 20 2005 - schwab@suse.de +- Don't require hotplug. +* Thu Aug 18 2005 - meissner@suse.de +- removed /etc/hotplug/usb/usbcam.usermap use. #105276 +* Wed Aug 17 2005 - meissner@suse.de +- Merged to current CVS. + - New "disk:" support to support mass storage cameras (written + by Marcus M.), changes in libgphoto2_port/disk/disk.c, libgphoto2/ + gphoto2-abilities-list.c and camlibs/directory/directory.c. + Tested and working with gphoto2, f-spot, digikam, and KDE camera:/ + - usb - suppress some unnecessary "usb:XXX,YYY" ports. + - escape & in HAL FDI maps. + - Some small bugfixes and new ids. +* Fri Aug 12 2005 - meissner@suse.de +- Upgraded to current CVS. + - Some new ids + - Some bugfixes for PTP. +- FDI patch is obsolete. +* Tue Aug 09 2005 - meissner@suse.de +- Supply the libgphoto2 camera name in the FDI script. +* Tue Jul 19 2005 - meissner@suse.de +- gphoto-desktopdev is no longer used at all, all done + via hal-resmgr. +- Generate usbmap and fdimap on the fly during build, + no longer shipped seperately. +- Create FDI map XML file and install into freedesktop + FDI space. +* Mon Jul 11 2005 - meissner@suse.de +- Upgraded to latest development snapshot. + - buildsystem changes, now generates slightly + different shared drivers + - disk backend with hal support + - PTP driver enhancements, especially for Nikon D70 + - new HP Photosmart 215 driver +* Mon Jun 27 2005 - meissner@suse.de +- upgraded to 2.1.6. + - added 3 more cameras, some final fixes. +* Fri Jun 10 2005 - meissner@suse.de +- Upgraded to 2.1.6rc2. + - 2.6.12 kernel fixes + - libusb 0.10 fixes + - various new cameras and features. +* Mon Mar 21 2005 - meissner@suse.de +- Added Sea & Sea 5000G, reported missing by Gerald. +* Tue Mar 01 2005 - meissner@suse.de +- get rid of slashes in camera names. +* Tue Feb 22 2005 - meissner@suse.de +- last change (etc/dev.d/usb) is not necessary. +* Fri Feb 18 2005 - meissner@suse.de +- fixed directory lists. +* Fri Feb 18 2005 - meissner@suse.de +- Upgraded to current CVS. + - Nikon and Pentax Sierra mode support. + - bugfixes and some new models for existing drivers. +- Move gphoto-desktop dev also to /etc/dev.d/usb/, since hotplug + is no longer used, but udev is. +* Fri Feb 04 2005 - meissner@suse.de +- Upgraded to current 2.1.6 development branch + version. +* Thu Dec 16 2004 - meissner@suse.de +- Upgraded to 2.1.5 release. +* Tue Nov 30 2004 - meissner@suse.de +- Upgraded to 2.1.5rc1. +* Tue Oct 19 2004 - meissner@suse.de +- Upgraded to current CVS head versions. +- no -> nb renamed. +- Added starts of PTP configuration magic. +* Fri Sep 17 2004 - meissner@suse.de +- Some new ids of new cameras extracted from HEAD branch. +* Mon Sep 06 2004 - meissner@suse.de +- Upgraded to current CVS. + - PTP config handling improved. + - More cameras. +* Tue Aug 31 2004 - meissner@suse.de +- Upgrade to current CVS. + - detach kernel drivers for stv680 and spca50x + if used. + - PTP property handling. + - sq905 fixes. +* Thu Aug 19 2004 - meissner@suse.de +- Updated to current HEAD development branch. + - lots of new PTP ids + - handling of multiple USB cameras at once. + - lots of fixes in other drivers. + - new drivers for newer small cameras. +* Mon Apr 19 2004 - meissner@suse.de +- %%jobs, fixed syntax aliasing problems. +* Wed Apr 07 2004 - meissner@suse.de +- removed hotplug from neededforbuild. +* Tue Apr 06 2004 - adrian@suse.de +- hardcode camera hotplug file name + (partly workarounds #37902) +* Mon Mar 22 2004 - meissner@suse.de +- updated from branch: + - canon: 2 critical bugfixes, 1 new id. + - ptp2: better working capture code, new ids. + - agfa cl20: heaps of fixes + - misc: new camera ids for several drivers. +- updated usbcam.usermap accordingly. +* Thu Mar 18 2004 - adrian@suse.de +- create icon and register device in resmgr via hotplug +* Mon Jan 19 2004 - meissner@suse.de +- Upgraded to final 2.1.4 version. +* Wed Jan 07 2004 - meissner@suse.de +- Upgraded to current CVS (head4): + - multiple cameras of same type at once support. + - several new camera ids, lots of bug fixes. +* Fri Nov 21 2003 - meissner@suse.de +- upgraded to current CVS head with all the Ricoh G3 fixes. +* Wed Oct 15 2003 - meissner@suse.de +- do not build as root. +* Mon Oct 13 2003 - meissner@suse.de +- Upgraded to current development snapshot. +* Wed Sep 17 2003 - meissner@suse.de +- sierra driver: Do not stop a never started progress context. +- ptp2 driver: Increase timeout for capture #30946 +* Mon Sep 15 2003 - meissner@suse.de +- added diff with bugfixes and new camera ids from current cvs. + - Fixes and new ids in PTP2 driver + - Fixes and new ids in Canon driver + - Make pdc640 driver recognize cameras at all. + - Fixes for soundvision driver, new camera model. +* Sun Aug 10 2003 - meissner@suse.de +- Updated to 2.1.2 release. +* Mon Jun 16 2003 - meissner@suse.de +- updated to 2.1.2 rc3 level (called dev11). +* Thu Jun 12 2003 - meissner@suse.de +- fixed build, added %%find_lang usage. +* Thu Jun 12 2003 - meissner@suse.de +- added hotplug to neededforbuild due to missing directories. +- added missing dir %%_libdir/libgphoto2. +* Tue May 13 2003 - meissner@suse.de +- %%_lib fix. +* Tue May 13 2003 - meissner@suse.de +- Upgraded to 2.1.2dev8 (current CVS): + - new ptp2 driver + - agfa cl20 driver + - spca50x drivers merged into one + - lots of bugs fixed. +- fixed filelist (added manpages). +* Mon Feb 17 2003 - meissner@suse.de +- Drop our own usbcam hotplug script and use desktopdev from resmgr + instead. +* Mon Feb 17 2003 - meissner@suse.de +- Upgraded to current CVS: bugfixes, pdc640 driver fixed again. +- Fixed serial device open if resmgr is not running. +- Updated usbids. +* Thu Feb 06 2003 - meissner@suse.de +- Upgraded to current CVS. + - Fixed support for Typhoon Stylocam, some + more stuff in pdc640 driver. +- Fixed usbcam script now for real. +* Sat Jan 25 2003 - meissner@suse.de +- Upgraded to current CVS. + - New gcam300, pccam300, benq driver. + - Fixes in others. +- Fixed usermap, and usbcam script. +* Thu Jan 09 2003 - meissner@suse.de +- Upgraded to current CVS version. + - New stv0674 camera driver. + - Fixes in sierra, ptp, casio, largan camlibs. + - More ids in others. +- resmgr style locking for serial devices. +* Mon Dec 02 2002 - meissner@suse.de +- Final 2.1.1, translations complete, refreshed usbmap. +* Wed Nov 20 2002 - meissner@suse.de +- neededforbuild += resmgr +* Mon Nov 18 2002 - meissner@suse.de +- Updated to RC1 of libgphoto 2.1.1. + - spca504_flash camlib. + - More PTP camera models, some PTP endianess problems fixed. +- Fixed some 64bit bigendian and type punning problems with gcc 3.3. +- Use new resmgr in usermap script if present. +* Thu Oct 31 2002 - meissner@suse.de +- Updated to latest upstream: + - SiPix Stylecam Blink driver added. + - More models for other cameras. + - Bugfixes. +* Thu Sep 26 2002 - meissner@suse.de +- Updated to latest upstream: + - More Canon Models. + - New Drivers: Kodak DC210, Largan lMini, pccam600, Mustek GSmart, + SX330Z. +* Fri Aug 23 2002 - meissner@suse.de +- Do not cat into system files, use seperate files for USB usermaps. +* Tue Aug 20 2002 - meissner@suse.de +- added prereq: hotplug /bin/cat +* Wed Jul 31 2002 - meissner@suse.de +- dropped provides: gphoto +* Mon Jul 29 2002 - meissner@suse.de +- splitted up from gphoto. diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4