Gentoo Archives: gentoo-commits

From: "Cedric Krier (cedk)" <cedk@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-laptop/pommed/files: pommed-1.25.patch
Date: Wed, 28 Jan 2009 23:35:52
Message-Id: E1LSJwj-0003V6-Ph@stork.gentoo.org
1 cedk 09/01/28 23:35:49
2
3 Added: pommed-1.25.patch
4 Log:
5 Version bump
6 (Portage version: 2.1.6.4/cvs/Linux 2.6.27-hardened-r3 i686)
7
8 Revision Changes Path
9 1.1 app-laptop/pommed/files/pommed-1.25.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/pommed/files/pommed-1.25.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/pommed/files/pommed-1.25.patch?rev=1.1&content-type=text/plain
13
14 Index: pommed-1.25.patch
15 ===================================================================
16 diff -ru pommed-1.25~/gpomme/Makefile pommed-1.25/gpomme/Makefile
17 --- pommed-1.25~/gpomme/Makefile 2009-01-29 00:27:58.000000000 +0100
18 +++ pommed-1.25/gpomme/Makefile 2009-01-29 00:28:40.000000000 +0100
19 @@ -17,8 +17,8 @@
20
21 INOTIFY_CFLAGS = $(shell test -e /usr/include/sys/inotify.h || echo -DNO_SYS_INOTIFY_H)
22
23 -CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS) $(CONFUSE_CFLAGS) $(GLADE_CFLAGS) $(INOTIFY_CFLAGS)
24 -LDFLAGS = -lpthread $(DBUS_LIBS) $(DBUSGLIB_LIBS) $(GTK_LIBS) $(CONFUSE_LIBS) $(GLADE_LIBS)
25 +CFLAGS += -g -Wall $(DBUS_CFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS) $(CONFUSE_CFLAGS) $(GLADE_CFLAGS) $(INOTIFY_CFLAGS)
26 +LDFLAGS += -lpthread $(DBUS_LIBS) $(DBUSGLIB_LIBS) $(GTK_LIBS) $(CONFUSE_LIBS) $(GLADE_LIBS)
27
28 SOURCES = gpomme.c theme.c conffile.c \
29 ../client-common/dbus-client.c \
30 @@ -33,6 +33,7 @@
31 mo: $(MOFILES)
32
33 gpomme: $(OBJS) $(LIBS)
34 + ${CC} -o $@ ${OBJS} ${LIBS} ${LDFLAGS}
35
36 gpomme.o: gpomme.c gpomme.h theme.h ../client-common/dbus-client.h ../client-common/video-client.h
37
38 diff -ru pommed-1.25~/pommed/Makefile pommed-1.25/pommed/Makefile
39 --- pommed-1.25~/pommed/Makefile 2009-01-29 00:27:58.000000000 +0100
40 +++ pommed-1.25/pommed/Makefile 2009-01-29 00:29:44.000000000 +0100
41 @@ -16,9 +16,9 @@
42
43 INOTIFY_CFLAGS = $(shell test -e /usr/include/sys/inotify.h || echo -DNO_SYS_INOTIFY_H)
44
45 -CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) $(ALSA_CFLAGS) $(AUDIOFILE_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS)
46 +CFLAGS += -g -Wall $(DBUS_CFLAGS) $(ALSA_CFLAGS) $(AUDIOFILE_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS)
47
48 -LDFLAGS = -pthread -lrt $(DBUS_LIBS) $(ALSA_LIBS) $(AUDIOFILE_LIBS) $(CONFUSE_LIBS)
49 +LDFLAGS += -pthread -lrt $(DBUS_LIBS) $(ALSA_LIBS) $(AUDIOFILE_LIBS) $(CONFUSE_LIBS)
50
51 ifneq (, $(findstring ppc, $(ARCH)))
52 OFLIB ?=
53 @@ -50,6 +50,7 @@
54
55 CFLAGS += $(LIBPCI_CFLAGS)
56 LDFLAGS += $(LIBPCI_LIBS)
57 + LIBS = $(LIBPCI_LIBS)
58 else
59 LIBS = /usr/lib/libpci.a
60 LDFLAGS += -lz
61 @@ -67,6 +68,7 @@
62
63
64 pommed: $(OBJS) $(LIBS)
65 + ${CC} -o $@ ${OBJS} ${LIBS} ${LDFLAGS}
66
67 pommed.o: pommed.c pommed.h evloop.h kbd_backlight.h lcd_backlight.h cd_eject.h evdev.h conffile.h audio.h dbus.h beep.h
68
69 diff -ru pommed-1.25~/wmpomme/Makefile pommed-1.25/wmpomme/Makefile
70 --- pommed-1.25~/wmpomme/Makefile 2009-01-29 00:27:58.000000000 +0100
71 +++ pommed-1.25/wmpomme/Makefile 2009-01-29 00:30:30.000000000 +0100
72 @@ -3,8 +3,8 @@
73 DBUS_CFLAGS = $(shell pkg-config dbus-1 --cflags) -DDBUS_API_SUBJECT_TO_CHANGE
74 DBUS_LIBS = $(shell pkg-config dbus-1 --libs)
75
76 -CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS)
77 -LDFLAGS = -lrt -lXpm -lXext -lX11 $(DBUS_LIBS)
78 +CFLAGS += -g -Wall $(DBUS_CFLAGS)
79 +LDFLAGS += -lrt -lXpm -lXext -lX11 $(DBUS_LIBS)
80
81 SOURCES = wmgeneral.c wmpomme.c \
82 ../client-common/dbus-client.c \
83 @@ -13,6 +13,7 @@
84 OBJS = $(SOURCES:%.c=%.o)
85
86 wmpomme: $(OBJS)
87 + ${CC} -o $@ ${OBJS} ${LDFLAGS}
88
89 wmpomme.o: wmpomme.c wmgeneral.h wmpomme-master.xpm ../client-common/dbus-client.h