Re: How to package telegram-desktop with dependency of openh264?

I can try with adding openSUSE-repos. Can I have a code pointer of how to enable it in obs build? Best, Xu -- Xu Zhao i@xuzhao.net On Thu, Aug 1, 2024, at 11:30 AM, Lubos Kocman wrote:

Hi Lubos, On Thu, 01 Aug 2024, 18:14:41 +0200, Xu Zhao wrote:
I can try with adding openSUSE-repos. Can I have a code pointer of how to enable it in obs build?
the multimedia:libs:openh264 repo is as closed as it can be! I honestly did not find a way to get access to it. Adding a tarball for openh264 is definitly not an acceptable choice either, so I'm assuming there is *no* way for telegram-desktop in openSUSE anymore. Let's get rid of it!
Best, Xu
Cheers. l8er manfred

Am Donnerstag, 1. August 2024, 21:08:51 MESZ schrieb Manfred Hollstein:
.... so I'm assuming there is *no* way for telegram-desktop in openSUSE anymore. Let's get rid of it!
Bad idea.....I guess not only I am using it heavily Cheers Axel

Hello Menfred, this is done on purpose so we do not redistribute it via internal repo etc, I believe that you can still build against that library in openSUSE:Factory I see that openSUSE:Factory:openh264/openh264 links to openSUSE:Factory / openh264 Lubos On Thu, Aug 1, 2024 at 9:08 PM Manfred Hollstein <mhollstein@t-online.de> wrote:
-- Best regards Luboš Kocman openSUSE Leap Release Manager

On Fri, 2024-08-02 at 10:23 +0200, Lubos Kocman via openSUSE Factory wrote:
Not really, no - openSUSE:Factory openh264 is merely a package container but does not produce any artifacts in openSUSE:Factory; it's just there so maintainers do not have to remember that this lives somewhere else. It's not building in Factory and there are no binaries published. A package must not be in factory if it is not installable without further repositories enabled (recommends are fine - but then the app needs to work without that repo, be it with limited features) Cheers, Dominique

On Fri, 02 Aug 2024, 11:55:18 +0200, Dominique Leuenberger wrote:
I hope the package will not get removed ;-) I branched it into my own project, built it and disabled publishing the built packages, but use them for building. This way I succeeded to build telegram-desktop now. Trouble will be when building it in Factory however... Still don't see a valid option :-( My current status can be seen at <https://build.opensuse.org/project/show/home:manfred-h:server:messaging>
Cheers, Dominique
Cheers. l8er manfred

Hi there, On Fri, 02 Aug 2024, 12:04:04 +0200, Manfred Hollstein wrote:
While I have been able to successfully build telegram-desktop-5.3.0, the next "issue" popped up early today. v5.3.1 now requires another new external module, which does not exist in tg_owt and which we don't have in openSUSE: <https://github.com/ada-url/ada.git> The tdesktop maintainer in github is not actually any distribution friendly as he adds random stuff which does not necessarily exist in a Linux distribution. He even used (and required) beta versions of central packages like glib which we cannot and will not impose on our users. I have seen too many similar challenges and I'm now at the point to give up on this package. It is clearly my impression that this package cannot be maintained properly within openSUSE. If one really needs to use this package, I'd suggest to download the packages that usually get built in github, such as: <https://github.com/telegramdesktop/tdesktop/releases/download/v5.3.1/tsetup.5.3.1.tar.xz> I leave my current status available in my home project, but I remove my maintainer role for server:messaging/telegram-desktop Cheers. l8er manfred

Hi Lubos, On Thu, 01 Aug 2024, 18:14:41 +0200, Xu Zhao wrote:
I can try with adding openSUSE-repos. Can I have a code pointer of how to enable it in obs build?
the multimedia:libs:openh264 repo is as closed as it can be! I honestly did not find a way to get access to it. Adding a tarball for openh264 is definitly not an acceptable choice either, so I'm assuming there is *no* way for telegram-desktop in openSUSE anymore. Let's get rid of it!
Best, Xu
Cheers. l8er manfred

Am Donnerstag, 1. August 2024, 21:08:51 MESZ schrieb Manfred Hollstein:
.... so I'm assuming there is *no* way for telegram-desktop in openSUSE anymore. Let's get rid of it!
Bad idea.....I guess not only I am using it heavily Cheers Axel

Hello Menfred, this is done on purpose so we do not redistribute it via internal repo etc, I believe that you can still build against that library in openSUSE:Factory I see that openSUSE:Factory:openh264/openh264 links to openSUSE:Factory / openh264 Lubos On Thu, Aug 1, 2024 at 9:08 PM Manfred Hollstein <mhollstein@t-online.de> wrote:
-- Best regards Luboš Kocman openSUSE Leap Release Manager

On Fri, 2024-08-02 at 10:23 +0200, Lubos Kocman via openSUSE Factory wrote:
Not really, no - openSUSE:Factory openh264 is merely a package container but does not produce any artifacts in openSUSE:Factory; it's just there so maintainers do not have to remember that this lives somewhere else. It's not building in Factory and there are no binaries published. A package must not be in factory if it is not installable without further repositories enabled (recommends are fine - but then the app needs to work without that repo, be it with limited features) Cheers, Dominique

On Fri, 02 Aug 2024, 11:55:18 +0200, Dominique Leuenberger wrote:
I hope the package will not get removed ;-) I branched it into my own project, built it and disabled publishing the built packages, but use them for building. This way I succeeded to build telegram-desktop now. Trouble will be when building it in Factory however... Still don't see a valid option :-( My current status can be seen at <https://build.opensuse.org/project/show/home:manfred-h:server:messaging>
Cheers, Dominique
Cheers. l8er manfred

Hi there, On Fri, 02 Aug 2024, 12:04:04 +0200, Manfred Hollstein wrote:
While I have been able to successfully build telegram-desktop-5.3.0, the next "issue" popped up early today. v5.3.1 now requires another new external module, which does not exist in tg_owt and which we don't have in openSUSE: <https://github.com/ada-url/ada.git> The tdesktop maintainer in github is not actually any distribution friendly as he adds random stuff which does not necessarily exist in a Linux distribution. He even used (and required) beta versions of central packages like glib which we cannot and will not impose on our users. I have seen too many similar challenges and I'm now at the point to give up on this package. It is clearly my impression that this package cannot be maintained properly within openSUSE. If one really needs to use this package, I'd suggest to download the packages that usually get built in github, such as: <https://github.com/telegramdesktop/tdesktop/releases/download/v5.3.1/tsetup.5.3.1.tar.xz> I leave my current status available in my home project, but I remove my maintainer role for server:messaging/telegram-desktop Cheers. l8er manfred
participants (5)
-
Axel Braun
-
Dominique Leuenberger
-
Lubos Kocman
-
Manfred Hollstein
-
Xu Zhao