From: | "Jeroen Roovers (jer)" <jer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/packETH/files: packETH-1.6.3-gentoo.patch packETH-1.6.3-pixmaps.patch |
Date: | Sun, 01 Nov 2009 22:42:01 |
Message-Id: | E1N4j7X-0000d7-2J@stork.gentoo.org |
1 | jer 09/11/01 22:41:59 |
2 | |
3 | Added: packETH-1.6.3-gentoo.patch |
4 | packETH-1.6.3-pixmaps.patch |
5 | Log: |
6 | Version bump thanks to DrChandra (bug #260381). Respect CC, CFLAGS, LDFLAGS, and point to proper pixmaps directory. |
7 | (Portage version: 2.2_rc48/cvs/Linux i686) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-misc/packETH/files/packETH-1.6.3-gentoo.patch |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/packETH/files/packETH-1.6.3-gentoo.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/packETH/files/packETH-1.6.3-gentoo.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: packETH-1.6.3-gentoo.patch |
16 | =================================================================== |
17 | --- packETH-1.6.3/Makefile.orig 2009-01-20 16:07:51.000000000 +0100 |
18 | +++ packETH-1.6.3/Makefile 2009-11-01 23:22:52.000000000 +0100 |
19 | @@ -22,17 +22,15 @@ |
20 | prefix = /usr |
21 | includedir = /usr/src/include |
22 | |
23 | +packages = gthread-2.0 gtk+-x11-2.0 |
24 | + |
25 | INSTALL = /usr/bin/install -c |
26 | INSTALL_DATA = ${INSTALL} -m 644 |
27 | INSTALL_PREFIX = /usr |
28 | |
29 | -CC = gcc |
30 | -CPPFLAGS = -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include |
31 | -LDFLAGS = |
32 | -CFLAGS = -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations |
33 | -#LIBS = -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -lglib -lXi -lXext -lX11 -lm -lpthread -lgthread |
34 | -#LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lpthread -lgthread-2.0 |
35 | -LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lglib-2.0 -lpthread -lgthread-2.0 |
36 | +CPPFLAGS = $(shell pkg-config --cflags $(packages)) |
37 | +CFLAGS += -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations |
38 | +LIBS = $(shell pkg-config --libs $(packages)) |
39 | |
40 | SOURCES = \ |
41 | main.c \ |
42 | |
43 | |
44 | |
45 | 1.1 net-misc/packETH/files/packETH-1.6.3-pixmaps.patch |
46 | |
47 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/packETH/files/packETH-1.6.3-pixmaps.patch?rev=1.1&view=markup |
48 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/packETH/files/packETH-1.6.3-pixmaps.patch?rev=1.1&content-type=text/plain |
49 | |
50 | Index: packETH-1.6.3-pixmaps.patch |
51 | =================================================================== |
52 | --- packETH-1.6.3/interface.c.orig 2009-10-23 17:24:31.000000000 +0200 |
53 | +++ packETH-1.6.3/interface.c 2009-11-01 23:27:22.000000000 +0100 |
54 | @@ -914,6 +914,8 @@ |
55 | GtkWidget *label251; |
56 | GtkWidget *statusbar1; |
57 | |
58 | + add_pixmap_directory ("/usr/share/pixmaps/packETH"); |
59 | + |
60 | window1 = gtk_window_new (GTK_WINDOW_TOPLEVEL); |
61 | gtk_window_set_title (GTK_WINDOW (window1), _("PackETH - ethernet packet generator")); |
62 | gtk_window_set_position (GTK_WINDOW (window1), GTK_WIN_POS_CENTER); |