summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2012-03-18 17:54:14 +0100
committerKay Sievers <kay.sievers@vrfy.org>2012-03-18 17:56:00 +0100
commitcf4cafc03b4b9947cc49e74590b0a7e20f0a23e9 (patch)
tree8681f80c65005140eff3a139c8713dbcca7b8429
parente967f072c1ac4f74e01e1269dae13217eb3a27cc (diff)
add systemadm desktop filev1
-rw-r--r--Makefile.am7
-rw-r--r--configure.ac8
-rw-r--r--src/systemadm.desktop8
3 files changed, 17 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am
index ea93ef5d..48e1b122 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -55,6 +55,13 @@ systemadm_VALAFLAGS = \
systemadm_LDADD = \
$(GTK_LIBS)
+desktopdir = $(datadir)/applications
+desktop_DATA = \
+ src/systemadm.desktop
+
+EXTRA_DIST = \
+ src/systemadm.desktop
+
systemd_gnome_ask_password_agent_SOURCES = \
src/gnome-ask-password-agent.vala
diff --git a/configure.ac b/configure.ac
index 3b269741..20c3bbe8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,7 +17,7 @@
AC_PREREQ(2.63)
-AC_INIT([systemd-ui],[0],[systemd-devel@lists.freedesktop.org])
+AC_INIT([systemd-ui],[1],[systemd-devel@lists.freedesktop.org])
AC_CONFIG_SRCDIR([src/systemadm.vala])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
@@ -89,10 +89,7 @@ CC_CHECK_CFLAGS_APPEND([ \
# This makes sure pkg.m4 is available.
m4_pattern_forbid([^_?PKG_[A-Z_]+$],[*** pkg.m4 missing, please install pkg-config])
-AC_ARG_WITH([rootprefix],
- AS_HELP_STRING([--with-rootprefix=DIR], [rootfs directory prefix for config files and kernel modules]),
- [], [with_rootprefix=${ac_default_prefix}])
-AC_SUBST([rootprefix], [$with_rootprefix])
+AC_SEARCH_LIBS([clock_gettime], [rt], [], [AC_MSG_ERROR([*** POSIX RT library not found])])
PKG_CHECK_MODULES(DBUS, [ dbus-1 >= 1.3.2 ])
AC_SUBST(DBUS_CFLAGS)
@@ -119,5 +116,4 @@ AC_MSG_RESULT([
$PACKAGE_NAME $VERSION
prefix: ${prefix}
- rootprefix: ${with_rootprefix}
])
diff --git a/src/systemadm.desktop b/src/systemadm.desktop
new file mode 100644
index 00000000..37498e15
--- /dev/null
+++ b/src/systemadm.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Services
+Comment=Manage System Services
+Exec=systemadm
+Icon=applications-system
+Terminal=false
+Type=Application
+Categories=System