You are not logged in.

#1 2020-06-16 16:12:16

snap.ve
Member
Registered: 2020-04-02
Posts: 48

Gufw doesn't create the desktop file

Hello there! Like i said in topic, when i install gufw, i can't found gufw.desktop in /usr/share/applications lib. That's not critical, and i can create it self, but - why?

Last edited by snap.ve (2020-09-11 14:42:04)

Offline

#2 2020-06-16 16:32:40

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 665

Re: Gufw doesn't create the desktop file

This could be a packaging bug - there is a gufw.desktop.in file in the upstream archive and the PKGBUILD mentions this:

  # required so desktop, icon and translation files get installed
  export XDG_RUNTIME_DIR="/tmp/${pkgname}"

I'm sure the packager will appreciate it if you can use the ABS to patch it yourself and submit the patch with the bug report.

Offline

#3 2020-06-16 16:41:54

snap.ve
Member
Registered: 2020-04-02
Posts: 48

Re: Gufw doesn't create the desktop file

twelveeighty wrote:

This could be a packaging bug - there is a gufw.desktop.in file in the upstream archive and the PKGBUILD mentions this:

  # required so desktop, icon and translation files get installed
  export XDG_RUNTIME_DIR="/tmp/${pkgname}"

I'm sure the packager will appreciate it if you can use the ABS to patch it yourself and submit the patch with the bug report.

That's not my level, I will be very grateful if there is someone who could do this

Offline

#4 2020-06-16 17:21:50

eschwartz
Trusted User/Bug Wrangler
Registered: 2014-08-08
Posts: 3,610

Re: Gufw doesn't create the desktop file

The PKGBUILD was recently changed to use --skip-build in the package() step, but this is problematic since the setup.py registers the desktop file for installation during the build stage (in addition to actually building it) and --skip-build in addition to skipping the build, also skips registering the data file.

I've pinged the package maintainer to fix this.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#5 2020-06-17 18:31:38

snap.ve
Member
Registered: 2020-04-02
Posts: 48

Re: Gufw doesn't create the desktop file

eschwartz wrote:

The PKGBUILD was recently changed to use --skip-build in the package() step, but this is problematic since the setup.py registers the desktop file for installation during the build stage (in addition to actually building it) and --skip-build in addition to skipping the build, also skips registering the data file.

I've pinged the package maintainer to fix this.

Ty, i'll make post like a solved

Offline

#6 2020-09-11 14:41:13

snap.ve
Member
Registered: 2020-04-02
Posts: 48

Re: Gufw doesn't create the desktop file

eschwartz wrote:

The PKGBUILD was recently changed to use --skip-build in the package() step, but this is problematic since the setup.py registers the desktop file for installation during the build stage (in addition to actually building it) and --skip-build in addition to skipping the build, also skips registering the data file.

I've pinged the package maintainer to fix this.

At the request of an official appeal here, on my own I want to add that the bug described in this post has not been fixed yet

Last edited by snap.ve (2020-09-11 14:41:49)

Offline

#7 2020-09-11 16:48:23

d_fajardo
Member
Registered: 2017-07-28
Posts: 908

Re: Gufw doesn't create the desktop file

I didn't realise this was a bug. I thought it was meant to be called from the terminal.
Anyway I manually wrote a .desktop file and put it in ~./local/share/applications. As I remember, the icon was missing as well so downloaded one from the net.

Offline

#8 2020-09-11 21:50:42

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 665

Re: Gufw doesn't create the desktop file

Please read that link you posted carefully - the Bug Wrangling won't use these forums, instead please update the bug itself and/or join the IRC channel on the 13th - https://bugs.archlinux.org/task/66468

Offline

#9 2020-09-13 04:17:35

eschwartz
Trusted User/Bug Wrangler
Registered: 2014-08-08
Posts: 3,610

Re: Gufw doesn't create the desktop file

snap.ve wrote:
eschwartz wrote:

The PKGBUILD was recently changed to use --skip-build in the package() step, but this is problematic since the setup.py registers the desktop file for installation during the build stage (in addition to actually building it) and --skip-build in addition to skipping the build, also skips registering the data file.

I've pinged the package maintainer to fix this.

At the request of an official appeal here, on my own I want to add that the bug described in this post has not been fixed yet

As the maintainer did not respond to my ping, I guess it was overlooked and slipped under the radar. I've taken the liberty of updating it myself, and correspondingly closed these bugs:
https://bugs.archlinux.org/task/66468
https://bugs.archlinux.org/task/67191

To acquire the fix or verify that you have it already:

pacman -Syu 'gufw>=20.04.1-2'

Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB