[netbeans] 03/33: Convert netbean's icns icon to 128x128 png icon with icns2png and use
Markus Koschany
apo-guest at moszumanska.debian.org
Wed Feb 24 19:39:49 GMT 2016
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository netbeans.
commit 14c44125bf4563bf2d27353653b0b0c298d2a6cc
Author: Markus Koschany <apo at debian.org>
Date: Thu Feb 18 01:51:05 2016 +0100
Convert netbean's icns icon to 128x128 png icon with icns2png and use
is as desktop icon.
Thanks: Anton Sudak for the report.
LP: #1545648
---
debian/control | 1 +
debian/rules | 4 ++++
2 files changed, 5 insertions(+)
diff --git a/debian/control b/debian/control
index df3bfed..6fd652f 100644
--- a/debian/control
+++ b/debian/control
@@ -11,6 +11,7 @@ Build-Depends:
antlr3 (>= 3.5.2),
debhelper (>= 9),
default-jdk,
+ icnsutils,
javacc,
javahelp2,
javahelper,
diff --git a/debian/rules b/debian/rules
index e3f3b48..dba1e62 100755
--- a/debian/rules
+++ b/debian/rules
@@ -70,6 +70,8 @@ override_dh_auto_build:
-Dverify.checkout=false \
-Dcluster.config=basic \
-f nbbuild/build.xml build-nozip
+ # Convert the *.icns hicolor icon into a png icon
+ icns2png -x -s 128x128 -d 32 ide.branding/release/netbeans.icns netbeans.png
@@ -136,6 +138,8 @@ override_dh_auto_install:
$(INSTALL)$(pkg-nb) nbbuild/netbeans/CREDITS.html usr/share/$(pkg-nb)
$(INSTALL)$(pkg-nb) nbbuild/netbeans/README.html usr/share/$(pkg-nb)
$(INSTALL)$(pkg-nb) nbbuild/netbeans/netbeans.css usr/share/$(pkg-nb)
+ # Install 128x128 netbeans icon to hicolor directory
+ $(INSTALL)$(pkg-nb) netbeans.png usr/share/icons/hicolor/128x128/apps
$(LINK)$(pkg-nb) $(NB_INSTALL_DIR)/$(base-platform) $(NB_INSTALL_DIR)/$(DEB_UPSTREAM_VERSION)/platform
$(LINK)$(pkg-nb) $(NB_INSTALL_DIR)/harness $(NB_INSTALL_DIR)/$(DEB_UPSTREAM_VERSION)/harness
$(LINK)$(pkg-nb) $(NB_INSTALL_DIR)/$(base-apisupport) $(NB_INSTALL_DIR)/$(DEB_UPSTREAM_VERSION)/apisupport
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/netbeans.git
More information about the pkg-java-commits
mailing list