Debian Bug report logs - #689293
dia menu entry should use /usr/bin/dia not /usr/bin/dia-normal

version graph

Package: dia; Maintainer for dia is Philippe SWARTVAGHER <phil.swart@gmx.fr>; Source for dia is src:dia (PTS, buildd, popcon).

Reported by: Andre Naujoks <nautsch2@googlemail.com>

Date: Mon, 1 Oct 2012 08:33:02 UTC

Severity: normal

Found in version dia/0.97.2-8

Fixed in version dia/0.97.2-12

Done: Roland Stigge <stigge@antcom.de>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>:
Bug#689293; Package dia. (Mon, 01 Oct 2012 08:33:04 GMT) (full text, mbox, link).


Acknowledgement sent to Andre Naujoks <nautsch2@googlemail.com>:
New Bug report received and forwarded. Copy sent to Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>. (Mon, 01 Oct 2012 08:33:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Andre Naujoks <nautsch2@googlemail.com>
To: submit@bugs.debian.org
Subject: [dia] dia menu entry should use /usr/bin/dia not /usr/bin/dia-normal
Date: Mon, 01 Oct 2012 10:30:09 +0200
Package: dia
Version: 0.97.2-8
Severity: normal

--- Please enter the report below this line. ---

Hi.

The installation of dia should add a menu entry to start dia with the
link in /usr/bin/dia, so the choice of the alternatives system is taken
into account.

Currently /usr/bin/dia-normal is used, which bypasses the alternatives
system.

Regards
  Andre Naujoks

--- System information. ---
Architecture: amd64
Kernel:       Linux 3.5-trunk-amd64

Debian Release: wheezy/sid
  500 unstable        www.debian-multimedia.org
  500 unstable        ftp.de.debian.org
  500 stable          dl.google.com
    1 experimental    ftp.de.debian.org

--- Package information. ---
Depends                    (Version) | Installed
====================================-+-==============
libart-2.0-2             (>= 2.3.18) |
libatk1.0-0              (>= 1.12.4) |
libc6                       (>= 2.7) |
libcairo2                 (>= 1.2.4) |
libfontconfig1            (>= 2.8.0) |
libfreetype6              (>= 2.2.1) |
libgdk-pixbuf2.0-0       (>= 2.22.0) |
libglib2.0-0             (>= 2.24.0) |
libgtk2.0-0              (>= 2.12.0) |
libpango1.0-0            (>= 1.18.0) |
libpng12-0             (>= 1.2.13-4) |
libxml2                   (>= 2.7.4) |
zlib1g                  (>= 1:1.1.4) |
dia-common              (= 0.97.2-8) |
dia-libs                (= 0.97.2-8) |


Recommends       (Version) | Installed
==========================-+-===========
gsfonts-x11                | 0.22


Package's Suggests field is empty.



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>:
Bug#689293; Package dia. (Wed, 03 Oct 2012 10:45:03 GMT) (full text, mbox, link).


Acknowledgement sent to Roland Stigge <stigge@antcom.de>:
Extra info received and forwarded to list. Copy sent to Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>. (Wed, 03 Oct 2012 10:45:03 GMT) (full text, mbox, link).


Message #10 received at 689293@bugs.debian.org (full text, mbox, reply):

From: Roland Stigge <stigge@antcom.de>
To: Andre Naujoks <nautsch2@googlemail.com>, 689293@bugs.debian.org, debian-devel@lists.debian.org
Subject: Re: [Pkg-dia-team] Bug#689293: dia menu entry should use /usr/bin/dia not /usr/bin/dia-normal
Date: Wed, 03 Oct 2012 12:38:09 +0200
Hi!

Thanks you for your report!

On 01/10/12 10:30, Andre Naujoks wrote:
> The installation of dia should add a menu entry to start dia with the
> link in /usr/bin/dia, so the choice of the alternatives system is taken
> into account.
> 
> Currently /usr/bin/dia-normal is used, which bypasses the alternatives
> system.

Interesting question. Currently, dia just installs menu files for
dia(-normal) and dia-gnome each, which will both appear in the menu, if
available.

Now I wonder if menu entries should follow alternative system choices or
not. Is there a policy about that or some common practice in other packages?

Roland



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>:
Bug#689293; Package dia. (Thu, 04 Oct 2012 07:09:03 GMT) (full text, mbox, link).


Acknowledgement sent to Andre Naujoks <nautsch2@googlemail.com>:
Extra info received and forwarded to list. Copy sent to Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>. (Thu, 04 Oct 2012 07:09:03 GMT) (full text, mbox, link).


Message #15 received at 689293@bugs.debian.org (full text, mbox, reply):

From: Andre Naujoks <nautsch2@googlemail.com>
To: Roland Stigge <stigge@antcom.de>
Cc: Andre Naujoks <nautsch2@googlemail.com>, 689293@bugs.debian.org, debian-devel@lists.debian.org
Subject: Re: [Pkg-dia-team] Bug#689293: dia menu entry should use /usr/bin/dia not /usr/bin/dia-normal
Date: Thu, 04 Oct 2012 09:07:35 +0200
On 03.10.2012 12:38, schrieb Roland Stigge:
> Hi!
> 
> Thanks you for your report!
> 
> On 01/10/12 10:30, Andre Naujoks wrote:
>> The installation of dia should add a menu entry to start dia with the
>> link in /usr/bin/dia, so the choice of the alternatives system is taken
>> into account.
>>
>> Currently /usr/bin/dia-normal is used, which bypasses the alternatives
>> system.
> 
> Interesting question. Currently, dia just installs menu files for
> dia(-normal) and dia-gnome each, which will both appear in the menu, if
> available.
> 
> Now I wonder if menu entries should follow alternative system choices or
> not. Is there a policy about that or some common practice in other packages?

Now that you mention it, I think I don't know any other package that
uses the alternatives system the way dia does. The choice is basically a
command line parameter.

But I think dia should start in the same configuration regardless of
where it is started from, be it a menu or the command line.

Andre

> 
> Roland




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>:
Bug#689293; Package dia. (Thu, 04 Oct 2012 08:00:03 GMT) (full text, mbox, link).


Acknowledgement sent to Roland Stigge <stigge@antcom.de>:
Extra info received and forwarded to list. Copy sent to Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>. (Thu, 04 Oct 2012 08:00:03 GMT) (full text, mbox, link).


Message #20 received at 689293@bugs.debian.org (full text, mbox, reply):

From: Roland Stigge <stigge@antcom.de>
To: Andre Naujoks <nautsch2@googlemail.com>
Cc: 689293@bugs.debian.org, debian-devel@lists.debian.org
Subject: Re: [Pkg-dia-team] Bug#689293: dia menu entry should use /usr/bin/dia not /usr/bin/dia-normal
Date: Thu, 04 Oct 2012 09:57:39 +0200
Hi!

On 10/04/2012 09:07 AM, Andre Naujoks wrote:
>> On 01/10/12 10:30, Andre Naujoks wrote:
>>> The installation of dia should add a menu entry to start dia with the
>>> link in /usr/bin/dia, so the choice of the alternatives system is taken
>>> into account.
>>>
>>> Currently /usr/bin/dia-normal is used, which bypasses the alternatives
>>> system.
>>
>> Interesting question. Currently, dia just installs menu files for
>> dia(-normal) and dia-gnome each, which will both appear in the menu, if
>> available.
>>
>> Now I wonder if menu entries should follow alternative system choices or
>> not. Is there a policy about that or some common practice in other packages?
> 
> Now that you mention it, I think I don't know any other package that
> uses the alternatives system the way dia does. The choice is basically a
> command line parameter.
> 
> But I think dia should start in the same configuration regardless of
> where it is started from, be it a menu or the command line.

Now I understand what you mean :-) : Dia actually has 4 alternatives
entries: dia-normal and dia-gnome, with an "-integrated" variant each,
to provide the "integrated window" view as default.

