Gentoo Archives: gentoo-commits

From: "Alexandre Rostovtsev (tetromino)" <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libreport/files: libreport-2.0.7-uploader_event-syntax.patch libreport-2.0.7-multiple-tabs.patch libreport-2.0.7-no-bugzilla.patch libreport-2.0.7-gentoo.patch
Date: Wed, 16 Nov 2011 07:44:07
Message-Id: 20111116074357.DD4072004B@flycatcher.gentoo.org
1 tetromino 11/11/16 07:43:57
2
3 Added: libreport-2.0.7-uploader_event-syntax.patch
4 libreport-2.0.7-multiple-tabs.patch
5 libreport-2.0.7-no-bugzilla.patch
6 libreport-2.0.7-gentoo.patch
7 Log:
8 Add bug reporting library from the gnome overlay; needed for abrt.
9
10 (Portage version: 2.2.0_alpha74/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.1 dev-libs/libreport/files/libreport-2.0.7-uploader_event-syntax.patch
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libreport/files/libreport-2.0.7-uploader_event-syntax.patch?rev=1.1&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libreport/files/libreport-2.0.7-uploader_event-syntax.patch?rev=1.1&content-type=text/plain
17
18 Index: libreport-2.0.7-uploader_event-syntax.patch
19 ===================================================================
20 From 88e39835f1f94eff58e6d0cc0bee20ceae10bdd2 Mon Sep 17 00:00:00 2001
21 From: Alexandre Rostovtsev <tetromino@g.o>
22 Date: Wed, 16 Nov 2011 02:07:24 -0500
23 Subject: [PATCH] fix uploader_event syntax
24
25 ---
26 src/plugins/uploader_event.conf | 2 +-
27 1 files changed, 1 insertions(+), 1 deletions(-)
28
29 diff --git a/src/plugins/uploader_event.conf b/src/plugins/uploader_event.conf
30 index 2406008..bd13c5e 100644
31 --- a/src/plugins/uploader_event.conf
32 +++ b/src/plugins/uploader_event.conf
33 @@ -1 +1 @@
34 -EVENT=report_Uploader analyzer=libreport reporter-upload
35 +EVENT=report_Uploader reporter-upload
36 --
37 1.7.8.rc1
38
39
40
41
42 1.1 dev-libs/libreport/files/libreport-2.0.7-multiple-tabs.patch
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libreport/files/libreport-2.0.7-multiple-tabs.patch?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libreport/files/libreport-2.0.7-multiple-tabs.patch?rev=1.1&content-type=text/plain
46
47 Index: libreport-2.0.7-multiple-tabs.patch
48 ===================================================================
49 From 5f7dd05d39cbc66154fcdc38570870d5506dddb7 Mon Sep 17 00:00:00 2001
50 From: Jiri Moskovcak <jmoskovc@××××××.com>
51 Date: Wed, 9 Nov 2011 21:51:11 +0100
52 Subject: [PATCH] wizard: remove the old tabs from notebook before reloading
53 rhbz#751833
54
55 ---
56 src/gui-wizard-gtk/wizard.c | 15 +++++++++++++++
57 1 files changed, 15 insertions(+), 0 deletions(-)
58
59 diff --git a/src/gui-wizard-gtk/wizard.c b/src/gui-wizard-gtk/wizard.c
60 index 569fce3..fae0dca 100644
61 --- a/src/gui-wizard-gtk/wizard.c
62 +++ b/src/gui-wizard-gtk/wizard.c
63 @@ -1008,6 +1008,20 @@ static void save_items_from_notepad()
64 }
65 }
66
67 +static void remove_tabs_from_notebook(GtkNotebook *notebook)
68 +{
69 + gint n_pages = gtk_notebook_get_n_pages(notebook);
70 + int ii;
71 +
72 + for (ii = 0; ii < n_pages; ii++)
73 + {
74 + /* removing a page changes the indices, so we always need to remove
75 + * page 0
76 + */
77 + gtk_notebook_remove_page(notebook, 0); //we need to always the page 0
78 + }
79 +}
80 +
81 static void append_item_to_ls_details(gpointer name, gpointer value, gpointer data)
82 {
83 problem_item *item = (problem_item*)value;
84 @@ -1208,6 +1222,7 @@ static void update_event_checkboxes(GList **events_gui_data,
85 void update_gui_state_from_problem_data(void)
86 {
87 update_window_title();
88 + remove_tabs_from_notebook(g_notebook);
89
90 const char *reason = get_problem_item_content_or_NULL(g_cd, FILENAME_REASON);
91 const char *not_reportable = get_problem_item_content_or_NULL(g_cd,
92 --
93 1.7.8.rc1
94
95
96
97
98 1.1 dev-libs/libreport/files/libreport-2.0.7-no-bugzilla.patch
99
100 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libreport/files/libreport-2.0.7-no-bugzilla.patch?rev=1.1&view=markup
101 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libreport/files/libreport-2.0.7-no-bugzilla.patch?rev=1.1&content-type=text/plain
102
103 Index: libreport-2.0.7-no-bugzilla.patch
104 ===================================================================
105 From d30693aab920000afd5cfdcaf558f968c712b80f Mon Sep 17 00:00:00 2001
106 From: Alexandre Rostovtsev <tetromino@×××××.com>
107 Date: Sat, 8 Oct 2011 00:26:15 -0400
108 Subject: [PATCH 2/2] Disable bugzilla plugin (requires Gentoo infrastructure
109 changes)
110
111 ---
112 src/plugins/Makefile.am | 28 +---------------------------
113 1 files changed, 1 insertions(+), 27 deletions(-)
114
115 diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
116 index 937337c..f5ec729 100644
117 --- a/src/plugins/Makefile.am
118 +++ b/src/plugins/Makefile.am
119 @@ -3,7 +3,6 @@
120 pluginslibdir = $(PLUGINS_LIB_DIR)
121
122 bin_PROGRAMS = \
123 - reporter-bugzilla \
124 reporter-kerneloops \
125 reporter-upload \
126 reporter-mailx \
127 @@ -17,8 +16,7 @@ pluginsconfdir = $(PLUGINS_CONF_DIR)
128
129 reportpluginsconfdir = $(REPORT_PLUGINS_CONF_DIR)
130
131 -dist_reportpluginsconf_DATA = \
132 - bugzilla.conf
133 +dist_reportpluginsconf_DATA =
134
135 eventsdir = $(EVENTS_DIR)
136
137 @@ -41,7 +39,6 @@ eventsconfdir = $(EVENTS_CONF_DIR)
138 dist_eventsconf_DATA = \
139 mailx_event.conf \
140 print_event.conf \
141 - bugzilla_event.conf \
142 uploader_event.conf
143 if HAVE_BODHI
144 dist_eventsconf_DATA += bodhi_event.conf
145 @@ -50,7 +47,6 @@ endif
146 MAN_TXT = \
147 reporter-print.txt \
148 reporter-mailx.txt \
149 - reporter-bugzilla.txt \
150 reporter-kerneloops.txt \
151 reporter-upload.txt \
152 report.txt
153 @@ -84,28 +80,6 @@ endif
154 $(DESTDIR)/$(DEBUG_INFO_DIR):
155 $(mkdir_p) '$@'
156
157 -reporter_bugzilla_SOURCES = \
158 - reporter-bugzilla.c rhbz.c rhbz.h
159 -reporter_bugzilla_CPPFLAGS = \
160 - -I$(srcdir)/../include \
161 - -I$(srcdir)/../lib \
162 - -DBIN_DIR=\"$(bindir)\" \
163 - -DVAR_RUN=\"$(VAR_RUN)\" \
164 - -DCONF_DIR=\"$(CONF_DIR)\" \
165 - -DLOCALSTATEDIR='"$(localstatedir)"' \
166 - -DDEBUG_DUMPS_DIR=\"$(DEBUG_DUMPS_DIR)\" \
167 - -DDEBUG_INFO_DIR=\"$(DEBUG_INFO_DIR)\" \
168 - -DPLUGINS_LIB_DIR=\"$(PLUGINS_LIB_DIR)\" \
169 - -DPLUGINS_CONF_DIR=\"$(REPORT_PLUGINS_CONF_DIR)\" \
170 - $(GLIB_CFLAGS) \
171 - $(LIBREPORT_CFLAGS) \
172 - -D_GNU_SOURCE \
173 - -Wall -Wwrite-strings
174 -reporter_bugzilla_LDADD = \
175 - $(GLIB_LIBS) \
176 - ../lib/libabrt_web.la \
177 - ../lib/libreport.la
178 -
179 reporter_upload_SOURCES = \
180 reporter-upload.c
181 reporter_upload_CPPFLAGS = \
182 --
183 1.7.8.rc1
184
185
186
187
188 1.1 dev-libs/libreport/files/libreport-2.0.7-gentoo.patch
189
190 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libreport/files/libreport-2.0.7-gentoo.patch?rev=1.1&view=markup
191 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libreport/files/libreport-2.0.7-gentoo.patch?rev=1.1&content-type=text/plain
192
193 Index: libreport-2.0.7-gentoo.patch
194 ===================================================================
195 From b3e72a475d9d4c5293c9cc875483509975754395 Mon Sep 17 00:00:00 2001
196 From: Alexandre Rostovtsev <tetromino@×××××.com>
197 Date: Fri, 7 Oct 2011 23:25:14 -0400
198 Subject: [PATCH 1/2] Replace RedHat defaults with Gentoo ones
199
200 ---
201 src/plugins/Makefile.am | 36 +-----------------------------------
202 src/plugins/bugzilla.conf | 2 +-
203 src/plugins/report_Bugzilla.conf | 2 +-
204 src/plugins/report_Bugzilla.xml.in | 4 ++--
205 src/plugins/reporter-bugzilla.txt | 2 +-
206 5 files changed, 6 insertions(+), 40 deletions(-)
207
208 diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
209 index c5f1810..937337c 100644
210 --- a/src/plugins/Makefile.am
211 +++ b/src/plugins/Makefile.am
212 @@ -4,7 +4,6 @@ pluginslibdir = $(PLUGINS_LIB_DIR)
213
214 bin_PROGRAMS = \
215 reporter-bugzilla \
216 - reporter-rhtsupport \
217 reporter-kerneloops \
218 reporter-upload \
219 reporter-mailx \
220 @@ -19,8 +18,7 @@ pluginsconfdir = $(PLUGINS_CONF_DIR)
221 reportpluginsconfdir = $(REPORT_PLUGINS_CONF_DIR)
222
223 dist_reportpluginsconf_DATA = \
224 - bugzilla.conf \
225 - rhtsupport.conf
226 + bugzilla.conf
227
228 eventsdir = $(EVENTS_DIR)
229
230 @@ -30,7 +28,6 @@ dist_events_DATA = \
231 report_Logger.conf \
232 report_Logger.xml \
233 report_Mailx.xml \
234 - report_RHTSupport.xml \
235 report_Kerneloops.xml \
236 report_Uploader.xml
237 if HAVE_BODHI
238 @@ -45,7 +42,6 @@ dist_eventsconf_DATA = \
239 mailx_event.conf \
240 print_event.conf \
241 bugzilla_event.conf \
242 - rhtsupport_event.conf \
243 uploader_event.conf
244 if HAVE_BODHI
245 dist_eventsconf_DATA += bodhi_event.conf
246 @@ -55,7 +51,6 @@ MAN_TXT = \
247 reporter-print.txt \
248 reporter-mailx.txt \
249 reporter-bugzilla.txt \
250 - reporter-rhtsupport.txt \
251 reporter-kerneloops.txt \
252 reporter-upload.txt \
253 report.txt
254 @@ -80,7 +75,6 @@ EXTRA_DIST = \
255 report_Logger.conf \
256 report_Logger.xml.in \
257 report_Mailx.xml.in \
258 - report_RHTSupport.xml.in \
259 report_Kerneloops.xml.in \
260 report_Uploader.xml.in
261 if HAVE_BODHI
262 @@ -112,34 +106,6 @@ reporter_bugzilla_LDADD = \
263 ../lib/libabrt_web.la \
264 ../lib/libreport.la
265
266 -reporter_rhtsupport_SOURCES = \
267 - abrt_rh_support.h abrt_rh_support.c \
268 - reporter-rhtsupport.h \
269 - reporter-rhtsupport-parse.c \
270 - reporter-rhtsupport.c
271 -reporter_rhtsupport_CPPFLAGS = \
272 - -I$(srcdir)/../include \
273 - -I$(srcdir)/../lib \
274 - -DBIN_DIR=\"$(bindir)\" \
275 - -DVAR_RUN=\"$(VAR_RUN)\" \
276 - -DCONF_DIR=\"$(CONF_DIR)\" \
277 - -DLOCALSTATEDIR='"$(localstatedir)"' \
278 - -DDEBUG_DUMPS_DIR=\"$(DEBUG_DUMPS_DIR)\" \
279 - -DDEBUG_INFO_DIR=\"$(DEBUG_INFO_DIR)\" \
280 - -DPLUGINS_LIB_DIR=\"$(PLUGINS_LIB_DIR)\" \
281 - -DPLUGINS_CONF_DIR=\"$(REPORT_PLUGINS_CONF_DIR)\" \
282 - $(GLIB_CFLAGS) \
283 - $(LIBREPORT_CFLAGS) \
284 - $(XMLRPC_CFLAGS) $(XMLRPC_CLIENT_CFLAGS) \
285 - -D_GNU_SOURCE \
286 - -Wall -Wwrite-strings -Werror
287 -reporter_rhtsupport_LDFLAGS = -ltar
288 -reporter_rhtsupport_LDADD = \
289 - $(GLIB_LIBS) \
290 - $(XMLRPC_LIBS) $(XMLRPC_CLIENT_LIBS) \
291 - ../lib/libabrt_web.la \
292 - ../lib/libreport.la
293 -
294 reporter_upload_SOURCES = \
295 reporter-upload.c
296 reporter_upload_CPPFLAGS = \
297 diff --git a/src/plugins/bugzilla.conf b/src/plugins/bugzilla.conf
298 index 18eba5a..f5afe6f 100644
299 --- a/src/plugins/bugzilla.conf
300 +++ b/src/plugins/bugzilla.conf
301 @@ -1,5 +1,5 @@
302 # Bugzilla URL
303 -BugzillaURL = https://bugzilla.redhat.com/
304 +BugzillaURL = https://bugs.gentoo.org/
305 # yes means that ssl certificates will be checked
306 SSLVerify = yes
307 # your login has to exist, if you don have any, please create one
308 diff --git a/src/plugins/report_Bugzilla.conf b/src/plugins/report_Bugzilla.conf
309 index f1a77f5..9e9c7d0 100644
310 --- a/src/plugins/report_Bugzilla.conf
311 +++ b/src/plugins/report_Bugzilla.conf
312 @@ -1,4 +1,4 @@
313 -Bugzilla_BugzillaURL = https://bugzilla.redhat.com
314 +Bugzilla_BugzillaURL = https://bugs.gentoo.org
315 Bugzilla_Login =
316 Bugzilla_Password =
317 Bugzilla_SSLVerify = yes
318 diff --git a/src/plugins/report_Bugzilla.xml.in b/src/plugins/report_Bugzilla.xml.in
319 index e287a50..f5f9e71 100644
320 --- a/src/plugins/report_Bugzilla.xml.in
321 +++ b/src/plugins/report_Bugzilla.xml.in
322 @@ -15,8 +15,8 @@
323 <_label>Bugzilla URL</_label>
324 <allow-empty>no</allow-empty>
325 <_description>Address of Bugzilla server</_description>
326 - <default-value>https://bugzilla.redhat.com</default-value>
327 - <_note-html>You can create bugzilla.redhat.com account &lt;a href="https://bugzilla.redhat.com/createaccount.cgi"&gt;here&lt;/a&gt;</_note-html>
328 + <default-value>https://bugs.gentoo.org</default-value>
329 + <_note-html>You can create a Gentoo Bugzilla account &lt;a href="https://bugs.gentoo.org/createaccount.cgi"&gt;here&lt;/a&gt;</_note-html>
330 </option>
331 <option type="text" name="Bugzilla_Login">
332 <_label>User name</_label>
333 diff --git a/src/plugins/reporter-bugzilla.txt b/src/plugins/reporter-bugzilla.txt
334 index 6c4d6fe..cd0f26b 100644
335 --- a/src/plugins/reporter-bugzilla.txt
336 +++ b/src/plugins/reporter-bugzilla.txt
337 @@ -41,7 +41,7 @@ Configuration file lines should have 'PARAM = VALUE' format. The parameters are:
338 Password to Bugzilla account.
339
340 'BugzillaURL'::
341 - Bugzilla HTTP(S) address. (default: https://bugzilla.redhat.com)
342 + Bugzilla HTTP(S) address. (default: https://bugs.gentoo.org)
343
344 'SSLVerify'::
345 Use yes/true/on/1 to verify server's SSL certificate. (default: yes)
346 --
347 1.7.8.rc1