Merge lp://staging/~francesco-marella/gladex/0.5.x-devel into lp://staging/gladex

Proposed by Francesco Marella
Status: Needs review
Proposed branch: lp://staging/~francesco-marella/gladex/0.5.x-devel
Merge into: lp://staging/gladex
Diff against target: None lines
To merge this branch: bzr merge lp://staging/~francesco-marella/gladex/0.5.x-devel
Reviewer Review Type Date Requested Status
Gladex Developers Pending
Review via email: mp+10018@code.staging.launchpad.net
To post a comment you must log in.
181. By Francesco Marella <francesco@deimos>

* oops... added common.py

182. By Francesco Marella <francesco@deimos>

* added TODO

183. By Francesco Marella <francesco@deimos>

* not fixed width, resizable main window (LP: #412388)

184. By Francesco Marella <francesco@deimos>

* default_width to 500

Unmerged revisions

184. By Francesco Marella <francesco@deimos>

* default_width to 500

183. By Francesco Marella <francesco@deimos>

* not fixed width, resizable main window (LP: #412388)

182. By Francesco Marella <francesco@deimos>

* added TODO

181. By Francesco Marella <francesco@deimos>

* oops... added common.py

180. By Francesco Marella <francesco@deimos>

* Makefile gone. Someone should replace it with
  something new, waf perhaps.

179. By Francesco Marella <francesco@deimos>

* plugins import fix

178. By Francesco Marella <francesco@deimos>

* useless resources.in gone

177. By Francesco Marella <francesco@deimos>

* rethink of the tree

176. By Francesco Marella <francesco@ciccio-laptop>

* debian/menu: section=programming

175. By Francesco Marella <francesco@ciccio-laptop>

* removed junk
* new packaging (almost) from scratch
* updated it_IT.po

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== removed file 'CHANGELOG'
2--- CHANGELOG 2007-10-15 01:29:31 +0000
3+++ CHANGELOG 1970-01-01 00:00:00 +0000
4@@ -1,40 +0,0 @@
5-Changelog
6-
7-Version 0.4.1
8-=============
9-
10-Bug Fixes
11----------
12--Bug 152765: "0.4 debian package does not work in ubnutu gutsy" at revision 143.
13-
14-Version 0.4
15-===========
16-Revision:
17-
18-Version 0.3.4
19-=============
20-Revision: 113
21-
22-Version 0.3.3
23-=============
24-Revision: 94
25-
26-Version 0.3.2.1
27-===============
28-Revision: 92
29-
30-Version 0.3.2
31-=============
32-Revision: 91
33-
34-Version 0.3.1
35-=============
36-Revision: 81
37-
38-Version 0.3
39-===========
40-Revision: 78
41-
42-Version 0.2
43-===========
44-Revision:
45
46=== removed file 'Makefile'
47--- Makefile 2009-02-17 11:43:17 +0000
48+++ Makefile 1970-01-01 00:00:00 +0000
49@@ -1,96 +0,0 @@
50-#PO=`for file in \`ls po/*.po\`; do f1=${file##*/}; echo ${f1%%.*}; done`
51-PO=de en_GB es it_IT fr en_US
52-PREFIX=/usr/local
53-DESTDIR=/usr/local
54-BIN=$(DESTDIR)/bin
55-PIXDIR=$(DESTDIR)/share/pixmaps
56-DOCSDIR=$(DESTDIR)/share/doc/gladex
57-# classes dir
58-PYDIR=$(DESTDIR)/lib/python2.5/site-packages
59-CLSDIR=$(PYDIR)/gladex
60-
61-all:
62-
63-default:
64-
65-po-dir:
66- for lang in $(PO); do mkdir -p po/$$lang/LC_MESSAGES/ ; done
67-
68-po-data: po-dir
69- for lang in $(PO); do msgfmt po/$$lang.po -o po/$$lang/LC_MESSAGES/gladex.mo ; done
70-
71-fill-templates:
72- sed s+@prefix@+$(PREFIX)+ src/gladex/resources.in > src/gladex/resources
73-
74-install: fill-templates install-plugins install-docs install-datas install-po
75- install -d $(CLSDIR)
76- cp -f src/gladex/*.py $(CLSDIR)
77- cp -f src/gladex/resources $(CLSDIR)
78- cp -rf src/gladex/util $(CLSDIR)
79- install -d $(BIN)
80- cp -f src/gladex.bin $(BIN)/gladex
81- cp -f src/gladex.sh $(BIN)
82-
83-install-po: po-data
84- for lang in $(PO); do install -d $(DESTDIR)/share/locale/$$lang/LC_MESSAGES/ ; done
85- for lang in $(PO); do install -m 644 po/$$lang/LC_MESSAGES/* $(DESTDIR)/share/locale/$$lang/LC_MESSAGES/ ; done
86-
87-install-plugins:
88- install -d $(CLSDIR)
89- cp -rf src/gladex/plugins $(CLSDIR)/
90-
91-install-docs:
92- install -d $(DOCSDIR)/
93- cp -rf docs/figures $(DOCSDIR)/
94- cp -rf docs/gladex-manual $(DOCSDIR)/
95- cp -f docs/gladex-manual.xml $(DOCSDIR)/
96- cp -f docs/legal.xml $(DOCSDIR)/
97- cp -f docs/gladex-manual.ps $(DOCSDIR)/
98- cp -f docs/gladex-manual.rtf $(DOCSDIR)/
99- cp -f docs/gladex-manual.pdf $(DOCSDIR)/
100- cp -rf datas/examples $(DOCSDIR)/
101-
102-install-datas: install-po
103- install -d $(PIXDIR)
104- cp -rf datas/icons/* $(PIXDIR)
105- install -d $(DESTDIR)/share/applications
106- cp -f datas/gladex.desktop $(DESTDIR)/share/applications/
107- install -d $(DESTDIR)/share/gladex
108- cp -f datas/gladex.glade $(DESTDIR)/share/gladex/
109-
110-uninstall: uninstall-bin uninstall-data
111-
112-uninstall-bin:
113- rm -f $(BIN)/gladex
114- rm -f $(BIN)/gladex.sh
115-
116-uninstall-data:
117- rm -rf $(CLSDIR)
118- rm -f $(DESTDIR)/share/applications/gladex.desktop
119- rm -rf $(DOCSDIR)
120- rm -f $(DESTDIR)/share/gladex/gladex.glade
121- for lang in $(PO); do rm -f $(DESTDIR)/share/locale/$$lang/LC_MESSAGES/gladex.mo ; done
122- rm -rf $(PIXDIR)/gladex-logo*
123-
124-reinstall: uninstall install
125-
126-deb:
127- dpkg-buildpackage -rfakeroot -tc -i
128-
129-deb-source:
130- debuild -S -sa -tc -I.bzr*
131-
132-clean:
133- rm -f src/gladex/*.pyc src/gladex/*/*.pyc src/gladex/*/*/*.pyc
134- rm -f po/*~
135- rm -f src/gladex/resources
136- rm -f *~ *.bak
137- for lang in $(PO); do rm -rf po/$$lang ; done
138-
139-po-gen:
140- intltool-extract --type=gettext/glade datas/gladex.glade
141- intltool-extract --type=gettext/glade src/gladex/plugins/perl/perl.glade
142- intltool-extract --type=gettext/glade src/gladex/plugins/python/python.glade
143- intltool-extract --type=gettext/glade src/gladex/plugins/ruby/ruby.glade
144- xgettext --language=Python --keyword=_ --keyword=N_ -o po/gladex.pot src/gladex/*.py datas/gladex.glade.h src/gladex/plugins/perl/perl.glade.h src/gladex/plugins/python/python.glade.h src/gladex/plugins/ruby/ruby.glade.h src/gladex/*/*.py src/*/*/*.py src/*/*/*/*.py
145- for lang in $(PO); do msgmerge -U po/$$lang.po po/gladex.pot; done
146
147=== renamed directory 'datas' => 'data'
148=== added directory 'data/glade'
149=== renamed file 'datas/gladex.glade' => 'data/glade/gladex.glade'
150--- datas/gladex.glade 2009-02-12 10:28:38 +0000
151+++ data/glade/gladex.glade 2009-08-12 06:49:22 +0000
152@@ -111,7 +111,7 @@
153 <widget class="GtkLabel" id="label2">
154 <property name="visible">True</property>
155 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
156- <property name="xalign">0.89999997615814209</property>
157+ <property name="xalign">0</property>
158 <property name="label" translatable="yes">Choose plugin:</property>
159 </widget>
160 <packing>
161@@ -135,7 +135,7 @@
162 <widget class="GtkLabel" id="label1">
163 <property name="visible">True</property>
164 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
165- <property name="xalign">0.89999997615814209</property>
166+ <property name="xalign">0</property>
167 <property name="label" translatable="yes">Choose Glade file:</property>
168 <property name="single_line_mode">True</property>
169 </widget>
170@@ -184,7 +184,7 @@
171 <widget class="GtkLabel" id="label3">
172 <property name="visible">True</property>
173 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
174- <property name="xalign">0.89999997615814209</property>
175+ <property name="xalign">0</property>
176 <property name="label" translatable="yes">Choose output directory:</property>
177 </widget>
178 <packing>
179@@ -315,6 +315,7 @@
180 <property name="visible">True</property>
181 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
182 <property name="spacing">2</property>
183+ <property name="has_resize_grip">False</property>
184 </widget>
185 <packing>
186 <property name="expand">False</property>
187
188=== removed file 'datas/gladex.glade.h'
189--- datas/gladex.glade.h 2009-02-12 10:28:38 +0000
190+++ datas/gladex.glade.h 1970-01-01 00:00:00 +0000
191@@ -1,15 +0,0 @@
192-char *s = N_("(c) 2007 The Gladex authors");
193-char *s = N_("About Gladex");
194-char *s = N_("Choose Glade file:");
195-char *s = N_("Choose output directory:");
196-char *s = N_("Choose plugin:");
197-char *s = N_("Gladex");
198-char *s = N_("Gladex home page");
199-char *s = N_("Gladex is a program written in Python that takes a Glade XML file and generates code. Gladex currently supports Perl, Python, and Ruby.");
200-char *s = N_("Load example");
201-char *s = N_("Loads a example glade file in to the file chooser");
202-char *s = N_("Open examples folder");
203-char *s = N_("Plugin information");
204-char *s = N_("_Gladex");
205-char *s = N_("_Help");
206-char *s = N_("translator-credits");
207
208=== removed file 'datas/gladex.list'
209--- datas/gladex.list 2008-02-20 22:40:36 +0000
210+++ datas/gladex.list 1970-01-01 00:00:00 +0000
211@@ -1,97 +0,0 @@
212-%product Gladex Code Generator
213-%copyright 2007 by Charles Edward Pax
214-%vendor Gladex Developers
215-%license COPYING
216-%readme README
217-%description The Gladex application enables you to, using a Glade XML file, generate code, which uses libglade, for any supported language. Gladex provides support for Perl, Python, and Ruby.
218-%version 0.5
219-%requires python libglade-perl libgladexml-perl libgtk2-gladexml-perl ruby libglade2-ruby
220-
221-# type mode owner group destination source options
222-f 755 root sys /usr/bin/gladex gladex.sh
223-f 755 root sys /usr/share/applications/gladex.desktop gladex.desktop
224-d 755 root sys /usr/share/gladex -
225-d 755 root sys /usr/share/gladex/docs/ -
226-d 755 root sys /usr/share/gladex/docs/figures -
227-f 755 root sys /usr/share/gladex/docs/figures/gladex-glade-file-selected.png docs/figures/gladex-glade-file-selected.png
228-f 755 root sys /usr/share/gladex/docs/figures/gladex-plugin-perl.png docs/figures/gladex-plugin-perl.png
229-f 755 root sys /usr/share/gladex/docs/figures/gladex-plugin-python.png docs/figures/gladex-plugin-python.png
230-f 755 root sys /usr/share/gladex/docs/figures/gladex-plugin-ruby.png docs/figures/gladex-plugin-ruby.png
231-f 755 root sys /usr/share/gladex/docs/figures/gladex-plugin-test_mod.png docs/figures/gladex-plugin-test_mod.png
232-f 755 root sys /usr/share/gladex/docs/figures/gladex_start_window.png docs/figures/gladex_start_window.png
233-f 755 root sys /usr/share/gladex/docs/gladex-manual.xml docs/gladex-manual.xml
234-f 755 root sys /usr/share/gladex/docs/legal.xml docs/legal.xml
235-f 755 root sys /usr/share/gladex/docs/Makefile docs/Makefile
236-f 755 root sys /usr/share/gladex/docs/README docs/README
237-f 755 root sys /usr/share/gladex/docs/TODO docs/TODO
238-d 755 root sys /usr/share/gladex/examples/ -
239-d 755 root sys /usr/share/gladex/examples/perl -
240-d 755 root sys /usr/share/gladex/examples/perl/simpleTextEditor -
241-f 755 root sys /usr/share/gladex/examples/perl/simpleTextEditor/simpleTextEditorCallbacks.pm examples/perl/simpleTextEditor/simpleTextEditorCallbacks.pm
242-f 755 root sys /usr/share/gladex/examples/perl/simpleTextEditor/simpleTextEditor.glade examples/perl/simpleTextEditor/simpleTextEditor.glade
243-f 755 root sys /usr/share/gladex/examples/perl/simpleTextEditor/simpleTextEditor.pl examples/perl/simpleTextEditor/simpleTextEditor.pl
244-d 755 root sys /usr/share/gladex/examples/python -
245-d 755 root sys /usr/share/gladex/examples/python/calculator -
246-f 755 root sys /usr/share/gladex/examples/python/calculator/calculator_callbacks.py examples/python/calculator/calculator_callbacks.py
247-#f 755 root sys /usr/share/gladex/examples/python/calculator/calculator_callbacks.pyc examples/python/calculator/calculator_callbacks.pyc
248-f 755 root sys /usr/share/gladex/examples/python/calculator/calculator.glade examples/python/calculator/calculator.glade
249-f 755 root sys /usr/share/gladex/examples/python/calculator/calculator.py examples/python/calculator/calculator.py
250-#f 755 root sys /usr/share/gladex/examples/python/calculator/calculator.pyc examples/python/calculator/calculator.pyc
251-f 755 root sys /usr/share/gladex/examples/example.glade examples/example.glade
252-d 755 root sys /usr/share/gladex/icons/ -
253-d 755 root sys /usr/share/gladex/plugins/ -
254-d 755 root sys /usr/share/gladex/plugins/perl -
255-d 755 root sys /usr/share/gladex/plugins/perl/styles -
256-d 755 root sys /usr/share/gladex/plugins/perl/styles/no-re-gen -
257-f 755 root sys /usr/share/gladex/plugins/perl/styles/no-re-gen/callbacks.template plugins/perl/styles/no-re-gen/callbacks.template
258-f 755 root sys /usr/share/gladex/plugins/perl/styles/no-re-gen/main.template plugins/perl/styles/no-re-gen/main.template
259-d 755 root sys /usr/share/gladex/plugins/perl/styles/re-gen -
260-f 755 root sys /usr/share/gladex/plugins/perl/styles/re-gen/callbacks.template plugins/perl/styles/re-gen/callbacks.template
261-f 755 root sys /usr/share/gladex/plugins/perl/styles/re-gen/main.template plugins/perl/styles/re-gen/main.template
262-f 755 root sys /usr/share/gladex/plugins/perl/__init__.pyc plugins/perl/__init__.pyc
263-f 755 root sys /usr/share/gladex/plugins/perl/perl.glade plugins/perl/perl.glade
264-f 755 root sys /usr/share/gladex/plugins/perl/perl.pyc plugins/perl/perl.pyc
265-d 755 root sys /usr/share/gladex/plugins/python -
266-d 755 root sys /usr/share/gladex/plugins/python/styles -
267-d 755 root sys /usr/share/gladex/plugins/python/styles/classic -
268-f 755 root sys /usr/share/gladex/plugins/python/styles/classic/callbacks.template plugins/python/styles/classic/callbacks.template
269-f 755 root sys /usr/share/gladex/plugins/python/styles/classic/main.template plugins/python/styles/classic/main.template
270-d 755 root sys /usr/share/gladex/plugins/python/styles/no-rewrite -
271-f 755 root sys /usr/share/gladex/plugins/python/styles/no-rewrite/callbacks.template plugins/python/styles/no-rewrite/callbacks.template
272-f 755 root sys /usr/share/gladex/plugins/python/styles/no-rewrite/main.template plugins/python/styles/no-rewrite/main.template
273-f 755 root sys /usr/share/gladex/plugins/python/__init__.pyc plugins/python/__init__.pyc
274-f 755 root sys /usr/share/gladex/plugins/python/pcg.pyc plugins/python/pcg.pyc
275-f 755 root sys /usr/share/gladex/plugins/python/python.glade plugins/python/python.glade
276-d 755 root sys /usr/share/gladex/plugins/ruby -
277-d 755 root sys /usr/share/gladex/plugins/ruby/templates -
278-f 755 root sys /usr/share/gladex/plugins/ruby/templates/callbacks.template plugins/ruby/templates/callbacks.template
279-f 755 root sys /usr/share/gladex/plugins/ruby/templates/main.template plugins/ruby/templates/main.template
280-f 755 root sys /usr/share/gladex/plugins/ruby/__init__.pyc plugins/ruby/__init__.pyc plugins/ruby/__init__.pyc plugins/ruby/__init__.pyc
281-f 755 root sys /usr/share/gladex/plugins/ruby/ruby.glade plugins/ruby/ruby.glade plugins/ruby/ruby.glade plugins/ruby/ruby.glade
282-f 755 root sys /usr/share/gladex/plugins/ruby/ruby.pyc plugins/ruby/ruby.pyc plugins/ruby/ruby.pyc plugins/ruby/ruby.pyc
283-d 755 root sys /usr/share/gladex/plugins/test_mod -
284-f 755 root sys /usr/share/gladex/plugins/test_mod/__init__.pyc plugins/test_mod/__init__.pyc
285-f 755 root sys /usr/share/gladex/plugins/test_mod/test_mod.pyc plugins/test_mod/test_mod.pyc
286-f 755 root sys /usr/share/gladex/plugins/__init__.pyc plugins/__init__.pyc
287-d 755 root sys /usr/share/gladex/po -
288-d 755 root sys /usr/share/gladex/po/de -
289-d 755 root sys /usr/share/gladex/po/de/LC_MESSAGES -
290-f 755 root sys /usr/share/gladex/po/de/LC_MESSAGES/gladex.mo po/de/LC_MESSAGES/gladex.mo
291-d 755 root sys /usr/share/gladex/po/en_US -
292-d 755 root sys /usr/share/gladex/po/en_US/LC_MESSAGES -
293-f 755 root sys /usr/share/gladex/po/en_US/LC_MESSAGES/gladex.mo po/en_US/LC_MESSAGES/gladex.mo
294-f 755 root sys /usr/share/gladex/icons/gladex-logo.png icons/gladex-logo.png
295-f 755 root sys /usr/share/gladex/AUTHORS AUTHORS
296-f 755 root sys /usr/share/gladex/COPYING COPYING
297-f 755 root sys /usr/share/gladex/gladex_callbacks.pyc gladex_callbacks.pyc
298-f 755 root sys /usr/share/gladex/gladex_functions.pyc gladex_functions.pyc
299-f 755 root sys /usr/share/gladex/gladex.glade gladex.glade
300-f 755 root sys /usr/share/gladex/gladex.list gladex.list
301-f 755 root sys /usr/share/gladex/gladex-logo.png gladex-logo.png
302-f 755 root sys /usr/share/gladex/gladex-logo-small.png gladex-logo-small.png
303-f 755 root sys /usr/share/gladex/gladex-logo-source.svg gladex-logo-source.svg
304-f 755 root sys /usr/share/gladex/gladex.pyc gladex.pyc
305-#f 755 root sys /usr/share/gladex/Makefile Makefile
306-f 755 root sys /usr/share/gladex/README README
307-f 755 root sys /usr/share/menu/gladex gladex
308-
309
310=== removed directory 'debian'
311=== removed file 'debian/changelog'
312--- debian/changelog 2009-02-12 10:28:38 +0000
313+++ debian/changelog 1970-01-01 00:00:00 +0000
314@@ -1,26 +0,0 @@
315-gladex (0.5.1~ppa1) jaunty; urgency=low
316-
317- * bump version to 0.5.1
318- * more string freeze and minor changes
319-
320- -- Francesco Marella <francesco.marella@gmail.com> Wed, 12 feb 2009 11:26:51 +0100
321-
322-gladex (0.5.0~ppa1) jaunty; urgency=low
323-
324- * modified Makefile to extract strings from glade files
325- * fixed all the strings that needs to be translated
326-
327- -- Francesco Marella <francesco.marella@gmail.com> Thu, 11 Feb 2009 11:40:32 +0100
328-
329-gladex (0.5.0~ppa-alpha1) hardy; urgency=low
330-
331- * changed some of the source code to be able to well package Gladex
332-
333- -- Ouattara Oumar Aziz (alias wattazoum) <wattazoum@gmail.com> Sat, 23 Feb 2008 15:22:39 +0100
334-
335-gladex (0.1.0~ppa-alpha3) hardy; urgency=low
336-
337- * Initial release (Closes: LP #164924)
338-
339- -- Ouattara Oumar Aziz (alias wattazoum) <wattazoum@gmail.com> Sat, 23 Feb 2008 12:46:54 +0100
340-
341
342=== removed file 'debian/compat'
343--- debian/compat 2008-02-20 23:00:03 +0000
344+++ debian/compat 1970-01-01 00:00:00 +0000
345@@ -1,1 +0,0 @@
346-5
347
348=== removed file 'debian/control'
349--- debian/control 2009-02-17 11:43:17 +0000
350+++ debian/control 1970-01-01 00:00:00 +0000
351@@ -1,44 +0,0 @@
352-Source: gladex
353-Section: devel
354-Priority: extra
355-Maintainer: Francesco Marella <francesco.marella@gmail.com>
356-Build-Depends: debhelper (>= 5), docbook-utils
357-Standards-Version: 3.8.0
358-
359-Package: gladex
360-Architecture: all
361-Depends: gladex-common, gladex-doc,gladex-plugin-python
362-Description: Code Generator for Glade
363- Gladex is a Python application which takes a .glade file written in the
364- Glade User Interface Builder and generates code in Perl, Python, or Ruby.
365- The generated code uses libglade to draw a GUI and is not raw pygtk code.
366- Support for additional languages can be added through the plugin API.
367-
368-Package: gladex-common
369-Architecture: all
370-Depends: python (>= 2.5), python-glade2, python-gtk2
371-Description: Common files for gladex
372- GladeX common files .
373-
374-Package: gladex-doc
375-Architecture: all
376-Description: Documentation for gladex
377- GladeX documentation package.It contains also example files.
378-
379-Package: gladex-plugin-python
380-Architecture: all
381-Depends: gladex-common
382-Description: Python plugin for gladex
383- <insert long description, indented with spaces>
384-
385-Package: gladex-plugin-perl
386-Architecture: all
387-Depends: gladex-common
388-Description: Perl Plugin for gladex
389- <insert long description, indented with spaces>
390-
391-Package: gladex-plugin-ruby
392-Architecture: all
393-Depends: gladex-common
394-Description: Ruby Plugin for gladex
395- <insert long description, indented with spaces>
396
397=== removed file 'debian/copyright'
398--- debian/copyright 2009-02-11 15:12:16 +0000
399+++ debian/copyright 1970-01-01 00:00:00 +0000
400@@ -1,41 +0,0 @@
401-This package was debianized by Ouattara Oumar Aziz (alias wattazoum) <wattazoum@gmail.com> on
402-Wed, 20 Feb 2008 23:44:18 +0100.
403-
404-It was downloaded from <https://launchpad.net/gladex>
405-
406-Upstream Author(s):
407-
408- Charles Edward Pax <pax@rutgers.edu>
409- Christopher Pax <cp67@njit.edu>
410- Oumar Aziz OUATTARA <wattazoum@gmail.com>
411- Francesco Marella <francesco.marella@gmail.com>
412-
413-Copyright:
414-
415- <Copyright (C) 2007 The Gladex authors>
416-
417-License:
418-
419- This package is free software; you can redistribute it and/or modify
420- it under the terms of the GNU General Public License as published by
421- the Free Software Foundation; either version 2 of the License, or
422- (at your option) any later version.
423-
424- This package is distributed in the hope that it will be useful,
425- but WITHOUT ANY WARRANTY; without even the implied warranty of
426- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
427- GNU General Public License for more details.
428-
429- You should have received a copy of the GNU General Public License
430- along with this package; if not, write to the Free Software
431- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
432-
433-On Debian systems, the complete text of the GNU General
434-Public License can be found in `/usr/share/common-licenses/GPL'.
435-
436-The Debian packaging is (C) 2008, Ouattara Oumar Aziz (alias wattazoum) <wattazoum@gmail.com> and
437-is licensed under the GPL, see above.
438-
439-
440-# Please also look if there are files or directories which have a
441-# different copyright/license attached and list them here.
442
443=== removed file 'debian/docs'
444--- debian/docs 2008-02-20 23:16:40 +0000
445+++ debian/docs 1970-01-01 00:00:00 +0000
446@@ -1,4 +0,0 @@
447-README
448-AUTHORS
449-CHANGELOG
450-COPYING
451
452=== removed file 'debian/gladex-common.install'
453--- debian/gladex-common.install 2008-03-02 08:36:41 +0000
454+++ debian/gladex-common.install 1970-01-01 00:00:00 +0000
455@@ -1,9 +0,0 @@
456-usr/lib/python2.5/site-packages/gladex/*.py
457-usr/lib/python2.5/site-packages/gladex/util
458-usr/lib/python2.5/site-packages/gladex/resources
459-usr/lib/python2.5/site-packages/gladex/plugins/__init__.py
460-usr/share/pixmaps
461-usr/share/locale
462-usr/share/gladex/gladex.glade
463-usr/share/applications
464-usr/bin
465
466=== removed file 'debian/gladex-doc.install'
467--- debian/gladex-doc.install 2008-02-20 23:16:40 +0000
468+++ debian/gladex-doc.install 1970-01-01 00:00:00 +0000
469@@ -1,1 +0,0 @@
470-usr/share/doc/gladex
471
472=== removed file 'debian/gladex-plugin-perl.install'
473--- debian/gladex-plugin-perl.install 2008-02-21 23:45:22 +0000
474+++ debian/gladex-plugin-perl.install 1970-01-01 00:00:00 +0000
475@@ -1,1 +0,0 @@
476-usr/lib/python2.5/site-packages/gladex/plugins/perl
477
478=== removed file 'debian/gladex-plugin-python.install'
479--- debian/gladex-plugin-python.install 2008-02-21 23:45:22 +0000
480+++ debian/gladex-plugin-python.install 1970-01-01 00:00:00 +0000
481@@ -1,1 +0,0 @@
482-usr/lib/python2.5/site-packages/gladex/plugins/python
483
484=== removed file 'debian/gladex-plugin-ruby.install'
485--- debian/gladex-plugin-ruby.install 2008-02-21 23:45:22 +0000
486+++ debian/gladex-plugin-ruby.install 1970-01-01 00:00:00 +0000
487@@ -1,1 +0,0 @@
488-usr/lib/python2.5/site-packages/gladex/plugins/ruby
489
490=== removed file 'debian/menu'
491--- debian/menu 2008-02-21 23:45:22 +0000
492+++ debian/menu 1970-01-01 00:00:00 +0000
493@@ -1,2 +0,0 @@
494-?package(gladex):needs="X11|text|vc|wm" section="Apps/see-menu-manual"\
495- title="gladex" command="/usr/bin/gladex"
496
497=== removed file 'debian/rules'
498--- debian/rules 2009-02-17 11:43:17 +0000
499+++ debian/rules 1970-01-01 00:00:00 +0000
500@@ -1,84 +0,0 @@
501-#!/usr/bin/make -f
502-# -*- makefile -*-
503-# Sample debian/rules that uses debhelper.
504-#
505-# This file was originally written by Joey Hess and Craig Small.
506-# As a special exception, when this file is copied by dh-make into a
507-# dh-make output file, you may use that output file without restriction.
508-# This special exception was added by Craig Small in version 0.37 of dh-make.
509-#
510-# Modified to make a template file for a multi-binary package with separated
511-# build-arch and build-indep targets by Bill Allombert 2001
512-
513-# Uncomment this to turn on verbose mode.
514-#export DH_VERBOSE=1
515-
516-# This has to be exported to make some magic below work.
517-export DH_OPTIONS
518-
519-configure: configure-stamp
520-configure-stamp:
521- dh_testdir
522- # Add here commands to configure the package.
523-
524- touch configure-stamp
525-
526-
527-#Architecture
528-build: build-indep
529-
530-build-indep: build-indep-stamp
531-build-indep-stamp: configure-stamp
532-
533- # Add here commands to compile the indep part of the package.
534- #$(MAKE) doc
535- touch $@
536-
537-clean:
538- dh_testdir
539- dh_testroot
540- rm -f build-indep-stamp configure-stamp
541-
542- # Add here commands to clean up after the build process.
543- [ ! -f Makefile ] || $(MAKE) clean
544-
545- dh_clean
546-
547-install: install-indep
548-install-indep:
549- dh_testdir
550- dh_testroot
551- dh_clean -k -i
552- dh_installdirs -i
553-
554- # Add here commands to install the indep part of the package into debian/<package>.
555- $(MAKE) PREFIX=/usr DESTDIR=$(CURDIR)/debian/tmp/usr install
556-
557- dh_install -i --sourcedir=$(CURDIR)/debian/tmp
558-
559-# Must not depend on anything. This is to be called by
560-binary-arch: binary-common
561-
562-binary-indep:binary-common
563-
564-binary-common:
565- dh_testdir
566- dh_testroot
567- dh_installchangelogs CHANGELOG
568- dh_installdocs
569- dh_installmenu
570- dh_installman
571- dh_compress -X.glade -X.xml
572- dh_fixperms
573- dh_makeshlibs
574- dh_installdeb
575- dh_shlibdeps
576- dh_gencontrol
577- dh_md5sums
578- dh_builddeb
579-# Build architecture independant packages using the common target.
580-binary-indep: build-indep install-indep
581- $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
582-
583-binary: binary-indep
584-.PHONY: build clean binary-indep binary install install-indep configure
585
586=== renamed directory 'src/gladex' => 'gladex'
587=== renamed file 'src/gladex/gladex.py' => 'gladex.py'
588--- src/gladex/gladex.py 2009-01-17 11:32:49 +0000
589+++ gladex.py 2009-08-12 06:49:22 +0000
590@@ -1,44 +1,38 @@
591-"""
592- gladex - Generate source code from Glade XML files.
593-
594- Copyright (C) 2007 See AUTHORS list for copyright holders
595-
596- This program is free software: you can redistribute it and/or modify
597- it under the terms of the GNU General Public License as published by
598- the Free Software Foundation, either version 3 of the License, or
599- (at your option) any later version.
600-
601- This program is distributed in the hope that it will be useful,
602- but WITHOUT ANY WARRANTY; without even the implied warranty of
603- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
604- GNU General Public License for more details.
605-
606- You should have received a copy of the GNU General Public License
607- along with this program. If not, see <http://www.gnu.org/licenses/>.
608-"""
609+#! /usr/bin/env python
610+# -*- coding: utf-8 -*-
611+
612+# gladex - Generate source code from Glade XML files.
613+#
614+# Copyright (C) 2007 See AUTHORS list for copyright holders
615+#
616+# This program is free software: you can redistribute it and/or modify
617+# it under the terms of the GNU General Public License as published by
618+# the Free Software Foundation, either version 3 of the License, or
619+# (at your option) any later version.
620+#
621+# This program is distributed in the hope that it will be useful,
622+# but WITHOUT ANY WARRANTY; without even the implied warranty of
623+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
624+# GNU General Public License for more details.
625+#
626+# You should have received a copy of the GNU General Public License
627+# along with this program. If not, see <http://www.gnu.org/licenses/>.
628+
629 import sys
630 import os
631-try:
632- import pygtk
633- pygtk.require("2.0")
634-except:
635- pass
636-#try:
637 import gtk
638 import gtk.glade
639-import gettext, locale
640-
641-import gladex_callbacks as callbacks
642-from util import getResource
643-
644-#except:
645-# sys.exit(1)
646+import gettext
647+import locale
648+
649+from gladex import gladex_callbacks as callbacks
650+from gladex.lib.common import *
651
652 class GladexClass:
653 def __init__(self):
654 # Set the Glade file
655- self.gladefile = getResource('gladex.glade')
656- self.wTree = gtk.glade.XML(self.gladefile,domain="gladex")
657+ self.gladefile = UI_BASE_PATH + "gladex.glade"
658+ self.wTree = gtk.glade.XML(self.gladefile, domain="gladex")
659 # Dictionary autogenerated by gladex.
660 # Dictionary autogenerated by gladex.
661 dic = { "on_glade_file_chooser_selection_changed" : lambda w, d="": self.calls("on_glade_file_chooser_selection_changed",w,d),
662@@ -65,14 +59,15 @@
663 # print 'function does not exsist'
664
665 def main(argv):
666- #gtk.threads_enter()
667+ # i18n init
668+ gettext.textdomain("gladex")
669+ application = 'gladex'
670+ gettext.install(application)
671 someclass = GladexClass()
672 try:
673- #gtk.gdk.threads_init()
674- #gtk.gdk.threads_enter()
675 gtk.main()
676- #g_thread_init (NULL);
677- #gdk_threads_init ();
678- #gdk_threads_enter ();
679 except KeyboardInterrupt:
680 sys.exit()
681+
682+if __name__ == '__main__':
683+ main(sys.argv)
684
685=== modified file 'gladex/gladex_callbacks.py'
686--- src/gladex/gladex_callbacks.py 2009-02-12 10:28:38 +0000
687+++ gladex/gladex_callbacks.py 2009-08-12 07:16:50 +0000
688@@ -16,6 +16,11 @@
689 You should have received a copy of the GNU General Public License
690 along with this program. If not, see <http://www.gnu.org/licenses/>.
691 """
692+
693+
694+import gtk
695+import gtk.glade
696+import inspect
697 import commands
698 import time
699 import threading
700@@ -23,16 +28,12 @@
701 from gettext import gettext as _
702 import sys, os, stat
703 import pwd, grp, locale
704-import pygtk
705-pygtk.require("2.0")
706-import gtk
707-import gtk.glade
708-import inspect
709+import subprocess
710+
711 import gladex_functions as gxf
712 import plugins
713 from plugins import PluginManager
714-from util import getResource
715-from util import Infos
716+from lib.common import *
717
718 global_data = {}
719 global_data["main_window_mapped"]=False
720@@ -66,9 +67,9 @@
721 """on_load_example_activate( ... )
722 This is a event function, called when 'example' is clicked from the menu.
723 """
724- wtree.get_widget("output_directory_chooser").set_filename(global_data["home"]+"/Desktop")
725+ wtree.get_widget("output_directory_chooser").set_filename(global_data["home"] + "/Desktop")
726 glade_file_chooser = global_data["tree"].get_widget("glade_file_chooser")
727- glade_file_chooser.set_filename(getResource("example.glade"))
728+ glade_file_chooser.set_filename(EXAMPLES_BASE_PATH + "example.glade")
729 pass
730
731
732@@ -96,7 +97,7 @@
733 plugin_list_combo = wtree.get_widget("plugin_list")
734
735 main_win = wtree.get_widget("MainWindow")
736- main_win.set_icon_from_file(getResource("gladex-logo-small.png"))
737+ main_win.set_icon_from_file(ICONS_BASE_PATH + "gladex-logo-small.png")
738
739 d = os.getcwd()
740 global_data["threadrunning"] = False
741@@ -307,18 +308,9 @@
742 This is a event function, called when about is clicked from the menu.
743 The function will open and handel the about dialog.
744 """
745- #global_data["about_gladex"].set_name(Infos.NAME)
746- global_data["about_gladex"].set_version(Infos.VERSION)
747- #global_data["about_gladex"].set_comments(Infos.DESCRIPTION)
748- #global_data["about_gladex"].set_license(Infos.LICENSE)
749+ global_data["about_gladex"].set_version(GLADEX_VERSION)
750 global_data["about_gladex"].set_transient_for(global_data["tree"].get_widget("MainWindow"))
751- #global_data["about_gladex"].set_authors(Infos.AUTHORS)
752- #global_data["about_gladex"].set_artists(Infos.ARTISTS)
753- #global_data["about_gladex"].set_translator_credits(Infos.TRANSLATORS)
754- #global_data["about_gladex"].set_documenters(Infos.DOCS)
755- #global_data["about_gladex"].set_website(Infos.WEBSITE)
756- #global_data["about_gladex"].set_website_label(Infos.WEBSITE_LABEL)
757- global_data["about_gladex"].set_logo(gtk.gdk.pixbuf_new_from_file(getResource("gladex-logo.png")))
758+ global_data["about_gladex"].set_logo(gtk.gdk.pixbuf_new_from_file(ICONS_BASE_PATH + "gladex-logo.png"))
759
760 responce = global_data["about_gladex"].run()
761 if responce == gtk.RESPONSE_CANCEL or responce==gtk.RESPONSE_DELETE_EVENT:
762@@ -334,8 +326,7 @@
763 This is a event function, that is called when the 'help' is clicked in the menu.
764 uses yelp upon our docs.
765 """
766- yelp = os.popen("yelp %s" % getResource("gladex-manual.xml"))
767- os.unlink(yelp)
768+ subprocess.Popen(["/usr/bin/yelp", GLADEX_DOCS_PATH + "gladex-manual.xml"])
769 #
770
771 def on_glade_file_chooser_selection_changed(widget, data, wtree):
772@@ -390,6 +381,6 @@
773 pass
774 #
775 def on_open_examples_activate(widget,data,wtree):
776- commands.getoutput("nautilus "+os.path.dirname(getResource("example.glade")))
777+ commands.getoutput("nautilus "+os.path.dirname(UI_BASE_PATH + "example.glade"))
778 pass
779 #
780
781=== modified file 'gladex/gladex_functions.py'
782--- src/gladex/gladex_functions.py 2008-02-26 16:02:23 +0000
783+++ gladex/gladex_functions.py 2009-08-12 07:16:50 +0000
784@@ -16,13 +16,12 @@
785 You should have received a copy of the GNU General Public License
786 along with this program. If not, see <http://www.gnu.org/licenses/>.
787 """
788-#import py_compile
789-#py_compile.compile("gladex_callbacks.py")
790-import gladex_callbacks as gxc
791-#from gladex_callbacks import *
792+
793 import os
794 from xml.dom.minidom import parse as pxml
795
796+import gladex_callbacks as gxc
797+
798 reload(gxc)
799 #print dir(gxc)
800 show_message = gxc.show_message
801
802=== added directory 'gladex/lib'
803=== modified file 'gladex/plugins/__init__.py'
804--- src/gladex/plugins/__init__.py 2008-02-27 16:33:27 +0000
805+++ gladex/plugins/__init__.py 2009-08-12 06:49:22 +0000
806@@ -1,3 +1,4 @@
807+# -*- coding: utf-8 -*-
808 # This program is free software; you can redistribute it and/or modify
809 # it under the terms of the GNU General Public License as published by
810 # the Free Software Foundation; either version 2 of the License, or
811@@ -13,12 +14,14 @@
812 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
813 # Authors :
814 # Ouattara Oumar Aziz ( alias wattazoum ) <wattazoum@gmail.com>
815+# Francesco Marella <francesco.marella@gmail.com>
816
817 import inspect
818 import os
819 import sys
820 import glob
821 from gettext import gettext as _
822+
823 from gladex.util.exceptions import InvalidPluginException
824
825 class Plugin:
826
827=== modified file 'gladex/plugins/perl/perl.py'
828--- src/gladex/plugins/perl/perl.py 2009-02-11 15:12:16 +0000
829+++ gladex/plugins/perl/perl.py 2009-08-12 07:16:50 +0000
830@@ -18,8 +18,6 @@
831 along with this program. If not, see <http://www.gnu.org/licenses/>.
832 """
833 import sys
834-sys.path.insert(0,"../..")
835-import gladex.gladex_functions as gxf
836 import gtk
837 import os
838 import re
839@@ -27,6 +25,8 @@
840 import inspect
841 from gettext import gettext as _
842 import locale
843+
844+from gladex import gladex_functions as gxf
845 from gladex.plugins import Plugin
846
847 class PerlPlugin(Plugin):
848
849=== modified file 'gladex/plugins/python/pcg.py'
850--- src/gladex/plugins/python/pcg.py 2009-02-11 15:12:16 +0000
851+++ gladex/plugins/python/pcg.py 2009-08-12 07:16:50 +0000
852@@ -18,8 +18,6 @@
853 along with this program. If not, see <http://www.gnu.org/licenses/>.
854 """
855 import sys
856-sys.path.insert(0,"../..")
857-import gladex.gladex_functions as gxf
858 import gtk
859 import os
860 import re
861@@ -27,6 +25,8 @@
862 import inspect
863 from gettext import gettext as _
864 import locale
865+
866+from gladex import gladex_functions as gxf
867 from gladex.plugins import Plugin
868
869 class PythonPlugin(Plugin):
870@@ -66,10 +66,12 @@
871 #parent_data = parent_input
872
873 if self.main_widget == None:
874- gladefile = self.plugdir+'/python.glade'
875+ gladefile = self.plugdir + '/python.glade'
876 self.tree = gtk.glade.XML(gladefile,domain="gladex")
877 self.main_widget = self.tree.get_widget("main_widget")
878- dic ={"on_info_button_clicked":self.on_info_button_clicked}
879+ dic ={
880+ "on_info_button_clicked": self.on_info_button_clicked
881+ }
882 self.tree.signal_autoconnect(dic)
883
884 self.widgets["callbacks_file_name"] = self.tree.get_widget("callbacks_file_name_entry")
885
886=== modified file 'gladex/plugins/ruby/ruby.py'
887--- src/gladex/plugins/ruby/ruby.py 2009-02-11 15:12:16 +0000
888+++ gladex/plugins/ruby/ruby.py 2009-08-12 07:16:50 +0000
889@@ -18,14 +18,14 @@
890 along with this program. If not, see <http://www.gnu.org/licenses/>.
891 """
892 import sys
893-sys.path.insert(0,"../..")
894-import gladex.gladex_functions as gxf
895 import gtk
896 import os
897 import re
898 import string
899 import inspect
900 from gettext import gettext as _
901+
902+from gladex import gladex_functions as gxf
903 from gladex.plugins import Plugin
904
905 class RubyPlugin(Plugin):
906
907=== modified file 'gladex/plugins/test_mod/test_mod.py'
908--- src/gladex/plugins/test_mod/test_mod.py 2007-07-09 03:31:19 +0000
909+++ gladex/plugins/test_mod/test_mod.py 2009-08-12 07:16:50 +0000
910@@ -1,14 +1,14 @@
911 #!/usr/bin/env python
912
913 import sys
914-sys.path.insert(0,"../..")
915-import gladex_functions as gxf
916 import gtk
917 import os
918 import re
919 import string
920 import inspect
921
922+from gladex import gladex_functions as gxf
923+
924 plugdir =os.path.split(__file__)[0]
925
926 def info():
927
928=== modified file 'gladex/util/__init__.py'
929--- src/gladex/util/__init__.py 2009-02-12 10:28:38 +0000
930+++ gladex/util/__init__.py 2009-08-12 06:49:22 +0000
931@@ -55,25 +55,4 @@
932 ARTISTS=["Christopher Pax <cp67@njit.edu>"]
933 DOCS=["Charles Edward Pax <pax@rutgers.edu>"]
934
935-def getResource(resourceName):
936- """
937- This will look for a ressource installed by gladex.
938- The installation script write in the ressources file were it stores the file
939- then getRessource will look for them.
940- @param ressourceName: the ressource name, as complete as possible.
941- @param the ressource: absolute path.
942- """
943- tmp = __file__
944- resfile = open(os.sep.join([os.path.dirname(__file__),"../resources"]))
945- for dir in resfile.readlines() :
946- dir = dir.strip()
947- if os.path.exists(dir) and os.path.isdir(dir):
948- list = os.listdir(dir)
949- for f in list :
950- if f == resourceName :
951- return os.path.normpath(os.sep.join([dir,resourceName]))
952- devvalue = os.path.dirname(tmp)+"/../datas/"
953- if os.path.exists(devvalue + resourceName) :
954- return os.path.normpath(devvalue + resourceName)
955- raise Exception("'%s' hasn't been found in the ressource list"% resourceName)
956
957
958=== modified file 'po/it_IT.po'
959--- po/it_IT.po 2009-02-18 19:29:27 +0000
960+++ po/it_IT.po 2009-03-28 13:13:28 +0000
961@@ -1,175 +1,189 @@
962+msgid ""
963+msgstr ""
964+"Project-Id-Version: \n"
965+"POT-Creation-Date: \n"
966+"PO-Revision-Date: \n"
967+"Last-Translator: Francesco Marella <francesco.marella@gmail.com>\n"
968+"Language-Team: \n"
969+"MIME-Version: 1.0\n"
970+"Content-Type: text/plain; charset=iso-8859-1\n"
971+"Content-Transfer-Encoding: 8bit\n"
972+
973 #: src/gladex/gladex_callbacks.py:110
974 msgid "Select Plugin ..."
975-msgstr ""
976+msgstr "Seleziona plugin ..."
977
978-#: src/gladex/gladex_callbacks.py:191 src/gladex/gladex_callbacks.py:296
979+#: src/gladex/gladex_callbacks.py:191
980+#: src/gladex/gladex_callbacks.py:296
981 msgid "Select a plugin"
982-msgstr ""
983+msgstr "Seleziona un plugin"
984
985 #: src/gladex/gladex_callbacks.py:285
986 msgid "Choose a glade file"
987-msgstr ""
988+msgstr "Scegli un file glade"
989
990 #: src/gladex/gladex_callbacks.py:290
991 msgid ""
992 "ERROR: Insufficient permission.\n"
993 " Change output directory."
994 msgstr ""
995+"Errore: Permessi insufficienti.\n"
996+" Cambia cartella di destinazione."
997
998 #: src/gladex/gladex_callbacks.py:347
999 msgid "This is not a glade file"
1000-msgstr ""
1001+msgstr "Questo non è un file glade"
1002
1003 #: datas/gladex.glade.h:1
1004 msgid "(c) 2007 The Gladex authors"
1005-msgstr ""
1006+msgstr "(c) 2007 Gli autori di Gladex"
1007
1008 #: datas/gladex.glade.h:2
1009 msgid "About Gladex"
1010-msgstr ""
1011+msgstr "Informazioni su Gladex"
1012
1013 #: datas/gladex.glade.h:3
1014 msgid "Choose Glade file:"
1015-msgstr ""
1016+msgstr "Scegli file Glade:"
1017
1018 #: datas/gladex.glade.h:4
1019 msgid "Choose output directory:"
1020-msgstr ""
1021+msgstr "Salva nella cartella:"
1022
1023 #: datas/gladex.glade.h:5
1024 msgid "Choose plugin:"
1025-msgstr ""
1026+msgstr "Scegli plugin:"
1027
1028 #: datas/gladex.glade.h:6
1029 msgid "Gladex"
1030-msgstr ""
1031+msgstr "Gladex"
1032
1033 #: datas/gladex.glade.h:7
1034 msgid "Gladex home page"
1035-msgstr ""
1036+msgstr "Sito web di Gladex"
1037
1038 #: datas/gladex.glade.h:8
1039-msgid ""
1040-"Gladex is a program written in Python that takes a Glade XML file and "
1041-"generates code. Gladex currently supports Perl, Python, and Ruby."
1042-msgstr ""
1043+msgid "Gladex is a program written in Python that takes a Glade XML file and generates code. Gladex currently supports Perl, Python, and Ruby."
1044+msgstr "Gladex è un programma scritto in Python che, a partire da un file Glade XML genera del codice sorgente. Gladex al momento supporta Perl, Python, e Ruby."
1045
1046 #: datas/gladex.glade.h:9
1047 msgid "Load example"
1048-msgstr ""
1049+msgstr "Apri esempio"
1050
1051 #: datas/gladex.glade.h:10
1052 msgid "Loads a example glade file in to the file chooser"
1053-msgstr ""
1054+msgstr "Apre un file glade di esempio nel selettore di file"
1055
1056 #: datas/gladex.glade.h:11
1057 msgid "Open examples folder"
1058-msgstr ""
1059+msgstr "Apri cartella degli esempi"
1060
1061 #: datas/gladex.glade.h:12
1062 msgid "Plugin information"
1063-msgstr ""
1064+msgstr "Informazioni sul plugin"
1065
1066 #: datas/gladex.glade.h:13
1067 msgid "_Gladex"
1068-msgstr ""
1069+msgstr "_Gladex"
1070
1071 #: datas/gladex.glade.h:14
1072 msgid "_Help"
1073-msgstr ""
1074+msgstr "_Aiuto"
1075
1076 #: datas/gladex.glade.h:15
1077 msgid "translator-credits"
1078-msgstr ""
1079+msgstr "Francesco Marella <francesco.marella@gmail.com>"
1080
1081 #: src/gladex/plugins/perl/perl.glade.h:1
1082 #: src/gladex/plugins/python/python.glade.h:1
1083 #: src/gladex/plugins/ruby/ruby.glade.h:2
1084 msgid "Callbacks File Name:"
1085-msgstr ""
1086+msgstr "Nome del file dei callbacks:"
1087
1088 #: src/gladex/plugins/perl/perl.glade.h:2
1089 #: src/gladex/plugins/python/python.glade.h:2
1090 msgid "Choose Style:"
1091-msgstr ""
1092+msgstr "Scegli stile:"
1093
1094 #: src/gladex/plugins/perl/perl.glade.h:3
1095 #: src/gladex/plugins/python/python.glade.h:4
1096 #: src/gladex/plugins/ruby/ruby.glade.h:4
1097 msgid "File Name:"
1098-msgstr ""
1099+msgstr "Nome del file:"
1100
1101 #: src/gladex/plugins/perl/perl.glade.h:4
1102 #: src/gladex/plugins/python/python.glade.h:5
1103 #: src/gladex/plugins/ruby/ruby.glade.h:5
1104 msgid "Indentation Type:"
1105-msgstr ""
1106+msgstr "Tipo di indentazione:"
1107
1108 #: src/gladex/plugins/python/python.glade.h:3
1109 #: src/gladex/plugins/ruby/ruby.glade.h:3
1110 msgid "Class Name:"
1111-msgstr ""
1112+msgstr "Nome della classe:"
1113
1114 #: src/gladex/plugins/ruby/ruby.glade.h:1
1115 msgid "Application Name:"
1116-msgstr ""
1117+msgstr "Nome dell'applicazione:"
1118
1119 #: src/gladex/plugins/__init__.py:110
1120 #, python-format
1121 msgid "Could not import plugin %(plugin_name)s ! Cause : %(error_cause)s "
1122-msgstr ""
1123+msgstr "Impossibile caricare il plugin %(plugin_name)s ! Causa : %(error_cause)s "
1124
1125 #: src/gladex/plugins/__init__.py:124
1126 msgid "The return value of getName() must be a string (str)"
1127-msgstr ""
1128+msgstr "Il valore di ritorno del metodo getName() deve essere di tipo stringa (str)"
1129
1130 #: src/gladex/plugins/__init__.py:127
1131 msgid "The return value of getDoc() must be a string (str)"
1132-msgstr ""
1133+msgstr "Il valore di ritorno del metodo getDoc() deve essere di tipo stringa (str)"
1134
1135 #: src/gladex/plugins/__init__.py:130
1136 msgid "The return value of getInfos() must be a dictionary (dict)"
1137-msgstr ""
1138+msgstr "Il valore di ritorno del metodo getInfos() deve essere di tipo dizionario (dict)"
1139
1140 #: src/gladex/plugins/__init__.py:135
1141 #, python-format
1142 msgid "The key values (\"%s\") of the getInfos() dictionary must be a string"
1143-msgstr ""
1144+msgstr "The key values (\"%s\") of the getInfos() dictionary must be a string"
1145
1146 #: src/gladex/plugins/__init__.py:137
1147 #, python-format
1148-msgid ""
1149-"The \"value\" values of the getInfos() dictionary must a a couple list (size "
1150-"2): got \"%s\""
1151-msgstr ""
1152+msgid "The \"value\" values of the getInfos() dictionary must a a couple list (size 2): got \"%s\""
1153+msgstr "The \"value\" values of the getInfos() dictionary must a a couple list (size 2): got \"%s\""
1154
1155 #: src/gladex/plugins/__init__.py:142
1156 msgid "The return value of getWidget() must be a gtk.Widget"
1157-msgstr ""
1158+msgstr "Il valore di ritorno del metodo getWidget() deve essere di tipo gtk.Widget"
1159
1160-#: src/gladex/plugins/perl/perl.py:40 src/gladex/plugins/python/pcg.py:41
1161+#: src/gladex/plugins/perl/perl.py:40
1162+#: src/gladex/plugins/python/pcg.py:41
1163 #: src/gladex/plugins/ruby/ruby.py:39
1164 msgid "Name"
1165-msgstr ""
1166+msgstr "Nome"
1167
1168 #: src/gladex/plugins/perl/perl.py:40
1169 msgid "Perl Code Generator"
1170-msgstr ""
1171+msgstr "Generatore di codice Perl"
1172
1173-#: src/gladex/plugins/perl/perl.py:41 src/gladex/plugins/python/pcg.py:42
1174+#: src/gladex/plugins/perl/perl.py:41
1175+#: src/gladex/plugins/python/pcg.py:42
1176 #: src/gladex/plugins/ruby/ruby.py:40
1177 msgid "Version"
1178-msgstr ""
1179+msgstr "Versione"
1180
1181-#: src/gladex/plugins/perl/perl.py:42 src/gladex/plugins/python/pcg.py:43
1182+#: src/gladex/plugins/perl/perl.py:42
1183+#: src/gladex/plugins/python/pcg.py:43
1184 #: src/gladex/plugins/ruby/ruby.py:41
1185 msgid "Compatibility"
1186-msgstr ""
1187+msgstr "Compatibilità"
1188
1189-#: src/gladex/plugins/perl/perl.py:43 src/gladex/plugins/python/pcg.py:44
1190+#: src/gladex/plugins/perl/perl.py:43
1191+#: src/gladex/plugins/python/pcg.py:44
1192 #: src/gladex/plugins/ruby/ruby.py:42
1193 msgid "Description"
1194-msgstr ""
1195+msgstr "Descrizione"
1196
1197 #: src/gladex/plugins/perl/perl.py:43
1198 msgid ""
1199@@ -178,41 +192,52 @@
1200 " You need: libglade-perl libgladexml-perl libgtk2-gladexml-perl\n"
1201 " In order for the Perl GTK bindings to work."
1202 msgstr ""
1203+"Generatore di codice Perl\n"
1204+" Questo plugin genera codice in Perl.\n"
1205+" Sono necessarie le librerie: libglade-perl libgladexml-perl libgtk2-gladexml-perl\n"
1206+" per eseguire il codice sorgente generato."
1207
1208-#: src/gladex/plugins/perl/perl.py:47 src/gladex/plugins/python/pcg.py:49
1209+#: src/gladex/plugins/perl/perl.py:47
1210+#: src/gladex/plugins/python/pcg.py:49
1211 #: src/gladex/plugins/ruby/ruby.py:47
1212 msgid "Plugin Type"
1213-msgstr ""
1214+msgstr "Tipo di plugin"
1215
1216-#: src/gladex/plugins/perl/perl.py:47 src/gladex/plugins/python/pcg.py:49
1217+#: src/gladex/plugins/perl/perl.py:47
1218+#: src/gladex/plugins/python/pcg.py:49
1219 #: src/gladex/plugins/ruby/ruby.py:47
1220 msgid "generator"
1221-msgstr ""
1222+msgstr "generatore"
1223
1224-#: src/gladex/plugins/perl/perl.py:136 src/gladex/plugins/python/pcg.py:150
1225+#: src/gladex/plugins/perl/perl.py:136
1226+#: src/gladex/plugins/python/pcg.py:150
1227 #: src/gladex/plugins/ruby/ruby.py:143
1228 msgid "glade file must end in .glade"
1229-msgstr ""
1230+msgstr "Il file glade deve avere estensione .glade"
1231
1232 #: src/gladex/plugins/perl/perl.py:139
1233 msgid "callbacks file must end in .pm"
1234-msgstr ""
1235+msgstr "Il file dei callbacks deve avere estensione .pm"
1236
1237 #: src/gladex/plugins/perl/perl.py:142
1238 msgid "perl file must end in .pl"
1239-msgstr ""
1240+msgstr "Il file perl deve avere estensione .pl"
1241
1242-#: src/gladex/plugins/perl/perl.py:146 src/gladex/plugins/python/pcg.py:173
1243+#: src/gladex/plugins/perl/perl.py:146
1244+#: src/gladex/plugins/python/pcg.py:173
1245 #: src/gladex/plugins/ruby/ruby.py:156
1246 msgid "please select a indentation and style type"
1247-msgstr ""
1248+msgstr "Seleziona il tipo di indentazione e lo stile"
1249
1250-#: src/gladex/plugins/perl/perl.py:219 src/gladex/plugins/python/pcg.py:242
1251+#: src/gladex/plugins/perl/perl.py:219
1252+#: src/gladex/plugins/python/pcg.py:242
1253 #: src/gladex/plugins/ruby/ruby.py:219
1254 msgid ""
1255 "Job done. please open up the output\n"
1256 "directory to see the generated code."
1257 msgstr ""
1258+"Fatto. Apri la cartella di destinazione\n"
1259+"per accedere al codice generato."
1260
1261 #: src/gladex/plugins/perl/perl.py:275
1262 msgid ""
1263@@ -222,6 +247,11 @@
1264 " callbacks are defined the user must write in the\n"
1265 " callbacks themselves."
1266 msgstr ""
1267+"Generazione di codice Perl minimale\n"
1268+" Questo plugin genera un file di callbacks con\n"
1269+" le funzioni callbacks definite nel file glade. Se nuove\n"
1270+" funzioni di callbacks sono state definite l'utente deve\n"
1271+" scriverle manualmente nel codice sorgente."
1272
1273 #: src/gladex/plugins/perl/perl.py:281
1274 msgid ""
1275@@ -234,10 +264,18 @@
1276 " sending the update parameter will update the\n"
1277 " callbacks file."
1278 msgstr ""
1279+"Generazione di codice Perl completo\n"
1280+" Questo plugin genera il codice sorgente necessario\n"
1281+" a generare nuovi callbacks nel file dei callbacks. Utilizza\n"
1282+" la riga di comando per accedere a questa funzionalità.\n"
1283+" cd /percorso/a/perlfile/\n"
1284+" ./perlfilename.pl update\n"
1285+" passando il parametro update verrà aggiornato il\n"
1286+" file dei callbacks."
1287
1288 #: src/gladex/plugins/python/pcg.py:41
1289 msgid "Python Code Generator"
1290-msgstr ""
1291+msgstr "Generatore di codice Python"
1292
1293 #: src/gladex/plugins/python/pcg.py:44
1294 msgid ""
1295@@ -247,32 +285,31 @@
1296 " have the required libglade librarys needed to run\n"
1297 " the python code."
1298 msgstr ""
1299+"Generatore di codice Python\n"
1300+" Questo plugin genera codice per Python, usando pygtk.\n"
1301+" Ubuntu, ed altre distribuzioni che utilizzano GNOME, hanno\n"
1302+" le librerie libglade necessarie ad eseguire\n"
1303+" il codice python."
1304
1305 #: src/gladex/plugins/python/pcg.py:153
1306 msgid "callbacks file must end in .py"
1307-msgstr ""
1308+msgstr "Il file dei callbacks deve avere estensione .py"
1309
1310 #: src/gladex/plugins/python/pcg.py:156
1311 msgid "python file must end in .py"
1312-msgstr ""
1313+msgstr "Il file python deve avere estensione .py"
1314
1315 #: src/gladex/plugins/python/pcg.py:161
1316-msgid ""
1317-"there is a invalid character in class name please only use letters/Caps or "
1318-"underscores"
1319-msgstr ""
1320+msgid "there is a invalid character in class name please only use letters/Caps or underscores"
1321+msgstr "Il nome della classe contiene un carattere non valido, utilizzare solo lettere maiuscole/minuscole o underscore"
1322
1323 #: src/gladex/plugins/python/pcg.py:165
1324-msgid ""
1325-"there is a invalid character in callbacks file name please only use letters/"
1326-"Caps or underscores"
1327-msgstr ""
1328+msgid "there is a invalid character in callbacks file name please only use letters/Caps or underscores"
1329+msgstr "Il nome del file dei callbacks contiene un carattere non valido, utilizzare solo lettere maiuscole/minuscole o underscore"
1330
1331 #: src/gladex/plugins/python/pcg.py:169
1332-msgid ""
1333-"there is a invalid character in python file name please only use letters/"
1334-"Caps or underscores"
1335-msgstr ""
1336+msgid "there is a invalid character in python file name please only use letters/Caps or underscores"
1337+msgstr "Il nome del file Python contiene un carattere non valido, utilizzare solo lettere maiuscole/minuscole o underscore"
1338
1339 #: src/gladex/plugins/python/pcg.py:267
1340 msgid ""
1341@@ -281,6 +318,11 @@
1342 " When a new function is defined in the glade file, it\n"
1343 " must get regenerated."
1344 msgstr ""
1345+"Generazione di codice Python minimale\n"
1346+" Questo plugin genera un file di callbacks con\n"
1347+" le funzioni callbacks definite nel file glade. Se nuove\n"
1348+" funzioni di callbacks sono state definite l'utente deve scriverle\n"
1349+" manualmente nel codice sorgente."
1350
1351 #: src/gladex/plugins/python/pcg.py:272
1352 msgid ""
1353@@ -290,10 +332,15 @@
1354 " callback file. You never have to run the code through\n"
1355 " gladex again."
1356 msgstr ""
1357+"Generatore di codice Python completo\n"
1358+" Questo plugin genera il codice sorgente necessario\n"
1359+" a generare nuovi callbacks nel file dei callbacks.\n"
1360+" Non dovrai generare il codice attraverso Gladex\n"
1361+" in futuro."
1362
1363 #: src/gladex/plugins/ruby/ruby.py:39
1364 msgid "Ruby Code Generator"
1365-msgstr ""
1366+msgstr "Generatore di codice Ruby"
1367
1368 #: src/gladex/plugins/ruby/ruby.py:42
1369 msgid ""
1370@@ -303,11 +350,16 @@
1371 " libglade2-ruby installed. Run this command:\n"
1372 " apt-get install ruby libglade2-ruby as root"
1373 msgstr ""
1374+"Generatore di codice Ruby\n"
1375+" Se hai problemi nell'eseguire il codice generato,\n"
1376+" assicurati di aver installato Ruby e la libreria\n"
1377+" libglade2-ruby."
1378
1379 #: src/gladex/plugins/ruby/ruby.py:146
1380 msgid "callbacks file must end in .rb"
1381-msgstr ""
1382+msgstr "Il file dei callbacks deve avere estensione .rb"
1383
1384 #: src/gladex/plugins/ruby/ruby.py:149
1385 msgid "Ruby file must end in .rb"
1386-msgstr ""
1387+msgstr "Il file Ruby deve avere estensione .rb"
1388+
1389
1390=== removed directory 'src'
1391=== removed file 'src/gladex.bin'
1392--- src/gladex.bin 2009-02-11 15:12:16 +0000
1393+++ src/gladex.bin 1970-01-01 00:00:00 +0000
1394@@ -1,31 +0,0 @@
1395-#!/usr/bin/env python
1396-
1397-# This program is free software; you can redistribute it and/or modify
1398-# it under the terms of the GNU General Public License as published by
1399-# the Free Software Foundation; either version 2 of the License, or
1400-# (at your option) any later version.
1401-#
1402-# This program is distributed in the hope that it will be useful,
1403-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1404-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1405-# GNU General Public License for more details.
1406-#
1407-# You should have received a copy of the GNU General Public License
1408-# along with this program; if not, write to the Free Software
1409-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1410-
1411-import gettext
1412-import sys
1413-import locale
1414-from gladex.gladex import main
1415-
1416-#----------------------------------------------------------------------
1417-
1418-if __name__ == '__main__':
1419- # i18n init
1420- gettext.textdomain("gladex")
1421- application = 'gladex'
1422- gettext.install(application)
1423-
1424- main(sys.argv)
1425-
1426
1427=== removed file 'src/gladex.sh'
1428--- src/gladex.sh 2008-02-23 15:30:50 +0000
1429+++ src/gladex.sh 1970-01-01 00:00:00 +0000
1430@@ -1,4 +0,0 @@
1431-#!/bin/sh
1432-
1433-python ./gladex
1434-
1435
1436=== removed file 'src/gladex/plugins/perl/perl.glade.h'
1437--- src/gladex/plugins/perl/perl.glade.h 2009-02-11 15:12:16 +0000
1438+++ src/gladex/plugins/perl/perl.glade.h 1970-01-01 00:00:00 +0000
1439@@ -1,4 +0,0 @@
1440-char *s = N_("Callbacks File Name:");
1441-char *s = N_("Choose Style:");
1442-char *s = N_("File Name:");
1443-char *s = N_("Indentation Type:");
1444
1445=== removed file 'src/gladex/plugins/python/python.glade.h'
1446--- src/gladex/plugins/python/python.glade.h 2009-02-11 15:12:16 +0000
1447+++ src/gladex/plugins/python/python.glade.h 1970-01-01 00:00:00 +0000
1448@@ -1,5 +0,0 @@
1449-char *s = N_("Callbacks File Name:");
1450-char *s = N_("Choose Style:");
1451-char *s = N_("Class Name:");
1452-char *s = N_("File Name:");
1453-char *s = N_("Indentation Type:");
1454
1455=== removed file 'src/gladex/plugins/ruby/ruby.glade.h'
1456--- src/gladex/plugins/ruby/ruby.glade.h 2009-02-11 15:12:16 +0000
1457+++ src/gladex/plugins/ruby/ruby.glade.h 1970-01-01 00:00:00 +0000
1458@@ -1,5 +0,0 @@
1459-char *s = N_("Application Name:");
1460-char *s = N_("Callbacks File Name:");
1461-char *s = N_("Class Name:");
1462-char *s = N_("File Name:");
1463-char *s = N_("Indentation Type:");
1464
1465=== removed file 'src/gladex/resources.in'
1466--- src/gladex/resources.in 2008-02-26 16:02:23 +0000
1467+++ src/gladex/resources.in 1970-01-01 00:00:00 +0000
1468@@ -1,5 +0,0 @@
1469-@prefix@/share/pixmaps/
1470-@prefix@/share/application/
1471-@prefix@/share/gladex/
1472-@prefix@/share/doc/gladex/
1473-@prefix@/share/doc/gladex/examples/
1474
1475=== removed directory 'test'
1476=== removed file 'test/TestPluginManager.py'
1477--- test/TestPluginManager.py 2008-02-27 21:35:42 +0000
1478+++ test/TestPluginManager.py 1970-01-01 00:00:00 +0000
1479@@ -1,37 +0,0 @@
1480-# This program is free software; you can redistribute it and/or modify
1481-# it under the terms of the GNU General Public License as published by
1482-# the Free Software Foundation; either version 2 of the License, or
1483-# (at your option) any later version.
1484-#
1485-# This program is distributed in the hope that it will be useful,
1486-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1487-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1488-# GNU General Public License for more details.
1489-#
1490-# You should have received a copy of the GNU General Public License
1491-# along with this program; if not, write to the Free Software
1492-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1493-
1494-# Authors :
1495-# Ouattara Oumar Aziz ( alias wattazoum ) <wattazoum at gmail dot com>
1496-
1497-import unittest
1498-import gladex
1499-from gladex.plugins import PluginManager
1500-
1501-class TestConfigManager(unittest.TestCase):
1502- """
1503- """
1504-
1505- def setUp(self):
1506- self.pm = PluginManager();
1507-
1508- def testGetPlugins(self):
1509- " Get the plugin list "
1510- plugins = self.pm.getPlugins()
1511- i = 0
1512- for k, v in plugins.items():
1513- print k, v
1514- i=i+1
1515- self.assertEquals(i,3)
1516-
1517\ No newline at end of file

Subscribers

People subscribed via source and target branches