SHA256
1
0
forked from pool/pommed
OBS User unknown 2008-11-17 16:49:28 +00:00 committed by Git OBS Bridge
parent 617955d61e
commit 1beb919181
6 changed files with 60 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5301eba2635a98f1b338f2887e4c8f5f82e4276fdb0e2bcc72f392b06e619ad8
size 991502

3
pommed-1.22.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:49b06d4eb36e7d57c1cbda05a16209c557aa69daf6a1adfe477587a32f02b629
size 994225

View File

@ -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 \

View File

@ -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")

View File

@ -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

View File

@ -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: