Hello community,
here is the log from the commit of package pilot-link
checked in at Thu Sep 7 01:25:18 CEST 2006.
--------
--- pilot-link/perl-PDA-Pilot.changes 2006-04-25 13:12:53.000000000 +0200
+++ pilot-link/perl-PDA-Pilot.changes 2006-09-05 21:20:11.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Aug 28 08:25:10 CEST 2006 - dgollub@suse.de
+
+- updated to version 0.12.0
+ o updated Perl binding API changes
+
+-------------------------------------------------------------------
--- pilot-link/pilot-link.changes 2006-05-29 15:33:50.000000000 +0200
+++ pilot-link/pilot-link.changes 2006-09-05 21:20:11.000000000 +0200
@@ -1,0 +2,21 @@
+Tue Sep 5 20:48:37 CEST 2006 - dgollub@suse.de
+
+- update to version 0.12.1
+ o code cleanup in libpisock libpisync src ...
+- removed udev rule (hal-resmgr is used instead)
+
+-------------------------------------------------------------------
+Fri Sep 1 14:29:48 CEST 2006 - dgollub@suse.de
+
+- update to version 0.12.0
+ o libusb support
+ o added extendend support of contact for newer palm devices
+ o added support for:
+ - extended contact data format
+ - veo traveler data format
+ - VersaMail data format
+ o most userland binaries got renamend
+- added fdi file to mark palm devices as pda.platform
+- added patch for LiveDrive devices (Palm T|X and others..)
+
+-------------------------------------------------------------------
Old:
----
pilot-link-0.11.8-array_overflow.diff
pilot-link-0.11.8-autoconf-fix.diff
pilot-link-0.11.8-implicit.diff
pilot-link-0.11.8-no-tcl.diff
pilot-link-0.11.8-pkgconfig.diff
pilot-link-0.11.8-realpath.diff
pilot-link-0.11.8-serial.diff
pilot-link-0.11.8-uninitialized.diff
pilot-link-0.11.8-warnings-fix.diff
pilot-link-0.11.8.tar.bz2
New:
----
10-usb-raw-pda.fdi
pilot-link-0.12.1-LiveDrive-issue.diff
pilot-link-0.12.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-PDA-Pilot.spec ++++++
--- /var/tmp/diff_new_pack.Cx33pb/_old 2006-09-07 01:25:11.000000000 +0200
+++ /var/tmp/diff_new_pack.Cx33pb/_new 2006-09-07 01:25:11.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package perl-PDA-Pilot (Version 0.11.8)
+# spec file for package perl-PDA-Pilot (Version 0.12.1)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -13,8 +13,8 @@
Name: perl-PDA-Pilot
BuildRequires: gcc-c++ pilot-link-devel
URL: http://www.pilot-link.org/
-Version: 0.11.8
-Release: 138
+Version: 0.12.1
+Release: 1
License: GPL, LGPL
Group: Development/Libraries/Perl
Autoreqprov: on
@@ -60,6 +60,9 @@
/var/adm/perl-modules/%{name}
%changelog -n perl-PDA-Pilot
+* Mon Aug 28 2006 - dgollub@suse.de
+- updated to version 0.12.0
+ o updated Perl binding API changes
* Wed Mar 29 2006 - dgollu@suse.de
- downgrade to pilot-link version 0.11.8
0.12.0-prev4 is not supposed to be packaged
++++++ pilot-link.spec ++++++
--- /var/tmp/diff_new_pack.Cx33pb/_old 2006-09-07 01:25:11.000000000 +0200
+++ /var/tmp/diff_new_pack.Cx33pb/_new 2006-09-07 01:25:11.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package pilot-link (Version 0.11.8)
+# spec file for package pilot-link (Version 0.12.1)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,28 +11,21 @@
# norootforbuild
Name: pilot-link
-BuildRequires: gcc-c++ libpng-devel readline-devel resmgr
+BuildRequires: gcc-c++ hal libpng-devel libusb popt-devel readline-devel resmgr
URL: http://www.pilot-link.org/
License: GPL, LGPL
Group: Hardware/Palm
Obsoletes: plink
Provides: plink
-Requires: perl-PDA-Pilot
+Requires: hal hal-resmgr libusb
Autoreqprov: on
-Version: 0.11.8
-Release: 141
+Version: 0.12.1
+Release: 1
Summary: PalmPilot Link Utility (Backup, Uploading Tools, and more)
Source: %{name}-%{version}.tar.bz2
-Patch: %{name}-%{version}-no-tcl.diff
-Patch1: resmgr.diff
-Patch2: %{name}-%{version}-implicit.diff
-Patch4: %{name}-%{version}-uninitialized.diff
-Patch5: %{name}-%{version}-serial.diff
-Patch6: %{name}-%{version}-warnings-fix.diff
-Patch7: %{name}-%{version}-autoconf-fix.diff
-Patch8: %{name}-%{version}-pkgconfig.diff
-Patch9: %{name}-%{version}-realpath.diff
-Patch10: %{name}-%{version}-array_overflow.diff
+Source1: 10-usb-raw-pda.fdi
+Patch0: resmgr.diff
+Patch1: %{name}-%{version}-LiveDrive-issue.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -78,37 +71,32 @@
%prep
%setup -q
-%patch
-%patch1
-%patch2
-%patch4
-%patch5
-%patch6
-%patch7
-%patch8
-%patch9
-%patch10
+%patch0
+%patch1 -p1
%build
%{?suse_update_config:%{suse_update_config -f scripts}}
-rm acinclude.m4
-libtoolize --copy --force
-aclocal
-automake -a
-autoconf
-autoheader
+autoreconf -sfi
CFLAGS="$RPM_OPT_FLAGS" \
CXXFLAGS="$RPM_OPT_FLAGS" \
./configure \
--prefix=/usr \
--mandir=%{_mandir} \
--libdir=%{_libdir} \
+ --enable-libusb \
+ --enable-threads \
+ --enable-conduits \
+ --enable-libusb \
--enable-resmgr
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
-chmod a+x $RPM_BUILD_ROOT/%{_libdir}/libpisock.so*
+#chmod a+x $RPM_BUILD_ROOT/%{_libdir}/libpisock.so*
+mkdir -p $RPM_BUILD_ROOT/usr/share/hal/fdi/information/20thirdparty/
+cp %{S:1} $RPM_BUILD_ROOT/usr/share/hal/fdi/information/20thirdparty/
+# drop udev rule somewhere else...
+rm $RPM_BUILD_ROOT/usr/share/pilot-link/udev/60-libpisock.rules
%clean
rm -rf $RPM_BUILD_ROOT
@@ -125,7 +113,13 @@
%{_libdir}/*.so.*
%{_bindir}/*
%{_mandir}/man*/*
-/usr/share/pilot-link
+%dir %{_datadir}/%{name}/
+%dir %{_datadir}/%{name}/pix/
+%dir %{_datadir}/%{name}/prc/
+%{_datadir}/%{name}/pix/*
+%{_datadir}/%{name}/prc/*
+%{_datadir}/hal/fdi/information/20thirdparty/*
+
%files devel
%defattr(-,root,root)
@@ -133,10 +127,25 @@
%{_libdir}/*.so
%{_libdir}/*.la
%{_includedir}/*
-/usr/share/aclocal/pilot-link.m4
-/usr/%_lib/pkgconfig/*
+%{_libdir}/pkgconfig/*
+%{_datadir}/aclocal/pilot-link.m4
%changelog -n pilot-link
+* Tue Sep 05 2006 - dgollub@suse.de
+- update to version 0.12.1
+ o code cleanup in libpisock libpisync src ...
+- removed udev rule (hal-resmgr is used instead)
+* Fri Sep 01 2006 - dgollub@suse.de
+- update to version 0.12.0
+ o libusb support
+ o added extendend support of contact for newer palm devices
+ o added support for:
+- extended contact data format
+- veo traveler data format
+- VersaMail data format
+ o most userland binaries got renamend
+- added fdi file to mark palm devices as pda.platform
+- added patch for LiveDrive devices (Palm T|X and others..)
* Mon May 29 2006 - lmichnovic@suse.cz
- fixed write beyond array range (array_overflow.diff) [#177546]
- appended uninitialized.diff
++++++ pilot-link-0.12.1-LiveDrive-issue.diff ++++++
diff -rup pilot-link-0.12.0/libpisock/libusb.c pilot-link-0.12.0-patched/libpisock/libusb.c
--- pilot-link-0.12.0/libpisock/libusb.c 2006-04-14 20:52:02.000000000 +0200
+++ pilot-link-0.12.0-patched/libpisock/libusb.c 2006-06-30 11:16:40.000000000 +0200
@@ -138,6 +138,11 @@ USB_poll (pi_usb_data_t *data)
USB_in_endpoint = USB_out_endpoint = 0xFF;
ret = USB_configure_device (data, &input_endpoint, &output_endpoint);
+ if (ret < 0) {
+ LOG((PI_DBG_DEV, PI_DBG_LVL_DEBUG, "%s: USB configure failed for familar device: 0x%04x 0x%04x. (LifeDrive issue?!)\n", __FILE__, dev->descriptor.idVendor, dev->descriptor.idProduct));
+ usb_close(USB_handle);
+ continue;
+ }
for (i = 0; i < dev->config[0].interface[0].altsetting[0].bNumEndpoints; i++) {
struct usb_endpoint_descriptor *endpoint;
diff -rup pilot-link-0.12.0/libpisock/usb.c pilot-link-0.12.0-patched/libpisock/usb.c
--- pilot-link-0.12.0/libpisock/usb.c 2005-10-17 23:53:29.000000000 +0200
+++ pilot-link-0.12.0-patched/libpisock/usb.c 2006-06-30 11:16:39.000000000 +0200
@@ -951,6 +951,9 @@ USB_configure_device (pi_usb_data_t *dev
} else {
/* other devices will either accept or deny this generic call */
ret = USB_configure_generic (dev, input_pipe, output_pipe);
+ if (ret < 0) {
+ return -1;
+ }
}
/* query bytes available. Not that we really care,
@@ -962,6 +965,8 @@ USB_configure_device (pi_usb_data_t *dev
ret = dev->impl.control_request (dev, 0xc2, GENERIC_REQUEST_BYTES_AVAILABLE, 0, 0, &ba[0], 2, 0);
if (ret < 0) {
LOG((PI_DBG_DEV, PI_DBG_LVL_ERR, "usb: GENERIC_REQUEST_BYTES_AVAILABLE failed (err=%08x)\n", ret));
+ /* configuration have to fail to skip this device - or LiveDrive(?) devices will hang */
+ return -1;
}
LOG((PI_DBG_DEV, PI_DBG_LVL_DEBUG, "GENERIC_REQUEST_BYTES_AVAILABLE returns 0x%02x%02x\n", ba[0], ba[1]));
}
@@ -1017,6 +1022,7 @@ static int
USB_configure_generic (pi_usb_data_t *dev, u_int8_t *input_pipe, u_int8_t *output_pipe)
{
int i, ret;
+ int hotsync = 0;
palm_ext_connection_info_t ci;
u_int32_t flags = dev->dev.flags;
@@ -1031,6 +1037,9 @@ USB_configure_generic (pi_usb_data_t *de
LOG((PI_DBG_DEV, PI_DBG_LVL_DEBUG, "\t[%d] endpoint_info=%d\n", i, ci.connections[i].endpoint_info));
if (!memcmp(ci.connections[i].port_function_id, "cnys", 4)) {
+ /* found hotsync port */
+ hotsync = 1;
+
/* 'sync': we found the pipes to use for synchronization force
find_interfaces to select this one rather than another one */
if (ci.endpoint_numbers_different) {
@@ -1046,6 +1055,11 @@ USB_configure_generic (pi_usb_data_t *de
}
}
}
+
+ if (!hotsync) {
+ LOG((PI_DBG_DEV, PI_DBG_LVL_ERR, "usb: PALM_GET_EXT_CONNECTION_INFORMATION - no hotsync port found.\n", ret));
+ return -1;
+ }
}
if (flags & USB_INIT_TAPWAVE) {
++++++ pilot-link-0.11.8.tar.bz2 -> pilot-link-0.12.1.tar.bz2 ++++++
++++ 232233 lines of diff (skipped)
++++++ resmgr.diff ++++++
--- /var/tmp/diff_new_pack.Cx33pb/_old 2006-09-07 01:25:13.000000000 +0200
+++ /var/tmp/diff_new_pack.Cx33pb/_new 2006-09-07 01:25:13.000000000 +0200
@@ -1,99 +1,43 @@
---- configure.in
-+++ configure.in
-@@ -593,6 +593,22 @@
+--- configure.ac
++++ configure.ac
+@@ -637,6 +637,26 @@
+ msg_efence=no
fi
- AC_SUBST(PYTHON)
-+dnl Checks if we should use resmgr
++dnl *************************************
++dnl Resource manager
++dnl *************************************
++
+set_resmgr=no
+AC_ARG_ENABLE(resmgr,
-+ [ --enable-resmgr enable resmgr support],
-+ enable_resmgr=yes)
++ [ --enable-resmgr enable resmgr support],
++ enable_resmgr=yes)
+
+if test "$enable_resmgr" != no; then
-+ AC_CHECK_HEADERS(resmgr.h)
-+ AC_CACHE_CHECK([whether to enable resmgr support], ac_cv_use_resmgr,
-+ [ac_cv_use_resmgr=$ac_cv_header_resmgr_h])
-+ if test "$ac_cv_use_resmgr" = yes; then
-+ LIBS="$LIBS -lresmgr"
-+ AC_DEFINE([HAVE_RESMGR],[],[request the device via resmgr first])
-+ fi
++ AC_CHECK_HEADERS(resmgr.h)
++ AC_CACHE_CHECK([whether to enable resmgr support], ac_cv_use_resmgr,
++ [ac_cv_use_resmgr=$ac_cv_header_resmgr_h])
++
++ if test "$ac_cv_use_resmgr" = yes; then
++ LIBS="$LIBS -lresmgr"
++ AC_DEFINE([HAVE_RESMGR],[],[request the device via resmgr first])
++ fi
+fi
+
dnl *************************************
- dnl ElectricFence (optional)
-@@ -738,6 +754,7 @@
+ dnl Runtime debugging
+@@ -779,6 +799,7 @@
+ Direct USB support...... : $msg_usb
+ Thread-safe libpisock... : $msg_threads
ElectricFence checks.... : $msg_efence
++ Resource Manager........ : $ac_cv_use_resmgr
+ CPPFLAGS................ : $CPPFLAGS
CFLAGS.................. : $CFLAGS
- CXXFLAGS................ : $CXXFLAGS
-+ Use resmgr.............. : $ac_cv_use_resmgr
-
- Internal Language Support
- -------------------------.
---- libpisock/freebsdusb.c
-+++ libpisock/freebsdusb.c
-@@ -46,6 +46,10 @@
- #include