From 1beb919181ab7f2ba0d9398fc07852fad6c45fc66257a4d2d285d28b0691285f Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 17 Nov 2008 16:49:28 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pommed?expand=0&rev=8 --- pommed-1.21.tar.bz2 | 3 --- pommed-1.22.tar.bz2 | 3 +++ pommed-optflags.patch | 14 +++++++------- pommed-rpmlintrc | 2 -- pommed.changes | 22 ++++++++++++++++++++++ pommed.spec | 38 ++++++++++++++++++++++++++++---------- 6 files changed, 60 insertions(+), 22 deletions(-) delete mode 100644 pommed-1.21.tar.bz2 create mode 100644 pommed-1.22.tar.bz2 diff --git a/pommed-1.21.tar.bz2 b/pommed-1.21.tar.bz2 deleted file mode 100644 index 06785c7..0000000 --- a/pommed-1.21.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5301eba2635a98f1b338f2887e4c8f5f82e4276fdb0e2bcc72f392b06e619ad8 -size 991502 diff --git a/pommed-1.22.tar.bz2 b/pommed-1.22.tar.bz2 new file mode 100644 index 0000000..e004937 --- /dev/null +++ b/pommed-1.22.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:49b06d4eb36e7d57c1cbda05a16209c557aa69daf6a1adfe477587a32f02b629 +size 994225 diff --git a/pommed-optflags.patch b/pommed-optflags.patch index 8a29007..aa13ed9 100644 --- a/pommed-optflags.patch +++ b/pommed-optflags.patch @@ -2,12 +2,12 @@ Index: gpomme/Makefile =================================================================== --- gpomme/Makefile.orig +++ gpomme/Makefile -@@ -17,7 +17,7 @@ +@@ -17,7 +17,7 @@ CONFUSE_LIBS = $(shell pkg-config libcon INOTIFY_CFLAGS = $(shell test -e /usr/include/sys/inotify.h || echo -DNO_SYS_INOTIFY_H) -CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS) $(CONFUSE_CFLAGS) $(GLADE_CFLAGS) $(INOTIFY_CFLAGS) -+CFLAGS += -g -Wall $(DBUS_CFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS) $(CONFUSE_CFLAGS) $(GLADE_CFLAGS) $(INOTIFY_CFLAGS) ++CFLAGS = -g -Wall $(DBUS_CFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS) $(CONFUSE_CFLAGS) $(GLADE_CFLAGS) $(INOTIFY_CFLAGS) LDFLAGS = -lpthread $(DBUS_LIBS) $(DBUSGLIB_LIBS) $(GTK_LIBS) $(CONFUSE_LIBS) $(GLADE_LIBS) SOURCES = gpomme.c theme.c conffile.c \ @@ -15,12 +15,12 @@ Index: pommed/Makefile =================================================================== --- pommed/Makefile.orig +++ pommed/Makefile -@@ -16,7 +16,7 @@ +@@ -16,7 +16,7 @@ CONFUSE_LIBS = $(shell pkg-config libcon INOTIFY_CFLAGS = $(shell test -e /usr/include/sys/inotify.h || echo -DNO_SYS_INOTIFY_H) -CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) $(ALSA_CFLAGS) $(AUDIOFILE_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS) -+CFLAGS += -g -Wall $(DBUS_CFLAGS) $(ALSA_CFLAGS) $(AUDIOFILE_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS) ++CFLAGS = -g -Wall $(DBUS_CFLAGS) $(ALSA_CFLAGS) $(AUDIOFILE_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS) LDFLAGS = -pthread -lrt $(DBUS_LIBS) $(ALSA_LIBS) $(AUDIOFILE_LIBS) $(CONFUSE_LIBS) @@ -28,12 +28,12 @@ Index: wmpomme/Makefile =================================================================== --- wmpomme/Makefile.orig +++ wmpomme/Makefile -@@ -3,7 +3,7 @@ +@@ -3,7 +3,7 @@ CC = gcc DBUS_CFLAGS = $(shell pkg-config dbus-1 --cflags) -DDBUS_API_SUBJECT_TO_CHANGE DBUS_LIBS = $(shell pkg-config dbus-1 --libs) -CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) -+CFLAGS += -g -Wall $(DBUS_CFLAGS) - LDFLAGS = -lXpm -lXext -lX11 $(DBUS_LIBS) ++CFLAGS = -g -Wall $(DBUS_CFLAGS) + LDFLAGS = -lrt -lXpm -lXext -lX11 $(DBUS_LIBS) SOURCES = wmgeneral.c wmpomme.c \ diff --git a/pommed-rpmlintrc b/pommed-rpmlintrc index 269b840..0c49cd3 100644 --- a/pommed-rpmlintrc +++ b/pommed-rpmlintrc @@ -1,4 +1,2 @@ # this desktop file is just for autostarting gpomme on KDE addFilter("untranslated-desktop-file.*/opt/kde3/share/autostart/gpomme.desktop") -# pommed requires xorg-x11 which contains /usr/bin/grandr -addFilter("dangling-symlink.*/etc/pommed/videoswitch /usr/bin/grandr") diff --git a/pommed.changes b/pommed.changes index c23a89b..cc067cb 100644 --- a/pommed.changes +++ b/pommed.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Tue Nov 11 19:18:01 CET 2008 - lrupp@suse.de + +- update to 1.22: + + pommed: + ++ do not probe for LMU controller on pmac machines that do not + have a backlit keyboard. Avoids a spurious error message. + ++ factor out ADB & LMU write routines, avoids duplicated code in + the kbd_{lmu,pmu}_backlight_set() routines. + ++ use a common sysfs power class routine in power.c, add sysfs + power class support for pmac machines. + ++ added partial support for the October 2008 laptops (MacBook5,1, + MacBookPro5,1, MacBookAir2,1), LCD backlight missing. + + gpomme: + ++ add japanese translation for gpomme, courtesy of + Nobuhiro Iwamatsu + + wmpomme: + ++ turn wmpomme into an event-driven dockapp, eliminating the + fixed update rate (and, thus, wakeups). + Thanks to Kalle A. Sandström for the prodding. +- removed dbus-1-devel BuildReq (included in dbus-1-glib-devel) + ------------------------------------------------------------------- Fri Oct 17 08:52:44 CEST 2008 - olh@suse.de diff --git a/pommed.spec b/pommed.spec index a51ba07..033bcd1 100644 --- a/pommed.spec +++ b/pommed.spec @@ -1,5 +1,5 @@ # -# spec file for package pommed (Version 1.21) +# spec file for package pommed (Version 1.22) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,21 +19,20 @@ Name: pommed +Summary: Apple laptops hotkeys event handler +License: GPL v2 only +Group: Hardware/Mobile +Version: 1.22 +Release: 1 +Url: http://technologeek.org/projects/pommed/ %if 0 # BuildRequires some package containing /usr/include/ofapi/of_api.h ExclusiveArch: ppc %endif ExclusiveArch: %ix86 x86_64 -Summary: Apple laptops hotkeys event handler -License: GPL v2 only -Group: Hardware/Mobile -Version: 1.21 -Release: 24 -Url: http://technologeek.org/projects/pommed/ BuildRequires: alsa-devel audiofile-devel gtk2-devel libglade2-devel pciutils-devel update-desktop-files -BuildRequires: dbus-1-devel libconfuse-devel BuildRequires: xorg-x11-libX11-devel xorg-x11-libXext-devel xorg-x11-libXpm-devel xorg-x11-util-devel -BuildRequires: dbus-1-glib-devel xorg-x11 +BuildRequires: dbus-1-glib-devel libconfuse-devel xorg-x11 %if 0%{?suse_version} > 1020 BuildRequires: fdupes %endif @@ -209,9 +208,28 @@ rm -rf %buildroot %_mandir/man1/wmpo* %changelog +* Tue Nov 11 2008 lrupp@suse.de +- update to 1.22: + + pommed: + ++ do not probe for LMU controller on pmac machines that do not + have a backlit keyboard. Avoids a spurious error message. + ++ factor out ADB & LMU write routines, avoids duplicated code in + the kbd_{lmu,pmu}_backlight_set() routines. + ++ use a common sysfs power class routine in power.c, add sysfs + power class support for pmac machines. + ++ added partial support for the October 2008 laptops (MacBook5,1, + MacBookPro5,1, MacBookAir2,1), LCD backlight missing. + + gpomme: + ++ add japanese translation for gpomme, courtesy of + Nobuhiro Iwamatsu + + wmpomme: + ++ turn wmpomme into an event-driven dockapp, eliminating the + fixed update rate (and, thus, wakeups). + Thanks to Kalle A. Sandström for the prodding. +- removed dbus-1-devel BuildReq (included in dbus-1-glib-devel) * Fri Oct 17 2008 olh@suse.de - add ExclusiveArch x86 x86_64 -* Fri Sep 05 2008 ro@suse.de +* Thu Sep 04 2008 ro@suse.de - add Required-Stop to init script * Mon Jul 21 2008 lrupp@suse.de - update to 1.21: