Hello community,
here is the log from the commit of package libsynaptics for openSUSE:Factory
checked in at Mon Mar 2 17:52:00 CET 2009.
--------
--- libsynaptics/libsynaptics.changes 2007-10-24 13:49:01.000000000 +0200
+++ /mounts/work_src_done/STABLE/libsynaptics/libsynaptics.changes 2009-03-02 17:22:15.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Mar 2 17:22:05 CET 2009 - crrodriguez@suse.de
+
+- fix build with GCC 4.4
+- remove static libraries
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
libsynaptics-0.14.6c-gcc44.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libsynaptics.spec ++++++
--- /var/tmp/diff_new_pack.M14522/_old 2009-03-02 17:51:52.000000000 +0100
+++ /var/tmp/diff_new_pack.M14522/_new 2009-03-02 17:51:52.000000000 +0100
@@ -1,28 +1,36 @@
#
# spec file for package libsynaptics (Version 0.14.6c)
#
-# 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.
+# Copyright (c) 2009 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/
#
# norootforbuild
+
Name: libsynaptics
BuildRequires: gcc-c++ xorg-x11-devel
Url: http://qsynaptics.sourceforge.net
Version: 0.14.6c
-Release: 53
+Release: 133
Summary: A Small C++ Library To Use The Synaptics Driver
License: GPL v2 or later
Group: System/Libraries
Source: %{name}-%{version}.tar.bz2
Patch0: libsynaptics-0.14.6c-fix-bad-returnvalue.diff
Patch1: libsynaptics-0.14.6c-gcc43.diff
+Patch2: libsynaptics-0.14.6c-gcc44.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Prefix: /usr
%description
A Small C++ Library To Use The Synaptics Driver. Used e.g. by
@@ -38,12 +46,11 @@
%setup
%patch0 -p1
%patch1 -p0
+%patch2
%build
-export CFLAGS="$RPM_OPT_FLAGS"
-export CXXFLAGS="$RPM_OPT_FLAGS"
-./configure --prefix=/usr --libdir=%{_libdir}
-make
+%configure --disable-static --with-pic
+%{__make} %{?jobs:-j%jobs}
%install
make install DESTDIR=$RPM_BUILD_ROOT
@@ -51,28 +58,30 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%post
-%run_ldconfig
+%post -p /sbin/ldconfig
-%postun
-%run_ldconfig
+%postun -p /sbin/ldconfig
%files
%defattr (-,root,root)
%{_libdir}/libsynaptics*
%{_includedir}/synaptics/
+
%changelog
-* Wed Oct 24 2007 - seife@suse.de
+* Mon Mar 02 2009 crrodriguez@suse.de
+- fix build with GCC 4.4
+- remove static libraries
+* Wed Oct 24 2007 seife@suse.de
- fix build with new gcc
-* Wed Feb 14 2007 - seife@suse.de
+* Wed Feb 14 2007 seife@suse.de
- update to 0.14.6c (needed by ksynaptics 0.3.2)
note that this has incompatible changes
-* Fri Oct 13 2006 - seife@suse.de
+* Fri Oct 13 2006 seife@suse.de
- update to 0.14.6b which removed debug messages and fixes some
build problems.
-* Thu Jul 13 2006 - seife@suse.de
+* Thu Jul 13 2006 seife@suse.de
- Fix debuginfo-package build.
-* Thu Jul 13 2006 - aj@suse.de
+* Thu Jul 13 2006 aj@suse.de
- Add g++ to BuildRequires.
-* Wed Jul 12 2006 - seife@suse.de
+* Wed Jul 12 2006 seife@suse.de
- initial checkin
++++++ libsynaptics-0.14.6c-gcc44.patch ++++++
Index: pad.cpp
===================================================================
--- pad.cpp.orig 2009-03-02 17:18:06.000000000 +0100
+++ pad.cpp 2009-03-02 17:19:36.000000000 +0100
@@ -1,6 +1,7 @@
#include "syndebug.h"
#include "synparam.h"
#include "pad.h"
+#include