Gentoo Archives: gentoo-commits

From: "Joerg Bornkessel (hd_brummy)" <hd_brummy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-plugins/vdr-graphtft/files: vdr-graphtft-0.3.7_gcc-4.4.x.diff vdr-graphtft-0.3.7_gentoo.diff vdr-graphtft-0.3.7_makefile.diff
Date: Sun, 31 Mar 2013 12:25:09
Message-Id: 20130331122505.6C99C2171D@flycatcher.gentoo.org
1 hd_brummy 13/03/31 12:25:05
2
3 Added: vdr-graphtft-0.3.7_gcc-4.4.x.diff
4 vdr-graphtft-0.3.7_gentoo.diff
5 vdr-graphtft-0.3.7_makefile.diff
6 Log:
7 bump
8
9 (Portage version: 2.1.11.50/cvs/Linux i686, signed Manifest commit with key 34C2808A)
10
11 Revision Changes Path
12 1.1 media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_gcc-4.4.x.diff
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_gcc-4.4.x.diff?rev=1.1&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_gcc-4.4.x.diff?rev=1.1&content-type=text/plain
16
17 Index: vdr-graphtft-0.3.7_gcc-4.4.x.diff
18 ===================================================================
19 diff -Naur graphtft-30.orig/graphtft-fe/common.cc graphtft-30/graphtft-fe/common.cc
20 --- graphtft-30.orig/graphtft-fe/common.cc 2012-03-12 02:10:38.000000000 +0100
21 +++ graphtft-30/graphtft-fe/common.cc 2012-03-12 02:30:16.000000000 +0100
22 @@ -11,6 +11,7 @@
23 #include <time.h>
24 #include <stdio.h>
25 #include <string.h>
26 +#include <stdint.h>
27
28 #include <graphtft.hpp>
29
30 diff -Naur graphtft-30.orig/graphtft-fe/graphtft.hpp graphtft-30/graphtft-fe/graphtft.hpp
31 --- graphtft-30.orig/graphtft-fe/graphtft.hpp 2012-03-12 02:10:38.000000000 +0100
32 +++ graphtft-30/graphtft-fe/graphtft.hpp 2012-03-12 02:30:57.000000000 +0100
33 @@ -16,6 +16,7 @@
34 #include <X11/Xlib.h>
35 #include <Imlib2.h>
36 #include <string.h>
37 +#include <stdint.h>
38
39 #define __FRONTEND
40 #include <../common.h>
41
42
43
44 1.1 media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_gentoo.diff
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_gentoo.diff?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_gentoo.diff?rev=1.1&content-type=text/plain
48
49 Index: vdr-graphtft-0.3.7_gentoo.diff
50 ===================================================================
51 diff -Naur graphtft-30.orig/dfbrenderer/dfbrenderer.c graphtft-30/dfbrenderer/dfbrenderer.c
52 --- graphtft-30.orig/dfbrenderer/dfbrenderer.c 2012-03-12 03:27:38.000000000 +0100
53 +++ graphtft-30/dfbrenderer/dfbrenderer.c 2012-03-12 03:29:35.000000000 +0100
54 @@ -257,7 +257,7 @@
55 {
56 // make path relative to the themes directory
57
58 - asprintf(&path, "%s/graphTFT/themes/%s/%s",
59 + asprintf(&path, "%s/themes/%s/%s",
60 confPath.c_str(), themePath.c_str(), p.c_str());
61 }
62 else
63 @@ -281,7 +281,7 @@
64
65 // at least add the default path
66
67 - asprintf(&path, "%s/graphTFT/fonts/", confPath.c_str());
68 + asprintf(&path, "%s/fonts/", confPath.c_str());
69 tell(0, "Info: Adding font path '%s'", path);
70 fontPaths[count] = path;
71 free(path);
72 @@ -483,7 +483,7 @@
73 else
74 {
75 const char* tmp = themePath.c_str();
76 - asprintf(&fpath, "%s/graphTFT/themes/%s/%s", confPath.c_str(), tmp, fname);
77 + asprintf(&fpath, "%s/themes/%s/%s", confPath.c_str(), tmp, fname);
78 }
79
80 tell(4,"creating imageprovider for %s", fpath);
81 @@ -561,7 +561,7 @@
82 else
83 {
84 const char* tmp = themePath.c_str();
85 - asprintf(&fpath, "%s/graphTFT/themes/%s/%s", confPath.c_str(), tmp, fname);
86 + asprintf(&fpath, "%s/themes/%s/%s", confPath.c_str(), tmp, fname);
87 }
88
89 tell(4,"creating imageprovider for %s", fpath);
90 diff -Naur graphtft-30.orig/dspitems.c graphtft-30/dspitems.c
91 --- graphtft-30.orig/dspitems.c 2012-03-12 03:27:38.000000000 +0100
92 +++ graphtft-30/dspitems.c 2012-03-12 03:30:16.000000000 +0100
93 @@ -107,7 +107,7 @@
94 if (p[0] != '/')
95 {
96 p = string(GraphTFTSetup.PluginConfPath)
97 - + "/graphTFT/themes/"
98 + + "/themes/"
99 + string(Thms::theTheme->getDir())
100 + "/" + p;
101 }
102 diff -Naur graphtft-30.orig/graphtft.c graphtft-30/graphtft.c
103 --- graphtft-30.orig/graphtft.c 2012-03-12 03:27:38.000000000 +0100
104 +++ graphtft-30/graphtft.c 2012-03-12 03:32:48.000000000 +0100
105 @@ -22,6 +22,8 @@
106 #include <graphtft.h>
107 #include <span.h>
108
109 +#define DATA_DIR "/usr/share/vdr/graphTFT"
110 +
111 //***************************************************************************
112 // cGraphTFTMenu
113 //***************************************************************************
114 @@ -300,13 +302,13 @@
115
116 // try to get the config dir
117
118 - if (!ConfigDirectory())
119 - return false;
120 +// if (!ConfigDirectory())
121 +// return false;
122
123 // init
124
125 GraphTFTSetup.setClient(this);
126 - GraphTFTSetup.PluginConfPath = strdup(ConfigDirectory());
127 + GraphTFTSetup.PluginConfPath = strdup(DATA_DIR);
128
129 #if APIVERSNUM < 10507
130 RegisterI18n(Phrases);
131 @@ -322,7 +324,7 @@
132 if (loadThemes() != 0)
133 return false;
134
135 - if (display->Init(_dev, ConfigDirectory(), port) != success)
136 + if (display->Init(_dev, DATA_DIR, port) != success)
137 {
138 tell(0, "Error: Initializing graphTFT device faild, aborting!");
139
140 @@ -355,8 +357,8 @@
141
142 // look for the themes in the config directory
143
144 - asprintf(&buffer, "find %s/graphTFT/themes -follow -type f -name '*.theme' | sort",
145 - ConfigDirectory());
146 + asprintf(&buffer, "find %s/themes -follow -type f -name '*.theme' | sort",
147 + DATA_DIR);
148
149 p = popen(buffer, "r");
150
151 diff -Naur graphtft-30.orig/imlibrenderer/imlibrenderer.c graphtft-30/imlibrenderer/imlibrenderer.c
152 --- graphtft-30.orig/imlibrenderer/imlibrenderer.c 2012-03-12 03:27:38.000000000 +0100
153 +++ graphtft-30/imlibrenderer/imlibrenderer.c 2012-03-12 03:33:54.000000000 +0100
154 @@ -123,7 +123,7 @@
155 {
156 // make path relative to the themes directory
157
158 - asprintf(&path, "%s/graphTFT/themes/%s/%s",
159 + asprintf(&path, "%s/themes/%s/%s",
160 confPath.c_str(), themePath.c_str(), p.c_str());
161 }
162 else
163 @@ -146,7 +146,7 @@
164
165 // at least add the default path
166
167 - asprintf(&path, "%s/graphTFT/fonts/", confPath.c_str());
168 + asprintf(&path, "%s/fonts/", confPath.c_str());
169 tell(0, "Info: Adding font path '%s'", path);
170 imlib_add_path_to_font_path(path);
171 free(path);
172 @@ -217,7 +217,7 @@
173 if (fname[0] == '/')
174 path << fname;
175 else
176 - path << confPath << "/graphTFT/themes/" << themePath << "/" << fname;
177 + path << confPath << "/themes/" << themePath << "/" << fname;
178
179 if (!fileExists(path.str().c_str()))
180 {
181 @@ -291,7 +291,7 @@
182 if (fname[0] == '/')
183 path << fname;
184 else
185 - path << confPath << "/graphTFT/themes/" << themePath << "/" << fname;
186 + path << confPath << "/themes/" << themePath << "/" << fname;
187
188 if (!fileExists(path.str().c_str()))
189 {
190
191
192
193 1.1 media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_makefile.diff
194
195 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_makefile.diff?rev=1.1&view=markup
196 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_makefile.diff?rev=1.1&content-type=text/plain
197
198 Index: vdr-graphtft-0.3.7_makefile.diff
199 ===================================================================
200 Joerg Bornkessel <hd_brummy@g.o> 22 Okt 2009
201 Matthias Schwarzott <zzam@g.o> 23 Okt 2009
202 diff -Naur graphtft-24.orig/Makefile graphtft-24/Makefile
203 --- graphtft-24.orig/Makefile 2009-10-21 21:53:56.000000000 +0200
204 +++ graphtft-24/Makefile 2009-10-21 21:57:24.000000000 +0200
205 @@ -158,10 +158,10 @@
206 DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
207
208 ifdef HAVE_IMLIB
209 - LIBS += `imlib2-config --libs`
210 + LIBS += $(shell imlib2-config --libs)
211
212 ifdef HAVE_IMAGE_MAGICK
213 - LIBS += `Magick++-config --libs`
214 + LIBS += $(shell Magick++-config --libs)
215 DEFINES += -DHAVE_IMAGE_MAGICK
216 endif
217
218 @@ -170,8 +170,8 @@
219 endif
220
221 ifdef HAVE_GTOP
222 - GTOP_INC = `pkg-config libgtop-2.0 --cflags`
223 - GTOP_LIB = `pkg-config libgtop-2.0 --libs`
224 + GTOP_INC = $(shell pkg-config libgtop-2.0 --cflags)
225 + GTOP_LIB = $(shell pkg-config libgtop-2.0 --libs)
226
227 DEFINES += -DWITH_SYSINFO
228 LIBS += $(GTOP_LIB)
229 @@ -186,8 +186,8 @@
230 endif
231
232 ifdef HAVE_DFB
233 - INCLUDES += `directfb-config --cflags`
234 - LIBS += `directfb-config --libs`
235 + INCLUDES += $(shell directfb-config --cflags)
236 + LIBS += $(shell directfb-config --libs)
237 DEFINES += -DHAVE_DFB
238 endif
239
240 diff -Naur graphtft-24.orig/graphtft-fe/Makefile graphtft-24/graphtft-fe/Makefile
241 --- graphtft-24.orig/graphtft-fe/Makefile 2009-10-22 17:39:55.000000000 +0200
242 +++ graphtft-24/graphtft-fe/Makefile 2009-10-22 17:41:29.000000000 +0200
243 @@ -1,9 +1,9 @@
244
245 CXX = g++
246 CXXFLAGS = -pipe -ggdb -O2 -Wall -W -D_REENTRANT -fPIC
247 -INCPATH = -I. `Magick++-config --cppflags`
248 +INCPATH = -I. $(shell Magick++-config --cppflags)
249 LFLAGS = -Wl,--no-undefined
250 -LIBS = -lpthread `imlib2-config --libs` `Magick++-config --libs`
251 +LIBS = -lpthread $(shell imlib2-config --libs) $(shell Magick++-config --libs)
252 AR = ar
253
254 TARGET = graphtft-fe
255 diff -Naur graphtft-24.orig/graphtft-fe/Makefile graphtft-24/graphtft-fe/Makefile
256 --- graphtft-24.orig/graphtft-fe/Makefile 2009-10-23 16:20:43.000000000 +0200
257 +++ graphtft-24/graphtft-fe/Makefile 2009-10-23 16:21:20.000000000 +0200
258 @@ -17,7 +17,7 @@
259
260 all:
261 echo Build graphTFT Frontend
262 - @(make $(TARGET))
263 + @$(MAKE) $(TARGET)
264
265
266 $(TARGET): $(OBJECTS)