debian/0000755000000000000000000000000012174162576007201 5ustar debian/compat0000644000000000000000000000000212172362262010367 0ustar 9 debian/control0000644000000000000000000000401712174162576010606 0ustar Source: pommed Section: utils Priority: optional Maintainer: Debian Mactel Uploaders: Nobuhiro Iwamatsu , Thibaut Paumard Build-Depends: debhelper (>= 9), libpci-dev [i386 amd64], libofapi-dev (>= 0git20070620) [powerpc], libconfuse-dev, libasound2-dev, libaudiofile-dev, libgtk2.0-dev, libdbus-1-dev, libdbus-glib-1-dev, libx11-dev, libxext-dev, libxpm-dev Standards-Version: 3.9.4 Package: pommed Architecture: i386 amd64 powerpc Depends: ${shlibs:Depends}, ${misc:Depends}, eject Recommends: dbus Description: Apple laptops hotkeys event handler pommed handles the hotkeys found on the Apple MacBook Pro, MacBook Air, MacBook, PowerBook and iBook laptops and adjusts the LCD backlight, sound volume, keyboard backlight or ejects the CD-ROM drive accordingly. . pommed also monitors the ambient light sensors to automatically light up the keyboard backlight on machines that support it. Package: gpomme Architecture: i386 amd64 powerpc Depends: ${shlibs:Depends}, ${misc:Depends}, pommed (>= 1.29~dfsg-1), dbus Description: graphical client for pommed pommed handles the hotkeys found on the Apple MacBook Pro, MacBook Air, MacBook, PowerBook and iBook laptops and adjusts the LCD backlight, sound volume, keyboard backlight or ejects the CD-ROM drive accordingly. . gpomme is a graphical client for pommed. It listens for signals sent by pommed on D-Bus and displays the action taken by pommed along with the current state associated to this action. Package: wmpomme Architecture: i386 amd64 powerpc Depends: ${shlibs:Depends}, ${misc:Depends}, pommed (>= 1.29~dfsg-1), dbus Description: WindowMaker dockapp client for pommed pommed handles the hotkeys found on the Apple MacBook Pro, MacBook Air, MacBook, PowerBook and iBook laptops and adjusts the LCD backlight, sound volume, keyboard backlight or ejects the CD-ROM drive accordingly. . wmpomme is a dockapp client for pommed. It displays the current level of each item controlled by pommed. debian/gpomme.dirs0000644000000000000000000000003312172362262011334 0ustar usr/bin usr/share/pixmaps debian/gpomme.docs0000644000000000000000000000001012172362262011316 0ustar README debian/gpomme.manpages0000644000000000000000000000002012172362262012162 0ustar gpomme/gpomme.1 debian/gpomme.menu0000644000000000000000000000127212172362262011345 0ustar ?package(gpomme):needs="X11" section="Applications/System/Monitoring"\ title="gpomme" command="/usr/bin/gpomme" \ icon="/usr/share/pixmaps/gpomme.xpm" \ description="gpomme provides visual feedback in the form of an \ On-Screen Display (OSD) when adjusting LCD brightness, sound level \ and keyboard brightness on Apple laptops, in conjunction with the \ pommed daemon" ?package(gpomme):needs="X11" section="Applications/System/Monitoring"\ title="gpomme configuration GUI" command="/usr/bin/gpomme -c" \ icon="/usr/share/pixmaps/gpomme.xpm" \ description="The configuration GUI for gpomme allows tweaking some \ parameters for the On-Screen Display (OSD) displayed by gpomme" debian/patches/0000755000000000000000000000000012172367677010637 5ustar debian/patches/0001-rely-on-sys-inotify.h-for-inotify-support.patch0000644000000000000000000002325112172362262022305 0ustar From 45c48507e138755f76810da0b1f2626bb7805000 Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Mon, 9 Apr 2012 15:51:09 +0300 Subject: rely on sys/inotify.h for inotify support sys/inotify.h was added to glibc in version 2.4 in 2006, and workarounds for older glibc versions are no longer required. Signed-off-by: Nobuhiro Iwamatsu --- gpomme/Makefile | 4 +- gpomme/conffile.c | 7 +--- gpomme/gpomme.c | 7 +--- gpomme/inotify-syscalls.h | 98 --------------------------------------------- pommed/Makefile | 4 +- pommed/evdev.c | 7 +--- pommed/inotify-syscalls.h | 98 --------------------------------------------- 7 files changed, 5 insertions(+), 220 deletions(-) delete mode 100644 gpomme/inotify-syscalls.h delete mode 100644 pommed/inotify-syscalls.h diff --git a/gpomme/Makefile b/gpomme/Makefile index b8a6d94..d7e05d5 100644 --- a/gpomme/Makefile +++ b/gpomme/Makefile @@ -12,9 +12,7 @@ DBUSGLIB_LIBS = $(shell pkg-config dbus-glib-1 --libs) CONFUSE_CFLAGS = $(shell pkg-config libconfuse --cflags) CONFUSE_LIBS = $(shell pkg-config libconfuse --libs) -INOTIFY_CFLAGS = - -CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS) +CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS) $(CONFUSE_CFLAGS) LDLIBS = -lpthread -lX11 $(DBUS_LIBS) $(DBUSGLIB_LIBS) $(GTK_LIBS) $(CONFUSE_LIBS) SOURCES = gpomme.c theme.c conffile.c \ diff --git a/gpomme/conffile.c b/gpomme/conffile.c index aca25e9..f62fd1b 100644 --- a/gpomme/conffile.c +++ b/gpomme/conffile.c @@ -31,12 +31,7 @@ #include #include -#ifndef NO_SYS_INOTIFY_H -# include -#else -# include -# include "inotify-syscalls.h" -#endif +#include #include diff --git a/gpomme/gpomme.c b/gpomme/gpomme.c index c0839cd..53ca4df 100644 --- a/gpomme/gpomme.c +++ b/gpomme/gpomme.c @@ -31,12 +31,7 @@ #include #include -#ifndef NO_SYS_INOTIFY_H -# include -#else -# include -# include "inotify-syscalls.h" -#endif +#include #include diff --git a/gpomme/inotify-syscalls.h b/gpomme/inotify-syscalls.h deleted file mode 100644 index a1d5408..0000000 --- a/gpomme/inotify-syscalls.h +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Inotify syscall numbers - * Taken from the Linux kernel source tree - * - * Licensed under the terms of the GNU General Public License Version 2. - * - * Copyright (c) 2006 Tobias Klauser - */ - -#ifndef _LINUX_INOTIFY_SYSCALLS_H -#define _LINUX_INOTIFY_SYSCALLS_H - -#include - -#if defined(__i386__) -# define __NR_inotify_init 291 -# define __NR_inotify_add_watch 292 -# define __NR_inotify_rm_watch 293 -#elif defined(__x86_64__) -# define __NR_inotify_init 253 -# define __NR_inotify_add_watch 254 -# define __NR_inotify_rm_watch 255 -#elif defined(__powerpc__) || defined(__powerpc64__) -# define __NR_inotify_init 275 -# define __NR_inotify_add_watch 276 -# define __NR_inotify_rm_watch 277 -#elif defined (__ia64__) -# define __NR_inotify_init 1277 -# define __NR_inotify_add_watch 1278 -# define __NR_inotify_rm_watch 1279 -#elif defined (__s390__) -# define __NR_inotify_init 284 -# define __NR_inotify_add_watch 285 -# define __NR_inotify_rm_watch 286 -#elif defined (__alpha__) -# define __NR_inotify_init 444 -# define __NR_inotify_add_watch 445 -# define __NR_inotify_rm_watch 446 -#elif defined (__sparc__) || defined (__sparc64__) -# define __NR_inotify_init 151 -# define __NR_inotify_add_watch 152 -# define __NR_inotify_rm_watch 156 -#elif defined (__arm__) -# define __NR_OABI_SYSCALL_BASE 0x900000 -# if defined(__thumb__) || defined(__ARM_EABI__) -# define __NR_SYSCALL_BASE 0 -# else -# define __NR_SYSCALL_BASE __NR_OABI_SYSCALL_BASE -# endif -# define __NR_inotify_init (__NR_SYSCALL_BASE + 316) -# define __NR_inotify_add_watch (__NR_SYSCALL_BASE + 317) -# define __NR_inotify_rm_watch (__NR_SYSCALL_BASE + 318) -#elif defined (__sh__) -# define __NR_inotify_init 290 -# define __NR_inotify_add_watch 291 -# define __NR_inotify_rm_watch 292 -#elif defined (__hppa__) -# define __NR_inotify_init 269 -# define __NR_inotify_add_watch 270 -# define __NR_inotify_rm_watch 271 -#elif defined (__mips__) -# include -# if _MIPS_SIM == _MIPS_SIM_ABI32 -# define __NR_Linux 4000 -# define __NR_inotify_init (__NR_Linux + 284) -# define __NR_inotify_add_watch (__NR_Linux + 285) -# define __NR_inotify_rm_watch (__NR_Linux + 286) -# elif _MIPS_SIM == _MIPS_SIM_ABI64 -# define __NR_Linux 5000 -# define __NR_inotify_init (__NR_Linux + 243) -# define __NR_inotify_add_watch (__NR_Linux + 244) -# define __NR_inotify_rm_watch (__NR_Linux + 245) -# elif _MIPS_SIM == _MIPS_SIM_NABI32 -# define __NR_Linux 6000 -# define __NR_inotify_init (__NR_Linux + 247) -# define __NR_inotify_add_watch (__NR_Linux + 248) -# define __NR_inotify_rm_watch (__NR_Linux + 249) -# endif -#else -# error "inotify not supported on this architecture!" -#endif - -static inline int inotify_init (void) -{ - return syscall (__NR_inotify_init); -} - -static inline int inotify_add_watch (int fd, const char *name, __u32 mask) -{ - return syscall (__NR_inotify_add_watch, fd, name, mask); -} - -static inline int inotify_rm_watch (int fd, __u32 wd) -{ - return syscall (__NR_inotify_rm_watch, fd, wd); -} - -#endif /* _LINUX_INOTIFY_SYSCALLS_H */ diff --git a/pommed/Makefile b/pommed/Makefile index 4f7450b..7178bc3 100644 --- a/pommed/Makefile +++ b/pommed/Makefile @@ -14,11 +14,9 @@ AUDIOFILE_LIBS = $(shell pkg-config audiofile --libs) CONFUSE_CFLAGS = $(shell pkg-config libconfuse --cflags) CONFUSE_LIBS = $(shell pkg-config libconfuse --libs) -INOTIFY_CFLAGS = - TIMERFD_CFLAGS = -CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) $(ALSA_CFLAGS) $(AUDIOFILE_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS) $(TIMERFD_CFLAGS) +CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) $(ALSA_CFLAGS) $(AUDIOFILE_CFLAGS) $(CONFUSE_CFLAGS) $(TIMERFD_CFLAGS) LDLIBS = -pthread -lrt $(DBUS_LIBS) $(ALSA_LIBS) $(AUDIOFILE_LIBS) $(CONFUSE_LIBS) diff --git a/pommed/evdev.c b/pommed/evdev.c index 7c9524b..fab0c94 100644 --- a/pommed/evdev.c +++ b/pommed/evdev.c @@ -31,12 +31,7 @@ #include -#ifndef NO_SYS_INOTIFY_H -# include -#else -# include -# include "inotify-syscalls.h" -#endif +#include #include diff --git a/pommed/inotify-syscalls.h b/pommed/inotify-syscalls.h deleted file mode 100644 index a1d5408..0000000 --- a/pommed/inotify-syscalls.h +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Inotify syscall numbers - * Taken from the Linux kernel source tree - * - * Licensed under the terms of the GNU General Public License Version 2. - * - * Copyright (c) 2006 Tobias Klauser - */ - -#ifndef _LINUX_INOTIFY_SYSCALLS_H -#define _LINUX_INOTIFY_SYSCALLS_H - -#include - -#if defined(__i386__) -# define __NR_inotify_init 291 -# define __NR_inotify_add_watch 292 -# define __NR_inotify_rm_watch 293 -#elif defined(__x86_64__) -# define __NR_inotify_init 253 -# define __NR_inotify_add_watch 254 -# define __NR_inotify_rm_watch 255 -#elif defined(__powerpc__) || defined(__powerpc64__) -# define __NR_inotify_init 275 -# define __NR_inotify_add_watch 276 -# define __NR_inotify_rm_watch 277 -#elif defined (__ia64__) -# define __NR_inotify_init 1277 -# define __NR_inotify_add_watch 1278 -# define __NR_inotify_rm_watch 1279 -#elif defined (__s390__) -# define __NR_inotify_init 284 -# define __NR_inotify_add_watch 285 -# define __NR_inotify_rm_watch 286 -#elif defined (__alpha__) -# define __NR_inotify_init 444 -# define __NR_inotify_add_watch 445 -# define __NR_inotify_rm_watch 446 -#elif defined (__sparc__) || defined (__sparc64__) -# define __NR_inotify_init 151 -# define __NR_inotify_add_watch 152 -# define __NR_inotify_rm_watch 156 -#elif defined (__arm__) -# define __NR_OABI_SYSCALL_BASE 0x900000 -# if defined(__thumb__) || defined(__ARM_EABI__) -# define __NR_SYSCALL_BASE 0 -# else -# define __NR_SYSCALL_BASE __NR_OABI_SYSCALL_BASE -# endif -# define __NR_inotify_init (__NR_SYSCALL_BASE + 316) -# define __NR_inotify_add_watch (__NR_SYSCALL_BASE + 317) -# define __NR_inotify_rm_watch (__NR_SYSCALL_BASE + 318) -#elif defined (__sh__) -# define __NR_inotify_init 290 -# define __NR_inotify_add_watch 291 -# define __NR_inotify_rm_watch 292 -#elif defined (__hppa__) -# define __NR_inotify_init 269 -# define __NR_inotify_add_watch 270 -# define __NR_inotify_rm_watch 271 -#elif defined (__mips__) -# include -# if _MIPS_SIM == _MIPS_SIM_ABI32 -# define __NR_Linux 4000 -# define __NR_inotify_init (__NR_Linux + 284) -# define __NR_inotify_add_watch (__NR_Linux + 285) -# define __NR_inotify_rm_watch (__NR_Linux + 286) -# elif _MIPS_SIM == _MIPS_SIM_ABI64 -# define __NR_Linux 5000 -# define __NR_inotify_init (__NR_Linux + 243) -# define __NR_inotify_add_watch (__NR_Linux + 244) -# define __NR_inotify_rm_watch (__NR_Linux + 245) -# elif _MIPS_SIM == _MIPS_SIM_NABI32 -# define __NR_Linux 6000 -# define __NR_inotify_init (__NR_Linux + 247) -# define __NR_inotify_add_watch (__NR_Linux + 248) -# define __NR_inotify_rm_watch (__NR_Linux + 249) -# endif -#else -# error "inotify not supported on this architecture!" -#endif - -static inline int inotify_init (void) -{ - return syscall (__NR_inotify_init); -} - -static inline int inotify_add_watch (int fd, const char *name, __u32 mask) -{ - return syscall (__NR_inotify_add_watch, fd, name, mask); -} - -static inline int inotify_rm_watch (int fd, __u32 wd) -{ - return syscall (__NR_inotify_rm_watch, fd, wd); -} - -#endif /* _LINUX_INOTIFY_SYSCALLS_H */ -- 1.7.10.4 debian/patches/MacBookPro91.patch0000644000000000000000000000754412172362262014021 0ustar Description: Add support for MacBookPro9,1 Author: Thibaut Paumard Bug-Debian: http://bugs.debian.org/708150 Index: pommed-1.39~dfsg/pommed/kbd_backlight.h =================================================================== --- pommed-1.39~dfsg.orig/pommed/kbd_backlight.h 2011-06-02 11:24:05.000000000 +0200 +++ pommed-1.39~dfsg/pommed/kbd_backlight.h 2013-05-14 15:18:05.383943565 +0200 @@ -71,6 +71,7 @@ || (mops->type == MACHINE_MACBOOKPRO_6) || (mops->type == MACHINE_MACBOOKPRO_7) || (mops->type == MACHINE_MACBOOKPRO_8) + || (mops->type == MACHINE_MACBOOKPRO_9) || (mops->type == MACHINE_MACBOOK_5) || (mops->type == MACHINE_MACBOOKAIR_1) || (mops->type == MACHINE_MACBOOKAIR_2)); Index: pommed-1.39~dfsg/pommed/pommed.c =================================================================== --- pommed-1.39~dfsg.orig/pommed/pommed.c 2011-06-02 11:24:05.000000000 +0200 +++ pommed-1.39~dfsg/pommed/pommed.c 2013-05-14 15:21:20.179941376 +0200 @@ -315,6 +315,16 @@ /* .evdev_identify = evdev_is_wellspring5, */ }, + { /* MacBookPro9,2 (13", June 2013) + * MacBookPro9,1 (15", June 2013) + */ + .type = MACHINE_MACBOOKPRO_9, + .lcd_backlight_probe = mbp_sysfs_backlight_probe, + .lcd_backlight_step = sysfs_backlight_step, + .lcd_backlight_toggle = sysfs_backlight_toggle, + /* .evdev_identify = evdev_is_wellspring5, */ + }, + /* MacBook machines */ { /* MacBook1,1 (Core Duo) */ @@ -756,6 +766,12 @@ || (strcmp(buf, "MacBookPro8,2") == 0) || (strcmp(buf, "MacBookPro8,3") == 0)) ret = MACHINE_MACBOOKPRO_8; + /* MacBook Pro 13" (June 2012) + * MacBook Pro 15" (June 2012) + */ + else if ((strcmp(buf, "MacBookPro9,1") == 0) + || (strcmp(buf, "MacBookPro9,2") == 0)) + ret = MACHINE_MACBOOKPRO_9; /* Core Duo MacBook (May 2006) */ else if (strcmp(buf, "MacBook1,1") == 0) ret = MACHINE_MACBOOK_1; Index: pommed-1.39~dfsg/pommed/pommed.h =================================================================== --- pommed-1.39~dfsg.orig/pommed/pommed.h 2011-06-02 11:24:05.000000000 +0200 +++ pommed-1.39~dfsg/pommed/pommed.h 2013-05-14 15:19:09.991942839 +0200 @@ -38,6 +38,7 @@ MACHINE_MACBOOKPRO_6, MACHINE_MACBOOKPRO_7, MACHINE_MACBOOKPRO_8, + MACHINE_MACBOOKPRO_9, MACHINE_MACBOOK_1, MACHINE_MACBOOK_2, Index: pommed-1.39~dfsg/pommed/sysfs_backlight.c =================================================================== --- pommed-1.39~dfsg.orig/pommed/sysfs_backlight.c 2011-06-02 11:24:05.000000000 +0200 +++ pommed-1.39~dfsg/pommed/sysfs_backlight.c 2013-05-14 17:01:58.879873506 +0200 @@ -44,6 +44,7 @@ #else SYSFS_DRIVER_MBP, SYSFS_DRIVER_APPLE, + SYSFS_DRIVER_GMUX, SYSFS_DRIVER_NVIDIA, SYSFS_DRIVER_NOUVEAU, SYSFS_DRIVER_ACPI, @@ -67,6 +68,7 @@ #else "/sys/class/backlight/mbp_backlight/actual_brightness", "/sys/class/backlight/apple_backlight/actual_brightness", + "/sys/class/backlight/gmux_backlight/actual_brightness", "/sys/class/backlight/nvidia_backlight/actual_brightness", "/sys/class/backlight/nv_backlight/actual_brightness", "/sys/class/backlight/acpi_video0/actual_brightness", @@ -85,6 +87,7 @@ #else "/sys/class/backlight/mbp_backlight/brightness", "/sys/class/backlight/apple_backlight/brightness", + "/sys/class/backlight/gmux_backlight/brightness", "/sys/class/backlight/nvidia_backlight/brightness", "/sys/class/backlight/nv_backlight/brightness", "/sys/class/backlight/acpi_video0/brightness", @@ -103,6 +106,7 @@ #else "/sys/class/backlight/mbp_backlight/max_brightness", "/sys/class/backlight/apple_backlight/max_brightness", + "/sys/class/backlight/gmux_backlight/max_brightness", "/sys/class/backlight/nvidia_backlight/max_brightness", "/sys/class/backlight/nv_backlight/max_brightness", "/sys/class/backlight/acpi_video0/max_brightness", debian/patches/build_flags.patch0000644000000000000000000000447512172362262014126 0ustar Description: force empty inotify and timerfd build flags Our glibc is recent enough to include inotify and timerfd syscalls. The simple check in the Makefiles has been broken by the switch to multiarch header location in glibc. Author: Julien BLACHE Bug-Debian: http://bugs.debian.org/639078 Index: pommed-1.39~dfsg/gpomme/Makefile =================================================================== --- pommed-1.39~dfsg.orig/gpomme/Makefile 2011-06-02 11:24:05.000000000 +0200 +++ pommed-1.39~dfsg/gpomme/Makefile 2011-09-14 19:07:13.873816668 +0200 @@ -12,7 +12,7 @@ CONFUSE_CFLAGS = $(shell pkg-config libconfuse --cflags) CONFUSE_LIBS = $(shell pkg-config libconfuse --libs) -INOTIFY_CFLAGS = $(shell test -e /usr/include/sys/inotify.h || echo -DNO_SYS_INOTIFY_H) +INOTIFY_CFLAGS = CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS) LDLIBS = -lpthread -lX11 $(DBUS_LIBS) $(DBUSGLIB_LIBS) $(GTK_LIBS) $(CONFUSE_LIBS) Index: pommed-1.39~dfsg/pommed/Makefile =================================================================== --- pommed-1.39~dfsg.orig/pommed/Makefile 2011-06-02 11:24:05.000000000 +0200 +++ pommed-1.39~dfsg/pommed/Makefile 2011-09-14 19:06:58.177943582 +0200 @@ -14,9 +14,9 @@ CONFUSE_CFLAGS = $(shell pkg-config libconfuse --cflags) CONFUSE_LIBS = $(shell pkg-config libconfuse --libs) -INOTIFY_CFLAGS = $(shell test -e /usr/include/sys/inotify.h || echo -DNO_SYS_INOTIFY_H) +INOTIFY_CFLAGS = -TIMERFD_CFLAGS = $(shell test -e /usr/include/sys/timerfd.h || echo -DNO_SYS_TIMERFD_H) +TIMERFD_CFLAGS = CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) $(ALSA_CFLAGS) $(AUDIOFILE_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS) $(TIMERFD_CFLAGS) Index: pommed-1.39~dfsg/wmpomme/Makefile =================================================================== --- pommed-1.39~dfsg.orig/wmpomme/Makefile 2011-06-02 11:24:05.000000000 +0200 +++ pommed-1.39~dfsg/wmpomme/Makefile 2011-09-14 19:07:05.977880619 +0200 @@ -3,7 +3,7 @@ DBUS_CFLAGS = $(shell pkg-config dbus-1 --cflags) -DDBUS_API_SUBJECT_TO_CHANGE DBUS_LIBS = $(shell pkg-config dbus-1 --libs) -TIMERFD_CFLAGS = $(shell test -e /usr/include/sys/timerfd.h || echo -DNO_SYS_TIMERFD_H) +TIMERFD_CFLAGS = CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) $(TIMERFD_CFLAGS) LDLIBS = -lrt -lXpm -lXext -lX11 $(DBUS_LIBS) debian/patches/series0000644000000000000000000000015512172365262012041 0ustar build_flags.patch MacBookPro91.patch 0001-rely-on-sys-inotify.h-for-inotify-support.patch apple-keyboard-ids debian/patches/apple-keyboard-ids0000644000000000000000000001050612172367677014240 0ustar Description: Add product IDs for new Apple keyboards Author: Thibaut Paumard Origin: vendor Last-Update: 2013-07-19 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/pommed/evdev.c +++ b/pommed/evdev.c @@ -686,6 +686,134 @@ return 0; } +/* MacBookPro9,1 (15" June 2012) + * MacBookPro9,2 (13" June 2012) + */ +static int +evdev_is_wellspring5a(unsigned short *id) +{ + unsigned short product = id[ID_PRODUCT]; + + if (id[ID_BUS] != BUS_USB) + return 0; + + if (id[ID_VENDOR] != USB_VENDOR_ID_APPLE) + return 0; + + if ((product == USB_PRODUCT_ID_WELLSPRING5A_ANSI) + || (product == USB_PRODUCT_ID_WELLSPRING5A_ISO) + || (product == USB_PRODUCT_ID_WELLSPRING5A_JIS)) + { + logdebug(" -> WellSpring VA USB assembly\n"); + + kbd_set_fnmode(); + + return 1; + } + + return 0; +} + +static int +evdev_is_wellspring6(unsigned short *id) +{ + unsigned short product = id[ID_PRODUCT]; + + if (id[ID_BUS] != BUS_USB) + return 0; + + if (id[ID_VENDOR] != USB_VENDOR_ID_APPLE) + return 0; + + if ((product == USB_PRODUCT_ID_WELLSPRING6_ANSI) + || (product == USB_PRODUCT_ID_WELLSPRING6_ISO) + || (product == USB_PRODUCT_ID_WELLSPRING6_JIS)) + { + logdebug(" -> WellSpring VI USB assembly\n"); + + kbd_set_fnmode(); + + return 1; + } + + return 0; +} + +static int +evdev_is_wellspring6a(unsigned short *id) +{ + unsigned short product = id[ID_PRODUCT]; + + if (id[ID_BUS] != BUS_USB) + return 0; + + if (id[ID_VENDOR] != USB_VENDOR_ID_APPLE) + return 0; + + if ((product == USB_PRODUCT_ID_WELLSPRING6A_ANSI) + || (product == USB_PRODUCT_ID_WELLSPRING6A_ISO) + || (product == USB_PRODUCT_ID_WELLSPRING6A_JIS)) + { + logdebug(" -> WellSpring VIA USB assembly\n"); + + kbd_set_fnmode(); + + return 1; + } + + return 0; +} + +static int +evdev_is_wellspring7(unsigned short *id) +{ + unsigned short product = id[ID_PRODUCT]; + + if (id[ID_BUS] != BUS_USB) + return 0; + + if (id[ID_VENDOR] != USB_VENDOR_ID_APPLE) + return 0; + + if ((product == USB_PRODUCT_ID_WELLSPRING7_ANSI) + || (product == USB_PRODUCT_ID_WELLSPRING7_ISO) + || (product == USB_PRODUCT_ID_WELLSPRING7_JIS)) + { + logdebug(" -> WellSpring VII USB assembly\n"); + + kbd_set_fnmode(); + + return 1; + } + + return 0; +} + +static int +evdev_is_wellspring7a(unsigned short *id) +{ + unsigned short product = id[ID_PRODUCT]; + + if (id[ID_BUS] != BUS_USB) + return 0; + + if (id[ID_VENDOR] != USB_VENDOR_ID_APPLE) + return 0; + + if ((product == USB_PRODUCT_ID_WELLSPRING7A_ANSI) + || (product == USB_PRODUCT_ID_WELLSPRING7A_ISO) + || (product == USB_PRODUCT_ID_WELLSPRING7A_JIS)) + { + logdebug(" -> WellSpring VIIA USB assembly\n"); + + kbd_set_fnmode(); + + return 1; + } + + return 0; +} + /* Any internal keyboard */ static int evdev_is_internal(unsigned short *id) @@ -698,7 +826,12 @@ || evdev_is_wellspring3(id) || evdev_is_wellspring4(id) || evdev_is_wellspring4a(id) - || evdev_is_wellspring5(id)); + || evdev_is_wellspring5(id) + || evdev_is_wellspring5a(id) + || evdev_is_wellspring6(id) + || evdev_is_wellspring6a(id) + || evdev_is_wellspring7(id) + || evdev_is_wellspring7a(id)); } --- a/pommed/evdev.h +++ b/pommed/evdev.h @@ -78,6 +78,22 @@ #define USB_PRODUCT_ID_WELLSPRING5_ISO 0x0246 #define USB_PRODUCT_ID_WELLSPRING5_JIS 0x0247 +/* Apple WellSpring VA to VII keyboard + trackpad */ +#define USB_PRODUCT_ID_WELLSPRING5A_ANSI 0x0252 +#define USB_PRODUCT_ID_WELLSPRING5A_ISO 0x0253 +#define USB_PRODUCT_ID_WELLSPRING5A_JIS 0x0254 +#define USB_PRODUCT_ID_WELLSPRING7A_ANSI 0x0259 +#define USB_PRODUCT_ID_WELLSPRING7A_ISO 0x025a +#define USB_PRODUCT_ID_WELLSPRING7A_JIS 0x025b +#define USB_PRODUCT_ID_WELLSPRING6A_ANSI 0x0249 +#define USB_PRODUCT_ID_WELLSPRING6A_ISO 0x024a +#define USB_PRODUCT_ID_WELLSPRING6A_JIS 0x024b +#define USB_PRODUCT_ID_WELLSPRING6_ANSI 0x024c +#define USB_PRODUCT_ID_WELLSPRING6_ISO 0x024d +#define USB_PRODUCT_ID_WELLSPRING6_JIS 0x024e +#define USB_PRODUCT_ID_WELLSPRING7_ANSI 0x0262 +#define USB_PRODUCT_ID_WELLSPRING7_ISO 0x0263 +#define USB_PRODUCT_ID_WELLSPRING7_JIS 0x0264 /* Apple external USB keyboard, white */ #define USB_PRODUCT_ID_APPLE_EXTKBD_WHITE 0x020c debian/pommed.dirs0000644000000000000000000000001112172362262011325 0ustar usr/sbin debian/pommed.docs0000644000000000000000000000001012172362262011313 0ustar README debian/pommed.init0000644000000000000000000000321312172362262011336 0ustar #! /bin/sh # ### BEGIN INIT INFO # Provides: pommed # Required-Start: $syslog $local_fs $remote_fs # Required-Stop: $syslog $local_fs $remote_fs # Should-Start: dbus # Should-Stop: # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Apple laptops hotkeys event handler # Description: pommed handles the hotkeys found on the Apple MacBook Pro, # MacBook Air and MacBook laptops and adjusts the LCD # backlight, sound volume, keyboard backlight or ejects the # CD-ROM drive accordingly. ### END INIT INFO PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/sbin/pommed NAME=pommed DESC="Apple laptops hotkeys events handler" test -x $DAEMON || exit 0 set -e case "$1" in start) echo -n "Starting $DESC: " start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \ --exec $DAEMON -- $DAEMON_OPTS echo "$NAME." ;; stop) echo -n "Stopping $DESC: " start-stop-daemon --stop --oknodo --quiet --pidfile /var/run/$NAME.pid \ --exec $DAEMON echo "$NAME." ;; force-reload) # check wether $DAEMON is running. If so, restart start-stop-daemon --stop --test --quiet --pidfile \ /var/run/$NAME.pid --exec $DAEMON \ && $0 restart \ || exit 0 ;; restart) echo -n "Restarting $DESC: " start-stop-daemon --stop --oknodo --quiet --pidfile \ /var/run/$NAME.pid --exec $DAEMON sleep 1 start-stop-daemon --start --quiet --pidfile \ /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS echo "$NAME." ;; *) N=/etc/init.d/$NAME echo "Usage: $N {start|stop|restart|force-reload}" >&2 exit 1 ;; esac exit 0 debian/pommed.manpages0000644000000000000000000000001112172362262012157 0ustar pommed.1 debian/pommed.postinst0000644000000000000000000000020112172362262012250 0ustar #!/bin/sh set -e init_eh () { : } if [ -x /etc/init.d/dbus ]; then invoke-rc.d dbus force-reload || true fi #DEBHELPER# debian/pommed.postrm0000644000000000000000000000015612172362262011722 0ustar #!/bin/sh set -e #DEBHELPER# if [ -x /etc/init.d/dbus ]; then invoke-rc.d dbus force-reload || true fi debian/pommed.prerm0000644000000000000000000000006212172362262011517 0ustar #!/bin/sh set -e init_eh () { : } #DEBHELPER# debian/rules0000755000000000000000000000417212172362262010255 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_install: # Install pommed cp pommed/pommed $(CURDIR)/debian/pommed/usr/sbin/ mkdir -p $(CURDIR)/debian/pommed/usr/share/pommed cp $(CURDIR)/pommed/data/* $(CURDIR)/debian/pommed/usr/share/pommed/ ln -sf goutte.wav $(CURDIR)/debian/pommed/usr/share/pommed/beep.wav mkdir -p $(CURDIR)/debian/pommed/etc/dbus-1/system.d ifeq ($(shell dpkg-architecture -qDEB_BUILD_ARCH), powerpc) cp pommed.conf.pmac $(CURDIR)/debian/pommed/etc/pommed.conf else cp pommed.conf.mactel $(CURDIR)/debian/pommed/etc/pommed.conf endif cp dbus-policy.conf $(CURDIR)/debian/pommed/etc/dbus-1/system.d/pommed.conf # Install gpomme cp gpomme/gpomme $(CURDIR)/debian/gpomme/usr/bin/ mkdir -p $(CURDIR)/debian/gpomme/usr/share/applications cp gpomme/gpomme.desktop $(CURDIR)/debian/gpomme/usr/share/applications/ cp gpomme/gpomme-c.desktop $(CURDIR)/debian/gpomme/usr/share/applications/ for s in 16x16 22x22 24x24 32x32 36x36 48x48 64x64 72x72 96x96 128x128 192x192; do \ mkdir -p $(CURDIR)/debian/gpomme/usr/share/icons/hicolor/$$s/apps && \ cp icons/gpomme_$$s.png $(CURDIR)/debian/gpomme/usr/share/icons/hicolor/$$s/apps/gpomme.png ; \ done mkdir -p $(CURDIR)/debian/gpomme/usr/share/icons/hicolor/scalable/apps cp icons/gpomme.svg $(CURDIR)/debian/gpomme/usr/share/icons/hicolor/scalable/apps/gpomme.svg cp icons/gpomme_32x32.xpm $(CURDIR)/debian/gpomme/usr/share/pixmaps/gpomme.xpm mkdir -p $(CURDIR)/debian/gpomme/usr/share/gpomme cp -a gpomme/themes $(CURDIR)/debian/gpomme/usr/share/gpomme for t in $(CURDIR)/debian/gpomme/usr/share/gpomme/themes/*; do \ rm -rf $$t/src; \ done for mo in gpomme/po/*.mo; do \ lang=`basename $$mo .mo`; \ mkdir -p $(CURDIR)/debian/gpomme/usr/share/locale/$$lang/LC_MESSAGES; \ cp $$mo $(CURDIR)/debian/gpomme/usr/share/locale/$$lang/LC_MESSAGES/gpomme.mo; \ done # Install wmpomme cp wmpomme/wmpomme $(CURDIR)/debian/wmpomme/usr/bin/ cp icons/gpomme_32x32.xpm $(CURDIR)/debian/wmpomme/usr/share/pixmaps/wmpomme.xpm dh_auto_install override_dh_installchangelogs: dh_installchangelogs ChangeLog override_dh_installinit: dh_installinit --error-handler=init_eh debian/source/0000755000000000000000000000000012172362262010471 5ustar debian/source/format0000644000000000000000000000001412172362262011677 0ustar 3.0 (quilt) debian/wmpomme.dirs0000644000000000000000000000003212172362262011530 0ustar usr/bin usr/share/pixmaps debian/wmpomme.docs0000644000000000000000000000001012172362262011513 0ustar README debian/wmpomme.manpages0000644000000000000000000000002212172362262012361 0ustar wmpomme/wmpomme.1 debian/wmpomme.menu0000644000000000000000000000057612172362262011550 0ustar ?package(wmpomme):needs="X11" section="Applications/System/Monitoring"\ title="wmpomme" command="/usr/bin/wmpomme" \ icon="/usr/share/pixmaps/wmpomme.xpm" \ description="wmpomme provides visual feedback in the form of a \ WindowMaker dockapp when adjusting LCD brightness, sound level \ and keyboard brightness on Apple laptops, in conjunction with the \ pommed daemon" debian/changelog0000644000000000000000000004116412174161500011043 0ustar pommed (1.39~dfsg-4) unstable; urgency=low * Add patches/apple-keyboard-ids. Support for recent internal keyboards. -- Thibaut Paumard Thu, 25 Jul 2013 10:35:12 +0200 pommed (1.39~dfsg-3) unstable; urgency=low * Update debian/control. - Change Maintainer field and Add Uploaders field. (Closes: #688529) Maintainer: Debian Mactel Uploaders: Nobuhiro Iwamatsu - Bump Standard Version: 3.9.4 - Update debhelper to 9. * Update debian/compat to 9. * Update debian/rules. - Convert to dh. * Add patches/MacBookPro91.patch. Support Macbook Pro 9,1. (Closes: #708150) * Add patches/0001-rely-on-sys-inotify.h-for-inotify-support.patch. Update inotify support. (Closes: #676948) * Update debian/copyright to DEP5. -- Nobuhiro Iwamatsu Tue, 09 Jul 2013 11:25:35 +0900 pommed (1.39~dfsg-2) unstable; urgency=low * debian/patches/build_flags.patch: + Added; force empty inotify and timerfd build flags (closes: #639078). -- Julien BLACHE Wed, 14 Sep 2011 19:10:29 +0200 pommed (1.39~dfsg-1) unstable; urgency=low * New upstream release. * debian/control: + Bump Standards-Version to 3.9.2 (no changes). -- Julien BLACHE Thu, 02 Jun 2011 11:31:04 +0200 pommed (1.38~dfsg-1) unstable; urgency=low * New upstream release. + Allow disabling audio support entirely (closes: #404352). * debian/control: + Remove Conflicts/Replaces mbpeventd; this was a long time ago. * debian/pommed.preinst: + Remove; mbpeventd migration is not needed anymore. -- Julien BLACHE Sat, 19 Mar 2011 12:34:59 +0100 pommed (1.37~dfsg-1) unstable; urgency=low * New upstream release. -- Julien BLACHE Sat, 05 Feb 2011 18:23:29 +0100 pommed (1.36~dfsg-1) unstable; urgency=low * New upstream release. + Put libraries in LDLIBS, not LDFLAGS (closes: #607585). + Fixes for pmac keyboard backlight (closes: #611149). -- Julien BLACHE Sat, 05 Feb 2011 14:28:58 +0100 pommed (1.35~dfsg-1) unstable; urgency=low * New upstream release. -- Julien BLACHE Sat, 13 Nov 2010 11:44:22 +0100 pommed (1.34~dfsg-1) unstable; urgency=low * New upstream release. * debian/control: + Bump Standards-Version to 3.9.1 (no changes). -- Julien BLACHE Sat, 31 Jul 2010 16:03:21 +0200 pommed (1.33~dfsg-1) unstable; urgency=low * New upstream release. + Adds support for the MacBookPro6,1, MacBookPro6,2, MacBookPro7,1 and MacBook6,1 (closes: #576013). * debian/control: + Remove Build-dep on libglade2-dev. -- Julien BLACHE Thu, 24 Jun 2010 18:40:05 +0200 pommed (1.32~dfsg-1) unstable; urgency=low * New upstream release. * Package converted to source format 3.0 (quilt). * debian/control: + Bump Standards-Version to 3.8.4 (no changes). * debian/pommed.init: + Added $remote_fs to Required-{Start,Stop}. -- Julien BLACHE Fri, 19 Mar 2010 18:26:38 +0100 pommed (1.31~dfsg-1) unstable; urgency=low * New upstream release. + Adds support for the MacBookPro5,4 (closes: #564092). -- Julien BLACHE Sun, 10 Jan 2010 11:10:15 +0100 pommed (1.30~dfsg-2) unstable; urgency=low * Add -lX11 to gpomme to fix build with gold (closes: #556069). -- Julien BLACHE Fri, 13 Nov 2009 18:37:54 +0100 pommed (1.30~dfsg-1) unstable; urgency=low * New upstream release. * debian/control: + Added the iBook to the list of supported machines in the description. -- Julien BLACHE Thu, 22 Oct 2009 21:30:25 +0200 pommed (1.29~dfsg-1) unstable; urgency=low * New upstream release. + Moved VT state code into pommed to overcome permissions issues (closes: #551591). * debian/control: + Tighten gpomme & wmpomme dependencies on pommed due to the above-mentioned change. * debian/pommed.init: + Do not fail on restart if pommed is not running (closes: #551587). -- Julien BLACHE Mon, 19 Oct 2009 22:00:55 +0200 pommed (1.28~dfsg-1) unstable; urgency=low * New upstream release. * debian/control: + Bump Standards-Version to 3.8.3 (no changes). -- Julien BLACHE Sun, 13 Sep 2009 20:39:57 +0200 pommed (1.27~dfsg-1) unstable; urgency=low * New upstream release. * debian/control: + Bump Standards-Version to 3.8.2 (no changes). -- Julien BLACHE Sat, 01 Aug 2009 10:29:46 +0200 pommed (1.26~dfsg-1) unstable; urgency=low * New upstream release. * debian/control: + Bump Standards-Version to 3.8.1 (no changes). + Update pommed's description regarding ambient light sensors and keyboard backlight. -- Julien BLACHE Sat, 14 Mar 2009 14:21:23 +0100 pommed (1.25~dfsg-1) unstable; urgency=low * New upstream release. + Fix DBus configuration to allow method calls to org.pommed. -- Julien BLACHE Sun, 04 Jan 2009 14:23:46 +0100 pommed (1.24~dfsg-1) unstable; urgency=low * New upstream release. -- Julien BLACHE Thu, 25 Dec 2008 13:34:52 +0100 pommed (1.23~dfsg-1) unstable; urgency=low * New upstream release. + Add support for LCD backlight on late 2008 laptops (closes: #504358). * debian/pommed.init: + Demote dbus to Should-Start instead of Required-Start to avoid useless restarts of pommed triggered by the dbus init script. -- Julien BLACHE Thu, 11 Dec 2008 16:05:27 +0100 pommed (1.22~dfsg-1) unstable; urgency=low * New upstream release. -- Julien BLACHE Mon, 10 Nov 2008 11:21:41 +0100 pommed (1.21~dfsg-3) unstable; urgency=low * gpomme: + Added japanese translation courtesy of Nobuhiro Iwamatsu (closes: #501463). * debian/pommed.postinst, debian/pommed.preinst, debian/pommed.postrm, debian/pommed.prerm: + Make all maintainer scripts set -e. -- Julien BLACHE Tue, 07 Oct 2008 18:37:34 +0200 pommed (1.21~dfsg-2) unstable; urgency=low * debian/copyright: + Update. -- Julien BLACHE Mon, 14 Jul 2008 19:06:52 +0200 pommed (1.21~dfsg-1) unstable; urgency=low * New upstream release. -- Julien BLACHE Mon, 14 Jul 2008 16:16:04 +0200 pommed (1.20~dfsg-1) unstable; urgency=low * New upstream release. * debian/pommed.init: + Add dbus dependency. -- Julien BLACHE Mon, 16 Jun 2008 18:44:39 +0200 pommed (1.19~dfsg-1) unstable; urgency=low * New upstream release. + WARNING: requires Linux 2.6.25 or later. + Make pommed use a bit less CPU time, especially on machines not having ambient light sensors (MacBook, MacBook Air, iBook & early PowerBook). + Make gpomme wake up (way) less often. * debian/control: + Get rid of the libsmbios-dev build-dep. + Add build-dep on libdbus-glib-1-dev. + Bump Standards-Version to 3.8.0 (no changes). -- Julien BLACHE Sat, 07 Jun 2008 12:03:25 +0200 pommed (1.18~dfsg-2) unstable; urgency=low * debian/rules: + Fix installation path for the SVG icon. + Comment out useless dh_desktop call. -- Julien BLACHE Wed, 21 May 2008 19:17:08 +0200 pommed (1.18~dfsg-1) unstable; urgency=low * New upstream release. -- Julien BLACHE Sun, 18 May 2008 12:08:28 +0200 pommed (1.17~dfsg-2) unstable; urgency=low * debian/control: + Build-Depend on libpci-dev instead of pciutils-dev. + Mark the libpci-dev build-dependency as i386+amd64-only. + Drop zlib1g-dev build-dependency. + Mention the MacBook Air in the description. * pommed/Makefile: + Changed for now-shared libpci. -- Julien BLACHE Mon, 28 Apr 2008 18:59:47 +0200 pommed (1.17~dfsg-1) unstable; urgency=low * New upstream release. -- Julien BLACHE Thu, 17 Apr 2008 19:21:33 +0200 pommed (1.16~dfsg-1) unstable; urgency=low * New upstream release. + Support for the January 2008 MacBookAir1,1. + Support for the February 2008 MacBookPro4,1 (untested). + Support for the February 2008 MacBook4,1 (untested). -- Julien BLACHE Sun, 02 Mar 2008 09:57:02 +0100 pommed (1.15~dfsg-1) unstable; urgency=low * New upstream release. + Add support for the power_supply class, needed with 2.6.24 and up. * debian/rules: + Install upstream changelog (closes: #463433). * debian/control: + s/DBus/D-Bus/ + Build-Depend on debhelper (>= 5.0.51~) due to the use of dh_icons. -- Julien BLACHE Sat, 09 Feb 2008 09:23:02 +0100 pommed (1.14~dfsg-2) unstable; urgency=low * debian/rules: + Use dh_desktop to register .desktop files. -- Julien BLACHE Tue, 25 Dec 2007 10:46:28 +0100 pommed (1.14~dfsg-1) unstable; urgency=low * New upstream release. + Fix bug in the audio sample loading code (closes: #455780). + Change default beep sound (closes: #455881). * debian/rules: + Install icons for gpomme in /usr/share/icons/hicolor and call dh_icons. + Move wmpomme.xpm to /usr/share/pixmaps. -- Julien BLACHE Wed, 12 Dec 2007 13:47:01 +0100 pommed (1.13~dfsg-2) unstable; urgency=low * debian/rules: + Install /usr/share/pommed/goutte.wav. -- Julien BLACHE Sat, 08 Dec 2007 17:23:25 +0100 pommed (1.13~dfsg-1) unstable; urgency=low * New upstream release. + New option to disable beep on volume change (closes: #452530). + Fixes busy loop due to inotify events handling (closes: #454510). * debian/control: + Bump gpomme and wmpomme dependency on pommed >= 1.13~dfsg-1. + Bump Standards-Version to 3.7.3 (no changes). -- Julien BLACHE Fri, 07 Dec 2007 13:49:19 +0100 pommed (1.12~dfsg-1) unstable; urgency=low * New upstream release. + Do not expect at least 3 evdevs at startup. The MacBook has only 2 evdevs, and the pmac machines can have only one (closes: #451966). -- Julien BLACHE Mon, 19 Nov 2007 15:49:04 +0100 pommed (1.11~dfsg-1) unstable; urgency=low * New upstream release. -- Julien BLACHE Sun, 18 Nov 2007 13:47:18 +0100 pommed (1.10~dfsg-1) unstable; urgency=low * New upstream release. -- Julien BLACHE Sat, 06 Oct 2007 13:36:13 +0200 pommed (1.9~dfsg-1) unstable; urgency=low * New upstream release. -- Julien BLACHE Sat, 08 Sep 2007 11:41:40 +0200 pommed (1.8~dfsg-2) unstable; urgency=low * debian/gpomme.menu, debian/wmpomme.menu: + Added a description. -- Julien BLACHE Sun, 05 Aug 2007 18:38:09 +0200 pommed (1.8~dfsg-1) unstable; urgency=low * New upstream release. + Support for the nVidia GeForce 8600M GT found in the MacBookPro3,1. + gpomme now comes with an icon. * debian/control: + Tighten dependencies for gpomme and wmpomme wrt pommed (>= 1.8~dfsg-1). * debian/rules: + Install icons for gpomme and wmpomme. * debian/gpomme.menu, debian/wmpomme.menu: + Add an icon for gpomme and wmpomme (closes: #408048). + Move menu entries to Applications/System/Monitoring. -- Julien BLACHE Fri, 27 Jul 2007 16:35:22 +0200 pommed (1.7~dfsg-2) unstable; urgency=low * debian/control: + Fixed libofapi-dev version in build-deps (closes: #432652). -- Julien BLACHE Wed, 11 Jul 2007 16:59:17 +0200 pommed (1.7~dfsg-1) unstable; urgency=low * New upstream release. + Partial support for the MacBookPro3,1 (Core2 Duo, 15" & 17", June 2007). * debian/control: + Bump libofapi build-dep to >= 20070620-1. -- Julien BLACHE Wed, 27 Jun 2007 09:29:38 +0200 pommed (1.6~dfsg-1) unstable; urgency=low * New upstream release. + Support new "Apple Inc." SMBIOS vendor ID. -- Julien BLACHE Sun, 27 May 2007 16:08:26 +0200 pommed (1.5~dfsg-1) unstable; urgency=low * New upstream release. + Use eject(1) again for CD ejection (closes: #422857). + Fallback to identifying the LMU controller by name (closes: #425094). * debian/control: + Depend on eject again. -- Julien BLACHE Sat, 19 May 2007 20:04:02 +0200 pommed (1.4~dfsg-1) unstable; urgency=low * New upstream release. + Support for PMU05 PowerBooks (5,8 & 5,9) (closes: #421326). + Simple keyboard backlight toggle mode (closes: #408649). -- Julien BLACHE Sun, 06 May 2007 14:41:13 +0200 pommed (1.3~dfsg-3) unstable; urgency=low * debian/rules: + Install gpomme.glade in /usr/share/gpomme (closes: #421068). -- Julien BLACHE Thu, 26 Apr 2007 11:18:59 +0200 pommed (1.3~dfsg-2) unstable; urgency=low * debian/control: + Add missing libglade2-dev build-dependency. -- Julien BLACHE Thu, 26 Apr 2007 10:01:57 +0200 pommed (1.3~dfsg-1) unstable; urgency=low * New upstream release. * debian/control: + Build-Depend on libofapi-dev on powerpc. + Build-Depend on libsmbios-dev >= 0.13.5-1 to avoid broken libsmbios versions. + Drop dependency on eject. * debian/rules: + Install gpomme-c.desktop. * debian/gpomme.menu: + Add gpomme configuration GUI. -- Julien BLACHE Wed, 25 Apr 2007 19:08:12 +0200 pommed (1.2~dfsg-1) unstable; urgency=low * New upstream release. + Fixed typo in pommed(1) (closes: #408049). + Added support for all G4 laptops (closes: #412414). * debian/pommed.init: + Fixed typo (closes: #408049). -- Julien BLACHE Sat, 3 Mar 2007 14:28:43 +0100 pommed (1.1~dfsg-1) unstable; urgency=low * New upstream release. + Fixed errors in gpomme(1) (closes: #405934). * debian/control: + Add powerpc to supported architectures. + Mention PowerBook laptops in the description. + Build-Depends on libsmbios-dev for i386 and amd64 only. * debian/copyright: + Changed upstream URL, point to Alioth. + Added more Copyright notices. * debian/rules: + Install the appropriate config file depending on the architecture. + Call dh_installmenu. * debian/pommed.init: + Added LSB header. * debian/pommed.docs: + Added. * debian/wmpomme.menu: + Added. * debian/gpomme.menu: + Added. -- Julien BLACHE Tue, 9 Jan 2007 20:42:01 +0100 pommed (1.0-2) unstable; urgency=low * debian/pommed.preinst: + Fix missing check for mbpeventd.conf existence. -- Julien BLACHE Sun, 24 Dec 2006 16:05:08 +0100 pommed (1.0-1) unstable; urgency=low * New upstream release. - Name changed, mbpeventd is now pommed. - Upstream now has a ChangeLog (closes: #404323). - pommed now has a debug option (closes: #404351). - pommed can now set the fnmode (closes: #404014). -- Julien BLACHE Sun, 24 Dec 2006 14:27:06 +0100 mbpeventd (0.9-1) unstable; urgency=low * New upstream release. * debian/control: + Build-Depends: libasound2-dev -- Julien BLACHE Sat, 16 Dec 2006 20:50:14 +0100 mbpeventd (0.8-1) unstable; urgency=low * New upstream release. * debian/control: + Build-Depends: libconfuse-dev + Updated the description to include the MacBook and the Apple Remote * debian/rules: + Install mbpeventd(1) and mbpeventd.conf -- Julien BLACHE Thu, 14 Dec 2006 19:50:12 +0100 mbpeventd (0.7-1) unstable; urgency=low * New upstream release. + Fixed Core2 Duo MacBook model identifier string. + LCD backlight on the MacBook can now be switched off entirely. -- Julien BLACHE Tue, 12 Dec 2006 18:17:40 +0100 mbpeventd (0.6-2) unstable; urgency=low * debian/rules, debian/mbpeventd.postinst, debian/mbpeventd.prerm: + Add init script error handler in postinst and prerm. -- Julien BLACHE Tue, 12 Dec 2006 13:43:22 +0100 mbpeventd (0.6-1) unstable; urgency=low * New upstream release. Now supports all Mac Intel laptops. -- Julien BLACHE Sun, 10 Dec 2006 23:01:20 +0100 mbpeventd (0.5-1) unstable; urgency=low * New upstream release. Now with MacBook support. -- Julien BLACHE Sun, 10 Dec 2006 22:07:47 +0100 mbpeventd (0.4-1) unstable; urgency=low * New upstream release. -- Julien BLACHE Sat, 9 Dec 2006 22:49:24 +0100 mbpeventd (0.3-1) unstable; urgency=low * Initial release (closes: #402280). -- Julien BLACHE Sat, 9 Dec 2006 10:42:45 +0100 debian/copyright0000644000000000000000000000764212174160442011133 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: pommed Source: http://alioth.debian.org/projects/pommed Files: * Copyright: Copyright (C) 2006-2008 Julien BLACHE License: GPL-2 Files: client-common/* Copyright: 2006-2007, 2009 Julien BLACHE License: GPL-2 Files: wmpomme/* Copyright: 2006-2009 Julien BLACHE License: GPL-2 Files: gpomme/conffile.c Copyright: 2007 daniel g. siegel 2007 Julien BLACHE License: GPL-2 Files: gpomme/theme.c Copyright: 2006-2007 Julien BLACHE 2006 Soeren SONNENBURG License: GPL-2 Files: gpomme/gpomme.c Copyright: 2006-2009 Julien BLACHE 2007 daniel g. siegel 2006, 2008 Soeren SONNENBURG License: GPL-2 Files: pommed/power.c pommed/pommed.c pommed/kbd_auto.c pommed/conffile.c pommed/pmac/pmu.c Copyright: 2006-2008 Julien BLACHE License: GPL-2 Files: pommed/pmac/ofapi/of_standard.c Copyright: 2006 Alastair Poole. netstar@gatheringofgray.com License: GPL-2+ Files: pommed/pmac/ofapi/of_internals.c Copyright: 2006 Alastair Poole. netstar@gatheringofgray.com License: GPL-2+ Files: pommed/pmac/ofapi/of_externals.c pommed/pmac/ofapi/of_internals.h pommed/pmac/ofapi/of_api.h pommed/pmac/ofapi/of_standard.h pommed/pmac/ofapi/of_externals.h Copyright: 2006 Alastair Poole. netstar@gatheringofgray.com) License: GPL-2+ Files: pommed/pmac/kbd_backlight.c pommed/pmac/ambient.c pommed/mactel/gma950_backlight.c Copyright: 2006 Yves-Alexis Perez 2006-2008 Julien BLACHE License: GPL-2 Files:./pommed/mactel/nv8600mgt_backlight.c Copyright: 2006 Felipe Alfaro Solana 2006 Nicolas Boichat 2007-2008 Julien BLACHE License: GPL-2+ Files: pommed/mactel/acpi.c pommed/mactel/kbd_backlight.c Copyright: 2006-2008 Julien BLACHE License: GPL-2 Files: pommed/mactel/x1600_backlight.c Copyright: 2006-2007 Julien BLACHE / 2006 Nicolas Boichat License: GPL-2+ Files: pommed/mactel/ambient.c pommed/dbus.c Copyright: 2006-2007 Julien BLACHE License: GPL-2 Files: ./pommed/evdev.c Copyright: 2006-2009 Julien BLACHE License: GPL-2 Files: pommed/beep.c Copyright: 2006-2008 Julien BLACHE / 2006 Soeren SONNENBURG License: GPL-2 Files: pommed/audio.c Copyright: 2006-2007 Julien BLACHE / 2006 Romain Beauxis License: GPL-2 Files: pommed/cd_eject.c Copyright: 2006-2007 Julien BLACHE License: GPL-2 Files: pommed/sysfs_backlight.c Copyright: 2006 Yves-Alexis Perez / 2006-2008,2010 Julien BLACHE License: GPL-2 Files: pommed/video.c Copyright: 2007, 2009 Julien BLACHE License: GPL-2 Files: pommed/evloop.c Copyright: 2006-2008 Julien BLACHE License: GPL-2 Files: debian/* Copyright: (C) 2006-2008, Julien BLACHE (C) 2013, Nobuhiro Iwamatsu License: GPL-2 License: GPL-2 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License. . On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2' License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'