WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Working on SimpleScreenRecorder package for CurePure64  (Read 3005 times)

Offline cmk

  • Newbie
  • *
  • Posts: 25
Working on SimpleScreenRecorder package for CurePure64
« on: September 02, 2022, 06:06:44 AM »
Hi guys, I've been using simple screen recorder (https://github.com/MaartenBaert/ssr)
for recording my programming tutorials for youtube under linux mint.
After migrating to CorePure64 with my custom package set I tried using recordmydesktop.
It worked and I even managed to record sound from the external mic but the video was laggy.

Since I didn't find simple screen recorder in tiny core tcz repo I decided to compile it under tcl myself.
After installing tons of dev dependencies I've finay managed to compile it, run and record a test video
with sound (ssr supports both alsa and pulseaudio, I used alsa):
https://www.youtube.com/watch?v=uFUGuQBdbfA

Now I'd like to turn this into a tcz extension so that community members could make use of it as well.
I do understand how to create the tcz using squashfs but what I don't understand is how to properly
resolve the dependencies. I mean dev dependencies are not the same as runtime and to be honest
I've already lost the count of those (despite writing them on a piece of paper). So is there a way to
somehow get the .dep file for my custom extension?

And for the future, if I manage to bring it all together - who can I contact to submit the package to the mirror?

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 723
Re: Working on SimpleScreenRecorder package for CurePure64
« Reply #1 on: September 02, 2022, 06:48:04 AM »
If you go to this repository hidden directory you can find some files called .build or something.
http://tinycorelinux.net/13.x/x86/tcz/src/

Like logrotate
http://tinycorelinux.net/13.x/x86/tcz/src/logrotate/logrotate.build

There you have some clues to make a script to make the extension(s).

You also have a script in the forum to verify the extension, and then you can submit the extension.
https://github.com/tinycorelinux/submitqc
« Last Edit: September 02, 2022, 07:16:52 AM by patrikg »

Offline cmk

  • Newbie
  • *
  • Posts: 25
Re: Working on SimpleScreenRecorder package for CurePure64
« Reply #2 on: September 02, 2022, 07:37:23 AM »
If you go to this repository hidden directory you can find some files called .build or something.
http://tinycorelinux.net/13.x/x86/tcz/src/

Like logrotate
http://tinycorelinux.net/13.x/x86/tcz/src/logrotate/logrotate.build

There you have some clues to make a script to make the extension(s).

You also have a script in the forum to verify the extension, and then you can submit the extension.
https://github.com/tinycorelinux/submitqc

Thank you Patrik!
Exactly what I've been looking for.
I managed to make my custom tcz after configure/make/install simple screen recorder to a specific folder
and then making tcz with squashfs tool. Now need to go for some testing and then hopefully submitting it.
Simple screen recorder is much better than record my desktop and I consider it to be a must have thing)

P.S. The more I play around with tiny core the more I love it) I no longer need linux mint for making my videos! Wohoo!

Offline cmk

  • Newbie
  • *
  • Posts: 25
Re: Working on SimpleScreenRecorder package for CurePure64
« Reply #3 on: September 03, 2022, 06:36:45 AM »
Guys, could someone please provide some further guadience on package subscription?

So here's what I've got so far with SimpleScreenRecorder by Maarten Baert:
1. Compiled and ran under CorePure64_current (with my custom package set, including build dependencies for simple screen recorder)
2. Created simplescreenrecorder.tcz using mksquashfs
3. Manually added .info file and .dep file

On my current custom CorePure64_current SimpleScreenRecorder works like a charm:
https://www.youtube.com/watch?v=Cch7-4NkZ3c

Now here some confusions arising, first of all I only have the build dependency list from the SimpleScreenRecorder's README:
Code: [Select]
    GCC (>= 4.6)
    cmake
    pkg-config
    Qt4 (4.8 or newer) or Qt5 (5.7 or newer)
    ffmpeg or libav (libavformat, libavcodec, libavutil, libswscale)
    ALSA library
    PulseAudio library (optional, disable with -DWITH_PULSEAUDIO=FALSE)
    JACK library (optional, disable with -DWITH_JACK=FALSE)
    libGL (32 and 64 bit)
    libGLU (32 and 64 bit)
    libX11 (32 and 64 bit)
    libXfixes (32 and 64 bit)
    libXext
    libXi
    libxinerama
    video4linux2 (V4L2) library

