Page 1 of 1

Can't find a package scrollkeeper

PostPosted: Oct 26th, '12, 17:30
by zugunder
Hi,
I'd like to make a package xvidcap for Mageia1 and I took a spec from Mageia2. Building requires a package scrollkeeper, but I can't find it in Mageia2's repos (core/nonfree/tainted release/updates)... Isn't it an error somewhere?

Thank you.

Re: Can't find a package scrollkeeper

PostPosted: Oct 26th, '12, 18:31
by doktor5000
Why are you manually searching for a package? urpmi scrollkeeper or urpmi --buildrequires xvidcap.spec would have installed everything in one go ...
Or you could take a look via urpmq --whatprovides scrollkeeper which packages provides this facility. ;)

Re: Can't find a package scrollkeeper

PostPosted: Oct 26th, '12, 18:41
by zugunder
Thanks for the tip, I have just begun making packages and I do not know many things, so I am doing everything ve-e-ery slowly.
--whatprovides works fine, but how do I use --buildrequires xvidcap.spec if xvidcap is not available for Mageia1? Package names in M1 and M2 may be different, moreover, I'd like to make a 64-bit package, so the libraries have different names too... Or do I miss anything?

Re: Can't find a package scrollkeeper

PostPosted: Oct 26th, '12, 21:53
by doktor5000
You said you took a spec from Mageia 2 -> so run urpmi --buildrequires on that spec (or on a src.rpm, does the same) and it will install all listed buildrequires.
Libraries should be required by arch-independent names, see f.ex https://wiki.mageia.org/en/Packaging_gu ... ldRequires

Re: Can't find a package scrollkeeper

PostPosted: Oct 26th, '12, 22:56
by zugunder
OK, I'll need to read about it some more... but how does it know which architecture of the package to use?

UPD. I have built it, it runs and records video, however, there are no audio settings found in the GUI (according to what I see online there should be). No sound therefore and the final summary after recording says "No audio codec". While making a package no errors were seen, rpmlint gave only warnings.
Could it be a problem in a spec file?

Re: Can't find a package scrollkeeper

PostPosted: Oct 27th, '12, 10:39
by doktor5000
zugunder wrote:OK, I'll need to read about it some more... but how does it know which architecture of the package to use?

urpmi always prefers the architecture of your running system (what uname -m says)

For xvidcap, i'll check in mga2 for comparison and report back.

Re: Can't find a package scrollkeeper

PostPosted: Oct 27th, '12, 20:23
by zugunder
I found several descriptions of this problem and some workarounds, that, however, did not work for everyone:
https://bbs.archlinux.org/viewtopic.php?id=89689
It also has a link to Arch bugzilla with some explanations regarding ffmpeg.
I personally tried to edit line 68 as recommender and make a package anew, everything worked well, but no changes as far as sound is concerned - it is still totally absent, "no audio codec" message is still there and no audio settings in gui.
Some Ubuntu guys recommended to roll back to the previous version of xvidcap.
It also seems to me that something about build architecture may be important here as well.

UPD. I looked at Istanbul - one more program for desktop recording, but it seems that Mageia does not have a dependency (python-xlib).

Re: Can't find a package scrollkeeper

PostPosted: Oct 30th, '12, 04:52
by zugunder
doktor5000 wrote:For xvidcap, i'll check in mga2 for comparison and report back.

So are there any sound settings visible in Mageia2?

Re: Can't find a package scrollkeeper

PostPosted: Oct 30th, '12, 23:02
by doktor5000
Nope, there are none. Described in the help, but that may already be outdated. Only other definitve reference i've found was:
http://sourceforge.net/apps/mediawiki/xvidcap/index.php?title=Faq#Can_I_record_audio_along_with_the_video.3F

It says itself:
Code: Select all
[doktor5000@Mageia2 SPECS]$ LC_ALL=C xvidcap --audio yes
Audio support not present in this binary.


Maybe it needs some patches from https://bugs.archlinux.org/task/17809 or https://bugs.archlinux.org/task/17809 or it needs to be built with the bundled ffmpeg, for that you also need some patches.

Re: Can't find a package scrollkeeper

PostPosted: Oct 31st, '12, 03:50
by zugunder
OK, it looks like it is beyond my abilities... Will have to dump it.