From: Andrea Zagli Date: Thu, 10 Sep 2015 08:22:51 +0000 (+0200) Subject: Changed name. X-Git-Tag: v0.1.0^2 X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=453d5f3e7d014ba558e7cad09862e570a5325bd0;p=zakautho%2Fgui Changed name. --- diff --git a/.gitignore b/.gitignore index a29474a..86f3820 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ *.o *~ -src/autoz-gui +src/zak-autho-gui COPYING INSTALL Makefile @@ -20,7 +20,7 @@ src/.deps/ stamp-h1 .anjuta* *.exe -libautozgui.pc +libzakauthogui.pc config.h.in libtool ltmain.sh @@ -28,3 +28,5 @@ ltmain.sh *.lo *.la .deps +ar-lib +compile diff --git a/Makefile.am b/Makefile.am index af29139..d6c1263 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,10 +5,10 @@ distclean-local: rm -f ChangeLog; \ fi -EXTRA_DIST = libautozgui.pc.in +EXTRA_DIST = libzauthogui.pc.in pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = libautozgui.pc +pkgconfig_DATA = libzakauthogui.pc ChangeLog: @echo Creating $@ diff --git a/autogen.sh b/autogen.sh index 81a7991..72a7963 100755 --- a/autogen.sh +++ b/autogen.sh @@ -4,13 +4,13 @@ srcdir=`dirname $0` test -z "$srcdir" && srcdir=. -PKG_NAME="autoz-gui" +PKG_NAME="zak-autho-gui" (test -f $srcdir/configure.ac \ && test -d $srcdir/src \ && test -f $srcdir/src/main.c) || { echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" - echo " top-level autoz-gui directory" + echo " top-level zak-autho-gui directory" exit 1 } diff --git a/configure.ac b/configure.ac index 390bfda..27d7773 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.65]) -AC_INIT([autoz-gui], [0.0.5], [azagli@libero.it]) +AC_INIT([zak-autho-gui], [0.0.5], [azagli@libero.it]) AC_CONFIG_SRCDIR([src/main.c]) AC_CONFIG_HEADER([config.h]) @@ -22,6 +22,7 @@ AC_LIBTOOL_WIN32_DLL AC_PROG_CC AC_PROG_LIBTOOL AC_PROG_RANLIB +AM_PROG_AR # Checks for libraries. PKG_CHECK_MODULES(AUTOZGUI, [libgda-ui-5.0 >= 5.0.0]) @@ -36,13 +37,13 @@ AC_SUBST(AUTOZGUI_LIBS) # Checks for library functions. AC_CONFIG_FILES([ - libautozgui.pc + libzakauthogui.pc Makefile src/Makefile library/Makefile data/Makefile - data/autoz-gui/Makefile - data/autoz-gui/gui/Makefile + data/zak-autho-gui/Makefile + data/zak-autho-gui/gui/Makefile tests/Makefile ]) AC_OUTPUT diff --git a/data/Makefile.am b/data/Makefile.am index 4cd2946..1d5089f 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1 +1 @@ -SUBDIRS = autoz-gui +SUBDIRS = zak-autho-gui diff --git a/data/autoz-gui/Makefile.am b/data/autoz-gui/Makefile.am deleted file mode 100644 index 13c2b3d..0000000 --- a/data/autoz-gui/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -SUBDIRS = gui diff --git a/data/autoz-gui/gui/Makefile.am b/data/autoz-gui/gui/Makefile.am deleted file mode 100644 index 32f0015..0000000 --- a/data/autoz-gui/gui/Makefile.am +++ /dev/null @@ -1,5 +0,0 @@ -guidir = $(datadir)/$(PACKAGE)/gui - -gui_DATA = autoz-gui.ui - -EXTRA_DIST = $(gui_DATA) diff --git a/data/autoz-gui/gui/autoz-gui.ui b/data/autoz-gui/gui/autoz-gui.ui deleted file mode 100644 index 6079a98..0000000 --- a/data/autoz-gui/gui/autoz-gui.ui +++ /dev/null @@ -1,1395 +0,0 @@ - - - - - - False - 5 - Informazioni su... - True - center-on-parent - True - normal - w_main - Autoz GUI - 0.0.1 - Andrea Zagli 2011-2012 - Andrea Zagli <azagli@libero.it> - True - - - True - False - 2 - - - True - False - end - - - False - True - end - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - False - Authorization - Autoz GUI - True - center-on-parent - 500 - True - - - True - False - 5 - 5 - - - True - False - 5 - 2 - 5 - 5 - - - True - False - 0 - ID - - - GTK_FILL - GTK_FILL - - - - - True - False - 0 - lbl_id - - - 1 - 2 - GTK_FILL - - - - - True - False - 0 - Resource - - - 2 - 3 - GTK_FILL - GTK_FILL - - - - - True - False - 5 - - - True - True - False - • - False - False - True - True - - - True - True - 0 - - - - - ... - True - True - True - - - False - True - 1 - - - - - False - True - lbl_id_role - - - False - True - 2 - - - - - 1 - 2 - 1 - 2 - GTK_FILL - - - - - True - False - 0 - Role - - - 1 - 2 - GTK_FILL - GTK_FILL - - - - - True - True - False - True - True - - - 1 - 2 - 3 - 4 - GTK_FILL - - - - - True - True - False - True - True - radiobutton1 - - - 1 - 2 - 4 - 5 - GTK_FILL - - - - - True - False - 0 - Allow - - - 3 - 4 - GTK_FILL - GTK_FILL - - - - - True - False - 0 - Deny - - - 4 - 5 - GTK_FILL - GTK_FILL - - - - - True - False - 5 - - - True - True - False - • - True - False - False - True - True - - - True - True - 0 - - - - - ... - True - True - True - - - False - True - 1 - - - - - False - True - lbl_id_resource - - - False - True - 2 - - - - - 1 - 2 - 2 - 3 - GTK_FILL - - - - - True - True - 0 - - - - - True - False - 5 - end - - - gtk-cancel - True - True - True - True - - - False - False - 0 - - - - - gtk-save - True - True - True - True - - - False - False - 1 - - - - - False - True - 1 - - - - - - - False - Authorizations - Autoz GUI - True - center-on-parent - 550 - 400 - True - - - True - False - 5 - 5 - - - True - False - <b>Authorizations</b> - True - - - False - True - 0 - - - - - True - True - automatic - automatic - etched-in - - - True - True - lstore_authorizations - True - 1 - - - Role - True - 1 - - - - 1 - - - - - - - Resource - True - 2 - - - - 2 - - - - - - - autosize - Allow/Deny - True - True - 0.5 - 3 - - - - 3 - - - - - - - - - True - True - 1 - - - - - True - False - 5 - end - - - gtk-new - True - True - True - True - True - - - False - False - 0 - - - - - gtk-edit - True - True - True - True - - - False - False - 1 - - - - - gtk-delete - True - True - True - True - - - False - False - 2 - - - - - False - True - 2 - - - - - - - False - Autoz GUI - center - 600 - 400 - - - - True - False - - - True - False - - - True - False - _File - True - - - True - False - - - gtk-open - True - False - True - True - - - - - - gtk-close - True - False - True - True - - - - - - True - False - - - - - gtk-quit - True - False - True - True - - - - - - - - - - True - False - _View - True - - - True - False - - - True - False - _Roles - True - - - - - - True - False - Re_sources - True - - - - - - True - False - _Authorizations - True - - - - - - - - - - True - False - A_iuto - True - - - True - False - - - gtk-about - True - False - True - True - - - - - - - - - - False - True - 0 - - - - - True - False - - - - - - True - True - 1 - - - - - True - False - 2 - - - False - True - 2 - - - - - - - False - Open Autoz Datasource - Autoz GUI - True - center-on-parent - True - - - True - False - 5 - 5 - - - True - False - 5 - - - True - False - 0 - Table name prefix - - - False - True - 0 - - - - - True - True - • - False - False - True - True - - - True - True - 1 - - - - - False - True - 0 - - - - - True - False - 0 - - - - - - True - False - <b>Connection parameters</b> - True - - - - - True - True - 1 - - - - - True - False - 5 - end - - - gtk-cancel - True - True - True - True - - - False - False - 0 - - - - - gtk-open - True - True - True - True - - - False - False - 1 - - - - - False - True - 2 - - - - - - - False - Audit GUI - True - center-on-parent - 550 - True - False - - - True - False - 5 - 5 - - - True - False - label - - - False - True - 0 - - - - - True - False - - - False - True - 1 - - - - - - - False - Resource - Autoz GUI - True - center-on-parent - 500 - True - - - True - False - 5 - 5 - - - True - False - 3 - 2 - 5 - 5 - - - - - - - - - True - False - 0 - ID - - - GTK_FILL - GTK_FILL - - - - - True - False - 0 - lbl_id - - - 1 - 2 - GTK_FILL - - - - - True - False - 0 - Name - - - 1 - 2 - GTK_FILL - GTK_FILL - - - - - True - True - 255 - • - False - False - True - True - - - 1 - 2 - 1 - 2 - GTK_FILL - - - - - True - True - 0 - - - - - True - False - 5 - end - - - gtk-cancel - True - True - True - True - - - False - False - 0 - - - - - gtk-save - True - True - True - True - - - False - False - 1 - - - - - False - True - 1 - - - - - - - False - Resources - Autoz GUI - True - center-on-parent - 550 - 400 - True - - - True - False - 5 - 5 - - - True - True - automatic - automatic - etched-in - - - True - True - lstore_resources - False - True - 1 - - - Resources - True - 1 - - - - 1 - - - - - - - - - True - True - 0 - - - - - True - False - 5 - end - - - gtk-new - True - True - True - True - True - - - False - False - 0 - - - - - gtk-edit - True - True - True - True - - - False - False - 1 - - - - - gtk-delete - True - True - True - True - - - False - False - 2 - - - - - gtk-cancel - True - True - True - True - - - False - False - 3 - - - - - gtk-ok - True - True - True - True - - - False - False - 4 - - - - - False - True - 1 - - - - - - - False - Role - Autoz GUI - True - center-on-parent - 500 - True - - - True - False - 5 - 5 - - - True - False - 3 - 2 - 5 - 5 - - - - - - - - - True - False - 0 - ID - - - GTK_FILL - GTK_FILL - - - - - True - False - 0 - lbl_id - - - 1 - 2 - GTK_FILL - - - - - True - False - 0 - Name - - - 1 - 2 - GTK_FILL - GTK_FILL - - - - - True - True - 255 - ● - False - False - True - True - - - 1 - 2 - 1 - 2 - GTK_FILL - - - - - True - True - 0 - - - - - True - False - 5 - end - - - gtk-cancel - True - True - True - True - - - False - False - 0 - - - - - gtk-save - True - True - True - True - - - False - False - 1 - - - - - False - True - 1 - - - - - - - False - Roles - Autoz GUI - True - center-on-parent - 550 - 400 - True - - - True - False - 5 - 5 - - - True - True - automatic - automatic - etched-in - - - True - True - lstore_roles - False - True - 1 - - - Roles - True - 1 - - - - 1 - - - - - - - - - True - True - 0 - - - - - True - False - 5 - end - - - gtk-new - True - True - True - True - True - - - False - False - 0 - - - - - gtk-edit - True - True - True - True - - - False - False - 1 - - - - - gtk-delete - True - True - True - True - - - False - False - 2 - - - - - gtk-cancel - True - True - True - True - - - False - False - 3 - - - - - gtk-ok - True - True - True - True - - - False - False - 4 - - - - - False - True - 1 - - - - - - diff --git a/data/zak-autho-gui/Makefile.am b/data/zak-autho-gui/Makefile.am new file mode 100644 index 0000000..13c2b3d --- /dev/null +++ b/data/zak-autho-gui/Makefile.am @@ -0,0 +1 @@ +SUBDIRS = gui diff --git a/data/zak-autho-gui/gui/Makefile.am b/data/zak-autho-gui/gui/Makefile.am new file mode 100644 index 0000000..32f0015 --- /dev/null +++ b/data/zak-autho-gui/gui/Makefile.am @@ -0,0 +1,5 @@ +guidir = $(datadir)/$(PACKAGE)/gui + +gui_DATA = autoz-gui.ui + +EXTRA_DIST = $(gui_DATA) diff --git a/data/zak-autho-gui/gui/autoz-gui.ui b/data/zak-autho-gui/gui/autoz-gui.ui new file mode 100644 index 0000000..6079a98 --- /dev/null +++ b/data/zak-autho-gui/gui/autoz-gui.ui @@ -0,0 +1,1395 @@ + + + + + + False + 5 + Informazioni su... + True + center-on-parent + True + normal + w_main + Autoz GUI + 0.0.1 + Andrea Zagli 2011-2012 + Andrea Zagli <azagli@libero.it> + True + + + True + False + 2 + + + True + False + end + + + False + True + end + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + False + Authorization - Autoz GUI + True + center-on-parent + 500 + True + + + True + False + 5 + 5 + + + True + False + 5 + 2 + 5 + 5 + + + True + False + 0 + ID + + + GTK_FILL + GTK_FILL + + + + + True + False + 0 + lbl_id + + + 1 + 2 + GTK_FILL + + + + + True + False + 0 + Resource + + + 2 + 3 + GTK_FILL + GTK_FILL + + + + + True + False + 5 + + + True + True + False + • + False + False + True + True + + + True + True + 0 + + + + + ... + True + True + True + + + False + True + 1 + + + + + False + True + lbl_id_role + + + False + True + 2 + + + + + 1 + 2 + 1 + 2 + GTK_FILL + + + + + True + False + 0 + Role + + + 1 + 2 + GTK_FILL + GTK_FILL + + + + + True + True + False + True + True + + + 1 + 2 + 3 + 4 + GTK_FILL + + + + + True + True + False + True + True + radiobutton1 + + + 1 + 2 + 4 + 5 + GTK_FILL + + + + + True + False + 0 + Allow + + + 3 + 4 + GTK_FILL + GTK_FILL + + + + + True + False + 0 + Deny + + + 4 + 5 + GTK_FILL + GTK_FILL + + + + + True + False + 5 + + + True + True + False + • + True + False + False + True + True + + + True + True + 0 + + + + + ... + True + True + True + + + False + True + 1 + + + + + False + True + lbl_id_resource + + + False + True + 2 + + + + + 1 + 2 + 2 + 3 + GTK_FILL + + + + + True + True + 0 + + + + + True + False + 5 + end + + + gtk-cancel + True + True + True + True + + + False + False + 0 + + + + + gtk-save + True + True + True + True + + + False + False + 1 + + + + + False + True + 1 + + + + + + + False + Authorizations - Autoz GUI + True + center-on-parent + 550 + 400 + True + + + True + False + 5 + 5 + + + True + False + <b>Authorizations</b> + True + + + False + True + 0 + + + + + True + True + automatic + automatic + etched-in + + + True + True + lstore_authorizations + True + 1 + + + Role + True + 1 + + + + 1 + + + + + + + Resource + True + 2 + + + + 2 + + + + + + + autosize + Allow/Deny + True + True + 0.5 + 3 + + + + 3 + + + + + + + + + True + True + 1 + + + + + True + False + 5 + end + + + gtk-new + True + True + True + True + True + + + False + False + 0 + + + + + gtk-edit + True + True + True + True + + + False + False + 1 + + + + + gtk-delete + True + True + True + True + + + False + False + 2 + + + + + False + True + 2 + + + + + + + False + Autoz GUI + center + 600 + 400 + + + + True + False + + + True + False + + + True + False + _File + True + + + True + False + + + gtk-open + True + False + True + True + + + + + + gtk-close + True + False + True + True + + + + + + True + False + + + + + gtk-quit + True + False + True + True + + + + + + + + + + True + False + _View + True + + + True + False + + + True + False + _Roles + True + + + + + + True + False + Re_sources + True + + + + + + True + False + _Authorizations + True + + + + + + + + + + True + False + A_iuto + True + + + True + False + + + gtk-about + True + False + True + True + + + + + + + + + + False + True + 0 + + + + + True + False + + + + + + True + True + 1 + + + + + True + False + 2 + + + False + True + 2 + + + + + + + False + Open Autoz Datasource - Autoz GUI + True + center-on-parent + True + + + True + False + 5 + 5 + + + True + False + 5 + + + True + False + 0 + Table name prefix + + + False + True + 0 + + + + + True + True + • + False + False + True + True + + + True + True + 1 + + + + + False + True + 0 + + + + + True + False + 0 + + + + + + True + False + <b>Connection parameters</b> + True + + + + + True + True + 1 + + + + + True + False + 5 + end + + + gtk-cancel + True + True + True + True + + + False + False + 0 + + + + + gtk-open + True + True + True + True + + + False + False + 1 + + + + + False + True + 2 + + + + + + + False + Audit GUI + True + center-on-parent + 550 + True + False + + + True + False + 5 + 5 + + + True + False + label + + + False + True + 0 + + + + + True + False + + + False + True + 1 + + + + + + + False + Resource - Autoz GUI + True + center-on-parent + 500 + True + + + True + False + 5 + 5 + + + True + False + 3 + 2 + 5 + 5 + + + + + + + + + True + False + 0 + ID + + + GTK_FILL + GTK_FILL + + + + + True + False + 0 + lbl_id + + + 1 + 2 + GTK_FILL + + + + + True + False + 0 + Name + + + 1 + 2 + GTK_FILL + GTK_FILL + + + + + True + True + 255 + • + False + False + True + True + + + 1 + 2 + 1 + 2 + GTK_FILL + + + + + True + True + 0 + + + + + True + False + 5 + end + + + gtk-cancel + True + True + True + True + + + False + False + 0 + + + + + gtk-save + True + True + True + True + + + False + False + 1 + + + + + False + True + 1 + + + + + + + False + Resources - Autoz GUI + True + center-on-parent + 550 + 400 + True + + + True + False + 5 + 5 + + + True + True + automatic + automatic + etched-in + + + True + True + lstore_resources + False + True + 1 + + + Resources + True + 1 + + + + 1 + + + + + + + + + True + True + 0 + + + + + True + False + 5 + end + + + gtk-new + True + True + True + True + True + + + False + False + 0 + + + + + gtk-edit + True + True + True + True + + + False + False + 1 + + + + + gtk-delete + True + True + True + True + + + False + False + 2 + + + + + gtk-cancel + True + True + True + True + + + False + False + 3 + + + + + gtk-ok + True + True + True + True + + + False + False + 4 + + + + + False + True + 1 + + + + + + + False + Role - Autoz GUI + True + center-on-parent + 500 + True + + + True + False + 5 + 5 + + + True + False + 3 + 2 + 5 + 5 + + + + + + + + + True + False + 0 + ID + + + GTK_FILL + GTK_FILL + + + + + True + False + 0 + lbl_id + + + 1 + 2 + GTK_FILL + + + + + True + False + 0 + Name + + + 1 + 2 + GTK_FILL + GTK_FILL + + + + + True + True + 255 + ● + False + False + True + True + + + 1 + 2 + 1 + 2 + GTK_FILL + + + + + True + True + 0 + + + + + True + False + 5 + end + + + gtk-cancel + True + True + True + True + + + False + False + 0 + + + + + gtk-save + True + True + True + True + + + False + False + 1 + + + + + False + True + 1 + + + + + + + False + Roles - Autoz GUI + True + center-on-parent + 550 + 400 + True + + + True + False + 5 + 5 + + + True + True + automatic + automatic + etched-in + + + True + True + lstore_roles + False + True + 1 + + + Roles + True + 1 + + + + 1 + + + + + + + + + True + True + 0 + + + + + True + False + 5 + end + + + gtk-new + True + True + True + True + True + + + False + False + 0 + + + + + gtk-edit + True + True + True + True + + + False + False + 1 + + + + + gtk-delete + True + True + True + True + + + False + False + 2 + + + + + gtk-cancel + True + True + True + True + + + False + False + 3 + + + + + gtk-ok + True + True + True + True + + + False + False + 4 + + + + + False + True + 1 + + + + + + diff --git a/libautozgui.pc.in b/libautozgui.pc.in deleted file mode 100644 index 7cfef3e..0000000 --- a/libautozgui.pc.in +++ /dev/null @@ -1,11 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: @PACKAGE_NAME@ -Description: Library with auto-gui interface. -Version: @PACKAGE_VERSION@ -Requires: libgda-ui-5.0 -Libs: -L${libdir} -lautozgui -Cflags: -I${includedir} diff --git a/library/Makefile.am b/library/Makefile.am index 863edff..d4d0297 100644 --- a/library/Makefile.am +++ b/library/Makefile.am @@ -2,14 +2,14 @@ guidir = $(datadir)/$(PACKAGE)/gui AM_CPPFLAGS = $(AUTOZGUI_CFLAGS) \ -DGUIDIR=\""$(guidir)"\" \ - -DG_LOG_DOMAIN=\"AutozGui\" + -DG_LOG_DOMAIN=\"ZakAuthoGui\" LIBS = $(AUTOZGUI_LIBS) \ -export-dynamic -lib_LTLIBRARIES = libautozgui.la +lib_LTLIBRARIES = libzakauthogui.la -libautozgui_la_SOURCES = \ +libzakauthogui_la_SOURCES = \ ../src/authorization.c \ ../src/authorizations.c \ ../src/resource.c \ @@ -17,9 +17,9 @@ libautozgui_la_SOURCES = \ ../src/role.c \ ../src/roles.c -libautozgui_la_LDFLAGS = -no-undefined +libzakauthogui_la_LDFLAGS = -no-undefined -libautozgui_include_HEADERS = \ +libzakauthogui_include_HEADERS = \ ../src/authorization.h \ ../src/authorizations.h \ ../src/commons.h \ @@ -28,4 +28,4 @@ libautozgui_include_HEADERS = \ ../src/role.h \ ../src/roles.h -libautozgui_includedir = $(includedir)/libautozgui +libzakauthogui_includedir = $(includedir)/libzakauthogui diff --git a/libzakauthogui.pc.in b/libzakauthogui.pc.in new file mode 100644 index 0000000..cd7a088 --- /dev/null +++ b/libzakauthogui.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: @PACKAGE_NAME@ +Description: Library with zak-autho-gui interface. +Version: @PACKAGE_VERSION@ +Requires: libgda-ui-5.0 +Libs: -L${libdir} -lzakauthogui +Cflags: -I${includedir} diff --git a/src/Makefile.am b/src/Makefile.am index 56c5dd4..16910cc 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -6,9 +6,9 @@ AM_CPPFLAGS = $(AUTOZGUI_CFLAGS) \ LIBS = $(AUTOZGUI_LIBS) \ -export-dynamic -bin_PROGRAMS = autoz-gui +bin_PROGRAMS = zak-autho-gui -autoz_gui_SOURCES = \ +zak_autho_gui_SOURCES = \ authorization.c \ authorization.h \ authorizations.c \