[gradle] 03/04: Add an application menu entry for Gradle GUI

Kai-Chung Yan seamlik-guest at moszumanska.debian.org
Thu Oct 1 15:52:02 UTC 2015


This is an automated email from the git hooks/post-receive script.

seamlik-guest pushed a commit to branch master
in repository gradle.

commit e0e208ecc27340d2348d0a477ee8bfca52a87985
Author: Kai-Chung Yan <seamlikok at gmail.com>
Date:   Thu Oct 1 23:43:16 2015 +0800

    Add an application menu entry for Gradle GUI
---
 debian/changelog                      |  1 +
 debian/gradle.desktop                 | 13 +++++++++++++
 debian/gradle.install                 |  5 +++--
 debian/gradle.links                   | 12 ++++++++++--
 debian/libgradle-plugins-java.install |  2 +-
 5 files changed, 28 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e58ba7c..db96af2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,7 @@ gradle (2.7-1) UNRELEASED; urgency=low
   * Remove build_init.diff: Obsolete
   * Remove taskOrdering.diff: Obsolete
   * d/rules: Updtae parallel Gradle usage
+  * Add an application menu entry for Gradle GUI
 
  -- Kai-Chung Yan <seamlikok at gmail.com>  Wed, 30 Sep 2015 04:37:18 +0800
 
diff --git a/debian/gradle.desktop b/debian/gradle.desktop
new file mode 100644
index 0000000..3646e3b
--- /dev/null
+++ b/debian/gradle.desktop
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Categories = Development;Building;Java
+Comment = Gradle Graphical User Interface
+Comment[zh_CN] = Gradle 图形化界面
+Comment[zh_TW] = Gradle 圖形化界面
+Exec = gradle --gui
+GenericName = Build Automation Tool
+GenericName[zh_CN] = 构建自动化工具
+GenericName[zh_TW] = 構建自動化工具
+Icon = gradle
+Keywords = gradle;java;
+Name = Gradle
+Type = Application
\ No newline at end of file
diff --git a/debian/gradle.install b/debian/gradle.install
index ea99b3e..a89a4a5 100644
--- a/debian/gradle.install
+++ b/debian/gradle.install
@@ -1,2 +1,3 @@
-subprojects/launcher/build/startScripts/gradle     usr/share/gradle/bin/
-subprojects/distributions/src/toplevel/init.d/     usr/share/gradle/
\ No newline at end of file
+subprojects/launcher/build/startScripts/gradle     usr/share/gradle/bin
+subprojects/distributions/src/toplevel/init.d      usr/share/gradle
+debian/gradle.desktop                              usr/share/applications
\ No newline at end of file
diff --git a/debian/gradle.links b/debian/gradle.links
index 99f1c46..2958c14 100644
--- a/debian/gradle.links
+++ b/debian/gradle.links
@@ -1,5 +1,13 @@
 # The start script explicitly locates the versioned gradle-launcher at lib/ ,
 # hence we need to place the symlink.
 
-usr/share/gradle/bin/gradle            usr/bin/gradle
-usr/share/java/gradle-launcher-2.5.jar usr/share/gradle/lib/gradle-launcher-2.5.jar
\ No newline at end of file
+usr/share/gradle/bin/gradle                    usr/bin/gradle
+usr/share/java/gradle-launcher-2.7.jar         usr/share/gradle/lib/gradle-launcher-2.7.jar
+usr/share/gradle/media/gradle-icon-16x16.png   usr/share/icons/hicolor/16x16/apps/gradle.png
+usr/share/gradle/media/gradle-icon-24x24.png   usr/share/icons/hicolor/24x24/apps/gradle.png
+usr/share/gradle/media/gradle-icon-32x32.png   usr/share/icons/hicolor/32x32/apps/gradle.png
+usr/share/gradle/media/gradle-icon-48x48.png   usr/share/icons/hicolor/48x48/apps/gradle.png
+usr/share/gradle/media/gradle-icon-64x64.png   usr/share/icons/hicolor/64x64/apps/gradle.png
+usr/share/gradle/media/gradle-icon-128x128.png usr/share/icons/hicolor/128x128/apps/gradle.png
+usr/share/gradle/media/gradle-icon-256x256.png usr/share/icons/hicolor/256x256/apps/gradle.png
+usr/share/gradle/media/gradle-icon-512x512.png usr/share/icons/hicolor/512x512/apps/gradle.png
\ No newline at end of file
diff --git a/debian/libgradle-plugins-java.install b/debian/libgradle-plugins-java.install
index 1605337..901c84b 100644
--- a/debian/libgradle-plugins-java.install
+++ b/debian/libgradle-plugins-java.install
@@ -1 +1 @@
-subprojects/distributions/src/toplevel/media/     /usr/share/gradle/
\ No newline at end of file
+subprojects/distributions/src/toplevel/media     /usr/share/gradle
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/gradle.git



More information about the pkg-java-commits mailing list