The upstream default ("without command line option") is non-integrated,
and on the Debian desktop, --integrated would be best.

For consolidation, we can consider doing only the integrated variant, at
least for the menus.

Still, we have dia-normal and dia-gnome. Does your report apply to this
as well? My question about other packages referred to possible examples
of menu entries interacting with alternatives config.

Roland



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>:
Bug#689293; Package dia. (Thu, 04 Oct 2012 08:24:06 GMT) (full text, mbox, link).


Acknowledgement sent to Andre Naujoks <nautsch2@googlemail.com>:
Extra info received and forwarded to list. Copy sent to Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>. (Thu, 04 Oct 2012 08:24:06 GMT) (full text, mbox, link).


Message #25 received at 689293@bugs.debian.org (full text, mbox, reply):

From: Andre Naujoks <nautsch2@googlemail.com>
To: Roland Stigge <stigge@antcom.de>
Cc: Andre Naujoks <nautsch2@googlemail.com>, 689293@bugs.debian.org, debian-devel@lists.debian.org
Subject: Re: [Pkg-dia-team] Bug#689293: dia menu entry should use /usr/bin/dia not /usr/bin/dia-normal
Date: Thu, 04 Oct 2012 10:21:58 +0200
On 04.10.2012 09:57, schrieb Roland Stigge:
> Hi!
> 
> On 10/04/2012 09:07 AM, Andre Naujoks wrote:
>>> On 01/10/12 10:30, Andre Naujoks wrote:
>>>> The installation of dia should add a menu entry to start dia with the
>>>> link in /usr/bin/dia, so the choice of the alternatives system is taken
>>>> into account.
>>>>
>>>> Currently /usr/bin/dia-normal is used, which bypasses the alternatives
>>>> system.
>>>
>>> Interesting question. Currently, dia just installs menu files for
>>> dia(-normal) and dia-gnome each, which will both appear in the menu, if
>>> available.
>>>
>>> Now I wonder if menu entries should follow alternative system choices or
>>> not. Is there a policy about that or some common practice in other packages?
>>
>> Now that you mention it, I think I don't know any other package that
>> uses the alternatives system the way dia does. The choice is basically a
>> command line parameter.
>>
>> But I think dia should start in the same configuration regardless of
>> where it is started from, be it a menu or the command line.
> 
> Now I understand what you mean :-) : Dia actually has 4 alternatives
> entries: dia-normal and dia-gnome, with an "-integrated" variant each,
> to provide the "integrated window" view as default.
> 
> The upstream default ("without command line option") is non-integrated,
> and on the Debian desktop, --integrated would be best.
> 
> For consolidation, we can consider doing only the integrated variant, at
> least for the menus.

