Bug#961552: gnome-contacts: org.gnome.Contacts.png files are not installed

2020-05-26 Thread Simon Désaulniers
Actually,

I have found the issue: in the desktop file, there is a line

OnlyShowIn=GNOME;Unity;

which prevents awesome (possibly willingly) from loading the entry. I verified
that by overriding the desktop entry, i.e. by moving the desktop file to
~/.local/share/applications and trying with and without the line and without the
line Awesome succeeds in loading the file.

We could think that a patch could solve it in Debian, but I don't think that
this is a good idea since for uniformity's sake patches should be made for all
gnome packages that share this behaviour. This is not reasonable I think. I
guess that the good solution would be for Awesome to override this setting while
loading desktop files or at least let the user enable this behaviour.

Anyways. Case closed. ;)

Regards,

On Tue, May 26, 2020 at 03:47:25PM -0400, Simon Désaulniers wrote:
> Hi,
> 
> > apt-file looks at all the apt sources you have available, so you're seeing
> > the PNG icons in the version in stable. To see what's in the version you
> > actually have installed, use `dpkg -L gnome-contacts`.
> 
> Thanks for clarification! I didn't realize that apt-file was not looking into
> the right branch.
> 
> Yeah. I should have used `dpkg`.
> 
> > It looks as though since 3.31.3, gnome-contacts only installs scalable
> > icons in SVG format. This appears to have been a deliberate upstream
> > change. Is Awesome unable to display those?
> 
> So finally, I think that you're half right: yes it is about Awesome, but it's
> not that it doesn't read SVG, but it's that it's giving up on scanning the 
> whole
> directory since the current code for doing that is not yet efficient enough.
> 
> https://github.com/awesomeWM/awesome/issues/908
> 
> This issue can be closed I think. Thank you for your quick and bright 
> response!
> 
> Regards,
> 
> On Tue, May 26, 2020 at 09:01:32AM +0100, Simon McVittie wrote:
> > Control: retitle -1 gnome-contacts: only has scalable SVG icons, not bitmap 
> > PNG icons
> > 
> > On Mon, 25 May 2020 at 18:24:54 -0400, Simon Désaulniers wrote:
> > > After installing the package, the icon files are not installed on the 
> > > system.
> > > According to apt-file, they should be installed at the following paths:
> > > 
> > > gnome-contacts: 
> > > /usr/share/icons/hicolor/16x16/apps/org.gnome.Contacts.png
> > > gnome-contacts: 
> > > /usr/share/icons/hicolor/22x22/apps/org.gnome.Contacts.png
> > > gnome-contacts: 
> > > /usr/share/icons/hicolor/32x32/apps/org.gnome.Contacts.png
> > > gnome-contacts: 
> > > /usr/share/icons/hicolor/48x48/apps/org.gnome.Contacts.png
> > > gnome-contacts: 
> > > /usr/share/icons/hicolor/512x512/apps/org.gnome.Contacts.png
> > 
> > apt-file looks at all the apt sources you have available, so you're seeing
> > the PNG icons in the version in stable. To see what's in the version you
> > actually have installed, use `dpkg -L gnome-contacts`.
> > 
> > It looks as though since 3.31.3, gnome-contacts only installs scalable
> > icons in SVG format. This appears to have been a deliberate upstream
> > change. Is Awesome unable to display those?
> > 
> > smcv
> 
> -- 
> Simon Désaulniers
> sim.desaulni...@gmail.com



-- 
Simon Désaulniers
sim.desaulni...@gmail.com


signature.asc
Description: PGP signature


Bug#961552: gnome-contacts: org.gnome.Contacts.png files are not installed

2020-05-26 Thread Simon Désaulniers
Hi,

> apt-file looks at all the apt sources you have available, so you're seeing
> the PNG icons in the version in stable. To see what's in the version you
> actually have installed, use `dpkg -L gnome-contacts`.

Thanks for clarification! I didn't realize that apt-file was not looking into
the right branch.

Yeah. I should have used `dpkg`.

> It looks as though since 3.31.3, gnome-contacts only installs scalable
> icons in SVG format. This appears to have been a deliberate upstream
> change. Is Awesome unable to display those?

So finally, I think that you're half right: yes it is about Awesome, but it's
not that it doesn't read SVG, but it's that it's giving up on scanning the whole
directory since the current code for doing that is not yet efficient enough.

https://github.com/awesomeWM/awesome/issues/908

This issue can be closed I think. Thank you for your quick and bright response!

Regards,

