From 453d5f3e7d014ba558e7cad09862e570a5325bd0 Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Thu, 10 Sep 2015 10:22:51 +0200 Subject: [PATCH] Changed name. --- .gitignore | 6 ++++-- Makefile.am | 4 ++-- autogen.sh | 4 ++-- configure.ac | 9 +++++---- data/Makefile.am | 2 +- data/{autoz-gui => zak-autho-gui}/Makefile.am | 0 data/{autoz-gui => zak-autho-gui}/gui/Makefile.am | 0 data/{autoz-gui => zak-autho-gui}/gui/autoz-gui.ui | 0 library/Makefile.am | 12 ++++++------ libautozgui.pc.in => libzakauthogui.pc.in | 4 ++-- src/Makefile.am | 4 ++-- 11 files changed, 24 insertions(+), 21 deletions(-) rename data/{autoz-gui => zak-autho-gui}/Makefile.am (100%) rename data/{autoz-gui => zak-autho-gui}/gui/Makefile.am (100%) rename data/{autoz-gui => zak-autho-gui}/gui/autoz-gui.ui (100%) rename libautozgui.pc.in => libzakauthogui.pc.in (68%) 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/zak-autho-gui/Makefile.am similarity index 100% rename from data/autoz-gui/Makefile.am rename to data/zak-autho-gui/Makefile.am diff --git a/data/autoz-gui/gui/Makefile.am b/data/zak-autho-gui/gui/Makefile.am similarity index 100% rename from data/autoz-gui/gui/Makefile.am rename to data/zak-autho-gui/gui/Makefile.am diff --git a/data/autoz-gui/gui/autoz-gui.ui b/data/zak-autho-gui/gui/autoz-gui.ui similarity index 100% rename from data/autoz-gui/gui/autoz-gui.ui rename to data/zak-autho-gui/gui/autoz-gui.ui 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/libautozgui.pc.in b/libzakauthogui.pc.in similarity index 68% rename from libautozgui.pc.in rename to libzakauthogui.pc.in index 7cfef3e..cd7a088 100644 --- a/libautozgui.pc.in +++ b/libzakauthogui.pc.in @@ -4,8 +4,8 @@ libdir=@libdir@ includedir=@includedir@ Name: @PACKAGE_NAME@ -Description: Library with auto-gui interface. +Description: Library with zak-autho-gui interface. Version: @PACKAGE_VERSION@ Requires: libgda-ui-5.0 -Libs: -L${libdir} -lautozgui +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 \ -- 2.49.0