--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: pythoncad: Missing menu icon and desktop file.
- From: Devid Filoni <devidfil@gmail.com>
- Date: Sat, 14 Jun 2008 11:54:02 +0200
- Message-id: <20080614095402.9826.68074.reportbug@root1-desktop>
Package: pythoncad
Version: 0.1.35-3
Severity: minor
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu hardy ubuntu-patch
There is not a desktop file and an icon. This patch fix those issues.
*** /tmp/tmpn25TAe
In Ubuntu, we've applied the attached patch to achieve the following:
* Add debian/gtkpycad.xpm icon.
* debian/rules: install icons and desktop file (LP: #236391).
* debian/menu: add icon field.
* Add debian/desktopfile.dpatch patch to modify desktop file.
* Bump Standards-Version to 3.7.3.
* Modify Maintainer value to match the DebianMaintainerField
specification.
We thought you might be interested in doing the same.
-- System Information:
Debian Release: lenny/sid
APT prefers hardy-updates
APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500, 'hardy-proposed'), (500, 'hardy-backports'), (500, 'hardy')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-19-generic (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
diff -u pythoncad-0.1.35/debian/dirs pythoncad-0.1.35/debian/dirs
--- pythoncad-0.1.35/debian/dirs
+++ pythoncad-0.1.35/debian/dirs
@@ -1 +1,3 @@
-usr/bin
\ Nessun a capo alla fine del file
+usr/bin
+usr/share/pixmaps
+usr/share/applications
diff -u pythoncad-0.1.35/debian/menu pythoncad-0.1.35/debian/menu
--- pythoncad-0.1.35/debian/menu
+++ pythoncad-0.1.35/debian/menu
@@ -2 +2,2 @@
- title="PythonCAD" command="/usr/bin/pythoncad"
+ title="PythonCAD" command="/usr/bin/pythoncad"\
+ icon="/usr/share/pixmaps/gtkpycad.xpm"
diff -u pythoncad-0.1.35/debian/patches/00list pythoncad-0.1.35/debian/patches/00list
--- pythoncad-0.1.35/debian/patches/00list
+++ pythoncad-0.1.35/debian/patches/00list
@@ -2,0 +3 @@
+desktopfile
diff -u pythoncad-0.1.35/debian/rules pythoncad-0.1.35/debian/rules
--- pythoncad-0.1.35/debian/rules
+++ pythoncad-0.1.35/debian/rules
@@ -33,6 +33,10 @@
# Add here commands to install the package into debian/pythoncad.
python setup.py install --no-compile --prefix debian/pythoncad/usr
install gtkpycad.py debian/pythoncad/usr/bin/pythoncad
+ # Install icons and desktop file
+ install gtkpycad.png debian/pythoncad/usr/share/pixmaps
+ install debian/gtkpycad.xpm debian/pythoncad/usr/share/pixmaps
+ install pythoncad.desktop debian/pythoncad/usr/share/applications
# Build architecture-independent files here.
binary-indep: build install
diff -u pythoncad-0.1.35/debian/control pythoncad-0.1.35/debian/control
--- pythoncad-0.1.35/debian/control
+++ pythoncad-0.1.35/debian/control
@@ -1,10 +1,11 @@
Source: pythoncad
Section: graphics
Priority: optional
Maintainer: Debian QA Group <packages@qa.debian.org>
Build-Depends-Indep: python, python-dev, python-support (>= 0.4)
Build-Depends: debhelper (>= 5.0.37.2), dpatch
-Standards-Version: 3.7.2
+Standards-Version: 3.7.3
Package: pythoncad
Architecture: all
diff -u pythoncad-0.1.35/debian/changelog pythoncad-0.1.35/debian/changelog
only in patch2:
unchanged:
--- pythoncad-0.1.35.orig/debian/patches/desktopfile.dpatch
+++ pythoncad-0.1.35/debian/patches/desktopfile.dpatch
@@ -0,0 +1,24 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## desktopfile.dpatch by Devid Filoni <d.filoni@techemail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad pythoncad-0.1.35~/pythoncad.desktop pythoncad-0.1.35/pythoncad.desktop
+--- pythoncad-0.1.35~/pythoncad.desktop 2004-10-23 15:34:22.000000000 +0200
++++ pythoncad-0.1.35/pythoncad.desktop 2008-06-02 21:45:24.000000000 +0200
+@@ -1,10 +1,9 @@
+ [Desktop Entry]
+ Name=PyCAD
+ Comment=PythonCAD
+-Icon=/usr/share/pixmaps/gtkpycad.png
+-Exec=/usr/bin/gtkpycad.py
++Icon=gtkpycad
++Exec=pythoncad
+ Terminal=false
+ Type=Application
+-Encoding=UTF-8
+ X-Desktop-File-Install-Version=0.3
+-Categories=Office;Graphics;Application;Utility;X-Red-Hat-Base;
++Categories=Office;X-Red-Hat-Base;
only in patch2:
unchanged:
--- pythoncad-0.1.35.orig/debian/gtkpycad.xpm
+++ pythoncad-0.1.35/debian/gtkpycad.xpm
@@ -0,0 +1,37 @@
+/* XPM */
+static char * gtkpycad_xpm[] = {
+"32 32 2 1",
+" c None",
+". c #000000",
+" ",
+" ",
+" .... ",
+" .. ..... ",
+" ... ..... ",
+" .... ........ ",
+" ...... ........ ",
+" ...... ...... ",
+" .. .... ....... ",
+" .. .... ........ ",
+" .. .... ........... ",
+" .. .... .... ..... ",
+" .. ... ..... .... ",
+" .. ........ ... ",
+" .. ..... . ",
+" .. .... ",
+" .. ....... ",
+" .. ........ ",
+" .. .... .... ",
+" .. .... .... ",
+" .. ..... .... ",
+" .. .... .... ",
+" .. .... .... ",
+" .. ... .... ",
+" ..... .... ",
+" .... ... ",
+" ....................... ",
+" ...................... ",
+" ",
+" ",
+" ",
+" "};
--- End Message ---
--- Begin Message ---
Source: pythoncad
Source-Version: 0.1.35-4
We believe that the bug you reported is fixed in the latest version of
pythoncad, which is due to be installed in the Debian FTP archive:
pythoncad_0.1.35-4.diff.gz
to pool/main/p/pythoncad/pythoncad_0.1.35-4.diff.gz
pythoncad_0.1.35-4.dsc
to pool/main/p/pythoncad/pythoncad_0.1.35-4.dsc
pythoncad_0.1.35-4_all.deb
to pool/main/p/pythoncad/pythoncad_0.1.35-4_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 486208@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Luca Falavigna <dktrkranz@ubuntu.com> (supplier of updated pythoncad package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Wed, 02 Jul 2008 00:27:49 +0200
Source: pythoncad
Binary: pythoncad
Architecture: source all
Version: 0.1.35-4
Distribution: unstable
Urgency: low
Maintainer: Luca Falavigna <dktrkranz@ubuntu.com>
Changed-By: Luca Falavigna <dktrkranz@ubuntu.com>
Description:
pythoncad - Computer Aided Drafting (CAD) program
Closes: 439159 439160 486208
Changes:
pythoncad (0.1.35-4) unstable; urgency=low
.
* New Maintainer (Closes: #439159, #439160).
* debian/control:
- Build-dependencies adjusted as per Python policy.
- Bump Standards-Version to 3.8.0.
- Move Homepage field to Source stanza.
* debian/rules:
- Remove unneeded dh_* calls.
* Add debian/pyversions as per Python policy.
* Apply changes from Devid Filoni (Closes: #486208).
* debian/copyright:
- Add copyright holder, fix lintian warning.
- Make copyright valid UTF-8, fix lintian warning.
* debian/menu:
- Adhere to new menu policy.
* debian/patches/01_documentation.dpatch:
- Manage documentation added since 0.1.22-1 under dpatch.
Checksums-Sha1:
2fe651e474f4ed1f5adb74b7c190bbf9d524db2c 1072 pythoncad_0.1.35-4.dsc
0c23a541601e73b225a2dd7d33deac898ac35a79 12282 pythoncad_0.1.35-4.diff.gz
7a132ba13e69fa753e2cfdbb518955e8c7599ff4 452018 pythoncad_0.1.35-4_all.deb
Checksums-Sha256:
2fc1bd93653976724337827618440db18e7a2f997e38014df7417db8bc08226a 1072 pythoncad_0.1.35-4.dsc
6437ef40c143c201e452020065f139ae1d2707fed0644c05df0e1ee14be38513 12282 pythoncad_0.1.35-4.diff.gz
34f76fc18308101fa5338ff21fd5d779e5992a7c1e9cd29e5a53ec25b537ad74 452018 pythoncad_0.1.35-4_all.deb
Files:
c2f44c6e2cdce133932de13927dea605 1072 graphics optional pythoncad_0.1.35-4.dsc
bdfb28e8131743a08a3eb71535f7b71f 12282 graphics optional pythoncad_0.1.35-4.diff.gz
ee63e76f359953fc672c1fb07c089a3c 452018 graphics optional pythoncad_0.1.35-4_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIcmKxbmmXPPfovGMRAlbrAKDB1R8fuQGOlZ0xm6eQW/TAS1AdywCgjTx4
4FbkeEfNsuzwUc44TMSwXKo=
=Bclb
-----END PGP SIGNATURE-----
--- End Message ---