[X2Go-Commits] x2goserver.git - build-baikal (branch) updated: 3.1.1.3-63-g22ee790

X2Go dev team git-admin at x2go.org
Fri Jan 3 20:51:34 CET 2014


The branch, build-baikal has been updated
       via  22ee79023ea86cbbd46e86b0986bf9c088941825 (commit)
      from  e010395a46a9cd11293956919d606a8841ed7fd6 (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 -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 debian/changelog           |    4 ++++
 x2goserver/bin/x2gogetapps |   15 +++++++++++++++
 2 files changed, 19 insertions(+)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index ddae529..42b282f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -37,6 +37,10 @@ x2goserver (3.1.1.5-0~x2go1) UNRELEASED; urgency=low
     - Add a very basic SIGCHLD handler to x2gocleansessions. on SIGCHLD
       let the script wait for cleaning up after its children.
 
+  [ Mike Gabriel ]
+  * New upstream version (3.1.1.5):
+    - Fix x2gogetapps when rendering multi-section .desktop files.
+
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Tue, 25 Sep 2012 15:03:32 +0200
 
 x2goserver (3.1.1.4-0~x2go1) unstable; urgency=low
diff --git a/x2goserver/bin/x2gogetapps b/x2goserver/bin/x2gogetapps
index d9f9dac..40f7e70 100755
--- a/x2goserver/bin/x2gogetapps
+++ b/x2goserver/bin/x2gogetapps
@@ -119,9 +119,24 @@ sub proc_desktop_file
 	if (open(F,"<$file"))
 	{
 		print("<desktop>\n");
+		my $is_desktop_entry = 0;
 		while(!eof(F))
 		{
 			my $line=<F>;
+			if ( $line=~m/^\[Desktop Entry\] */ )
+			{
+				$is_desktop_entry = 1;
+				next;
+			}
+			if ( ! $is_desktop_entry )
+			{
+				next;
+			}
+			if ( $line=~m/^\[.*\] */ )
+			{
+				$is_desktop_entry = 0;
+				next;
+			}
 			if( $line=~m/^Categories/i || $line=~m/^Name/i || $line=~m/^Terminal/i || $line=~m/^Comment/i ||  $line=~m/^Exec/i)
 			{
 				print $line;


hooks/post-receive
-- 
x2goserver.git (X2Go Server)

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 "x2goserver.git" (X2Go Server).




More information about the x2go-commits mailing list