That would mean the problem is just switched around. If I choose to
change what my dia points to (via update-alternatives) I'd expect this
change to be used when I start dia via a menu.

I think it would be best to remove the alternatives to the non
integrated forms and use the alternative chosen to launch dia from a
menu. This way dia is consistently used in its integrated form and only
if you really want to, you can start dia-normal.

> 
> Still, we have dia-normal and dia-gnome. Does your report apply to this
> as well? My question about other packages referred to possible examples
> of menu entries interacting with alternatives config.

I don't know of any, but I don't really know that many packages in depth.

dia-gnome should be one alternative in the alternatives group.

Andre

> 
> Roland




Reply sent to Roland Stigge <stigge@antcom.de>:
You have taken responsibility. (Thu, 16 May 2013 21:06:05 GMT) (full text, mbox, link).


Notification sent to Andre Naujoks <nautsch2@googlemail.com>:
Bug acknowledged by developer. (Thu, 16 May 2013 21:06:05 GMT) (full text, mbox, link).


Message #30 received at 689293-close@bugs.debian.org (full text, mbox, reply):

From: Roland Stigge <stigge@antcom.de>
To: 689293-close@bugs.debian.org
Subject: Bug#689293: fixed in dia 0.97.2-12
Date: Thu, 16 May 2013 21:03:22 +0000
Source: dia
Source-Version: 0.97.2-12

