aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-02 19:18:59 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-02 19:18:59 +0100
commit6bc2b280c349851a05f28ca4b06fe5d51c59bea0 (patch)
tree6ad296b2792b4fa70a309f9e9bbdb3c6fabfb69c
parent27a4b02329b62efffa89419d73be7c1f10838d76 (diff)
downloadayatana-indicator-notifications-6bc2b280c349851a05f28ca4b06fe5d51c59bea0.tar.gz
ayatana-indicator-notifications-6bc2b280c349851a05f28ca4b06fe5d51c59bea0.tar.bz2
ayatana-indicator-notifications-6bc2b280c349851a05f28ca4b06fe5d51c59bea0.zip
Convert to Ayatana Indicators.
-rwxr-xr-xautogen.sh8
-rw-r--r--configure.ac17
-rw-r--r--data/Makefile.am2
-rw-r--r--data/icons/Makefile.am8
-rw-r--r--data/icons/ayatana-indicator-notification-close-deselect.svg (renamed from data/icons/indicator-notification-close-deselect.svg)0
-rw-r--r--data/icons/ayatana-indicator-notification-close-select.svg (renamed from data/icons/indicator-notification-close-select.svg)0
-rw-r--r--data/icons/ayatana-indicator-notification-read.svg (renamed from data/icons/indicator-notification-read.svg)0
-rw-r--r--data/icons/ayatana-indicator-notification-unread.svg (renamed from data/icons/indicator-notification-unread.svg)0
-rw-r--r--data/org.ayatana.indicator.notifications.gschema.xml.in.in (renamed from data/net.launchpad.indicator.notifications.gschema.xml.in.in)0
-rw-r--r--po/POTFILES.in2
-rw-r--r--po/POTFILES.skip2
-rw-r--r--po/indicator-notifications.pot34
-rw-r--r--src/Makefile.am2
-rw-r--r--src/indicator-notifications.c6
-rwxr-xr-xtools/indicator-install.sh5
-rwxr-xr-xtools/indicator-restart.sh3
-rwxr-xr-xtools/indicator-uninstall.sh3
-rwxr-xr-xtools/localgen.sh5
18 files changed, 18 insertions, 79 deletions
diff --git a/autogen.sh b/autogen.sh
index 331674a..8004621 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,11 +1,11 @@
#!/bin/sh
-PKG_NAME="indicator-notifications"
+PKG_NAME="ayatana-indicator-notifications"
-which gnome-autogen.sh || {
- echo "You need gnome-common from GNOME Git"
+which mate-autogen || {
+ echo "You need mate-common from https://git.mate-desktop.org"
exit 1
}
USE_GNOME2_MACROS=1 \
-. gnome-autogen.sh $@
+. mate-autogen $@
diff --git a/configure.ac b/configure.ac
index 3ec1f55..fc2e4fa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([indicator-notifications], [0.3.3], [jason.conti@gmail.com])
+AC_INIT([ayatana-indicator-notifications], [0.4.0], [jason.conti@gmail.com])
AM_INIT_AUTOMAKE([-Wall -Werror])
@@ -30,7 +30,7 @@ GLIB_GSETTINGS
INDICATOR_REQUIRED_VERSION=0.3.19
GTK3_REQUIRED_VERSION=3.0
-INDICATOR3_PKG_NAME=indicator3-0.4
+INDICATOR3_PKG_NAME=ayatana-indicator3-0.4
PKG_CHECK_MODULES(INDICATOR, $INDICATOR3_PKG_NAME >= $INDICATOR_REQUIRED_VERSION
gtk+-3.0 >= GTK3_REQUIRED_VERSION)
@@ -40,18 +40,7 @@ AC_SUBST(INDICATOR_LIBS)
# Library directories from pkg-config
-with_localinstall="no"
-AC_ARG_ENABLE([localinstall],
- [AS_HELP_STRING([--enable-localinstall],
- [set default library directories instead of asking pkg-config (default is no)])],
- [with_localinstall="yes"],
- [with_localinstall="no"])
-
-if test "x$with_localinstall" = "xyes"; then
- INDICATORDIR="${libdir}/indicators/2/"
-else
- INDICATORDIR=`$PKG_CONFIG --variable=indicatordir $INDICATOR3_PKG_NAME`
-fi
+INDICATORDIR=`$PKG_CONFIG --variable=indicatordir $INDICATOR3_PKG_NAME`
INDICATORICONSDIR="${datadir}/pixmaps/"
AC_SUBST(INDICATORDIR)
diff --git a/data/Makefile.am b/data/Makefile.am
index 7299c5b..1960ad7 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,6 +1,6 @@
SUBDIRS = icons
-gsettings_file = net.launchpad.indicator.notifications.gschema.xml
+gsettings_file = org.ayatana.indicator.notifications.gschema.xml
gsettings_SCHEMAS = $(gsettings_file)
@INTLTOOL_XML_NOMERGE_RULE@
diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am
index 2543305..13251ac 100644
--- a/data/icons/Makefile.am
+++ b/data/icons/Makefile.am
@@ -1,9 +1,9 @@
iconsdir = $(INDICATORICONSDIR)
icons_DATA = \
- indicator-notification-close-select.svg \
- indicator-notification-close-deselect.svg \
- indicator-notification-read.svg \
- indicator-notification-unread.svg
+ ayatana-indicator-notification-close-select.svg \
+ ayatana-indicator-notification-close-deselect.svg \
+ ayatana-indicator-notification-read.svg \
+ ayatana-indicator-notification-unread.svg
EXTRA_DIST = $(icons_DATA)
diff --git a/data/icons/indicator-notification-close-deselect.svg b/data/icons/ayatana-indicator-notification-close-deselect.svg
index 3e92220..3e92220 100644
--- a/data/icons/indicator-notification-close-deselect.svg
+++ b/data/icons/ayatana-indicator-notification-close-deselect.svg
diff --git a/data/icons/indicator-notification-close-select.svg b/data/icons/ayatana-indicator-notification-close-select.svg
index 21f5026..21f5026 100644
--- a/data/icons/indicator-notification-close-select.svg
+++ b/data/icons/ayatana-indicator-notification-close-select.svg
diff --git a/data/icons/indicator-notification-read.svg b/data/icons/ayatana-indicator-notification-read.svg
index 97e1f1e..97e1f1e 100644
--- a/data/icons/indicator-notification-read.svg
+++ b/data/icons/ayatana-indicator-notification-read.svg
diff --git a/data/icons/indicator-notification-unread.svg b/data/icons/ayatana-indicator-notification-unread.svg
index beb2292..beb2292 100644
--- a/data/icons/indicator-notification-unread.svg
+++ b/data/icons/ayatana-indicator-notification-unread.svg
diff --git a/data/net.launchpad.indicator.notifications.gschema.xml.in.in b/data/org.ayatana.indicator.notifications.gschema.xml.in.in
index a4c6dde..a4c6dde 100644
--- a/data/net.launchpad.indicator.notifications.gschema.xml.in.in
+++ b/data/org.ayatana.indicator.notifications.gschema.xml.in.in
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 733d6d5..0a6999a 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,4 +1,4 @@
-data/net.launchpad.indicator.notifications.gschema.xml.in.in
+data/org.ayatana.indicator.notifications.gschema.xml.in.in
src/dbus-spy.c
src/indicator-notifications.c
src/notification.c
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index 62744c2..81805f2 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -1 +1 @@
-data/net.launchpad.indicator.notifications.gschema.xml.in
+data/org.ayatana.indicator.notifications.gschema.xml.in
diff --git a/po/indicator-notifications.pot b/po/indicator-notifications.pot
deleted file mode 100644
index bb3fbea..0000000
--- a/po/indicator-notifications.pot
+++ /dev/null
@@ -1,34 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-02-26 15:13-0500\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=CHARSET\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
-
-#: ../src/indicator-notifications.c:160
-msgid "Notifications"
-msgstr ""
-
-#: ../src/indicator-notifications.c:451
-#, c-format
-msgid "Clear <small>(%d Notification)</small>"
-msgid_plural "Clear <small>(%d Notifications)</small>"
-msgstr[0] ""
-msgstr[1] ""
-
-#: ../src/notification-menuitem.c:96
-msgid "from"
-msgstr ""
diff --git a/src/Makefile.am b/src/Makefile.am
index 9425475..632119e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -13,7 +13,7 @@ libnotifications_la_SOURCES = \
libnotifications_la_CFLAGS = \
$(INDICATOR_CFLAGS) \
-Wall \
- -DG_LOG_DOMAIN=\"Indicator-Notifications\"
+ -DG_LOG_DOMAIN=\"Ayatana-Indicator-Notifications\"
libnotifications_la_LIBADD = \
$(INDICATOR_LIBS)
libnotifications_la_LDFLAGS = \
diff --git a/src/indicator-notifications.c b/src/indicator-notifications.c
index 41164c9..34cb3b5 100644
--- a/src/indicator-notifications.c
+++ b/src/indicator-notifications.c
@@ -32,9 +32,9 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include <gdk-pixbuf/gdk-pixbuf.h>
/* Indicator Stuff */
-#include <libindicator/indicator.h>
-#include <libindicator/indicator-object.h>
-#include <libindicator/indicator-service-manager.h>
+#include <libayatana-indicator/indicator.h>
+#include <libayatana-indicator/indicator-object.h>
+#include <libayatana-indicator/indicator-service-manager.h>
#include "dbus-spy.h"
#include "notification-menuitem.h"
diff --git a/tools/indicator-install.sh b/tools/indicator-install.sh
deleted file mode 100755
index 1a6ccc3..0000000
--- a/tools/indicator-install.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-
-PREFIX_NAME="$HOME/Projects/indicators/notifications/build"
-
-cp -v "$PREFIX_NAME/indicators/2/libnotifications.so" "$(pkg-config --variable=indicatordir indicator3-0.4)"
diff --git a/tools/indicator-restart.sh b/tools/indicator-restart.sh
deleted file mode 100755
index b49abee..0000000
--- a/tools/indicator-restart.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-killall gnome-panel
diff --git a/tools/indicator-uninstall.sh b/tools/indicator-uninstall.sh
deleted file mode 100755
index 4ef81e1..0000000
--- a/tools/indicator-uninstall.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-rm -v "$(pkg-config --variable=indicatordir indicator3-0.4)/libnotifications.so"
diff --git a/tools/localgen.sh b/tools/localgen.sh
deleted file mode 100755
index 8e28d38..0000000
--- a/tools/localgen.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-
-PREFIX_NAME="$HOME/Projects/indicators/notifications/build"
-
-./autogen.sh --prefix="$PREFIX_NAME" --libdir="$PREFIX_NAME" --enable-localinstall