diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-08-08 12:23:18 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-08-08 12:23:18 +0000 |
commit | 2546dce5d056e496e004d6d615d6757435e95353 (patch) | |
tree | 15ade5723728d89c3edad77fe9b8797b1034e0e9 | |
parent | 3f13cc72525740f91d932110d290456d9af3e22c (diff) | |
download | gnunet-gtk-2546dce5d056e496e004d6d615d6757435e95353.tar.gz gnunet-gtk-2546dce5d056e496e004d6d615d6757435e95353.zip |
-first rough cut for identity-gtk
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | contrib/Makefile.am | 1 | ||||
-rw-r--r-- | contrib/Makefile.in | 810 | ||||
-rw-r--r-- | contrib/gnunet_identity_gtk_about_window.glade.in | 360 | ||||
-rw-r--r-- | contrib/gnunet_identity_gtk_main_window.glade | 4 | ||||
-rw-r--r-- | src/identity/Makefile.am | 22 | ||||
-rw-r--r-- | src/identity/gnunet-identity-gtk.c | 269 | ||||
-rw-r--r-- | src/identity/gnunet-identity-gtk_about.c | 41 | ||||
-rw-r--r-- | src/lib/about.c | 5 | ||||
-rw-r--r-- | src/peerinfo/gnunet-peerinfo-gtk-about.c | 2 |
10 files changed, 1511 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 45568236..7ef573e3 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -511,6 +511,7 @@ src/include/Makefile | |||
511 | src/lib/Makefile | 511 | src/lib/Makefile |
512 | src/fs/Makefile | 512 | src/fs/Makefile |
513 | src/fs/gnunet-fs-gtk.conf | 513 | src/fs/gnunet-fs-gtk.conf |
514 | src/identity/Makefile | ||
514 | src/peerinfo/Makefile | 515 | src/peerinfo/Makefile |
515 | src/setup/Makefile | 516 | src/setup/Makefile |
516 | src/statistics/Makefile | 517 | src/statistics/Makefile |
@@ -520,6 +521,7 @@ po/Makefile | |||
520 | gnunet-fs-gtk.desktop | 521 | gnunet-fs-gtk.desktop |
521 | gnunet-setup.desktop | 522 | gnunet-setup.desktop |
522 | contrib/gnunet_fs_gtk_about_window.glade | 523 | contrib/gnunet_fs_gtk_about_window.glade |
524 | contrib/gnunet_identity_gtk_about_window.glade | ||
523 | contrib/gnunet_peerinfo_gtk_about_window.glade | 525 | contrib/gnunet_peerinfo_gtk_about_window.glade |
524 | contrib/gnunet_statistics_gtk_about_window.glade | 526 | contrib/gnunet_statistics_gtk_about_window.glade |
525 | contrib/gnunet_setup_about_window.glade | 527 | contrib/gnunet_setup_about_window.glade |
diff --git a/contrib/Makefile.am b/contrib/Makefile.am index b5571d1d..a720526e 100644 --- a/contrib/Makefile.am +++ b/contrib/Makefile.am | |||
@@ -41,6 +41,7 @@ pkgdata_DATA = \ | |||
41 | gnunet_fs_gtk_unindex.glade \ | 41 | gnunet_fs_gtk_unindex.glade \ |
42 | gnunet_fs_gtk_progress_dialog.glade \ | 42 | gnunet_fs_gtk_progress_dialog.glade \ |
43 | gnunet_gtk_status_bar_menu.glade \ | 43 | gnunet_gtk_status_bar_menu.glade \ |
44 | gnunet_identity_gtk_about_window.glade \ | ||
44 | gnunet_identity_gtk_advertise_dialog.glade \ | 45 | gnunet_identity_gtk_advertise_dialog.glade \ |
45 | gnunet_identity_gtk_main_window.glade \ | 46 | gnunet_identity_gtk_main_window.glade \ |
46 | gnunet_peerinfo_gtk_about_window.glade \ | 47 | gnunet_peerinfo_gtk_about_window.glade \ |
diff --git a/contrib/Makefile.in b/contrib/Makefile.in new file mode 100644 index 00000000..f141ba82 --- /dev/null +++ b/contrib/Makefile.in | |||
@@ -0,0 +1,810 @@ | |||
1 | # Makefile.in generated by automake 1.11.6 from Makefile.am. | ||
2 | # @configure_input@ | ||
3 | |||
4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | ||
5 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software | ||
6 | # Foundation, Inc. | ||
7 | # This Makefile.in is free software; the Free Software Foundation | ||
8 | # gives unlimited permission to copy and/or distribute it, | ||
9 | # with or without modifications, as long as this notice is preserved. | ||
10 | |||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
13 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
14 | # PARTICULAR PURPOSE. | ||
15 | |||
16 | @SET_MAKE@ | ||
17 | |||
18 | # Process this file with automake to produce Makefile.in | ||
19 | |||
20 | VPATH = @srcdir@ | ||
21 | am__make_dryrun = \ | ||
22 | { \ | ||
23 | am__dry=no; \ | ||
24 | case $$MAKEFLAGS in \ | ||
25 | *\\[\ \ ]*) \ | ||
26 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | ||
27 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | ||
28 | *) \ | ||
29 | for am__flg in $$MAKEFLAGS; do \ | ||
30 | case $$am__flg in \ | ||
31 | *=*|--*) ;; \ | ||
32 | *n*) am__dry=yes; break;; \ | ||
33 | esac; \ | ||
34 | done;; \ | ||
35 | esac; \ | ||
36 | test $$am__dry = yes; \ | ||
37 | } | ||
38 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
39 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
40 | pkglibdir = $(libdir)/@PACKAGE@ | ||
41 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
42 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
43 | install_sh_DATA = $(install_sh) -c -m 644 | ||
44 | install_sh_PROGRAM = $(install_sh) -c | ||
45 | install_sh_SCRIPT = $(install_sh) -c | ||
46 | INSTALL_HEADER = $(INSTALL_DATA) | ||
47 | transform = $(program_transform_name) | ||
48 | NORMAL_INSTALL = : | ||
49 | PRE_INSTALL = : | ||
50 | POST_INSTALL = : | ||
51 | NORMAL_UNINSTALL = : | ||
52 | PRE_UNINSTALL = : | ||
53 | POST_UNINSTALL = : | ||
54 | build_triplet = @build@ | ||
55 | host_triplet = @host@ | ||
56 | subdir = contrib | ||
57 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ | ||
58 | $(srcdir)/gnunet_fs_gtk_about_window.glade.in \ | ||
59 | $(srcdir)/gnunet_identity_gtk_about_window.glade.in \ | ||
60 | $(srcdir)/gnunet_peerinfo_gtk_about_window.glade.in \ | ||
61 | $(srcdir)/gnunet_setup_about_window.glade.in \ | ||
62 | $(srcdir)/gnunet_statistics_gtk_about_window.glade.in | ||
63 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
64 | am__aclocal_m4_deps = $(top_srcdir)/m4/ac_define_dir.m4 \ | ||
65 | $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gtk-2.0.m4 \ | ||
66 | $(top_srcdir)/m4/gtk-3.0.m4 $(top_srcdir)/m4/iconv.m4 \ | ||
67 | $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ | ||
68 | $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ | ||
69 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ | ||
70 | $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ | ||
71 | $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ | ||
72 | $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/po.m4 \ | ||
73 | $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac | ||
74 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
75 | $(ACLOCAL_M4) | ||
76 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs | ||
77 | CONFIG_HEADER = $(top_builddir)/gnunet_gtk_config.h | ||
78 | CONFIG_CLEAN_FILES = gnunet_fs_gtk_about_window.glade \ | ||
79 | gnunet_identity_gtk_about_window.glade \ | ||
80 | gnunet_peerinfo_gtk_about_window.glade \ | ||
81 | gnunet_statistics_gtk_about_window.glade \ | ||
82 | gnunet_setup_about_window.glade | ||
83 | CONFIG_CLEAN_VPATH_FILES = | ||
84 | AM_V_GEN = $(am__v_GEN_@AM_V@) | ||
85 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | ||
86 | am__v_GEN_0 = @echo " GEN " $@; | ||
87 | AM_V_at = $(am__v_at_@AM_V@) | ||
88 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | ||
89 | am__v_at_0 = @ | ||
90 | SOURCES = | ||
91 | DIST_SOURCES = | ||
92 | RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ | ||
93 | html-recursive info-recursive install-data-recursive \ | ||
94 | install-dvi-recursive install-exec-recursive \ | ||
95 | install-html-recursive install-info-recursive \ | ||
96 | install-pdf-recursive install-ps-recursive install-recursive \ | ||
97 | installcheck-recursive installdirs-recursive pdf-recursive \ | ||
98 | ps-recursive uninstall-recursive | ||
99 | am__can_run_installinfo = \ | ||
100 | case $$AM_UPDATE_INFO_DIR in \ | ||
101 | n|no|NO) false;; \ | ||
102 | *) (install-info --version) >/dev/null 2>&1;; \ | ||
103 | esac | ||
104 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | ||
105 | am__vpath_adj = case $$p in \ | ||
106 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | ||
107 | *) f=$$p;; \ | ||
108 | esac; | ||
109 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | ||
110 | am__install_max = 40 | ||
111 | am__nobase_strip_setup = \ | ||
112 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | ||
113 | am__nobase_strip = \ | ||
114 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | ||
115 | am__nobase_list = $(am__nobase_strip_setup); \ | ||
116 | for p in $$list; do echo "$$p $$p"; done | \ | ||
117 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | ||
118 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | ||
119 | if (++n[$$2] == $(am__install_max)) \ | ||
120 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | ||
121 | END { for (dir in files) print dir, files[dir] }' | ||
122 | am__base_list = \ | ||
123 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | ||
124 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | ||
125 | am__uninstall_files_from_dir = { \ | ||
126 | test -z "$$files" \ | ||
127 | || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ | ||
128 | || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ | ||
129 | $(am__cd) "$$dir" && rm -f $$files; }; \ | ||
130 | } | ||
131 | am__installdirs = "$(DESTDIR)$(pkgdatadir)" | ||
132 | DATA = $(pkgdata_DATA) | ||
133 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ | ||
134 | distclean-recursive maintainer-clean-recursive | ||
135 | AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ | ||
136 | $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ | ||
137 | distdir | ||
138 | ETAGS = etags | ||
139 | CTAGS = ctags | ||
140 | DIST_SUBDIRS = $(SUBDIRS) | ||
141 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
142 | am__relativize = \ | ||
143 | dir0=`pwd`; \ | ||
144 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ | ||
145 | sed_rest='s,^[^/]*/*,,'; \ | ||
146 | sed_last='s,^.*/\([^/]*\)$$,\1,'; \ | ||
147 | sed_butlast='s,/*[^/]*$$,,'; \ | ||
148 | while test -n "$$dir1"; do \ | ||
149 | first=`echo "$$dir1" | sed -e "$$sed_first"`; \ | ||
150 | if test "$$first" != "."; then \ | ||
151 | if test "$$first" = ".."; then \ | ||
152 | dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ | ||
153 | dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ | ||
154 | else \ | ||
155 | first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ | ||
156 | if test "$$first2" = "$$first"; then \ | ||
157 | dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ | ||
158 | else \ | ||
159 | dir2="../$$dir2"; \ | ||
160 | fi; \ | ||
161 | dir0="$$dir0"/"$$first"; \ | ||
162 | fi; \ | ||
163 | fi; \ | ||
164 | dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ | ||
165 | done; \ | ||
166 | reldir="$$dir2" | ||
167 | ACLOCAL = @ACLOCAL@ | ||
168 | AMTAR = @AMTAR@ | ||
169 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
170 | AR = @AR@ | ||
171 | AS = @AS@ | ||
172 | AUTOCONF = @AUTOCONF@ | ||
173 | AUTOHEADER = @AUTOHEADER@ | ||
174 | AUTOMAKE = @AUTOMAKE@ | ||
175 | AWK = @AWK@ | ||
176 | CC = @CC@ | ||
177 | CCDEPMODE = @CCDEPMODE@ | ||
178 | CFLAGS = @CFLAGS@ | ||
179 | CPP = @CPP@ | ||
180 | CPPFLAGS = @CPPFLAGS@ | ||
181 | CYGPATH_W = @CYGPATH_W@ | ||
182 | DEFS = @DEFS@ | ||
183 | DEPDIR = @DEPDIR@ | ||
184 | DLLTOOL = @DLLTOOL@ | ||
185 | DSYMUTIL = @DSYMUTIL@ | ||
186 | DUMPBIN = @DUMPBIN@ | ||
187 | ECHO_C = @ECHO_C@ | ||
188 | ECHO_N = @ECHO_N@ | ||
189 | ECHO_T = @ECHO_T@ | ||
190 | EGREP = @EGREP@ | ||
191 | ENABLE_ON_UNIX = @ENABLE_ON_UNIX@ | ||
192 | ENABLE_ON_W32 = @ENABLE_ON_W32@ | ||
193 | EXEEXT = @EXEEXT@ | ||
194 | FGREP = @FGREP@ | ||
195 | GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ | ||
196 | GLADE_CFLAGS = @GLADE_CFLAGS@ | ||
197 | GLADE_LIBS = @GLADE_LIBS@ | ||
198 | GMSGFMT = @GMSGFMT@ | ||
199 | GMSGFMT_015 = @GMSGFMT_015@ | ||
200 | GNUNET_CFLAGS = @GNUNET_CFLAGS@ | ||
201 | GNUNET_FS_APP = @GNUNET_FS_APP@ | ||
202 | GNUNET_FS_GTK_NAME = @GNUNET_FS_GTK_NAME@ | ||
203 | GNUNET_FS_GTK_VERSION3 = @GNUNET_FS_GTK_VERSION3@ | ||
204 | GNUNET_FS_GTK_YEARFROM = @GNUNET_FS_GTK_YEARFROM@ | ||
205 | GNUNET_FS_GTK_YEARTO = @GNUNET_FS_GTK_YEARTO@ | ||
206 | GNUNET_GNS_GTK_NAME = @GNUNET_GNS_GTK_NAME@ | ||
207 | GNUNET_LIBS = @GNUNET_LIBS@ | ||
208 | GNUNET_PEERINFO_APP = @GNUNET_PEERINFO_APP@ | ||
209 | GNUNET_PEERINFO_GTK_NAME = @GNUNET_PEERINFO_GTK_NAME@ | ||
210 | GNUNET_PEERINFO_GTK_VERSION3 = @GNUNET_PEERINFO_GTK_VERSION3@ | ||
211 | GNUNET_PEERINFO_GTK_YEARFROM = @GNUNET_PEERINFO_GTK_YEARFROM@ | ||
212 | GNUNET_PEERINFO_GTK_YEARTO = @GNUNET_PEERINFO_GTK_YEARTO@ | ||
213 | GNUNET_SETUP_APP = @GNUNET_SETUP_APP@ | ||
214 | GNUNET_SETUP_GTK_NAME = @GNUNET_SETUP_GTK_NAME@ | ||
215 | GNUNET_SETUP_GTK_VERSION3 = @GNUNET_SETUP_GTK_VERSION3@ | ||
216 | GNUNET_SETUP_GTK_YEARFROM = @GNUNET_SETUP_GTK_YEARFROM@ | ||
217 | GNUNET_SETUP_GTK_YEARTO = @GNUNET_SETUP_GTK_YEARTO@ | ||
218 | GNUNET_STATISTICS_GTK_NAME = @GNUNET_STATISTICS_GTK_NAME@ | ||
219 | GNUNET_STATISTICS_GTK_VERSION3 = @GNUNET_STATISTICS_GTK_VERSION3@ | ||
220 | GNUNET_STATISTICS_GTK_YEARFROM = @GNUNET_STATISTICS_GTK_YEARFROM@ | ||
221 | GNUNET_STATISTICS_GTK_YEARTO = @GNUNET_STATISTICS_GTK_YEARTO@ | ||
222 | GN_LIB_LDFLAGS = @GN_LIB_LDFLAGS@ | ||
223 | GREP = @GREP@ | ||
224 | GTK_CFLAGS = @GTK_CFLAGS@ | ||
225 | GTK_LIBS = @GTK_LIBS@ | ||
226 | INSTALL = @INSTALL@ | ||
227 | INSTALL_DATA = @INSTALL_DATA@ | ||
228 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
229 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
230 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
231 | INTLLIBS = @INTLLIBS@ | ||
232 | INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ | ||
233 | LD = @LD@ | ||
234 | LDFLAGS = @LDFLAGS@ | ||
235 | LIBICONV = @LIBICONV@ | ||
236 | LIBINTL = @LIBINTL@ | ||
237 | LIBOBJS = @LIBOBJS@ | ||
238 | LIBS = @LIBS@ | ||
239 | LIBTOOL = @LIBTOOL@ | ||
240 | LIPO = @LIPO@ | ||
241 | LN_S = @LN_S@ | ||
242 | LTLIBICONV = @LTLIBICONV@ | ||
243 | LTLIBINTL = @LTLIBINTL@ | ||
244 | LTLIBOBJS = @LTLIBOBJS@ | ||
245 | MAKEINFO = @MAKEINFO@ | ||
246 | MANIFEST_TOOL = @MANIFEST_TOOL@ | ||
247 | MKDIR_P = @MKDIR_P@ | ||
248 | MSGFMT = @MSGFMT@ | ||
249 | MSGFMT_015 = @MSGFMT_015@ | ||
250 | MSGMERGE = @MSGMERGE@ | ||
251 | NM = @NM@ | ||
252 | NMEDIT = @NMEDIT@ | ||
253 | OBJDUMP = @OBJDUMP@ | ||
254 | OBJEXT = @OBJEXT@ | ||
255 | OTOOL = @OTOOL@ | ||
256 | OTOOL64 = @OTOOL64@ | ||
257 | PACKAGE = @PACKAGE@ | ||
258 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
259 | PACKAGE_DATA = @PACKAGE_DATA@ | ||
260 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
261 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
262 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
263 | PACKAGE_URL = @PACKAGE_URL@ | ||
264 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
265 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
266 | PKG_CONFIG = @PKG_CONFIG@ | ||
267 | POSUB = @POSUB@ | ||
268 | QR_CFLAGS = @QR_CFLAGS@ | ||
269 | QR_LIBS = @QR_LIBS@ | ||
270 | RANLIB = @RANLIB@ | ||
271 | SED = @SED@ | ||
272 | SET_MAKE = @SET_MAKE@ | ||
273 | SHELL = @SHELL@ | ||
274 | STRIP = @STRIP@ | ||
275 | USE_NLS = @USE_NLS@ | ||
276 | VERSION = @VERSION@ | ||
277 | XGETTEXT = @XGETTEXT@ | ||
278 | XGETTEXT_015 = @XGETTEXT_015@ | ||
279 | XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ | ||
280 | abs_builddir = @abs_builddir@ | ||
281 | abs_srcdir = @abs_srcdir@ | ||
282 | abs_top_builddir = @abs_top_builddir@ | ||
283 | abs_top_srcdir = @abs_top_srcdir@ | ||
284 | ac_ct_AR = @ac_ct_AR@ | ||
285 | ac_ct_CC = @ac_ct_CC@ | ||
286 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
287 | am__include = @am__include@ | ||
288 | am__leading_dot = @am__leading_dot@ | ||
289 | am__quote = @am__quote@ | ||
290 | am__tar = @am__tar@ | ||
291 | am__untar = @am__untar@ | ||
292 | bindir = @bindir@ | ||
293 | build = @build@ | ||
294 | build_alias = @build_alias@ | ||
295 | build_cpu = @build_cpu@ | ||
296 | build_os = @build_os@ | ||
297 | build_vendor = @build_vendor@ | ||
298 | builddir = @builddir@ | ||
299 | datadir = @datadir@ | ||
300 | datarootdir = @datarootdir@ | ||
301 | docdir = @docdir@ | ||
302 | dvidir = @dvidir@ | ||
303 | exec_prefix = @exec_prefix@ | ||
304 | host = @host@ | ||
305 | host_alias = @host_alias@ | ||
306 | host_cpu = @host_cpu@ | ||
307 | host_os = @host_os@ | ||
308 | host_vendor = @host_vendor@ | ||
309 | htmldir = @htmldir@ | ||
310 | includedir = @includedir@ | ||
311 | infodir = @infodir@ | ||
312 | install_sh = @install_sh@ | ||
313 | libdir = @libdir@ | ||
314 | libexecdir = @libexecdir@ | ||
315 | localedir = @localedir@ | ||
316 | localstatedir = @localstatedir@ | ||
317 | mandir = @mandir@ | ||
318 | mkdir_p = @mkdir_p@ | ||
319 | oldincludedir = @oldincludedir@ | ||
320 | pdfdir = @pdfdir@ | ||
321 | prefix = @prefix@ | ||
322 | program_transform_name = @program_transform_name@ | ||
323 | psdir = @psdir@ | ||
324 | sbindir = @sbindir@ | ||
325 | sharedstatedir = @sharedstatedir@ | ||
326 | srcdir = @srcdir@ | ||
327 | sysconfdir = @sysconfdir@ | ||
328 | target_alias = @target_alias@ | ||
329 | top_build_prefix = @top_build_prefix@ | ||
330 | top_builddir = @top_builddir@ | ||
331 | top_srcdir = @top_srcdir@ | ||
332 | unique_CFLAGS = @unique_CFLAGS@ | ||
333 | unique_LIBS = @unique_LIBS@ | ||
334 | SUBDIRS = . | ||
335 | pkgpixdir = $(pkgdatadir) | ||
336 | IMAGES = \ | ||
337 | gnunet-setup-oxygen-cancel.png \ | ||
338 | gnunet-setup-oxygen-ok.png | ||
339 | |||
340 | EXTRA_DIST = \ | ||
341 | gnunet-fs-gtk.protocol \ | ||
342 | gnunet-fs-gtk-gnome.sh \ | ||
343 | $(pkgdata_DATA) \ | ||
344 | $(IMAGES) | ||
345 | |||
346 | pkgdata_DATA = \ | ||
347 | $(IMAGES) \ | ||
348 | qr_dummy.png \ | ||
349 | downloading.gif \ | ||
350 | downloading_not_receiving.gif \ | ||
351 | downloaded.gif \ | ||
352 | error.gif \ | ||
353 | found_source.gif \ | ||
354 | published.gif \ | ||
355 | publishing.gif \ | ||
356 | red.png \ | ||
357 | green.png \ | ||
358 | searching_sources.gif \ | ||
359 | gnunet_fs_gtk_about_window.glade \ | ||
360 | gnunet_fs_gtk_download_as_dialog.glade \ | ||
361 | gnunet_fs_gtk_main_window.glade \ | ||
362 | gnunet_fs_gtk_edit_publication.glade \ | ||
363 | gnunet_fs_gtk_open_directory_dialog.glade \ | ||
364 | gnunet_fs_gtk_open_url_dialog.glade \ | ||
365 | gnunet_fs_gtk_publish_dialog.glade \ | ||
366 | gnunet_fs_gtk_publish_directory_dialog.glade \ | ||
367 | gnunet_fs_gtk_publish_file_dialog.glade \ | ||
368 | gnunet_fs_gtk_publish_tab.glade \ | ||
369 | gnunet_fs_gtk_search_tab.glade \ | ||
370 | gnunet_fs_gtk_unindex.glade \ | ||
371 | gnunet_fs_gtk_progress_dialog.glade \ | ||
372 | gnunet_gtk_status_bar_menu.glade \ | ||
373 | gnunet_identity_gtk_about_window.glade \ | ||
374 | gnunet_identity_gtk_advertise_dialog.glade \ | ||
375 | gnunet_identity_gtk_main_window.glade \ | ||
376 | gnunet_peerinfo_gtk_about_window.glade \ | ||
377 | gnunet_peerinfo_gtk_main_window.glade \ | ||
378 | gnunet_statistics_gtk_about_window.glade \ | ||
379 | gnunet_statistics_gtk_main_window.glade \ | ||
380 | gnunet_setup_calendar_dialog.glade \ | ||
381 | gnunet_setup_qr_save_as_dialog.glade \ | ||
382 | gnunet_setup_gtk_main_window.glade \ | ||
383 | gnunet_setup_gns_edit_a.glade \ | ||
384 | gnunet_setup_gns_edit_ns.glade \ | ||
385 | gnunet_setup_gns_edit_cname.glade \ | ||
386 | gnunet_setup_gns_edit_soa.glade \ | ||
387 | gnunet_setup_gns_edit_ptr.glade \ | ||
388 | gnunet_setup_gns_edit_mx.glade \ | ||
389 | gnunet_setup_gns_edit_txt.glade \ | ||
390 | gnunet_setup_gns_edit_aaaa.glade \ | ||
391 | gnunet_setup_gns_edit_pkey.glade \ | ||
392 | gnunet_setup_gns_edit_leho.glade \ | ||
393 | gnunet_setup_gns_edit_srv.glade \ | ||
394 | gnunet_setup_gns_edit_vpn.glade | ||
395 | |||
396 | all: all-recursive | ||
397 | |||
398 | .SUFFIXES: | ||
399 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
400 | @for dep in $?; do \ | ||
401 | case '$(am__configure_deps)' in \ | ||
402 | *$$dep*) \ | ||
403 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
404 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
405 | exit 1;; \ | ||
406 | esac; \ | ||
407 | done; \ | ||
408 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu contrib/Makefile'; \ | ||
409 | $(am__cd) $(top_srcdir) && \ | ||
410 | $(AUTOMAKE) --gnu contrib/Makefile | ||
411 | .PRECIOUS: Makefile | ||
412 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
413 | @case '$?' in \ | ||
414 | *config.status*) \ | ||
415 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
416 | *) \ | ||
417 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
418 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
419 | esac; | ||
420 | |||
421 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
422 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
423 | |||
424 | $(top_srcdir)/configure: $(am__configure_deps) | ||
425 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
426 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
427 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
428 | $(am__aclocal_m4_deps): | ||
429 | gnunet_fs_gtk_about_window.glade: $(top_builddir)/config.status $(srcdir)/gnunet_fs_gtk_about_window.glade.in | ||
430 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ | ||
431 | gnunet_identity_gtk_about_window.glade: $(top_builddir)/config.status $(srcdir)/gnunet_identity_gtk_about_window.glade.in | ||
432 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ | ||
433 | gnunet_peerinfo_gtk_about_window.glade: $(top_builddir)/config.status $(srcdir)/gnunet_peerinfo_gtk_about_window.glade.in | ||
434 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ | ||
435 | gnunet_statistics_gtk_about_window.glade: $(top_builddir)/config.status $(srcdir)/gnunet_statistics_gtk_about_window.glade.in | ||
436 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ | ||
437 | gnunet_setup_about_window.glade: $(top_builddir)/config.status $(srcdir)/gnunet_setup_about_window.glade.in | ||
438 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ | ||
439 | |||
440 | mostlyclean-libtool: | ||
441 | -rm -f *.lo | ||
442 | |||
443 | clean-libtool: | ||
444 | -rm -rf .libs _libs | ||
445 | install-pkgdataDATA: $(pkgdata_DATA) | ||
446 | @$(NORMAL_INSTALL) | ||
447 | @list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \ | ||
448 | if test -n "$$list"; then \ | ||
449 | echo " $(MKDIR_P) '$(DESTDIR)$(pkgdatadir)'"; \ | ||
450 | $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" || exit 1; \ | ||
451 | fi; \ | ||
452 | for p in $$list; do \ | ||
453 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | ||
454 | echo "$$d$$p"; \ | ||
455 | done | $(am__base_list) | \ | ||
456 | while read files; do \ | ||
457 | echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgdatadir)'"; \ | ||
458 | $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgdatadir)" || exit $$?; \ | ||
459 | done | ||
460 | |||
461 | uninstall-pkgdataDATA: | ||
462 | @$(NORMAL_UNINSTALL) | ||
463 | @list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \ | ||
464 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | ||
465 | dir='$(DESTDIR)$(pkgdatadir)'; $(am__uninstall_files_from_dir) | ||
466 | |||
467 | # This directory's subdirectories are mostly independent; you can cd | ||
468 | # into them and run `make' without going through this Makefile. | ||
469 | # To change the values of `make' variables: instead of editing Makefiles, | ||
470 | # (1) if the variable is set in `config.status', edit `config.status' | ||
471 | # (which will cause the Makefiles to be regenerated when you run `make'); | ||
472 | # (2) otherwise, pass the desired values on the `make' command line. | ||
473 | $(RECURSIVE_TARGETS): | ||
474 | @fail= failcom='exit 1'; \ | ||
475 | for f in x $$MAKEFLAGS; do \ | ||
476 | case $$f in \ | ||
477 | *=* | --[!k]*);; \ | ||
478 | *k*) failcom='fail=yes';; \ | ||
479 | esac; \ | ||
480 | done; \ | ||
481 | dot_seen=no; \ | ||
482 | target=`echo $@ | sed s/-recursive//`; \ | ||
483 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
484 | echo "Making $$target in $$subdir"; \ | ||
485 | if test "$$subdir" = "."; then \ | ||
486 | dot_seen=yes; \ | ||
487 | local_target="$$target-am"; \ | ||
488 | else \ | ||
489 | local_target="$$target"; \ | ||
490 | fi; \ | ||
491 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | ||
492 | || eval $$failcom; \ | ||
493 | done; \ | ||
494 | if test "$$dot_seen" = "no"; then \ | ||
495 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ | ||
496 | fi; test -z "$$fail" | ||
497 | |||
498 | $(RECURSIVE_CLEAN_TARGETS): | ||
499 | @fail= failcom='exit 1'; \ | ||
500 | for f in x $$MAKEFLAGS; do \ | ||
501 | case $$f in \ | ||
502 | *=* | --[!k]*);; \ | ||
503 | *k*) failcom='fail=yes';; \ | ||
504 | esac; \ | ||
505 | done; \ | ||
506 | dot_seen=no; \ | ||
507 | case "$@" in \ | ||
508 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | ||
509 | *) list='$(SUBDIRS)' ;; \ | ||
510 | esac; \ | ||
511 | rev=''; for subdir in $$list; do \ | ||
512 | if test "$$subdir" = "."; then :; else \ | ||
513 | rev="$$subdir $$rev"; \ | ||
514 | fi; \ | ||
515 | done; \ | ||
516 | rev="$$rev ."; \ | ||
517 | target=`echo $@ | sed s/-recursive//`; \ | ||
518 | for subdir in $$rev; do \ | ||
519 | echo "Making $$target in $$subdir"; \ | ||
520 | if test "$$subdir" = "."; then \ | ||
521 | local_target="$$target-am"; \ | ||
522 | else \ | ||
523 | local_target="$$target"; \ | ||
524 | fi; \ | ||
525 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | ||
526 | || eval $$failcom; \ | ||
527 | done && test -z "$$fail" | ||
528 | tags-recursive: | ||
529 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
530 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ | ||
531 | done | ||
532 | ctags-recursive: | ||
533 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
534 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ | ||
535 | done | ||
536 | |||
537 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
538 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
539 | unique=`for i in $$list; do \ | ||
540 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
541 | done | \ | ||
542 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
543 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
544 | mkid -fID $$unique | ||
545 | tags: TAGS | ||
546 | |||
547 | TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
548 | $(TAGS_FILES) $(LISP) | ||
549 | set x; \ | ||
550 | here=`pwd`; \ | ||
551 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ | ||
552 | include_option=--etags-include; \ | ||
553 | empty_fix=.; \ | ||
554 | else \ | ||
555 | include_option=--include; \ | ||
556 | empty_fix=; \ | ||
557 | fi; \ | ||
558 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
559 | if test "$$subdir" = .; then :; else \ | ||
560 | test ! -f $$subdir/TAGS || \ | ||
561 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ | ||
562 | fi; \ | ||
563 | done; \ | ||
564 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
565 | unique=`for i in $$list; do \ | ||
566 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
567 | done | \ | ||
568 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
569 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
570 | shift; \ | ||
571 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
572 | test -n "$$unique" || unique=$$empty_fix; \ | ||
573 | if test $$# -gt 0; then \ | ||
574 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
575 | "$$@" $$unique; \ | ||
576 | else \ | ||
577 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
578 | $$unique; \ | ||
579 | fi; \ | ||
580 | fi | ||
581 | ctags: CTAGS | ||
582 | CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
583 | $(TAGS_FILES) $(LISP) | ||
584 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
585 | unique=`for i in $$list; do \ | ||
586 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
587 | done | \ | ||
588 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
589 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
590 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
591 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
592 | $$unique | ||
593 | |||
594 | GTAGS: | ||
595 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
596 | && $(am__cd) $(top_srcdir) \ | ||
597 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
598 | |||
599 | distclean-tags: | ||
600 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
601 | |||
602 | distdir: $(DISTFILES) | ||
603 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
604 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
605 | list='$(DISTFILES)'; \ | ||
606 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
607 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
608 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
609 | case $$dist_files in \ | ||
610 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
611 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
612 | sort -u` ;; \ | ||
613 | esac; \ | ||
614 | for file in $$dist_files; do \ | ||
615 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
616 | if test -d $$d/$$file; then \ | ||
617 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
618 | if test -d "$(distdir)/$$file"; then \ | ||
619 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
620 | fi; \ | ||
621 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
622 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
623 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
624 | fi; \ | ||
625 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
626 | else \ | ||
627 | test -f "$(distdir)/$$file" \ | ||
628 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
629 | || exit 1; \ | ||
630 | fi; \ | ||
631 | done | ||
632 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | ||
633 | if test "$$subdir" = .; then :; else \ | ||
634 | $(am__make_dryrun) \ | ||
635 | || test -d "$(distdir)/$$subdir" \ | ||
636 | || $(MKDIR_P) "$(distdir)/$$subdir" \ | ||
637 | || exit 1; \ | ||
638 | dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ | ||
639 | $(am__relativize); \ | ||
640 | new_distdir=$$reldir; \ | ||
641 | dir1=$$subdir; dir2="$(top_distdir)"; \ | ||
642 | $(am__relativize); \ | ||
643 | new_top_distdir=$$reldir; \ | ||
644 | echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ | ||
645 | echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ | ||
646 | ($(am__cd) $$subdir && \ | ||
647 | $(MAKE) $(AM_MAKEFLAGS) \ | ||
648 | top_distdir="$$new_top_distdir" \ | ||
649 | distdir="$$new_distdir" \ | ||
650 | am__remove_distdir=: \ | ||
651 | am__skip_length_check=: \ | ||
652 | am__skip_mode_fix=: \ | ||
653 | distdir) \ | ||
654 | || exit 1; \ | ||
655 | fi; \ | ||
656 | done | ||
657 | $(MAKE) $(AM_MAKEFLAGS) \ | ||
658 | top_distdir="$(top_distdir)" distdir="$(distdir)" \ | ||
659 | dist-hook | ||
660 | check-am: all-am | ||
661 | check: check-recursive | ||
662 | all-am: Makefile $(DATA) | ||
663 | installdirs: installdirs-recursive | ||
664 | installdirs-am: | ||
665 | for dir in "$(DESTDIR)$(pkgdatadir)"; do \ | ||
666 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
667 | done | ||
668 | install: install-recursive | ||
669 | install-exec: install-exec-recursive | ||
670 | install-data: install-data-recursive | ||
671 | uninstall: uninstall-recursive | ||
672 | |||
673 | install-am: all-am | ||
674 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
675 | |||
676 | installcheck: installcheck-recursive | ||
677 | install-strip: | ||
678 | if test -z '$(STRIP)'; then \ | ||
679 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
680 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
681 | install; \ | ||
682 | else \ | ||
683 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
684 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
685 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | ||
686 | fi | ||
687 | mostlyclean-generic: | ||
688 | |||
689 | clean-generic: | ||
690 | |||
691 | distclean-generic: | ||
692 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
693 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
694 | |||
695 | maintainer-clean-generic: | ||
696 | @echo "This command is intended for maintainers to use" | ||
697 | @echo "it deletes files that may require special tools to rebuild." | ||
698 | clean: clean-recursive | ||
699 | |||
700 | clean-am: clean-generic clean-libtool mostlyclean-am | ||
701 | |||
702 | distclean: distclean-recursive | ||
703 | -rm -f Makefile | ||
704 | distclean-am: clean-am distclean-generic distclean-tags | ||
705 | |||
706 | dvi: dvi-recursive | ||
707 | |||
708 | dvi-am: | ||
709 | |||
710 | html: html-recursive | ||
711 | |||
712 | html-am: | ||
713 | |||
714 | info: info-recursive | ||
715 | |||
716 | info-am: | ||
717 | |||
718 | install-data-am: install-data-local install-pkgdataDATA | ||
719 | |||
720 | install-dvi: install-dvi-recursive | ||
721 | |||
722 | install-dvi-am: | ||
723 | |||
724 | install-exec-am: | ||
725 | |||
726 | install-html: install-html-recursive | ||
727 | |||
728 | install-html-am: | ||
729 | |||
730 | install-info: install-info-recursive | ||
731 | |||
732 | install-info-am: | ||
733 | |||
734 | install-man: | ||
735 | |||
736 | install-pdf: install-pdf-recursive | ||
737 | |||
738 | install-pdf-am: | ||
739 | |||
740 | install-ps: install-ps-recursive | ||
741 | |||
742 | install-ps-am: | ||
743 | |||
744 | installcheck-am: | ||
745 | |||
746 | maintainer-clean: maintainer-clean-recursive | ||
747 | -rm -f Makefile | ||
748 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
749 | |||
750 | mostlyclean: mostlyclean-recursive | ||
751 | |||
752 | mostlyclean-am: mostlyclean-generic mostlyclean-libtool | ||
753 | |||
754 | pdf: pdf-recursive | ||
755 | |||
756 | pdf-am: | ||
757 | |||
758 | ps: ps-recursive | ||
759 | |||
760 | ps-am: | ||
761 | |||
762 | uninstall-am: uninstall-pkgdataDATA | ||
763 | |||
764 | .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ | ||
765 | install-am install-strip tags-recursive | ||
766 | |||
767 | .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ | ||
768 | all all-am check check-am clean clean-generic clean-libtool \ | ||
769 | ctags ctags-recursive dist-hook distclean distclean-generic \ | ||
770 | distclean-libtool distclean-tags distdir dvi dvi-am html \ | ||
771 | html-am info info-am install install-am install-data \ | ||
772 | install-data-am install-data-local install-dvi install-dvi-am \ | ||
773 | install-exec install-exec-am install-html install-html-am \ | ||
774 | install-info install-info-am install-man install-pdf \ | ||
775 | install-pdf-am install-pkgdataDATA install-ps install-ps-am \ | ||
776 | install-strip installcheck installcheck-am installdirs \ | ||
777 | installdirs-am maintainer-clean maintainer-clean-generic \ | ||
778 | mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ | ||
779 | ps ps-am tags tags-recursive uninstall uninstall-am \ | ||
780 | uninstall-pkgdataDATA | ||
781 | |||
782 | |||
783 | install-data-local: | ||
784 | $(mkinstalldirs) $(DESTDIR)$(pkgpixdir) | ||
785 | $(mkinstalldirs) $(DESTDIR)$(pkgpixdir)/flags | ||
786 | @$(NORMAL_INSTALL) | ||
787 | for pixmap in $(IMAGES); do \ | ||
788 | if test -f $$pixmap; then \ | ||
789 | $(INSTALL_DATA) $$pixmap $(DESTDIR)$(pkgpixdir); \ | ||
790 | fi \ | ||
791 | done | ||
792 | for flag in $(srcdir)/flags/*.png; do \ | ||
793 | if test -f $$flag; then \ | ||
794 | $(INSTALL_DATA) $$flag $(DESTDIR)$(pkgpixdir)/flags/ ; \ | ||
795 | fi \ | ||
796 | done | ||
797 | |||
798 | dist-hook: | ||
799 | if test -d $(srcdir)/flags; then \ | ||
800 | mkdir -p $(distdir)/flags; \ | ||
801 | for flag in $(srcdir)/flags/*.png; do \ | ||
802 | if test -f $$flag; then \ | ||
803 | cp -p $$flag $(distdir)/flags; \ | ||
804 | fi \ | ||
805 | done \ | ||
806 | fi | ||
807 | |||
808 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
809 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
810 | .NOEXPORT: | ||
diff --git a/contrib/gnunet_identity_gtk_about_window.glade.in b/contrib/gnunet_identity_gtk_about_window.glade.in new file mode 100644 index 00000000..e7cd503a --- /dev/null +++ b/contrib/gnunet_identity_gtk_about_window.glade.in | |||
@@ -0,0 +1,360 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <interface> | ||
3 | <requires lib="gtk+" version="2.20"/> | ||
4 | <!-- interface-naming-policy project-wide --> | ||
5 | <object class="GtkTextBuffer" id="credits_art_contents"> | ||
6 | <property name="text">Jakub 'jimmac' Steiner <jimmac@ximian.org> | ||
7 | Christian Muellner <chris@flop.de> | ||
8 | Alex Jones <alexrjones@ntlworld.com> | ||
9 | Nicklas Larsson <whybill@gmail.com></property> | ||
10 | </object> | ||
11 | <object class="GtkTextBuffer" id="credits_authors_contents"> | ||
12 | <property name="text">Juergen Appel <jappel@linux01.gwdg.de> | ||
13 | Krista Grothoff <krista@grothoff.org> | ||
14 | James Blackwell <jblack@linuxguru.net> | ||
15 | Ludovic Courtes <ludo@chbouib.org> | ||
16 | Nils Durner <durner@gnunet.org> | ||
17 | Renaldo Ferreira <rf@cs.purdue.edu> | ||
18 | Christian Grothoff <christian@grothoff.org> | ||
19 | Eric Haumant | ||
20 | Tzvetan Horozov <horozov@motorola.com> | ||
21 | Gerd Knorr <kraxel@bytesex.org> | ||
22 | Werner Koch <libgcrypt@g10code.com> | ||
23 | Uli Luckas <luckas@musoft.de> | ||
24 | Blake Matheny | ||
25 | Glenn McGrath | ||
26 | Hendrik Pagenhardt <Hendrik.Pagenhardt@gmx.net> | ||
27 | Ioana Patrascu <ioanapatrascu@yahoo.com> | ||
28 | Marko Raeihae | ||
29 | Paul Ruth <ruth@cs.purdue.edu> | ||
30 | Risto Saarelma | ||
31 | Antti Salonen | ||
32 | Tiberius Stef <tstef@cs.purdue.edu> | ||
33 | Tuomas Toivonen | ||
34 | Tomi Tukiainen | ||
35 | Kevin Vandersloot <kfv101@psu.edu> | ||
36 | Simo Viitanen | ||
37 | Larry Waldo | ||
38 | Igor Wronsky <iwronsky@users.sourceforge.net> | ||
39 | <january@hushmail.com></property> | ||
40 | </object> | ||
41 | <object class="GtkTextBuffer" id="credits_docs_contents"> | ||
42 | <property name="text">Christian Grothoff <christian@grothoff.org> | ||
43 | Anders Carlsson <andersca@gnu.org> | ||
44 | Nils Durner <durner@gnunet.org> | ||
45 | Nicklas Larsson <whybill@gmail.com> | ||
46 | Milan Bouchet-Valat <nalimilan@club.fr> | ||
47 | Igor Wronsky <iwronsky@users.sourceforge.net></property> | ||
48 | </object> | ||
49 | <object class="GtkTextBuffer" id="credits_trans_contents"> | ||
50 | <property name="text">Di Ma | ||
51 | Jens Palsberg <palsberg@cs.ucla.edu> | ||
52 | Christian Grothoff <christian@grothoff.org> | ||
53 | Nils Durner <durner@gnunet.org> | ||
54 | Mathieu <mollo@bghflt.org> | ||
55 | Eric Haumant | ||
56 | milan@skoid.org | ||
57 | Hiroshi Yamauchi <yamauchi@cs.purdue.edu> | ||
58 | Adam Welc <welc@cs.purdue.edu> | ||
59 | Bogdan Carbunar <carbunar@cs.purdue.edu> | ||
60 | Steven Michael Murphy <murf@e-tools.com> | ||
61 | Phan Vinh Thinh <teppi82@gmail.com> | ||
62 | Daniel Nylander <po@danielnylander.se></property> | ||
63 | </object> | ||
64 | <object class="GtkTextBuffer" id="license_contents"> | ||
65 | <property name="text" translatable="yes">License should be loaded here at runtime from the license file (no need to copy the whole GPL in here...).</property> | ||
66 | </object> | ||
67 | <object class="GtkWindow" id="about_window"> | ||
68 | <property name="can_focus">False</property> | ||
69 | <property name="modal">True</property> | ||
70 | <property name="destroy_with_parent">True</property> | ||
71 | <signal name="realize" handler="GNUNET_GTK_about_window_realized" swapped="no"/> | ||
72 | <signal name="delete-event" handler="GNUNET_GTK_about_window_got_delete_event" swapped="no"/> | ||
73 | <child> | ||
74 | <object class="GtkVBox" id="about_main_vbox"> | ||
75 | <property name="visible">True</property> | ||
76 | <property name="can_focus">False</property> | ||
77 | <property name="border_width">10</property> | ||
78 | <child> | ||
79 | <object class="GtkImage" id="about_logo_image"> | ||
80 | <property name="visible">True</property> | ||
81 | <property name="can_focus">False</property> | ||
82 | <property name="pixbuf">gnunet_logo.png</property> | ||
83 | </object> | ||
84 | <packing> | ||
85 | <property name="expand">False</property> | ||
86 | <property name="fill">True</property> | ||
87 | <property name="position">0</property> | ||
88 | </packing> | ||
89 | </child> | ||
90 | <child> | ||
91 | <object class="GtkLabel" id="about_name_version_label"> | ||
92 | <property name="visible">True</property> | ||
93 | <property name="can_focus">False</property> | ||
94 | <property name="label">@GNUNET_PEERINFO_GTK_NAME@ @GNUNET_PEERINFO_GTK_VERSION3@</property> | ||
95 | <attributes> | ||
96 | <attribute name="weight" value="bold"/> | ||
97 | <attribute name="size" value="200"/> | ||
98 | </attributes> | ||
99 | </object> | ||
100 | <packing> | ||
101 | <property name="expand">False</property> | ||
102 | <property name="fill">True</property> | ||
103 | <property name="position">1</property> | ||
104 | </packing> | ||
105 | </child> | ||
106 | <child> | ||
107 | <object class="GtkLabel" id="about_copyright_label"> | ||
108 | <property name="visible">True</property> | ||
109 | <property name="can_focus">False</property> | ||
110 | <property name="label">(C) @GNUNET_PEERINFO_GTK_YEARFROM@-@GNUNET_PEERINFO_GTK_YEARTO@ The GNUnet Project</property> | ||
111 | </object> | ||
112 | <packing> | ||
113 | <property name="expand">False</property> | ||
114 | <property name="fill">True</property> | ||
115 | <property name="position">2</property> | ||
116 | </packing> | ||
117 | </child> | ||
118 | <child> | ||
119 | <object class="GtkLabel" id="about_link_label"> | ||
120 | <property name="visible">True</property> | ||
121 | <property name="can_focus">False</property> | ||
122 | <property name="label"><a href="https://gnunet.org/">GNUnet: GNU's Framework for Secure P2P Networking</a></property> | ||
123 | <property name="use_markup">True</property> | ||
124 | <property name="wrap">True</property> | ||
125 | </object> | ||
126 | <packing> | ||
127 | <property name="expand">False</property> | ||
128 | <property name="fill">True</property> | ||
129 | <property name="position">3</property> | ||
130 | </packing> | ||
131 | </child> | ||
132 | <child> | ||
133 | <object class="GtkNotebook" id="about_credits_notebook"> | ||
134 | <property name="can_focus">True</property> | ||
135 | <child> | ||
136 | <object class="GtkScrolledWindow" id="about_credits_authors_scroller"> | ||
137 | <property name="visible">True</property> | ||
138 | <property name="can_focus">True</property> | ||
139 | <property name="hscrollbar_policy">automatic</property> | ||
140 | <property name="vscrollbar_policy">automatic</property> | ||
141 | <child> | ||
142 | <object class="GtkTextView" id="about_credits_authors_textview"> | ||
143 | <property name="visible">True</property> | ||
144 | <property name="can_focus">True</property> | ||
145 | <property name="editable">False</property> | ||
146 | <property name="wrap_mode">word</property> | ||
147 | <property name="cursor_visible">False</property> | ||
148 | <property name="buffer">credits_authors_contents</property> | ||
149 | <property name="accepts_tab">False</property> | ||
150 | </object> | ||
151 | </child> | ||
152 | </object> | ||
153 | </child> | ||
154 | <child type="tab"> | ||
155 | <object class="GtkLabel" id="about_credits_authors_tab"> | ||
156 | <property name="visible">True</property> | ||
157 | <property name="can_focus">False</property> | ||
158 | <property name="label" translatable="yes">Developed by</property> | ||
159 | </object> | ||
160 | <packing> | ||
161 | <property name="tab_fill">False</property> | ||
162 | </packing> | ||
163 | </child> | ||
164 | <child> | ||
165 | <object class="GtkScrolledWindow" id="about_credits_docs_scroller"> | ||
166 | <property name="visible">True</property> | ||
167 | <property name="can_focus">True</property> | ||
168 | <property name="hscrollbar_policy">automatic</property> | ||
169 | <property name="vscrollbar_policy">automatic</property> | ||
170 | <child> | ||
171 | <object class="GtkTextView" id="about_credits_docs_textview"> | ||
172 | <property name="visible">True</property> | ||
173 | <property name="can_focus">True</property> | ||
174 | <property name="editable">False</property> | ||
175 | <property name="wrap_mode">word</property> | ||
176 | <property name="cursor_visible">False</property> | ||
177 | <property name="buffer">credits_docs_contents</property> | ||
178 | <property name="accepts_tab">False</property> | ||
179 | </object> | ||
180 | </child> | ||
181 | </object> | ||
182 | <packing> | ||
183 | <property name="position">1</property> | ||
184 | </packing> | ||
185 | </child> | ||
186 | <child type="tab"> | ||
187 | <object class="GtkLabel" id="about_credits_docs_tab"> | ||
188 | <property name="visible">True</property> | ||
189 | <property name="can_focus">False</property> | ||
190 | <property name="label" translatable="yes">Documented by</property> | ||
191 | </object> | ||
192 | <packing> | ||
193 | <property name="position">1</property> | ||
194 | <property name="tab_fill">False</property> | ||
195 | </packing> | ||
196 | </child> | ||
197 | <child> | ||
198 | <object class="GtkScrolledWindow" id="about_credits_trans_scroller"> | ||
199 | <property name="visible">True</property> | ||
200 | <property name="can_focus">True</property> | ||
201 | <property name="hscrollbar_policy">automatic</property> | ||
202 | <property name="vscrollbar_policy">automatic</property> | ||
203 | <child> | ||
204 | <object class="GtkTextView" id="about_credits_trans_textview"> | ||
205 | <property name="visible">True</property> | ||
206 | <property name="can_focus">True</property> | ||
207 | <property name="editable">False</property> | ||
208 | <property name="wrap_mode">word</property> | ||
209 | <property name="cursor_visible">False</property> | ||
210 | <property name="buffer">credits_trans_contents</property> | ||
211 | <property name="accepts_tab">False</property> | ||
212 | </object> | ||
213 | </child> | ||
214 | </object> | ||
215 | <packing> | ||
216 | <property name="position">2</property> | ||
217 | </packing> | ||
218 | </child> | ||
219 | <child type="tab"> | ||
220 | <object class="GtkLabel" id="about_credits_trans_tab"> | ||
221 | <property name="visible">True</property> | ||
222 | <property name="can_focus">False</property> | ||
223 | <property name="label" translatable="yes">Translated by</property> | ||
224 | </object> | ||
225 | <packing> | ||
226 | <property name="position">2</property> | ||
227 | <property name="tab_fill">False</property> | ||
228 | </packing> | ||
229 | </child> | ||
230 | <child> | ||
231 | <object class="GtkScrolledWindow" id="about_credits_art_scroller"> | ||
232 | <property name="visible">True</property> | ||
233 | <property name="can_focus">True</property> | ||
234 | <property name="hscrollbar_policy">automatic</property> | ||
235 | <property name="vscrollbar_policy">automatic</property> | ||
236 | <child> | ||
237 | <object class="GtkTextView" id="about_credits_art_textview"> | ||
238 | <property name="visible">True</property> | ||
239 | <property name="can_focus">True</property> | ||
240 | <property name="editable">False</property> | ||
241 | <property name="wrap_mode">word</property> | ||
242 | <property name="cursor_visible">False</property> | ||
243 | <property name="buffer">credits_art_contents</property> | ||
244 | <property name="accepts_tab">False</property> | ||
245 | </object> | ||
246 | </child> | ||
247 | </object> | ||
248 | <packing> | ||
249 | <property name="position">3</property> | ||
250 | </packing> | ||
251 | </child> | ||
252 | <child type="tab"> | ||
253 | <object class="GtkLabel" id="about_credits_art_tab"> | ||
254 | <property name="visible">True</property> | ||
255 | <property name="can_focus">False</property> | ||
256 | <property name="label" translatable="yes">Artwork by</property> | ||
257 | </object> | ||
258 | <packing> | ||
259 | <property name="position">3</property> | ||
260 | <property name="tab_fill">False</property> | ||
261 | </packing> | ||
262 | </child> | ||
263 | </object> | ||
264 | <packing> | ||
265 | <property name="expand">True</property> | ||
266 | <property name="fill">True</property> | ||
267 | <property name="position">4</property> | ||
268 | </packing> | ||
269 | </child> | ||
270 | <child> | ||
271 | <object class="GtkScrolledWindow" id="about_license_scroller"> | ||
272 | <property name="can_focus">True</property> | ||
273 | <property name="hscrollbar_policy">never</property> | ||
274 | <property name="shadow_type">out</property> | ||
275 | <child> | ||
276 | <object class="GtkTextView" id="about_license_textview"> | ||
277 | <property name="visible">True</property> | ||
278 | <property name="can_focus">True</property> | ||
279 | <property name="editable">False</property> | ||
280 | <property name="wrap_mode">word</property> | ||
281 | <property name="cursor_visible">False</property> | ||
282 | <property name="buffer">license_contents</property> | ||
283 | <property name="accepts_tab">False</property> | ||
284 | </object> | ||
285 | </child> | ||
286 | </object> | ||
287 | <packing> | ||
288 | <property name="expand">True</property> | ||
289 | <property name="fill">True</property> | ||
290 | <property name="position">5</property> | ||
291 | </packing> | ||
292 | </child> | ||
293 | <child> | ||
294 | <object class="GtkHBox" id="about_buttons_hbox"> | ||
295 | <property name="visible">True</property> | ||
296 | <property name="can_focus">False</property> | ||
297 | <property name="border_width">5</property> | ||
298 | <property name="homogeneous">True</property> | ||
299 | <child> | ||
300 | <object class="GtkButton" id="about_credits_button"> | ||
301 | <property name="label" translatable="yes">Credits</property> | ||
302 | <property name="use_action_appearance">False</property> | ||
303 | <property name="visible">True</property> | ||
304 | <property name="can_focus">True</property> | ||
305 | <property name="receives_default">True</property> | ||
306 | <signal name="clicked" handler="GNUNET_GTK_about_credits_button_clicked" swapped="no"/> | ||
307 | </object> | ||
308 | <packing> | ||
309 | <property name="expand">True</property> | ||
310 | <property name="fill">False</property> | ||
311 | <property name="position">0</property> | ||
312 | </packing> | ||
313 | </child> | ||
314 | <child> | ||
315 | <object class="GtkButton" id="about_license_button"> | ||
316 | <property name="label" translatable="yes">License</property> | ||
317 | <property name="use_action_appearance">False</property> | ||
318 | <property name="visible">True</property> | ||
319 | <property name="can_focus">True</property> | ||
320 | <property name="receives_default">True</property> | ||
321 | <signal name="clicked" handler="GNUNET_GTK_about_license_button_clicked" swapped="no"/> | ||
322 | </object> | ||
323 | <packing> | ||
324 | <property name="expand">True</property> | ||
325 | <property name="fill">False</property> | ||
326 | <property name="position">1</property> | ||
327 | </packing> | ||
328 | </child> | ||
329 | <child> | ||
330 | <object class="GtkButton" id="about_close_button"> | ||
331 | <property name="label">gtk-close</property> | ||
332 | <property name="use_action_appearance">False</property> | ||
333 | <property name="visible">True</property> | ||
334 | <property name="can_focus">True</property> | ||
335 | <property name="receives_default">True</property> | ||
336 | <property name="use_stock">True</property> | ||
337 | <signal name="clicked" handler="GNUNET_GTK_about_close_button_clicked" swapped="no"/> | ||
338 | </object> | ||
339 | <packing> | ||
340 | <property name="expand">True</property> | ||
341 | <property name="fill">False</property> | ||
342 | <property name="pack_type">end</property> | ||
343 | <property name="position">2</property> | ||
344 | </packing> | ||
345 | </child> | ||
346 | <child> | ||
347 | <placeholder/> | ||
348 | </child> | ||
349 | </object> | ||
350 | <packing> | ||
351 | <property name="expand">False</property> | ||
352 | <property name="fill">False</property> | ||
353 | <property name="pack_type">end</property> | ||
354 | <property name="position">6</property> | ||
355 | </packing> | ||
356 | </child> | ||
357 | </object> | ||
358 | </child> | ||
359 | </object> | ||
360 | </interface> | ||
diff --git a/contrib/gnunet_identity_gtk_main_window.glade b/contrib/gnunet_identity_gtk_main_window.glade index b4619c8f..2e19a3b7 100644 --- a/contrib/gnunet_identity_gtk_main_window.glade +++ b/contrib/gnunet_identity_gtk_main_window.glade | |||
@@ -40,11 +40,11 @@ | |||
40 | <property name="can_focus">False</property> | 40 | <property name="can_focus">False</property> |
41 | <property name="use_underline">True</property> | 41 | <property name="use_underline">True</property> |
42 | <property name="use_stock">True</property> | 42 | <property name="use_stock">True</property> |
43 | <signal name="activate" handler="GNUNET_GTK_identity_quit_imagemenuitem_activate_cb" swapped="no"/> | 43 | <signal name="activate" handler="GNUNET_GTK_identity_quit_cb" swapped="no"/> |
44 | </object> | 44 | </object> |
45 | </child> | 45 | </child> |
46 | </object> | 46 | </object> |
47 | </child> | 47 | </child>_ |
48 | </object> | 48 | </object> |
49 | </child> | 49 | </child> |
50 | <child> | 50 | <child> |
diff --git a/src/identity/Makefile.am b/src/identity/Makefile.am new file mode 100644 index 00000000..001a4e29 --- /dev/null +++ b/src/identity/Makefile.am | |||
@@ -0,0 +1,22 @@ | |||
1 | SUBDIRS = . | ||
2 | |||
3 | INCLUDES = \ | ||
4 | -I$(top_srcdir)/ \ | ||
5 | -I$(top_srcdir)/src/include \ | ||
6 | @GTK_CFLAGS@ \ | ||
7 | @GNUNET_CFLAGS@ \ | ||
8 | @GLADE_CFLAGS@ | ||
9 | |||
10 | bin_PROGRAMS = gnunet-identity-gtk | ||
11 | |||
12 | gnunet_identity_gtk_SOURCES = \ | ||
13 | gnunet-identity-gtk.c \ | ||
14 | gnunet-identity-gtk_about.c | ||
15 | gnunet_identity_gtk_LDADD = \ | ||
16 | $(top_builddir)/src/lib/libgnunetgtk.la \ | ||
17 | @GTK_LIBS@ \ | ||
18 | @GLADE_LIBS@ @GNUNET_LIBS@ \ | ||
19 | -lgnunetutil -lgnunetidentity -lgnunetfs \ | ||
20 | $(INTLLIBS) | ||
21 | gnunet_identity_gtk_LDFLAGS = \ | ||
22 | -export-dynamic | ||
diff --git a/src/identity/gnunet-identity-gtk.c b/src/identity/gnunet-identity-gtk.c new file mode 100644 index 00000000..7c9f24bd --- /dev/null +++ b/src/identity/gnunet-identity-gtk.c | |||
@@ -0,0 +1,269 @@ | |||
1 | /* | ||
2 | This file is part of GNUnet. | ||
3 | (C) 2010-2013 Christian Grothoff (and other contributing authors) | ||
4 | |||
5 | GNUnet is free software; you can redistribute it and/or modify | ||
6 | it under the terms of the GNU General Public License as published | ||
7 | by the Free Software Foundation; either version 3, or (at your | ||
8 | option) any later version. | ||
9 | |||
10 | GNUnet is distributed in the hope that it will be useful, but | ||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU General Public License | ||
16 | along with GNUnet; see the file COPYING. If not, write to the | ||
17 | Free Software Foundation, Inc., 59 Temple Place - Suite 330, | ||
18 | Boston, MA 02111-1307, USA. | ||
19 | */ | ||
20 | |||
21 | /** | ||
22 | * @file src/identity/gnunet-identity-gtk.c | ||
23 | * @brief Main function of gnunet-identity-gtk | ||
24 | * @author Christian Grothoff | ||
25 | */ | ||
26 | #include "gnunet_gtk.h" | ||
27 | #include <gnunet/gnunet_identity_service.h> | ||
28 | |||
29 | |||
30 | /** | ||
31 | * Columns in the identity model. | ||
32 | */ | ||
33 | enum IDENTITY_ModelColumns | ||
34 | { | ||
35 | /** | ||
36 | * A gchararray | ||
37 | */ | ||
38 | IDENTITY_MC_NAME = 0, | ||
39 | |||
40 | /** | ||
41 | * A gchararray | ||
42 | */ | ||
43 | IDENTITY_MC_IDENTIFIER = 1, | ||
44 | |||
45 | /** | ||
46 | * A 'struct GNUNET_IDENTIFIER_Ego' | ||
47 | */ | ||
48 | IDENTITY_MC_EGO = 2 | ||
49 | |||
50 | }; | ||
51 | |||
52 | |||
53 | /** | ||
54 | * Handle to our main loop. | ||
55 | */ | ||
56 | static struct GNUNET_GTK_MainLoop *ml; | ||
57 | |||
58 | /** | ||
59 | * Handle to IDENTITY service. | ||
60 | */ | ||
61 | static struct GNUNET_IDENTITY_Handle *identity; | ||
62 | |||
63 | /** | ||
64 | * Should gnunet-identity-gtk start in tray mode? | ||
65 | */ | ||
66 | static int tray_only; | ||
67 | |||
68 | /** | ||
69 | * Main window list store. | ||
70 | */ | ||
71 | static GtkListStore *ls; | ||
72 | |||
73 | |||
74 | /** | ||
75 | * Get cfg. | ||
76 | */ | ||
77 | static const struct GNUNET_CONFIGURATION_Handle * | ||
78 | get_configuration () | ||
79 | { | ||
80 | return GNUNET_GTK_main_loop_get_configuration (ml); | ||
81 | } | ||
82 | |||
83 | |||
84 | /** | ||
85 | * Get an object from the main window. | ||
86 | * | ||
87 | * @param name name of the object | ||
88 | * @return NULL on error | ||
89 | */ | ||
90 | static GObject * | ||
91 | get_object (const char *name) | ||
92 | { | ||
93 | return GNUNET_GTK_main_loop_get_object (ml, name); | ||
94 | } | ||
95 | |||
96 | |||
97 | /** | ||
98 | * Task run on shutdown. | ||
99 | * | ||
100 | * @param cls unused | ||
101 | * @param tc scheduler context, unused | ||
102 | */ | ||
103 | static void | ||
104 | shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
105 | { | ||
106 | if (NULL != identity) | ||
107 | { | ||
108 | GNUNET_IDENTITY_disconnect (identity); | ||
109 | identity = NULL; | ||
110 | } | ||
111 | GNUNET_GTK_tray_icon_destroy (); | ||
112 | GNUNET_GTK_main_loop_quit (ml); | ||
113 | ml = NULL; | ||
114 | } | ||
115 | |||
116 | |||
117 | /** | ||
118 | * Callback invoked if the application is supposed to exit. | ||
119 | * | ||
120 | * @param object | ||
121 | * @param user_data unused | ||
122 | */ | ||
123 | void | ||
124 | GNUNET_GTK_identity_quit_cb (GObject * object, gpointer user_data) | ||
125 | { | ||
126 | GNUNET_SCHEDULER_shutdown (); | ||
127 | } | ||
128 | |||
129 | |||
130 | /** | ||
131 | * Add all updateable entries of the current namespace to the | ||
132 | * tree store. | ||
133 | * | ||
134 | * @param cls our 'struct MainPublishingDialogContext' | ||
135 | * @param ego identity of the namespace to add | ||
136 | * @param ego_ctx where to store context data | ||
137 | * @param name name of the namespace to add | ||
138 | */ | ||
139 | static void | ||
140 | add_ego (void *cls, | ||
141 | struct GNUNET_IDENTITY_Ego *ego, | ||
142 | void **ego_ctx, | ||
143 | const char *name) | ||
144 | { | ||
145 | GtkTreePath *path; | ||
146 | GtkTreeRowReference *rr; | ||
147 | GtkTreeIter iter; | ||
148 | char *id; | ||
149 | struct GNUNET_CRYPTO_EccPublicKey pub; | ||
150 | |||
151 | if (NULL == ego) | ||
152 | return; /* nothing to be done */ | ||
153 | rr = *ego_ctx; | ||
154 | if (NULL == rr) | ||
155 | { | ||
156 | /* insert operation */ | ||
157 | GNUNET_assert (NULL != name); | ||
158 | GNUNET_IDENTITY_ego_get_public_key (ego, &pub); | ||
159 | id = GNUNET_CRYPTO_ecc_public_key_to_string (&pub); | ||
160 | gtk_list_store_insert_with_values (ls, | ||
161 | &iter, G_MAXINT, | ||
162 | IDENTITY_MC_NAME, name, | ||
163 | IDENTITY_MC_IDENTIFIER, id, | ||
164 | IDENTITY_MC_EGO, ego, | ||
165 | -1); | ||
166 | GNUNET_free (id); | ||
167 | path = gtk_tree_model_get_path (GTK_TREE_MODEL (ls), | ||
168 | &iter); | ||
169 | rr = gtk_tree_row_reference_new (GTK_TREE_MODEL (ls), | ||
170 | path); | ||
171 | gtk_tree_path_free (path); | ||
172 | *ego_ctx = rr; | ||
173 | } | ||
174 | else if (NULL == name) | ||
175 | { | ||
176 | /* delete operation */ | ||
177 | path = gtk_tree_row_reference_get_path (rr); | ||
178 | gtk_tree_row_reference_free (rr); | ||
179 | GNUNET_assert (gtk_tree_model_get_iter (GTK_TREE_MODEL (ls), | ||
180 | &iter, path)); | ||
181 | gtk_tree_path_free (path); | ||
182 | gtk_list_store_remove (ls, &iter); | ||
183 | *ego_ctx = NULL; | ||
184 | } | ||
185 | else | ||
186 | { | ||
187 | /* rename operation */ | ||
188 | path = gtk_tree_row_reference_get_path (rr); | ||
189 | GNUNET_assert (gtk_tree_model_get_iter (GTK_TREE_MODEL (ls), | ||
190 | &iter, path)); | ||
191 | gtk_list_store_set (ls, | ||
192 | &iter, G_MAXINT, | ||
193 | IDENTITY_MC_NAME, name, | ||
194 | -1); | ||
195 | gtk_tree_path_free (path); | ||
196 | } | ||
197 | } | ||
198 | |||
199 | |||
200 | /** | ||
201 | * Actual main function run right after GNUnet's scheduler | ||
202 | * is initialized. Initializes up GTK and Glade. | ||
203 | * | ||
204 | * @param cls NULL | ||
205 | * @param tc schedule context | ||
206 | */ | ||
207 | static void | ||
208 | run (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
209 | { | ||
210 | GtkWidget *main_window; | ||
211 | |||
212 | ml = cls; | ||
213 | if (GNUNET_OK != GNUNET_GTK_main_loop_build_window (ml, NULL)) | ||
214 | return; | ||
215 | GNUNET_GTK_set_icon_search_path (); | ||
216 | GNUNET_GTK_setup_nls (); | ||
217 | /* setup main window */ | ||
218 | main_window = GTK_WIDGET (get_object ("GNUNET_GTK_identity_window")); | ||
219 | ls = GTK_LIST_STORE (get_object ("GNUNET_GTK_identity_liststore")); | ||
220 | GNUNET_assert (NULL != ls); | ||
221 | gtk_window_maximize (GTK_WINDOW (main_window)); | ||
222 | GNUNET_GTK_tray_icon_create (ml, | ||
223 | GTK_WINDOW (main_window), | ||
224 | "gnunet-gtk" /* FIXME: different icon? */ , | ||
225 | "gnunet-identity-gtk"); | ||
226 | |||
227 | /* make GUI visible */ | ||
228 | if (!tray_only) | ||
229 | { | ||
230 | gtk_widget_show (main_window); | ||
231 | gtk_window_present (GTK_WINDOW (main_window)); | ||
232 | } | ||
233 | identity = GNUNET_IDENTITY_connect (get_configuration (), | ||
234 | &add_ego, | ||
235 | NULL); | ||
236 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, | ||
237 | &shutdown_task, NULL); | ||
238 | } | ||
239 | |||
240 | |||
241 | /** | ||
242 | * Main function of gnunet-identity-gtk. | ||
243 | * | ||
244 | * @param argc number of arguments | ||
245 | * @param argv arguments | ||
246 | * @return 0 on success | ||
247 | */ | ||
248 | int | ||
249 | main (int argc, char *const *argv) | ||
250 | { | ||
251 | static struct GNUNET_GETOPT_CommandLineOption options[] = { | ||
252 | {'t', "tray", NULL, | ||
253 | gettext_noop ("start in tray mode"), 0, | ||
254 | &GNUNET_GETOPT_set_one, &tray_only}, | ||
255 | GNUNET_GETOPT_OPTION_END | ||
256 | }; | ||
257 | |||
258 | if (GNUNET_OK != | ||
259 | GNUNET_GTK_main_loop_start ("gnunet-identity-gtk", | ||
260 | "GTK GUI for managing egos", argc, | ||
261 | argv, options, | ||
262 | "gnunet_identity_gtk_main_window.glade", | ||
263 | &run)) | ||
264 | return 1; | ||
265 | return 0; | ||
266 | } | ||
267 | |||
268 | |||
269 | /* end of gnunet-identity-gtk.c */ | ||
diff --git a/src/identity/gnunet-identity-gtk_about.c b/src/identity/gnunet-identity-gtk_about.c new file mode 100644 index 00000000..cedfdef1 --- /dev/null +++ b/src/identity/gnunet-identity-gtk_about.c | |||
@@ -0,0 +1,41 @@ | |||
1 | /* | ||
2 | This file is part of GNUnet | ||
3 | (C) 2005-2013 Christian Grothoff (and other contributing authors) | ||
4 | |||
5 | GNUnet is free software; you can redistribute it and/or modify | ||
6 | it under the terms of the GNU General Public License as published | ||
7 | by the Free Software Foundation; either version 3, or (at your | ||
8 | option) any later version. | ||
9 | |||
10 | GNUnet is distributed in the hope that it will be useful, but | ||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU General Public License | ||
16 | along with GNUnet; see the file COPYING. If not, write to the | ||
17 | Free Software Foundation, Inc., 59 Temple Place - Suite 330, | ||
18 | Boston, MA 02111-1307, USA. | ||
19 | */ | ||
20 | /** | ||
21 | * @file src/identity/gnunet-identity-gtk_about.c | ||
22 | * @author Christian Grothoff | ||
23 | * @author Igor Wronsky | ||
24 | * | ||
25 | * This file contains the about dialog. | ||
26 | */ | ||
27 | #include "gnunet_gtk.h" | ||
28 | |||
29 | |||
30 | /** | ||
31 | * This displays an about window | ||
32 | */ | ||
33 | void | ||
34 | GNUNET_GTK_identity_about_imagemenuitem_activate_cb (GtkWidget * dummy, | ||
35 | gpointer data) | ||
36 | { | ||
37 | GNUNET_GTK_display_about ("gnunet_identity_gtk_about_window.glade"); | ||
38 | } | ||
39 | |||
40 | |||
41 | /* end of gnunet-peerinfo-gtk_about.c */ | ||
diff --git a/src/lib/about.c b/src/lib/about.c index 5c8b4288..ae570781 100644 --- a/src/lib/about.c +++ b/src/lib/about.c | |||
@@ -126,10 +126,11 @@ void | |||
126 | GNUNET_GTK_display_about (const char *dialogfile) | 126 | GNUNET_GTK_display_about (const char *dialogfile) |
127 | { | 127 | { |
128 | struct AboutDialogContext *ctx; | 128 | struct AboutDialogContext *ctx; |
129 | ctx = GNUNET_malloc (sizeof (struct AboutDialogContext)); | 129 | |
130 | ctx = GNUNET_new (struct AboutDialogContext); | ||
130 | ctx->builder = GNUNET_GTK_get_new_builder (dialogfile, ctx); | 131 | ctx->builder = GNUNET_GTK_get_new_builder (dialogfile, ctx); |
131 | 132 | ||
132 | if (ctx->builder == NULL) | 133 | if (NULL == ctx->builder) |
133 | { | 134 | { |
134 | GNUNET_free (ctx); | 135 | GNUNET_free (ctx); |
135 | return; | 136 | return; |
diff --git a/src/peerinfo/gnunet-peerinfo-gtk-about.c b/src/peerinfo/gnunet-peerinfo-gtk-about.c index 5eb9b406..894d8c13 100644 --- a/src/peerinfo/gnunet-peerinfo-gtk-about.c +++ b/src/peerinfo/gnunet-peerinfo-gtk-about.c | |||
@@ -19,7 +19,7 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file src/fs/gnunet-peerinfo-gtk-about.c | 22 | * @file src/peerinfo/gnunet-peerinfo-gtk-about.c |
23 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
24 | * @author Igor Wronsky | 24 | * @author Igor Wronsky |
25 | * | 25 | * |