We believe that the bug you reported is fixed in the latest version of
dia, which is due to be installed in the Debian FTP archive.

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 689293@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Roland Stigge <stigge@antcom.de> (supplier of updated dia 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: Thu, 16 May 2013 21:18:30 +0200
Source: dia
Binary: dia-common dia-libs dia dia-gnome
Architecture: source all amd64
Version: 0.97.2-12
Distribution: unstable
Urgency: low
Maintainer: Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>
Changed-By: Roland Stigge <stigge@antcom.de>
Description: 
 dia        - Diagram editor
 dia-common - Diagram editor (common files)
 dia-gnome  - Diagram editor (GNOME version)
 dia-libs   - Diagram editor (library files)
Closes: 689293
Changes: 
 dia (0.97.2-12) unstable; urgency=low
 .
   * Menu file starts central /usr/bin/dia (as chosen by alternatives)
     (Closes: #689293)
Checksums-Sha1: 
 bd591e25a5f7ba51c2430368b18daf8e1be949a7 1608 dia_0.97.2-12.dsc
 1e16dd671776ab54d68ffa487b1f3c5b905e3806 40876 dia_0.97.2-12.debian.tar.gz
 6f89959fe3b75ecf4171d0be80c8ed061220129e 6323586 dia-common_0.97.2-12_all.deb
 cd628e3712378962d567bb045c10341af3c765b6 951824 dia-libs_0.97.2-12_amd64.deb
 1b444130272dbd38c29a6a7f53b01f1a34a56f55 228592 dia_0.97.2-12_amd64.deb
 195232575f290e7b0c6861e9d22c58e24d7c94b9 229418 dia-gnome_0.97.2-12_amd64.deb
Checksums-Sha256: 
 944c1ed0a9961964acdefee6451c22a71f579b3e25c90a331ee995364de66556 1608 dia_0.97.2-12.dsc
 cdca27f4e2547e53404c853ec5871b29781ab3b4c670339c164b1e056e103a1c 40876 dia_0.97.2-12.debian.tar.gz
 0c90a371f08204bf1b3cbe155fbd5efa28fd0b0c0e9637b87cdbb6a8f308ce90 6323586 dia-common_0.97.2-12_all.deb
 dfff59139af86230baef28b1d346a4959f4d4d5fe78d6aaaed09e795e3ce498c 951824 dia-libs_0.97.2-12_amd64.deb
 49e995e0a8f8147da565515f894ea4c6a8ac1c2d927348cb8f75318126f99104 228592 dia_0.97.2-12_amd64.deb
 13fe3f9884e601278241cb95aebda7383623124287663fef8fa3f407ee8e2147 229418 dia-gnome_0.97.2-12_amd64.deb
Files: 
 1f6afcaca70db3e50284b3f88e54ac80 1608 graphics optional dia_0.97.2-12.dsc
 3a8bf7eb9d4193715aff40b4b9cf78ca 40876 graphics optional dia_0.97.2-12.debian.tar.gz
 050aef3b857589a4bba06ebda9195446 6323586 graphics optional dia-common_0.97.2-12_all.deb
 17d19003743ed4b52a6039d111412c61 951824 graphics optional dia-libs_0.97.2-12_amd64.deb
 06e3df8ceb057cc1d122692a39857ac6 228592 graphics optional dia_0.97.2-12_amd64.deb
 c964722ae7ce530ae044c0a9f566514b 229418 gnome optional dia-gnome_0.97.2-12_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iD8DBQFRlTpkcaH/YBv43g8RAl5YAKDkAFarph3arCXzCyDTe0ZgUn13jQCfQ+Qa
GL/gVvuj0L9u/0gOVWufVc8=
=5bIj
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 24 Jun 2013 07:40:39 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 07:32:02 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.