however I guess fewer dependencies are needed for runtime, but I have no idea how to test that, can someone please elaborate on this?
(currently I've only added
Code: [Select]
ffmpeg4.tcz and
Code: [Select]
jack.tcz in my simplescreenrecorder.tcz.dep file)

Next thing. I've tested this extension with submitqc script, here's the output:
Code: [Select]
==============================================================
This is the Tiny Core extension submission quality testing tool.
This pre-release is UNDER TESTING for TC5/6 and x86/x86_64.

see --help for usage instructions.

Release: SOURCE RUN
==============================================================

Checking against Core release 13.x on x86_64 / 5.15.10-tinycore64

submitqc: loading required extensions ... Done.
submitqc: removing old log files. Ok.
submitqc: making space for new log files. Done.
/submitqc: checking http://repo.tinycorelinux.net/ (timeout 3 sec) ... Connected!
submitqc: fetching info.lst.gz ... Ok.

submitqc: simplescreenrecorder.tcz checks begin =====
submitqc: simplescreenrecorder.tcz squashfs tree has files in it? Ok.
submitqc: simplescreenrecorder.tcz info file structure ok? Ok.
submitqc: simplescreenrecorder.tcz info similar to others in repository? Ok.
submitqc: simplescreenrecorder.tcz dep file compared to repository copy? No dep file in repo - done.
submitqc: simplescreenrecorder.tcz dependencies exist?
ffmpeg4.tcz: found in repository.
jack.tcz: found in repository.
Done.
submitqc: simplescreenrecorder.tcz mountable? /-\|/-\|/-\|/-\|/-\|/Passed mount check.
submitqc: simplescreenrecorder.tcz correct block size? Yes.
submitqc: simplescreenrecorder.tcz unsquashing for further tests ... /Done.
submitqc: simplescreenrecorder.tcz squashfs tree ok? Ok.
submitqc: simplescreenrecorder.tcz startup files ok? None present. Ok, I think.
submitqc: simplescreenrecorder.tcz includes copyright notice? Looks ok.
submitqc: simplescreenrecorder.tcz file/directory ownerships & permissions ok? /-\|/-\|/-Ok.
submitqc: simplescreenrecorder.tcz binaries have been stripped? /-\|/Ok.
submitqc: simplescreenrecorder.tcz list file looks ok? Ok.
submitqc: simplescreenrecorder.tcz comparing list to mirror copy. Not on mirror.
submitqc: simplescreenrecorder.tcz dep file includes all necessary libraries? /-\|/
WARNING: dependency v4l-dvb-KERNEL.tcz missing - tests will be inconclusive.
Ok!

WARNING: error during tests - inconclusive
submitqc: simplescreenrecorder.tcz checking md5.txt. Ok.
submitqc: simplescreenrecorder.tcz squash tree checks complete. Cleaning up ... /Done.
submitqc: simplescreenrecorder.tcz creating new simplescreenrecorder.tcz.zsync Done.
submitqc: simplescreenrecorder.tcz.build-dep or build-dep included?
Not found, but it is suggested/requested.
submitqc: simplescreenrecorder.tcz.tgz included?
Not found, but it is suggested/requested.
submitqc: simplescreenrecorder.tcz: setting ownership & permissions of simplescreenrecorder.tcz* ... Ok!
submitqc: simplescreenrecorder.tcz checks end =====


submitqc: All extensions passed! Ready for submission.

I'm confused with this warning:
Code: [Select]
WARNING: dependency v4l-dvb-KERNEL.tcz missing - tests will be inconclusive.It comes from jack.tcz (well at least it's gone if I don't include jack.tcz)
And what confuses me even more is that at the end it says:
Code: [Select]
submitqc: All extensions passed! Ready for submission.
So is it inconclusive or ok?

