New user registration is currently disabled due to spam abuse / Регистрация новых пользователей в настоящее время приостановлена из-за злоупотреблений спаммерами

GoldenDict compiling without avformat (ffmpeg)

General discussion

GoldenDict compiling without avformat (ffmpeg)

Postby embar » Fri Jun 14, 2013 5:28 pm

Hi,

i would like to create GoldenDict package for openSUSE in OBS, but I can not use ffmpeg because of license. How can I compile GoldenDict with dissabled avformat (ffmpeg)?
embar
 
Posts: 13
Joined: Sat Nov 20, 2010 11:43 am

Re: GoldenDict compiling without avformat (ffmpeg)

Postby Tvangeste » Sat Jun 15, 2013 7:27 am

Hi,

I don't think that it is possible to build without ffmpeg (without modifying the sources).

As far as I know, ffmpeg is (L)GPL and should not be of any problem license-wise. Why do you think it is unacceptable?
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: GoldenDict compiling without avformat (ffmpeg)

Postby embar » Sat Jun 15, 2013 9:48 am

I can not found ffmpeg and libffmpeg-devel in open source repository of openSUSE – they are only in PackMan repository, witch can not be used in build.opensuse.org
embar
 
Posts: 13
Joined: Sat Nov 20, 2010 11:43 am

Re: GoldenDict compiling without avformat (ffmpeg)

Postby Tvangeste » Sat Jun 15, 2013 11:05 am

Here's what is needed for Ubuntu, maybe it will be of any help to you?

Code: Select all
libao-dev libavutil-dev libavformat-dev
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: GoldenDict compiling without avformat (ffmpeg)

Postby embar » Sat Jun 15, 2013 12:20 pm

In openSUSE I found in default repository:
Code: Select all
libao-devel libavutil-devel


There is no such „libavformat-devel“ package. According this and this post, headers of libavformat is in „libffmpeg-devel“

But „libffmpeg-devel“ is in additional PackMan repository, that contain proprietary software.
And „libffmpeg-devel“ also exist in VLC repository.
But not in open source repositories of openSUSE.
embar
 
Posts: 13
Joined: Sat Nov 20, 2010 11:43 am

Re: GoldenDict compiling without avformat (ffmpeg)

Postby Tvangeste » Sat Jun 15, 2013 1:03 pm

Ok, got it.

I've file an issue here: https://github.com/goldendict/goldendict/issues/356

This is rather unfortunate. Even if we are to provide a way to build without ffmpeg, then GD won't be able to play sounds via internal player, you'd be required to use external players like vlc.
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: GoldenDict compiling without avformat (ffmpeg)

Postby embar » Sat Jun 15, 2013 1:32 pm

But I found ffmpeg package in OBS home:fabio_s project.
Now I successced to build GoldenDict from git :)
You can found this RPM package here: http://download.opensuse.org/repositori ... umbleweed/
embar
 
Posts: 13
Joined: Sat Nov 20, 2010 11:43 am

Re: GoldenDict compiling without avformat (ffmpeg)

Postby Tvangeste » Sat Jun 15, 2013 1:43 pm

Excellent!!!

What concerns me the most is that if ffmpeg by OpenSUSE definition is not 100% open-source then GoldenDict will never be part of the default installation.
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am


Return to General

Who is online

Users browsing this forum: No registered users and 105 guests