Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37534806
en ru br
ALT Linux repositórios
S:1.39-alt9
5.0: 1.23-alt1
4.1: 1.17-alt1.1
4.0: 1.14-alt1

Group :: Sistema/Kernel e hardware
RPM: pommed

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: pommed-1.16-alt-build.patch
Download


diff -urN pommed-1.16.orig/gpomme/Makefile pommed-1.16/gpomme/Makefile
--- pommed-1.16.orig/gpomme/Makefile	2007-12-01 13:51:32 +0200
+++ pommed-1.16/gpomme/Makefile	2008-04-03 11:50:43 +0300
@@ -15,7 +15,7 @@
 INOTIFY_CFLAGS = $(shell test -e /usr/include/sys/inotify.h || echo -DNO_SYS_INOTIFY_H)
 
 CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) $(GTK_CFLAGS) $(CONFUSE_CFLAGS) $(GLADE_CFLAGS) $(INOTIFY_CFLAGS)
-LDFLAGS = -lpthread $(DBUS_LIBS) $(GTK_LIBS) $(CONFUSE_LIBS) $(GLADE_LIBS)
+LDFLAGS = -lpthread $(DBUS_LIBS) $(GTK_LIBS) $(CONFUSE_LIBS) $(GLADE_LIBS) -lpci
 
 SOURCES = gpomme.c theme.c conffile.c \
 		../client-common/dbus-client.c \
@@ -30,6 +30,7 @@
 mo: $(MOFILES)
 
 gpomme: $(OBJS) $(LIBS)
+	$(CC) -o gpomme $(OBJS) $(CFLAGS) $(LDFLAGS)
 
 gpomme.o: gpomme.c gpomme.h theme.h ../client-common/dbus-client.h ../client-common/video-client.h
 
diff -urN pommed-1.16.orig/pommed/Makefile pommed-1.16/pommed/Makefile
--- pommed-1.16.orig/pommed/Makefile	2007-12-19 23:35:58 +0200
+++ pommed-1.16/pommed/Makefile	2008-04-03 11:51:55 +0300
@@ -18,7 +18,7 @@
 
 CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) $(ALSA_CFLAGS) $(AUDIOFILE_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS)
 
-LDFLAGS = -pthread $(DBUS_LIBS) $(ALSA_LIBS) $(AUDIOFILE_LIBS) $(CONFUSE_LIBS)
+LDFLAGS = -pthread $(DBUS_LIBS) $(ALSA_LIBS) $(AUDIOFILE_LIBS) $(CONFUSE_LIBS) -lhw -lpci
 
 ifeq ($(ARCH), ppc)
 OFLIB ?=
@@ -56,7 +56,8 @@
 OBJS = $(SOURCES:%.c=%.o)
 
 
-pommed: $(OBJS) $(LIBS)
+pommed: $(OBJS)
+	$(CC) -o pommed $(OBJS) $(CFLAGS) $(LDFLAGS)
 
 pommed.o: pommed.c pommed.h kbd_backlight.h lcd_backlight.h cd_eject.h evdev.h conffile.h audio.h dbus.h beep.h
 
diff -urN pommed-1.16.orig/wmpomme/Makefile pommed-1.16/wmpomme/Makefile
--- pommed-1.16.orig/wmpomme/Makefile	2007-11-27 18:38:21 +0200
+++ pommed-1.16/wmpomme/Makefile	2008-04-03 11:48:42 +0300
@@ -13,6 +13,7 @@
 OBJS = $(SOURCES:%.c=%.o)
 
 wmpomme: $(OBJS)
+	$(CC) -o wmpomme $(OBJS) $(CFLAGS) $(LDFLAGS)
 
 wmpomme.o: wmpomme.c wmgeneral.h wmpomme-master.xpm ../client-common/dbus-client.h
 
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009