From: Andrea Zagli Date: Tue, 8 Sep 2015 07:47:37 +0000 (+0200) Subject: Changed name. X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=73ff008ba065beec1503a2a71f54c14d478d4d7c;p=solipa%2Futenti Changed name. --- diff --git a/.gitignore b/.gitignore index e475958..741e210 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ *.o *~ *.in -src/utenti +src/zak-authe-gui COPYING INSTALL Makefile diff --git a/autogen.sh b/autogen.sh index c945f63..ef1d5c7 100755 --- a/autogen.sh +++ b/autogen.sh @@ -4,13 +4,13 @@ srcdir=`dirname $0` test -z "$srcdir" && srcdir=. -PKG_NAME="utenti" +PKG_NAME="zak-authe-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 utenti directory" + echo " top-level zak-authe-gui directory" exit 1 } diff --git a/configure.ac b/configure.ac index ffe2e8a..bf00916 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([utenti], [0.0.3], [azagli@libero.it]) +AC_INIT([zak-authe-gui], [0.0.3], [azagli@libero.it]) AC_CONFIG_SRCDIR([src/main.c]) AC_CONFIG_HEADER([config.h]) @@ -19,11 +19,11 @@ AC_PROG_CC AC_PROG_CXX # Checks for libraries. -PKG_CHECK_MODULES(UTENTI, [gtk+-3.0 >= 3.0.0 +PKG_CHECK_MODULES(ZAK_AUTHE_GUI, [gtk+-3.0 >= 3.0.0 libzakauthe >= 0.5.0]) -AC_SUBST(UTENTI_CFLAGS) -AC_SUBST(UTENTI_LIBS) +AC_SUBST(ZAK_AUTHE_GUI_CFLAGS) +AC_SUBST(ZAK_AUTHE_GUI_LIBS) # Checks for header files. @@ -36,10 +36,10 @@ AC_CONFIG_FILES([ Makefile src/Makefile data/Makefile - data/utenti/Makefile - data/utenti/gui/Makefile + data/zak-authe-gui/Makefile + data/zak-authe-gui/gui/Makefile doc/Makefile - doc/utenti/Makefile - doc/utenti/examples/Makefile + doc/zak-authe-gui/Makefile + doc/zak-authe-gui/examples/Makefile ]) AC_OUTPUT diff --git a/data/Makefile.am b/data/Makefile.am index cd93d4b..ff601be 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1 +1 @@ -SUBDIRS = utenti +SUBDIRS = zak-authe-gui diff --git a/data/utenti/Makefile.am b/data/utenti/Makefile.am deleted file mode 100644 index 13c2b3d..0000000 --- a/data/utenti/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -SUBDIRS = gui diff --git a/data/utenti/gui/Makefile.am b/data/utenti/gui/Makefile.am deleted file mode 100644 index 75f8f6e..0000000 --- a/data/utenti/gui/Makefile.am +++ /dev/null @@ -1,5 +0,0 @@ -guidir = $(datadir)/utenti/gui - -gui_DATA = utenti.gui - -EXTRA_DIST = $(gui_DATA) diff --git a/data/utenti/gui/utenti.gui b/data/utenti/gui/utenti.gui deleted file mode 100644 index 76f9504..0000000 --- a/data/utenti/gui/utenti.gui +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - True - Gestione Utenti - SOLIPA - center - 600 - 400 - - - - True - vertical - - - True - - - True - _Utenti - True - - - True - - - gtk-quit - True - True - True - - - - - - - - - - True - A_iuto - True - - - True - - - gtk-about - True - True - True - - - - - - - - - - False - 0 - - - - - True - vertical - - - - - - 1 - - - - - - - True - True - center-on-parent - True - normal - Gestione Utenti - SOLIPA - Copyright (C) 2010 Andrea Zagli - Gestione Utenti SOLIPA è software libero; è possibile ridistribuirlo e/o -modificarlo secondo i termini della licenza GNU General Public License, -come pubblicata dalla Free Software Foundation; versione 2 della -licenza, o (a scelta) una versione più recente. - -Gestione Utenti SOLIPA è distribuito nella speranza che possa -risultare utile, ma SENZA ALCUNA GARANZIA, nemmeno la garanzia -implicita di COMMERCIABILITÀ o APPLICABILITÀ PER UNO SCOPO -PARTICOLARE. Per maggiori dettagli consultare la GNU General Public -License. - -Una copia della GNU General Public License dovrebbe essere stata -fornita con Nautilus. In caso contrario scrivere a: - Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA - Andrea Zagli <azagli@libero.it> - translator-credits - - - - - - False - end - 0 - - - - - - diff --git a/data/zak-authe-gui/Makefile.am b/data/zak-authe-gui/Makefile.am new file mode 100644 index 0000000..13c2b3d --- /dev/null +++ b/data/zak-authe-gui/Makefile.am @@ -0,0 +1 @@ +SUBDIRS = gui diff --git a/data/zak-authe-gui/gui/Makefile.am b/data/zak-authe-gui/gui/Makefile.am new file mode 100644 index 0000000..de68775 --- /dev/null +++ b/data/zak-authe-gui/gui/Makefile.am @@ -0,0 +1,5 @@ +guidir = $(datadir)/$(PKGNAME)/gui + +gui_DATA = zak-authe-gui.ui + +EXTRA_DIST = $(gui_DATA) diff --git a/data/zak-authe-gui/gui/zak-authe-gui.ui b/data/zak-authe-gui/gui/zak-authe-gui.ui new file mode 100644 index 0000000..76f9504 --- /dev/null +++ b/data/zak-authe-gui/gui/zak-authe-gui.ui @@ -0,0 +1,121 @@ + + + + + + True + Gestione Utenti - SOLIPA + center + 600 + 400 + + + + True + vertical + + + True + + + True + _Utenti + True + + + True + + + gtk-quit + True + True + True + + + + + + + + + + True + A_iuto + True + + + True + + + gtk-about + True + True + True + + + + + + + + + + False + 0 + + + + + True + vertical + + + + + + 1 + + + + + + + True + True + center-on-parent + True + normal + Gestione Utenti - SOLIPA + Copyright (C) 2010 Andrea Zagli + Gestione Utenti SOLIPA è software libero; è possibile ridistribuirlo e/o +modificarlo secondo i termini della licenza GNU General Public License, +come pubblicata dalla Free Software Foundation; versione 2 della +licenza, o (a scelta) una versione più recente. + +Gestione Utenti SOLIPA è distribuito nella speranza che possa +risultare utile, ma SENZA ALCUNA GARANZIA, nemmeno la garanzia +implicita di COMMERCIABILITÀ o APPLICABILITÀ PER UNO SCOPO +PARTICOLARE. Per maggiori dettagli consultare la GNU General Public +License. + +Una copia della GNU General Public License dovrebbe essere stata +fornita con Nautilus. In caso contrario scrivere a: + Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA + Andrea Zagli <azagli@libero.it> + translator-credits + + + + + + False + end + 0 + + + + + + diff --git a/doc/Makefile.am b/doc/Makefile.am index cd93d4b..ff601be 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1 +1 @@ -SUBDIRS = utenti +SUBDIRS = zak-authe-gui diff --git a/doc/utenti/Makefile.am b/doc/utenti/Makefile.am deleted file mode 100644 index aee2d7b..0000000 --- a/doc/utenti/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -SUBDIRS = examples diff --git a/doc/utenti/examples/Makefile.am b/doc/utenti/examples/Makefile.am deleted file mode 100644 index cc33176..0000000 --- a/doc/utenti/examples/Makefile.am +++ /dev/null @@ -1,6 +0,0 @@ -utenti_examplesdir = $(docdir)/examples - -utenti_examples_DATA = \ - utenti.conf - -EXTRA_DIST = $(utenti_examples_DATA) diff --git a/doc/utenti/examples/utenti.conf b/doc/utenti/examples/utenti.conf deleted file mode 100644 index 9923c83..0000000 --- a/doc/utenti/examples/utenti.conf +++ /dev/null @@ -1,3 +0,0 @@ -[AUTE] -plugin=/usr/local/lib/libaute/plugins/libaute-db -cnc_string=PostgreSQL://postgres:postgres@HOST=localhost;PORT=5432;DB_NAME=autedb diff --git a/doc/utenti/examples/utenti_ldap.conf b/doc/utenti/examples/utenti_ldap.conf deleted file mode 100644 index e5b6c99..0000000 --- a/doc/utenti/examples/utenti_ldap.conf +++ /dev/null @@ -1,7 +0,0 @@ -[AUTE] -plugin=/usr/local/lib/libaute/plugins/libaute-smbldap -host=ldap://10.0.0.102/ -base_dn=dc=nodomain -users_ou=ou=Users -groups_ou=ou=Groups -user_field=uid diff --git a/doc/zak-authe-gui/Makefile.am b/doc/zak-authe-gui/Makefile.am new file mode 100644 index 0000000..aee2d7b --- /dev/null +++ b/doc/zak-authe-gui/Makefile.am @@ -0,0 +1 @@ +SUBDIRS = examples diff --git a/doc/zak-authe-gui/examples/Makefile.am b/doc/zak-authe-gui/examples/Makefile.am new file mode 100644 index 0000000..c9c7bd9 --- /dev/null +++ b/doc/zak-authe-gui/examples/Makefile.am @@ -0,0 +1,7 @@ +zak_authe_gui_examplesdir = $(docdir)/examples + +zak_authe_gui_examples_DATA = \ + zak-authe-gui.conf \ + zak-authe-gui_ldap.conf + +EXTRA_DIST = $(zak_authe_gui_examples_DATA) diff --git a/doc/zak-authe-gui/examples/zak-authe-gui.conf b/doc/zak-authe-gui/examples/zak-authe-gui.conf new file mode 100644 index 0000000..9923c83 --- /dev/null +++ b/doc/zak-authe-gui/examples/zak-authe-gui.conf @@ -0,0 +1,3 @@ +[AUTE] +plugin=/usr/local/lib/libaute/plugins/libaute-db +cnc_string=PostgreSQL://postgres:postgres@HOST=localhost;PORT=5432;DB_NAME=autedb diff --git a/doc/zak-authe-gui/examples/zak-authe-gui_ldap.conf b/doc/zak-authe-gui/examples/zak-authe-gui_ldap.conf new file mode 100644 index 0000000..e5b6c99 --- /dev/null +++ b/doc/zak-authe-gui/examples/zak-authe-gui_ldap.conf @@ -0,0 +1,7 @@ +[AUTE] +plugin=/usr/local/lib/libaute/plugins/libaute-smbldap +host=ldap://10.0.0.102/ +base_dn=dc=nodomain +users_ou=ou=Users +groups_ou=ou=Groups +user_field=uid diff --git a/src/Makefile.am b/src/Makefile.am index b0551ba..7f60acc 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,14 +1,14 @@ -guidir = $(datadir)/utenti/gui -formdir = $(datadir)/utenti/form +guidir = $(datadir)/$(PKGNAME)/gui +formdir = $(datadir)/$(PKGNAME)/form AM_CPPFLAGS = -I.. \ - $(UTENTI_CFLAGS) \ + $(ZAK_AUTHE_GUI_CFLAGS) \ -DGUIDIR=\""$(guidir)"\" \ -DFORMDIR=\""$(formdir)"\" -LIBS = $(UTENTI_LIBS) \ +LIBS = $(ZAK_AUTHE_GUI_LIBS) \ -export-dynamic -bin_PROGRAMS = utenti +bin_PROGRAMS = zak-authe-gui -utenti_SOURCES = main.c +zak_authe_gui_SOURCES = main.c