[Debian-med-packaging] [imagej] 01/03: d/imagej.menu: add Debian menu entry and update Standards-Version to 4.0.1
Andreas Tille
andreas at an3as.eu
Sun Aug 13 03:52:18 UTC 2017
Hi Carnë,
thank you for the contribution and feel free to add your ID to Uploaders
if you are interested in this package. Regarding this specific change
I wonder whether you are aware that per policy menu should be deleted
if desktop file exists.
Kind regards
Andreas.
On Sun, Aug 13, 2017 at 03:11:49AM +0000, Carnë Draug wrote:
> This is an automated email from the git hooks/post-receive script.
>
> carandraug-guest pushed a commit to branch master
> in repository imagej.
>
> commit 29cf1dbeb21b9bc3540b9859cbe43bb92718bf01
> Author: Carnë Draug <carandraug+dev at gmail.com>
> Date: Sun Aug 13 03:33:49 2017 +0100
>
> d/imagej.menu: add Debian menu entry and update Standards-Version to 4.0.1
> ---
> debian/changelog | 14 ++++++--------
> debian/control | 2 +-
> debian/extra/{microscope.xpm => imagej1.xpm} | 2 +-
> debian/imagej.desktop | 2 +-
> debian/imagej.menu | 6 ++++++
> debian/install | 2 +-
> 6 files changed, 16 insertions(+), 12 deletions(-)
>
> diff --git a/debian/changelog b/debian/changelog
> index c377b53..3bdaa83 100644
> --- a/debian/changelog
> +++ b/debian/changelog
> @@ -1,14 +1,10 @@
> imagej (1.51p+dfsg-1) UNRELEASED; urgency=medium
>
> TODO:
> - - Upgrade Standards-Version to 4.0.1. This will require installing a
> - Debian menu system entry see section 9.6 of Debian policy.
> - - Also on section 9.6, we should have an higher quality icon. Upstream
> - already has 'images/microscope.gif' which at least means we can drop
> - 'debian/extra/microscope.xpm'. However, there's a nicer icon which is
> - used on the ImageJ wiki to represent ImageJ1. See
> - http://imagej.net/File:Imagej1-icon.png and the discussion of that
> - page where we ask for copyright of the image.
> + - On Debian policy 9.6, we should have an higher quality icon for the
> + desktop entry. here's a nicer icon which is used on the ImageJ wiki
> + to represent ImageJ1. See http://imagej.net/File:Imagej1-icon.png
> + and the discussion of that page where we ask for copyright of the image.
> - Have separate libimagej-java-doc package so that Java libraries
> dependent on ij.jar can be built. May has well have libimagej-java
> which would only install ij.jar.
> @@ -36,6 +32,8 @@ imagej (1.51p+dfsg-1) UNRELEASED; urgency=medium
> plugins that were distributed in compiled from upstream. While
> upstream also distributes the corresponding source, their dependencies
> are not free software and MacOS specific.
> + * The pixmap file was renamed from microscope.xpm to imagej1.xpm to
> + match with application name.
>
> -- Andreas Tille <tille at debian.org> Sat, 12 Aug 2017 00:29:11 +0200
>
> diff --git a/debian/control b/debian/control
> index ce90f4f..afd6b6b 100644
> --- a/debian/control
> +++ b/debian/control
> @@ -9,7 +9,7 @@ Build-Depends-Indep: ant,
> default-jdk-headless,
> javahelper,
> maven-repo-helper
> -Standards-Version: 3.9.8
> +Standards-Version: 4.0.1
> Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/imagej.git
> Vcs-Git: https://anonscm.debian.org/git/debian-med/imagej.git
> Homepage: http://imagej.nih.gov/ij
> diff --git a/debian/extra/microscope.xpm b/debian/extra/imagej1.xpm
> similarity index 94%
> rename from debian/extra/microscope.xpm
> rename to debian/extra/imagej1.xpm
> index 6379977..3837168 100644
> --- a/debian/extra/microscope.xpm
> +++ b/debian/extra/imagej1.xpm
> @@ -1,5 +1,5 @@
> /* XPM */
> -static char * microscope_xpm[] = {
> +static char * imagej1_xpm[] = {
> "20 20 7 1",
> " c None",
> ". c #C3D100",
> diff --git a/debian/imagej.desktop b/debian/imagej.desktop
> index 565d8a7..41eb966 100644
> --- a/debian/imagej.desktop
> +++ b/debian/imagej.desktop
> @@ -39,6 +39,6 @@ Comment[fr]=Traitement et analyse de l'image
> Comment[it]=Trattamento ed analisi delle immagini
> Keywords=microscopy;microscope;image;processing;analysis;
> Exec=imagej %f
> -Icon=microscope
> +Icon=imagej1
> Categories=Graphics;Science;Biology;Education;ImageProcessing;
> MimeType=image/bmp;image/gif;image/jpeg;image/jpg;image/pjpeg;image/png;image/tiff;image/x-bmp;image/x-fits;image/x-png;image/x-psd;image/x-xbitmap;application/dicom;
> diff --git a/debian/imagej.menu b/debian/imagej.menu
> new file mode 100644
> index 0000000..655c318
> --- /dev/null
> +++ b/debian/imagej.menu
> @@ -0,0 +1,6 @@
> +?package(imagej): \
> + needs="X11" \
> + section="Applications/Science/Biology" \
> + title="ImageJ" \
> + command="imagej" \
> + icon="/usr/share/pixmaps/imagej1.xpm"
> diff --git a/debian/install b/debian/install
> index 72f194f..40bc174 100644
> --- a/debian/install
> +++ b/debian/install
> @@ -1,5 +1,5 @@
> debian/extra/luts/* usr/share/imagej/luts
> -debian/extra/microscope.xpm usr/share/pixmaps
> +debian/extra/imagej1.xpm usr/share/pixmaps
> ij.jar usr/share/java
> build/macros/* usr/share/imagej/macros
> debian/imagej.desktop usr/share/applications
>
> --
> Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/imagej.git
>
> _______________________________________________
> debian-med-commit mailing list
> debian-med-commit at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list