Avidemux 2.6.0 and OpenSuse

On Tue 04 Dec 2012 10:56:01 PM CST, davidmfl wrote:

UPDATE: I’M ABLE TO GET A SUCCESSFUL BUILD NOW OF AVIDEMUX 2.6.X WITH
THE SVN VERSION. :slight_smile:
The trick is to compile the ‘core’ first and then manually copy the
generated files ‘/usr/*’
Then go back and do it again and generate the qt4 interface and the
plugins.
I noticed some weird messages about the plugins so you might have to
actually copy over the qt4 interface first and then build it yet again
and then copy over the plugins. I’m not sure as I haven’t actually
tested the new build yet beyond to see if it runs and can at least load
a h.264 clip which 2.5.x previously would not allow seeking for.

  1. Get SVN from Subversion repo. (if using 2.6.0 release you need to
    fix/patch for the pkg_check error referenced above)
  2. ‘bash bootStrap.bash --without-qt4 --with-core --without-plugins
    –without-gtk --without-cli’
  3. ‘sudo cp -R ./usr/* /usr/’
  4. ‘bash bootStrap.bash --with-qt4 --with-core --with-plugins
    –without-gtk --without-cli’
  5. ‘‘sudo cp -R ./usr/* /usr/’’
  6. The executible should now be ‘/usr/bin/avidemux3_qt4’
  7. (You may need to compile yet again and copy over the plugins again.
    I’m not sure if it works or not actually. It seems as if it does.)

I’m sure there has to be a better way to do this but I know only enough
about the linux build system to be dangerous and avidemux seems to use a
more complex system than usual. I found this message from the Fedora
maintainer for Avidemux last year: ‘Can not build plugins without
installing core?’ (Log in)
It references this type of problem although they made some changes since
then as I understand it. I don’t if it will help whoever maintains
Avidemux for OpenSUSE in the future or not?

I also noticed this warning though I am unsure as to it’s significance.
It seems to me it isn’t significant but just in case:

Code:

CMake Warning:
Manually-specified variables were not used by the project:

AVIDEMUX_SOURCE_DIR


I hope this info helps others.

Hi
Yes that is one way :wink: The better way to install the core is instead;


cd buildCore
sudo make install
sudo /sbin/ldconfig

I’m fighting at the moment with the core and it’s location, I can build
it out of the bootstrap routine in the rpm spec file… a work
in progress :wink:


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
up 11:31, 5 users, load average: 0.56, 0.62, 0.53
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

On Wed 05 Dec 2012 12:54:30 AM CST, malcolmlewis wrote:

[QUOTE]
On Tue 04 Dec 2012 10:56:01 PM CST, davidmfl wrote:

UPDATE: I’M ABLE TO GET A SUCCESSFUL BUILD NOW OF AVIDEMUX 2.6.X WITH
THE SVN VERSION. :slight_smile:
The trick is to compile the ‘core’ first and then manually copy the
generated files ‘/usr/*’
Then go back and do it again and generate the qt4 interface and the
plugins.
I noticed some weird messages about the plugins so you might have to
actually copy over the qt4 interface first and then build it yet again
and then copy over the plugins. I’m not sure as I haven’t actually
tested the new build yet beyond to see if it runs and can at least load
a h.264 clip which 2.5.x previously would not allow seeking for.

  1. Get SVN from Subversion repo. (if using 2.6.0 release you need to
    fix/patch for the pkg_check error referenced above)
  2. ‘bash bootStrap.bash --without-qt4 --with-core --without-plugins
    –without-gtk --without-cli’
  3. ‘sudo cp -R ./usr/* /usr/’
  4. ‘bash bootStrap.bash --with-qt4 --with-core --with-plugins
    –without-gtk --without-cli’
  5. ‘‘sudo cp -R ./usr/* /usr/’’
  6. The executible should now be ‘/usr/bin/avidemux3_qt4’
  7. (You may need to compile yet again and copy over the plugins again.
    I’m not sure if it works or not actually. It seems as if it does.)

I’m sure there has to be a better way to do this but I know only enough
about the linux build system to be dangerous and avidemux seems to use a
more complex system than usual. I found this message from the Fedora
maintainer for Avidemux last year: ‘Can not build plugins without
installing core?’ (Log in)
It references this type of problem although they made some changes since
then as I understand it. I don’t if it will help whoever maintains
Avidemux for OpenSUSE in the future or not?

I also noticed this warning though I am unsure as to it’s significance.
It seems to me it isn’t significant but just in case:

Code:

CMake Warning:
Manually-specified variables were not used by the project:

AVIDEMUX_SOURCE_DIR


I hope this info helps others.

Hi
Yes that is one way :wink: The better way to install the core is instead;


cd buildCore
sudo make install
sudo /sbin/ldconfig

I’m fighting at the moment with the core and it’s location, I can build
it out of the bootstrap routine in the rpm spec file… a work
in progress :wink:

[/QUOTE]
Hi
I have a test build running (only 12.2 and x86_64) here if anyone wants
to try it out;
http://pmbs.links2linux.org/package/show?package=avidemux&project=home%3Amalcolmlewis%3Abranches%3AMultimedia

I’ve tested the gtk one, seems to load an avi etc, but have not used
it… I’m a handbrake user…

I still haven’t sorted the language files, need to do that tomorrow
hopefully and also sort out the need to build a boostrap rpm of the
libs/devel files to build as a final rpm.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
up 17:10, 5 users, load average: 0.02, 0.08, 0.20
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

On 2012-12-03 01:33, malcolmlewis wrote:

>> Hi
>> It’s been regurgitated recently as http://webpinstant.com/search/

> Hi
> And webpin has also been updated;
> http://webpinstant.com/package/view/webpin

I installed it for 12.1 and 11.4 machines, but today I found that the
11.4 side has been removed :frowning:


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))