[SCM] Packaging of padre perl editor branch, master, updated. debian/0.36-3-29-g5474592

Damyan Ivanov dmn at debian.org
Wed Aug 12 11:46:56 UTC 2009


The following commit has been merged in the master branch:
commit 547459274b33af3a65ee71e97c8c1fedbaa72fe7
Author: Damyan Ivanov <dmn at debian.org>
Date:   Wed Aug 12 14:44:27 2009 +0300

    add menu and .desktop file
    
    menu icon converted to XPM via imagemagick

diff --git a/debian/changelog b/debian/changelog
index 7712957..00dcca8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -28,6 +28,7 @@ padre (0.42-1) UNRELEASED; urgency=low
   * add more lintian overrides about script-not-executable for scripts that are
     treated as examples/templates
   * add fix-whatis.patch fixing the whatis entry of Padre::Wx
+  * add menu and .desktop file
 
  -- Damyan Ivanov <dmn at debian.org>  Tue, 11 Aug 2009 17:48:58 +0300
 
diff --git a/debian/control b/debian/control
index 8cf154f..279e3e1 100644
--- a/debian/control
+++ b/debian/control
@@ -51,6 +51,7 @@ Build-Depends-Indep: perl (>= 5.10.0),
  libwx-perl (>= 0.91),
  libwx-perl-processstream-perl (>= 0.11),
  libyaml-tiny-perl (>= 1.32),
+ imagemagick,
  xauth,
  xfonts-base,
  xvfb
diff --git a/debian/padre.desktop b/debian/padre.desktop
new file mode 100644
index 0000000..cc75413
--- /dev/null
+++ b/debian/padre.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Padre
+Comment=Perl Application Development and Refactoring Environment
+Icon=/usr/share/pixmaps/padre.xpm
+Exec=/usr/bin/padre
+Categories=Development;IDE;TextTools;
diff --git a/debian/padre.install b/debian/padre.install
index 16ee587..2d0a27c 100644
--- a/debian/padre.install
+++ b/debian/padre.install
@@ -1,4 +1,6 @@
+debian/padre.desktop usr/share/applications/
 usr/share/man/man3/Padre*
 usr/share/perl5/auto
 usr/share/perl5/Padre*
+usr/share/pixmaps/*
 usr/bin/padre
diff --git a/debian/padre.menu b/debian/padre.menu
new file mode 100644
index 0000000..7a0546d
--- /dev/null
+++ b/debian/padre.menu
@@ -0,0 +1,14 @@
+?package(padre):\
+    needs="X11" \
+    section="Applications/Programming" \
+    title="Padre" \
+    longtitle="Perl Applicationn Development and Refactoring Environment" \
+    command="padre" \
+    icon="/usr/share/pixmaps/padre.xpm"
+?package(padre):\
+    needs="X11" \
+    section="Applications/Editors" \
+    title="Padre" \
+    longtitle="Perl Applicationn Development and Refactoring Environment" \
+    command="padre" \
+    icon="/usr/share/pixmaps/padre.xpm"
diff --git a/debian/rules b/debian/rules
index 47a1e80..15d02c4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,8 @@
 %:
 	dh --with quilt $@
 
+TMP=$(CURDIR)/debian/tmp
+
 override_dh_auto_configure:
 	SKIP_WXWIDGETS_VERSION_CHECK=1 xvfb-run dh_auto_configure
 
@@ -12,6 +14,13 @@ override_dh_auto_test:
 	# encountered on STDERR)
 	#xvfb-run dh_auto_test
 
+override_dh_auto_install:
+	dh_auto_install
+	mkdir -p $(TMP)/usr/share/pixmaps
+	convert \
+	    $(TMP)/usr/share/perl5/auto/share/dist/Padre/icons/padre/16x16/logo.png \
+	    $(TMP)/usr/share/pixmaps/padre.xpm
+
 .PHONY: get-orig-source
 get-orig-source:
 	uscan --force

-- 
Packaging of padre perl editor



More information about the Pkg-perl-cvs-commits mailing list