[packman] discord request

Dominik Heidler dheidler at suse.de
Tue Dec 19 11:24:52 CET 2023


Hi,

wouldn't it be sufficient to replace the discord main executable by a wrapper script
that applies this setting before every start of discord and then
uses exec to run the actual discord binary?

Regards,
Dominik

Am 19.12.23 um 05:10 schrieb Giacomo Comes:
> Hi,
> as you may know, discord has the bad habit to disable the start
> of the program as soon as a new version is available.
> This feature was quite annoying when discord was releasing updates
> every few months, but now then the releases happen weekly,
> it has become intolerable.
> Few months ago there was an attempt to disable the update check,
> (/usr/lib64/discord/disable-breaking-updates.py) but such attempt
> never worked for openSUSE.
> I have prepared a new modification that works
> (https://build.opensuse.org/package/show/home:gcomes.obs/discord)
> and I'm going to submit it to OBS.
> However, such change requires a systemd user service that should
> be enabled by default. Since the chances to get approved the
> default enabling of the service are slim, I'm going to make
> such service disabled by default on OBS, but enabled on packman.
> The way I did it uses:
>    %bcond_without distributable
> in the spec file. Therefore for packman to have discord work
> with the service enabled by default one of the following is required:
> 1) move discord to from the project Extras to Essential
>     (Essential has %define _without_distributable 1 in the
>      project config)
> 2) add %define _without_distributable 1 to the project config
>     of Extras
> 
> Is there any problem with such request?
> 
> Giacomo
> 
> 
> _______________________________________________
> Packman mailing list
> Packman at links2linux.de
> https://lists.links2linux.de/cgi-bin/mailman/listinfo/packman

-- 
Dominik Heidler
Senior Software Engineer

SUSE Software Solutions Germany GmbH
Frankenstraße 146
90461 Nürnberg
Germany

GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
(HRB 36809, AG Nürnberg)



More information about the Packman mailing list