Finally I have 3 major questions:
1. How do I get the proper list of dependencies to populate .dep file (or just dump dev dependencies? (this would ensure it runs))
2. How can I specify dep-libs? (do I understand it properly that dep-libs are libs the deps depend on?)
3. How to actually submit the extension?
« Last Edit: September 03, 2022, 06:41:16 AM by cmk »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Working on SimpleScreenRecorder package for CurePure64
« Reply #4 on: September 03, 2022, 06:39:17 AM »
Use ldd to determine the deps, i.e.
Code: [Select]
ldd `which simplescreenrecorder`
Please submit the extension to tcesubmit@gmail.com
« Last Edit: September 03, 2022, 06:52:56 AM by Juanito »

Offline cmk

  • Newbie
  • *
  • Posts: 25
Re: Working on SimpleScreenRecorder package for CurePure64
« Reply #5 on: September 03, 2022, 06:54:07 AM »
Use ldd to determine the deps, i.e.
Code: [Select]
ldd `which simplescreenrecorder`
submit the extension to tcesubmit@gmail.com

Hello Juanito, thanks for your reply.

Here's the output of ldd /bin/simplescreenrecorder command:
Code: [Select]
linux-vdso.so.2 (0x00007ffc24d56000)
libavformat.so.58 => /usr/local/lib/libavformat.so.58 (0x00007f70a7c70000)
libavcodec.so.58 => /usr/local/lib/libavcodec.so.58 (0x00007f70a6d13000)
libavutil.so.56 => /usr/local/lib/libavutil.so.56 (0x00007f70a6a92000)
libswscale.so.5 => /usr/local/lib/libswscale.so.5 (0x00007f70a6a12000)
libQt5Widgets.so.5 => /usr/local/lib/libQt5Widgets.so.5 (0x00007f70a64dd000)
libQt5X11Extras.so.5 => /usr/local/lib/libQt5X11Extras.so.5 (0x00007f70a64d7000)
libX11.so.6 => /usr/local/lib/libX11.so.6 (0x00007f70a63b6000)
libXext.so.6 => /usr/local/lib/libXext.so.6 (0x00007f70a63a4000)
libXfixes.so.3 => /usr/local/lib/libXfixes.so.3 (0x00007f70a639c000)
libXi.so.6 => /usr/local/lib/libXi.so.6 (0x00007f70a638b000)
libXinerama.so.1 => /usr/local/lib/libXinerama.so.1 (0x00007f70a6386000)
libv4l2.so.0 => /usr/local/lib/libv4l2.so.0 (0x00007f70a6179000)
libasound.so.2 => /usr/local/lib/libasound.so.2 (0x00007f70a60a1000)
libpulse.so.0 => /usr/local/lib/libpulse.so.0 (0x00007f70a6056000)
libjack.so.0 => /usr/local/lib/libjack.so.0 (0x00007f70a601c000)
libQt5Gui.so.5 => /usr/local/lib/libQt5Gui.so.5 (0x00007f70a5bc6000)
libQt5Core.so.5 => /usr/local/lib/libQt5Core.so.5 (0x00007f70a57b6000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f70a553d000)
libm.so.6 => /lib/libm.so.6 (0x00007f70a547b000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f70a5461000)
libc.so.6 => /lib/libc.so.6 (0x00007f70a52a5000)
libbz2.so.1.0 => /usr/local/lib/libbz2.so.1.0 (0x00007f70a5297000)
libbluray.so.1 => /usr/local/lib/libbluray.so.1 (0x00007f70a526a000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f70a5255000)
libgnutls.so.30 => /usr/local/lib/libgnutls.so.30 (0x00007f70a50c9000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f70a50c4000)
libswresample.so.3 => /usr/local/lib/libswresample.so.3 (0x00007f70a50a8000)
libvpx.so.6 => /usr/local/lib/libvpx.so.6 (0x00007f70a4f63000)
libwebpmux.so.3 => /usr/local/lib/libwebpmux.so.3 (0x00007f70a4f58000)
libwebp.so.7 => /usr/local/lib/libwebp.so.7 (0x00007f70a4f07000)
liblzma.so.5 => /usr/local/lib/liblzma.so.5 (0x00007f70a4ee3000)
librsvg-2.so.2 => /usr/local/lib/librsvg-2.so.2 (0x00007f70a4430000)
libgobject-2.0.so.0 => /usr/local/lib/libgobject-2.0.so.0 (0x00007f70a43e5000)
libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x00007f70a42dc000)
libcairo.so.2 => /usr/local/lib/libcairo.so.2 (0x00007f70a4206000)
libmp3lame.so.0 => /usr/local/lib/libmp3lame.so.0 (0x00007f70a3f9f000)
libopus.so.0 => /usr/local/lib/libopus.so.0 (0x00007f70a3d65000)
libspeex.so.1 => /usr/local/lib/libspeex.so.1 (0x00007f70a3b51000)
libtheoraenc.so.1 => /usr/local/lib/libtheoraenc.so.1 (0x00007f70a3929000)
libtheoradec.so.1 => /usr/local/lib/libtheoradec.so.1 (0x00007f70a371c000)
libvorbis.so.0 => /usr/local/lib/libvorbis.so.0 (0x00007f70a34f6000)
libvorbisenc.so.2 => /usr/local/lib/libvorbisenc.so.2 (0x00007f70a324d000)
libx264.so.148 => /usr/local/lib/libx264.so.148 (0x00007f70a2efa000)
libx265.so.165 => /usr/local/lib/libx265.so.165 (0x00007f70a28a4000)
libxvidcore.so.4 => /usr/local/lib/libxvidcore.so.4 (0x00007f70a25b6000)
libva.so.2 => /usr/local/lib/libva.so.2 (0x00007f70a258e000)
libva-drm.so.2 => /usr/local/lib/libva-drm.so.2 (0x00007f70a2589000)
libva-x11.so.2 => /usr/local/lib/libva-x11.so.2 (0x00007f70a2581000)
libvdpau.so.1 => /usr/local/lib/libvdpau.so.1 (0x00007f70a257a000)
libGL.so.1 => /usr/local/lib/libGL.so.1 (0x00007f70a2517000)
libxcb.so.1 => /usr/local/lib/libxcb.so.1 (0x00007f70a24f1000)
libXau.so.6 => /usr/local/lib/libXau.so.6 (0x00007f70a24ec000)
libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6 (0x00007f70a24e4000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f70a24dd000)
libv4lconvert.so.0 => /usr/local/lib/libv4lconvert.so.0 (0x00007f70a226d000)
librt.so.1 => /lib/librt.so.1 (0x00007f70a2268000)
/lib/ld-linux-x86-64.so.2 (0x00007f70a7e82000)
libpulsecommon-13.0.so => /usr/local/lib/pulseaudio/libpulsecommon-13.0.so (0x00007f70a21f2000)
libdbus-1.so.3 => /usr/local/lib/libdbus-1.so.3 (0x00007f70a21ad000)
libcap.so.2 => /usr/local/lib/libcap.so.2 (0x00007f70a1fa6000)
libpng16.so.16 => /usr/local/lib/libpng16.so.16 (0x00007f70a1f79000)
libharfbuzz.so.0 => /usr/local/lib/libharfbuzz.so.0 (0x00007f70a1ee3000)
libicui18n.so.61 => /usr/lib/libicui18n.so.61 (0x00007f70a1ab3000)
libicuuc.so.61 => /usr/lib/libicuuc.so.61 (0x00007f70a173a000)
libicudata.so.61 => /usr/lib/libicudata.so.61 (0x00007f709fb95000)
libpcre2-16.so.0 => /usr/local/lib/libpcre2-16.so.0 (0x00007f709f95a000)
libzstd.so.1 => /usr/local/lib/libzstd.so.1 (0x00007f709f8c8000)
libgthread-2.0.so.0 => /usr/local/lib/libgthread-2.0.so.0 (0x00007f709f8c3000)
libxml2.so.2 => /usr/local/lib/libxml2.so.2 (0x00007f709f79a000)
libfontconfig.so.1 => /usr/local/lib/libfontconfig.so.1 (0x00007f709f75f000)
libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x00007f709f6bc000)
libp11-kit.so.0 => /usr/local/lib/libp11-kit.so.0 (0x00007f709f5ae000)
libidn2.so.0 => /usr/local/lib/libidn2.so.0 (0x00007f709f393000)
libunistring.so.2 => /usr/local/lib/libunistring.so.2 (0x00007f709f024000)
libtasn1.so.6 => /usr/local/lib/libtasn1.so.6 (0x00007f709ee14000)
libnettle.so.6 => /usr/local/lib/libnettle.so.6 (0x00007f709eddf000)
libhogweed.so.4 => /usr/local/lib/libhogweed.so.4 (0x00007f709eda7000)
libgmp.so.10 => /usr/local/lib/libgmp.so.10 (0x00007f709ed40000)
libcairo-gobject.so.2 => /usr/local/lib/libcairo-gobject.so.2 (0x00007f709ed35000)
libgdk_pixbuf-2.0.so.0 => /usr/local/lib/libgdk_pixbuf-2.0.so.0 (0x00007f709ed13000)
libgio-2.0.so.0 => /usr/local/lib/libgio-2.0.so.0 (0x00007f709eb80000)
libpangocairo-1.0.so.0 => /usr/local/lib/libpangocairo-1.0.so.0 (0x00007f709eb6e000)
libpangoft2-1.0.so.0 => /usr/local/lib/libpangoft2-1.0.so.0 (0x00007f709eb56000)
libpango-1.0.so.0 => /usr/local/lib/libpango-1.0.so.0 (0x00007f709eaff000)
libffi.so.7 => /usr/local/lib/libffi.so.7 (0x00007f709eaf6000)
libpcre.so.1 => /usr/local/lib/libpcre.so.1 (0x00007f709eaba000)
libpixman-1.so.0 => /usr/local/lib/libpixman-1.so.0 (0x00007f709ea26000)
libEGL.so.1 => /usr/local/lib/libEGL.so.1 (0x00007f709e9f3000)
libGLESv2.so.2 => /usr/local/lib/libGLESv2.so.2 (0x00007f709e9e7000)
libxcb-shm.so.0 => /usr/local/lib/libxcb-shm.so.0 (0x00007f709e9e2000)
libX11-xcb.so.1 => /usr/local/lib/libX11-xcb.so.1 (0x00007f709e9dd000)
libxcb-render.so.0 => /usr/local/lib/libxcb-render.so.0 (0x00007f709e9ce000)
libXrender.so.1 => /usr/local/lib/libXrender.so.1 (0x00007f709e7c5000)
libogg.so.0 => /usr/local/lib/libogg.so.0 (0x00007f709e5bd000)
libdrm.so.2 => /usr/local/lib/libdrm.so.2 (0x00007f709e5ab000)
libglapi.so.0 => /usr/local/lib/libglapi.so.0 (0x00007f709e571000)
libxcb-glx.so.0 => /usr/local/lib/libxcb-glx.so.0 (0x00007f709e557000)
libxcb-dri2.so.0 => /usr/local/lib/libxcb-dri2.so.0 (0x00007f709e551000)
libXxf86vm.so.1 => /usr/local/lib/libXxf86vm.so.1 (0x00007f709e34b000)
libexpat.so.1 => /usr/local/lib/libexpat.so.1 (0x00007f709e327000)
libxcb-dri3.so.0 => /usr/local/lib/libxcb-dri3.so.0 (0x00007f709e321000)
libxcb-present.so.0 => /usr/local/lib/libxcb-present.so.0 (0x00007f709e31c000)
libxcb-sync.so.1 => /usr/local/lib/libxcb-sync.so.1 (0x00007f709e313000)
libxshmfence.so.1 => /usr/local/lib/libxshmfence.so.1 (0x00007f709e111000)
libxcb-xfixes.so.0 => /usr/local/lib/libxcb-xfixes.so.0 (0x00007f709e106000)
libjpeg.so.62 => /usr/local/lib/libjpeg.so.62 (0x00007f709e090000)
libICE.so.6 => /usr/local/lib/libICE.so.6 (0x00007f709e076000)
libSM.so.6 => /usr/local/lib/libSM.so.6 (0x00007f709e06c000)
libXtst.so.6 => /usr/local/lib/libXtst.so.6 (0x00007f709de66000)
libsndfile.so.1 => /usr/local/lib/libsndfile.so.1 (0x00007f709dc0d000)
libelogind.so.0 => /usr/local/lib/libelogind.so.0 (0x00007f709db8d000)
libgraphite2.so.3 => /usr/local/lib/libgraphite2.so.3 (0x00007f709db70000)
libuuid.so.1 => /lib/libuuid.so.1 (0x00007f709db68000)
libncursesw.so.6 => /usr/local/lib/libncursesw.so.6 (0x00007f709db0b000)
libgmodule-2.0.so.0 => /usr/local/lib/libgmodule-2.0.so.0 (0x00007f709db05000)
libfribidi.so.0 => /usr/local/lib/libfribidi.so.0 (0x00007f709dae7000)
libgbm.so.1 => /usr/local/lib/libgbm.so.1 (0x00007f709dad8000)
libwayland-client.so.0 => /usr/local/lib/libwayland-client.so.0 (0x00007f709dac8000)
libwayland-server.so.0 => /usr/local/lib/libwayland-server.so.0 (0x00007f709dab2000)
libFLAC.so.8 => /usr/local/lib/libFLAC.so.8 (0x00007f709da83000)