On Tue, May 26, 2020 at 09:01:32AM +0100, Simon McVittie wrote:
> Control: retitle -1 gnome-contacts: only has scalable SVG icons, not bitmap 
> PNG icons
> 
> On Mon, 25 May 2020 at 18:24:54 -0400, Simon Désaulniers wrote:
> > After installing the package, the icon files are not installed on the 
> > system.
> > According to apt-file, they should be installed at the following paths:
> > 
> > gnome-contacts: 
> > /usr/share/icons/hicolor/16x16/apps/org.gnome.Contacts.png
> > gnome-contacts: 
> > /usr/share/icons/hicolor/22x22/apps/org.gnome.Contacts.png
> > gnome-contacts: 
> > /usr/share/icons/hicolor/32x32/apps/org.gnome.Contacts.png
> > gnome-contacts: 
> > /usr/share/icons/hicolor/48x48/apps/org.gnome.Contacts.png
> > gnome-contacts: 
> > /usr/share/icons/hicolor/512x512/apps/org.gnome.Contacts.png
> 
> apt-file looks at all the apt sources you have available, so you're seeing
> the PNG icons in the version in stable. To see what's in the version you
> actually have installed, use `dpkg -L gnome-contacts`.
> 
> It looks as though since 3.31.3, gnome-contacts only installs scalable
> icons in SVG format. This appears to have been a deliberate upstream
> change. Is Awesome unable to display those?
> 
> smcv

-- 
Simon Désaulniers
sim.desaulni...@gmail.com


signature.asc
Description: PGP signature


Bug#961552: gnome-contacts: org.gnome.Contacts.png files are not installed

2020-05-26 Thread Simon McVittie
Control: retitle -1 gnome-contacts: only has scalable SVG icons, not bitmap PNG 
icons

On Mon, 25 May 2020 at 18:24:54 -0400, Simon Désaulniers wrote:
> After installing the package, the icon files are not installed on the system.
> According to apt-file, they should be installed at the following paths:
> 
> gnome-contacts: /usr/share/icons/hicolor/16x16/apps/org.gnome.Contacts.png
> gnome-contacts: /usr/share/icons/hicolor/22x22/apps/org.gnome.Contacts.png
> gnome-contacts: /usr/share/icons/hicolor/32x32/apps/org.gnome.Contacts.png
> gnome-contacts: /usr/share/icons/hicolor/48x48/apps/org.gnome.Contacts.png
> gnome-contacts: 
> /usr/share/icons/hicolor/512x512/apps/org.gnome.Contacts.png

apt-file looks at all the apt sources you have available, so you're seeing
the PNG icons in the version in stable. To see what's in the version you
actually have installed, use `dpkg -L gnome-contacts`.

It looks as though since 3.31.3, gnome-contacts only installs scalable
icons in SVG format. This appears to have been a deliberate upstream
change. Is Awesome unable to display those?

smcv



Bug#961552: gnome-contacts: org.gnome.Contacts.png files are not installed

2020-05-25 Thread Simon Désaulniers
Package: gnome-contacts
Version: 3.36.1-1
Severity: normal

Dear Maintainer,

After installing the package, the icon files are not installed on the system.
According to apt-file, they should be installed at the following paths:

gnome-contacts: /usr/share/icons/hicolor/16x16/apps/org.gnome.Contacts.png
gnome-contacts: /usr/share/icons/hicolor/22x22/apps/org.gnome.Contacts.png
gnome-contacts: /usr/share/icons/hicolor/32x32/apps/org.gnome.Contacts.png
gnome-contacts: /usr/share/icons/hicolor/48x48/apps/org.gnome.Contacts.png
gnome-contacts: /usr/share/icons/hicolor/512x512/apps/org.gnome.Contacts.png

However, the following fails:

file /usr/share/icons/hicolor/16x16/apps/org.gnome.Contacts.png
/usr/share/icons/hicolor/16x16/apps/org.gnome.Contacts.png: cannot open 
`/usr/share/icons/hicolor/16x16/apps/org.gnome.Contacts.png' (No such file or 
directory)

The above results seem to be in contradiction with each other.

This has the effect of "blacklisting" desktop files using this icon on some
systems like the Awesome window manager. I.e. the desktop icons are not used to
populate the list of apps.

Regards,

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (700, 'experimental'), (600, 
'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.5.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_USER, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnome-contacts depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.36.0-1
ii  libatk1.0-0  2.36.0-2
ii  libc62.30-8
ii  libcairo21.16.0-4
ii  libcheese-gtk25  3.34.0-1+b2
ii  libcheese8   3.34.0-1+b2
ii  libedataserver-1.2-243.36.2-1
ii  libedataserverui-1.2-2   3.36.2-1
ii  libfolks-eds25   0.14.0-1
ii  libfolks25   0.14.0-1
ii  libgdk-pixbuf2.0-0   2.40.0+dfsg-4
ii  libgee-0.8-2 0.20.3-1
ii  libglib2.0-0 2.64.2-1
ii  libgnome-desktop-3-193.36.1-2
ii  libgoa-1.0-0b3.36.0-1
ii  libgtk-3-0   3.24.20-1
ii  libhandy-0.0-0   0.0.13-2
ii  libpango-1.0-0   1.44.7-4
ii  libpangocairo-1.0-0  1.44.7-4
ii  libwayland-server0   1.18.0-1

gnome-contacts recommends no packages.

gnome-contacts suggests no packages.

-- no debconf information

-- 
Simon Désaulniers
sim.desaulni...@gmail.com


signature.asc
Description: PGP signature