commit cwiid for openSUSE:Factory
Hello community, here is the log from the commit of package cwiid for openSUSE:Factory checked in at Tue Nov 2 16:18:44 CET 2010. -------- New Changes file: --- /dev/null 2010-07-09 01:59:37.000000000 +0200 +++ /mounts/work_src_done/STABLE/cwiid/cwiid.changes 2010-07-31 00:13:50.000000000 +0200 @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Fri Jul 30 22:13:20 UTC 2010 - pascal.bleser@opensuse.org + +- initial package (0.6.00) + calling whatdependson for head-i586 New: ---- cwiid-0.6.00.tar.bz2 cwiid-fix_ldflags.patch cwiid-hci_read.patch cwiid.changes cwiid.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cwiid.spec ++++++ # # spec file for package cwiid (Version 0.6.00) # # Copyright (c) 2010 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 %{!?py_ver: %global py_ver %(%__python -c "import sys; v=sys.version_info[:2]; print '%%d.%%d'%%v" 2>/dev/null)} %{!?python_sitearch: %global python_sitearch %(%__python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} Name: cwiid Version: 0.6.00 Release: 1 %define soname 1 Summary: Wii Library # http://abstrakraft.org/cwiid/downloads/cwiid-%{version}.tgz Source: cwiid-%{version}.tar.bz2 Patch1: cwiid-fix_ldflags.patch Patch2: cwiid-hci_read.patch Url: http://abstrakraft.org/cwiid/ Group: System/Libraries License: GNU General Public License version 2 or later (GPL v2 or later) BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: bison flex BuildRequires: bluez-devel BuildRequires: python-devel BuildRequires: gtk2-devel BuildRequires: gcc glibc-devel make pkgconfig BuildRequires: autoconf automake libtool %description ............................................................................. %package -n libcwiid%{soname} Summary: Library to access Wiimotes Provides: libcwiid%{soname} = %{version} Group: System/Libraries %description -n libcwiid%{soname} Library to use Wiimotes. %package -n libcwiid-devel License: GNU General Public License version 2 or later (GPL v2 or later) Summary: Library to access Wiimotes Requires: libcwiid%{soname} = %{version} Group: Development/Libraries/C and C++ %description -n libcwiid-devel API and library to use Wiimotes. %package -n wminput License: GNU General Public License version 2 or later (GPL v2 or later) Summary: Linux Event Driver for the Wiimote Requires: libcwiid%{soname} = %{version} Group: Hardware/Joystick %description -n wminput wminput is an Linux event, mouse, and joystick driver for the wiimote using the uinput system. It supports assigning key/button symbols to buttons on the wiimote, nunchuk, and classic controller, and axes symbols to wiimote axes including direction pads, "analog" sticks, and "analog" shoulder buttons. Furthermore, it provides a plugin interface through which more advanced functionality can be implemented, such as accelerometer and ir calculations. Plugins can provide button-type events and axes. %package -n wmgui License: GNU General Public License version 2 or later (GPL v2 or later) Summary: Graphical User Interface to the Wiimote Requires: libcwiid%{soname} = %{version} Group: Hardware/Joystick %description -n wmgui Graphical user interface for the capabilities of libcwiid, a Wiimote access library. %package -n lswm License: GNU General Public License version 2 or later (GPL v2 or later) Summary: List Wiimote Devices Requires: libcwiid%{soname} = %{version} Group: Hardware/Joystick %description -n lswm lswm is a command-line utility to list Wiimote devices. %package -n python-cwiid License: GNU General Public License version 2 or later (GPL v2 or later) Summary: Python Module to Access Wiimotes Requires: libcwiid%{soname} = %{version} Group: Development/Libraries/Python %description -n python-cwiid Python wrapper module around the libcwiid library, to access Wiimote devices. %prep %setup -q -n "cwiid-%{version}" %patch1 %patch2 %build %configure \ --disable-ldconfig %__make %{?_smp_mflags} %install %makeinstall %__rm "%{buildroot}%{_libdir}"/lib*.a %__rm -rf "%{buildroot}%{_datadir}/doc" %__chmod 0644 "%{buildroot}%{_includedir}"/*.h %__rm doc/Makefile* %post -n libcwiid%{soname} -p /sbin/ldconfig %postun -n libcwiid%{soname} -p /sbin/ldconfig %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files -n lswm %defattr(-,root,root) %{_bindir}/lswm %files -n wmgui %defattr(-,root,root) %{_bindir}/wmgui %doc %{_mandir}/man1/wmgui.1%{ext_man} %files -n wminput %defattr(-,root,root) %doc doc/wminput.list %doc wminput/README %doc AUTHORS ChangeLog COPYING NEWS README %dir %{_sysconfdir}/cwiid/wminput %attr(0644,root,root) %config %{_sysconfdir}/cwiid/wminput/* %{_bindir}/wminput %dir %{_libdir}/cwiid %dir %{_libdir}/cwiid/plugins %dir %{_libdir}/cwiid/plugins/*.so %doc %{_mandir}/man1/wminput.1%{ext_man} %files -n libcwiid-devel %defattr(-,root,root) %{_includedir}/cwiid.h %{_libdir}/libcwiid.so %files -n libcwiid%{soname} %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING NEWS README %doc doc/Xmodmap %dir %{_sysconfdir}/cwiid %dir %{_libdir}/cwiid %dir %{_libdir}/cwiid/plugins %{_libdir}/libcwiid.so.%{soname} %{_libdir}/libcwiid.so.%{soname}.* %files -n python-cwiid %defattr(-,root,root) %{python_sitearch}/cwiid.so %if 0%{?suse_version} >= 1100 %{python_sitearch}/cwiid-%{version}-py%{py_ver}.egg-info %endif %changelog ++++++ cwiid-fix_ldflags.patch ++++++ --- lswm/Makefile.in.orig 2010-07-30 22:19:22.000000000 +0200 +++ lswm/Makefile.in 2010-07-30 22:19:51.000000000 +0200 @@ -8,7 +8,7 @@ CFLAGS += -I@top_builddir@/libcwiid LDFLAGS += -L@top_builddir@/libcwiid -LDLIBS += -lcwiid +LDLIBS += -lcwiid -ldl -lbluetooth -lpthread -lrt INST_DIR = @bindir@ include $(COMMON)/include/app.mak --- wmgui/Makefile.in.orig 2007-07-28 20:47:03.000000000 +0200 +++ wmgui/Makefile.in 2010-07-30 22:19:15.000000000 +0200 @@ -8,7 +8,7 @@ CFLAGS += @GTK_CFLAGS@ -I@top_builddir@/libcwiid LDFLAGS += -L@top_builddir@/libcwiid -LDLIBS += @GTK_LIBS@ -lm -lcwiid +LDLIBS += @GTK_LIBS@ -lm -lcwiid -lbluetooth -lpthread -lrt INST_DIR = @bindir@ include $(COMMON)/include/app.mak --- wminput/Makefile.in.orig 2007-07-28 20:47:03.000000000 +0200 +++ wminput/Makefile.in 2010-07-30 22:19:15.000000000 +0200 @@ -14,7 +14,7 @@ -DWMINPUT_CONFIG_DIR=\"$(WMINPUT_CONFIG_DIR)\" \ -DCWIID_PLUGINS_DIR=\"$(CWIID_PLUGINS_DIR)\" -LDLIBS += -lcwiid -ldl +LDLIBS += -lcwiid -ldl -lbluetooth -lpthread -lrt LDFLAGS += -L@top_builddir@/libcwiid -rdynamic INST_DIR = @bindir@ --- wmdemo/Makefile.in.orig 2010-07-30 22:20:44.000000000 +0200 +++ wmdemo/Makefile.in 2010-07-30 22:21:06.000000000 +0200 @@ -8,7 +8,7 @@ CFLAGS += -I@top_builddir@/libcwiid LDFLAGS += -L@top_builddir@/libcwiid -LDLIBS += -lcwiid +LDLIBS += -lcwiid -ldl -lbluetooth -lpthread -lrt INST_DIR = @bindir@ include $(COMMON)/include/app.mak ++++++ cwiid-hci_read.patch ++++++ --- libcwiid/bluetooth.c.orig 2010-07-30 22:13:38.000000000 +0200 +++ libcwiid/bluetooth.c 2010-07-30 22:13:51.000000000 +0200 @@ -122,7 +122,7 @@ } /* timeout (10000) in milliseconds */ - if (hci_remote_name(sock, &dev_list[i].bdaddr, BT_NAME_LEN, + if (hci_read_remote_name(sock, &dev_list[i].bdaddr, BT_NAME_LEN, (*bdinfo)[bdinfo_count].name, 10000)) { cwiid_err(NULL, "Bluetooth name read error"); err = 1; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de