All good but these shared libs names are not exactly tcz names, here's what I mean:
libavformat.so.58 is probably libavformat4.tcz in the repo
Should I write a script that converts the above .so filenames to the corresponding '.tcz' available in the repo?
Or maybe someone did it already?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Working on SimpleScreenRecorder package for CurePure64
« Reply #6 on: September 03, 2022, 06:57:04 AM »
I convert the names manually - remember the deps are recursive 🙂

Offline cmk

  • Newbie
  • *
  • Posts: 25
Re: Working on SimpleScreenRecorder package for CurePure64
« Reply #7 on: September 03, 2022, 07:03:08 AM »
I convert the names manually - remember the deps are recursive 🙂

OMG! There's a lot of work...
Ok, I still wanna write a simple python script that would find corresponding tcz files for .so files
and then send you both lists, the one already posted and the one provided by the script.

I'll mail the details to tcesubmit@gmail.com once done (within 1-2 hours)
Thank you so much for collaboration!
Tiny Core community is awesome!

Offline cmk

  • Newbie
  • *
  • Posts: 25
Re: Working on SimpleScreenRecorder package for CurePure64
« Reply #8 on: September 03, 2022, 09:07:34 AM »
I convert the names manually - remember the deps are recursive 🙂

I just sent submission request for simplescreenrecorder, please let me know if I've messed up something or any assistance is needed.
As for converting .so deps to .tcz related deps I had some partial success in it but generally my script didn't manage to get all of the deps, hence
useless, anyways here's the source to tinker with: https://github.com/maksimKorzh/ssrext/blob/main/getdeps.py

