[glick2] Add gnome session with glick integration
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glick2] Add gnome session with glick integration
- Date: Thu, 6 Sep 2012 09:01:14 +0000 (UTC)
commit 23f9bebcc61b0202eaf4471110b5129dbffcfd14
Author: Alexander Larsson <alexl redhat com>
Date: Thu Sep 6 10:04:49 2012 +0200
Add gnome session with glick integration
Makefile.am | 6 +++++-
glick2.spec | 16 ++++++++++++++++
gnome-glick-session | 2 ++
gnome-glick2.desktop | 7 +++++++
4 files changed, 30 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index b94e35b..ea7f44a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -118,7 +118,11 @@ glick.desktop: Makefile glick.desktop.in
$(edit) $${srcdir}$ in >$ tmp
mv $ tmp $@
-EXTRA_DIST=glick2.conf.in glick.desktop.in glick2.xml glick2.spec glick2.init dbus-utils.h dbus-utils.c
+EXTRA_DIST= \
+ glick2.conf.in glick.desktop.in glick2.xml glick2.spec glick2.init \
+ dbus-utils.h dbus-utils.c \
+ gnome-glick2.desktop gnome-glick-session \
+ $(NULL)
DISTCHECK_CONFIGURE_FLAGS=--disable-setuid-install
diff --git a/glick2.spec b/glick2.spec
index 86b09dc..80ebc2f 100644
--- a/glick2.spec
+++ b/glick2.spec
@@ -22,6 +22,15 @@ that contains all the data and files needed to run an application. The
bundle can be run without installation, or be installed by just
putting the file in a known directory.
+%package gnome-session
+Summary: Integration with the gnome session
+Group: System Environment/Libraries
+License: GPLv2+
+Requires: gnome-session
+
+%description gnome-session
+Adds a glick integrated gnome session
+
%package tools
Summary: Tools to create glick2 bundles
Group: System Environment/Libraries
@@ -41,6 +50,9 @@ make V=1 %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/%{_datadir}/xsessions
+install gnome-glick2.desktop $RPM_BUILD_ROOT/%{_datadir}/xsessions
+install gnome-glick-session $RPM_BUILD_ROOT/%{_bindir}
# Check for pre-systemd OSes and switch to sysv init for binfmt registration
%if !%{use_binfmt_d}
@@ -100,6 +112,10 @@ fi
%files tools
%{_bindir}/glick-mkbundle
+%files gnome-session
+%{_datadir}/xsessions/gnome-glick2.desktop
+%{_bindir}/gnome-glick-session
+
%changelog
* Thu Oct 13 2011 Alexander Larsson <alexl redhat com> - 0.0.1-1
- Initial version
diff --git a/gnome-glick-session b/gnome-glick-session
new file mode 100644
index 0000000..72b5839
--- /dev/null
+++ b/gnome-glick-session
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/glick-session gnome-session
diff --git a/gnome-glick2.desktop b/gnome-glick2.desktop
new file mode 100755
index 0000000..62c7922
--- /dev/null
+++ b/gnome-glick2.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Name=GNOME (Glick)
+Comment=This session logs you into GNOME with Glick support
+TryExec=/usr/bin/gnome-glick-session
+Exec=/usr/bin/gnome-glick-session
+Icon=
+Type=Application
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]