From 8af1b04c6e64f3ddfc5d1454474a422f2b7772b9 Mon Sep 17 00:00:00 2001 From: Jason Conti Date: Tue, 10 May 2011 13:40:22 -0400 Subject: Beginning the great renaming from example to notifications. --- Makefile.am | 25 ------------------------- autogen.sh | 2 +- configure.ac | 6 +++--- indicator-install.sh | 6 +++--- indicator-restart.sh | 2 +- indicator-uninstall.sh | 4 ++-- localgen.sh | 2 +- 7 files changed, 11 insertions(+), 36 deletions(-) diff --git a/Makefile.am b/Makefile.am index 9dfa7d4..8a4e9a0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -7,28 +7,3 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall EXTRA_DIST = autogen.sh -dist-hook: - @if test -d "$(top_srcdir)/.bzr"; \ - then \ - echo Creating ChangeLog && \ - ( cd "$(top_srcdir)" && \ - echo '# Generated by Makefile. Do not edit.'; echo; \ - $(top_srcdir)/missing --run bzr log --gnu-changelog ) > ChangeLog.tmp \ - && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \ - || (rm -f ChangeLog.tmp; \ - echo Failed to generate ChangeLog >&2 ); \ - else \ - echo Failed to generate ChangeLog: not a branch >&2; \ - fi - @if test -d "$(top_srcdir)/.bzr"; \ - then \ - echo Creating AUTHORS && \ - ( cd "$(top_srcdir)" && \ - echo '# Generated by Makefile. Do not edit.'; echo; \ - $(top_srcdir)/missing --run bzr log --long --levels=0 | grep -e "^\s*author:" -e "^\s*committer:" | cut -d ":" -f 2 | cut -d "<" -f 1 | sort -u) > AUTHORS.tmp \ - && mv -f AUTHORS.tmp $(top_distdir)/AUTHORS \ - || (rm -f AUTHORS.tmp; \ - echo Failed to generate AUTHORS >&2 ); \ - else \ - echo Failed to generate AUTHORS: not a branch >&2; \ - fi diff --git a/autogen.sh b/autogen.sh index fda40fa..331674a 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,6 +1,6 @@ #!/bin/sh -PKG_NAME="indicator-example" +PKG_NAME="indicator-notifications" which gnome-autogen.sh || { echo "You need gnome-common from GNOME Git" diff --git a/configure.ac b/configure.ac index 589cf36..54ead3e 100644 --- a/configure.ac +++ b/configure.ac @@ -1,10 +1,10 @@ -AC_INIT(indicator-example, 0.1.0, jason.conti@gmail.com) +AC_INIT(indicator-notifications, 0.1.0, jason.conti@gmail.com) AC_PREREQ(2.53) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(indicator-example, 0.1.0) +AM_INIT_AUTOMAKE(indicator-notifications, 0.1.0) AM_MAINTAINER_MODE @@ -171,7 +171,7 @@ AC_DEFUN([AC_DEFINE_PATH], [ # Internationalization ########################### -GETTEXT_PACKAGE=indicator-example +GETTEXT_PACKAGE=indicator-notifications AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Name of the default get text domain]) AC_DEFINE_PATH(GNOMELOCALEDIR, "${datadir}/locale", [locale directory]) diff --git a/indicator-install.sh b/indicator-install.sh index 9300a46..f099a46 100755 --- a/indicator-install.sh +++ b/indicator-install.sh @@ -1,6 +1,6 @@ #!/bin/bash -PREFIX_NAME="$HOME/Projects/indicators/example/build" +PREFIX_NAME="$HOME/Projects/indicators/notifications/build" -cp -v "$PREFIX_NAME/share/dbus-1/services/indicator-example.service" "/usr/share/dbus-1/services/" -cp -v "$PREFIX_NAME/indicators/2/libexample.so" "/usr/lib/indicators/5/" +cp -v "$PREFIX_NAME/share/dbus-1/services/indicator-notifications.service" "/usr/share/dbus-1/services/" +cp -v "$PREFIX_NAME/indicators/2/libnotifications.so" "/usr/lib/indicators/5/" diff --git a/indicator-restart.sh b/indicator-restart.sh index efcab10..e891b44 100755 --- a/indicator-restart.sh +++ b/indicator-restart.sh @@ -1,4 +1,4 @@ #!/bin/bash -killall indicator-example-service +killall indicator-notifications-service killall gnome-panel diff --git a/indicator-uninstall.sh b/indicator-uninstall.sh index 1849f73..372525e 100755 --- a/indicator-uninstall.sh +++ b/indicator-uninstall.sh @@ -1,4 +1,4 @@ #!/bin/bash -rm -v "/usr/share/dbus-1/services/indicator-example.service" -rm -v "/usr/lib/indicators/5/libexample.so" +rm -v "/usr/share/dbus-1/services/indicator-notifications.service" +rm -v "/usr/lib/indicators/5/libnotifications.so" diff --git a/localgen.sh b/localgen.sh index a4457ef..8e28d38 100755 --- a/localgen.sh +++ b/localgen.sh @@ -1,5 +1,5 @@ #!/bin/bash -PREFIX_NAME="$HOME/Projects/indicators/example/build" +PREFIX_NAME="$HOME/Projects/indicators/notifications/build" ./autogen.sh --prefix="$PREFIX_NAME" --libdir="$PREFIX_NAME" --enable-localinstall -- cgit v1.2.3