Offline CNK

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 292
Re: Working on SimpleScreenRecorder package for CurePure64
« Reply #9 on: September 04, 2022, 10:08:43 PM »
I convert the names manually - remember the deps are recursive 🙂
As for converting .so deps to .tcz related deps I had some partial success in it but generally my script didn't manage to get all of the deps, hence
useless, anyways here's the source to tinker with: https://github.com/maksimKorzh/ssrext/blob/main/getdeps.py

I don't know Python so I don't understand much of that, but it doesn't look like you're using the provides.db file which should make the task easier.

I just use the shell script that comes with TC, like this:
Code: [Select]
$ provides.sh libFLAC.so.8
flac.tcz

It lives at /usr/bin/provides.sh, and could be easily modified to automatically process the list of .so files output from the ldd command.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Working on SimpleScreenRecorder package for CurePure64
« Reply #10 on: September 05, 2022, 01:57:07 AM »
Or you could check the symlinks, "ls -l /usr/local/lib/libFLAC*", since you have the extensions installed.
The only barriers that can stop you are the ones you create yourself.

Offline cmk

  • Newbie
  • *
  • Posts: 25
Re: Working on SimpleScreenRecorder package for CurePure64
« Reply #11 on: September 12, 2022, 08:44:16 AM »
I convert the names manually - remember the deps are recursive 🙂
As for converting .so deps to .tcz related deps I had some partial success in it but generally my script didn't manage to get all of the deps, hence
useless, anyways here's the source to tinker with: https://github.com/maksimKorzh/ssrext/blob/main/getdeps.py

I don't know Python so I don't understand much of that, but it doesn't look like you're using the provides.db file which should make the task easier.

I just use the shell script that comes with TC, like this:
Code: [Select]
$ provides.sh libFLAC.so.8
flac.tcz

It lives at /usr/bin/provides.sh, and could be easily modified to automatically process the list of .so files output from the ldd command.

Thank you, CNK

provides.sh is exactly what I've been looking for.