[X2Go-Commits] x2gomatebindings.git - master (branch) updated: 0.0.1.1-16-g2b3531f

X2Go dev team git-admin at x2go.org
Thu Dec 12 09:50:41 CET 2013


The branch, master has been updated
       via  2b3531faf97f8256681fa5738ea8e9fb76b8de78 (commit)
      from  1597fee10994221d3bc1f37691dd899fb75bb104 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2b3531faf97f8256681fa5738ea8e9fb76b8de78
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Dec 12 09:50:37 2013 +0100

    Add %post, %preun, %postun scripts (icon can updates, invoke update-mate-menu-x2go).

-----------------------------------------------------------------------

Summary of changes:
 debian/changelog      |    2 ++
 x2gomatebindings.spec |   19 +++++++++++++++++++
 2 files changed, 21 insertions(+)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index faa3535..3250295 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,8 @@ x2gomatebindings (0.0.1.2-0~x2go1) UNRELEASED; urgency=low
     + Add x2gomatebindings.spec for building RPM package.
     + Link in icons from gnome-icon-theme rather then copying
       dangling symlinks into the package.
+    + Add %post, %preun, %postun scripts (icon can updates,
+      invoke update-mate-menu-x2go).
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Sun, 28 Jul 2013 18:35:22 +0200
 
diff --git a/x2gomatebindings.spec b/x2gomatebindings.spec
index ab0c3b9..716396f 100644
--- a/x2gomatebindings.spec
+++ b/x2gomatebindings.spec
@@ -32,6 +32,7 @@ MATE desktops.
 %prep
 %setup -q
 
+
 %build
 if [ ! -e configure ]; then
 	autoreconf -fi;
@@ -39,6 +40,7 @@ fi;
 %configure
 make %{?_smp_mflags};
 
+
 %install
 mkdir -p %{buildroot}%{_bindir} %{buildroot}%{_sbindir}
 make install DESTDIR="%buildroot" INSTALL_ROOT="%buildroot" STRIP="true";
@@ -61,6 +63,23 @@ mkdir -p %{buildroot}%{_libdir}/x2go/extensions/pre-runcommand.d/
 install -p -m 644 lib/x2go/extensions/pre-runcommand.d/005_MATE-monitors-xml-ignore %{buildroot}%{_libdir}/x2go/extensions/pre-runcommand.d/
 
 
+%post
+/bin/touch --no-create %{_datadir}/icons/mate &>/dev/null || :
+/usr/sbin/update-mate-menu-x2go &>/dev/null || :
+
+%preun
+/usr/sbin/update-mate-menu-x2go --remove &>/dev/null || :
+
+%postun
+if [ $1 -eq 0 ] ; then
+    /bin/touch --no-create %{_datadir}/icons/mate &>/dev/null
+    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/mate &>/dev/null || :
+fi
+
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/mate &>/dev/null || :
+
+
 %files
 %doc debian/changelog
 %doc debian/copyright


hooks/post-receive
-- 
x2gomatebindings.git (MATE bindings for X2Go)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2gomatebindings.git" (MATE bindings for X2Go).




More information about the x2go-commits mailing list