[packman] speechnote for packman
Giacomo Comes
gcomes at gmx.com
Wed Oct 23 06:58:31 CEST 2024
Hi Stefan,
On Tue, Oct 22, 2024 at 07:38:13AM +0200, Stefan Seyfried wrote:
> Hi Giacomo
>
> Am 21.10.24 um 21:25 schrieb Giacomo Comes:
> > Hi,
> > I have packaged for packman the program Speech Note.
> > https://github.com/mkiol/dsnote
> > https://lwn.net/Articles/987315/
> >
> > Since it's the first time I'm submitting a new package,
> > I'm asking for some guidance.
> >
> > Currently the program is available in:
> > https://pmbs.links2linux.org/package/show/home:gcomes.pmbs:dsnote/speechnote
> > Do I simply need to submit it to the Extra project, or is there some
> > other step that needs to be done?
>
> Why can't this be packaged in the openSUSE build service?
Let's see: speech note during the build process downloads a lot of
external programs. You can generate a list unpacking the speechnote
source and running:
grep 'source_url ' dsnote-4.6.1/cmake/*.cmake
grep url: dsnote-4.6.1/flatpak/python3-modules-x86-64.yaml
In such list there are (mostly python modules) prebuild binaries.
Is is my understanding that using prebuild binaries is a NO GO in obs.
I did try as much as possible to use system libraries, but while such
effort was productive with C sources, it was a total disaster for
the python modules, due to different version requirements.
At the end, the list of extra sources was considerable.
I packed such external downloads in sources.tar and pythonmodules.tar
so it is not necessary to download them during the build process.
If pmbs allow downloads (I have not checked if it does), then it would
be possible to reduce considerably the size of src.rpm.
There are non free sources (mbrola) too. Also ffmpeg needs to be
build from source because of a required patch. When configured it uses
the option --enable-nonfree.
I think this should answer your question.
Giacomo
> >
> > The program depends on openvino. While openvino is available on tumbleweed,
> > for Leap15.6 is only available in the project science:machinelearning.
> > What is the recommended approach for such dependency?
> > Ask the user to add the science:machinelearning repository, or branch
> > in Extra openvino as well (only build for Leap)?
>
> we can talk about this after answering why this needs to be in packman.
>
> > It would be possible to build speechnote with HW acceleration (AMD and NVIDIA).
> > For that, the build process needs to access the following external repositories:
> > https://developer.download.nvidia.com/compute/cuda/repos/opensuse15/x86_64
> > https://repo.radeon.com/rocm/zyp/5.7.3/main
> > https://yum.repos.intel.com/oneapi
> > Is it possible to do that on pmbs?
>
> I don't think so.
> --
> Stefan Seyfried
>
> "For a successful technology, reality must take precedence over
> public relations, for nature cannot be fooled." -- Richard Feynman
>
> _______________________________________________
> Packman mailing list
> Packman at links2linux.de
> https://lists.links2linux.de/cgi-bin/mailman/listinfo/packman
More information about the Packman
mailing list