u8sand / Baka-MPlayer

The libmpv based media player
https://u8sand.github.io/Baka-MPlayer/
GNU General Public License v2.0
433 stars 93 forks source link

Upload to Debian #196

Open infinity0 opened 8 years ago

infinity0 commented 8 years ago

Hi, I'm a Debian Developer (with upload rights) and am interested in sponsoring or maintaining this package. I see you already have some Debian packaging files. Would you be interested in working with me to get this into Debian officially?

godly-devotion commented 8 years ago

That would be awesome. Although I did attempt to create Debian packages I'm not sure if it needs to be fixed.

infinity0 commented 8 years ago

Great! I have filed an Intent-To-Package and will go about reviewing the existing packaging soon, hopefully in the next few days.

godly-devotion commented 8 years ago

Thanks.

infinity0 commented 8 years ago

Hey I just had a look and (with some tweaks) it builds well. Thanks! Some things that should be fixed upstream before I can upload it to Debian are:

infinity0 commented 8 years ago

Oh another thing, please could you clarify if the license is "GPL-2 only" or "GPL-2 or later"?

infinity0 commented 8 years ago

One more minor thing that I missed:

infinity0 commented 8 years ago

https://mentors.debian.net/package/baka-mplayer - preliminary package here and once we've resolved the above, we can upload.

godly-devotion commented 8 years ago

Thanks for getting back to us.

Also we are doing a large code base refractoring and plan to change the name to mochi-player as soon as the refractoring is done and uploaded. We plan to upload it to the https://github.com/mochi-player/mochi-player repository.

@u8sand Approximately when do you think the refractored and renamed project can be uploaded to https://github.com/mochi-player/mochi-player? @infinity0 Do you recommend we wait until that's done or will it be ok to go ahead now?

infinity0 commented 8 years ago

Depends on the time frame - I'd rather not have to do packaging twice in a short period of time. :p How much work is there left for the rename, and is the structure significantly different from this one?

For Debian, it is quite important to know the license exactly - is this GPL-2, or GPL-2-or-later?

godly-devotion commented 8 years ago

Code structure is not radically different, just trying to decrease dependency between classes. As for license, I'm not actually sure. We chose GPLv2 just because of the fact that it allows it to be always distributed as FOSS.

godly-devotion commented 8 years ago

Also I spoke with @u8sand and it seems it's going to take a while because we're both busy. Honestly speaking I don't mind if Baka isn't packaged as I find mochi-player to be much superior.

jbeich commented 8 years ago

As for license, I'm not actually sure. We chose GPLv2 just because of the fact that it allows it to be always distributed as FOSS.

Without "or (at your option) any later version" clause documented somewhere the code is incompatible with GPLv3 or whatever version FSF issues later. Not sure if it applies to libavcodec, as used by libmpv, which may contain GPLv3 codecs (see --enable-version3). However, adding the clause now is probably the same as changing license i.e., it requires agreement from all past contributors[1]. IANAL, of course.

[1] example: https://github.com/mpv-player/mpv/issues/2033

u8sand commented 8 years ago

@jbeich I don't believe either me or @godly-devotion are very familiar with the licenses. In the root directory we've had the LICENSE file, is that not enough to comply (also fyi https://github.com/u8sand/Baka-MPlayer/blob/master/LICENSE#L243 has that particular clause)? If we're missing something in particular, please point it out to us. We want to be in compliance with the licenses.

infinity0 commented 8 years ago

@u8sand in terms of publishing source code, you are in compliance. However, a "GPL-2 only" license prevents people (including yourselves) from linking[*] your code against certain codecs - e.g. see see libavcodec-extra as @jbeich earlier pointed out. If you want to fix this you need to re-license to "GPL-2 or later" (which includes GPL-3, which is compatible with those other Apache 2.0 codecs).

The sentence in the GPL that you pointed to starts "if the Program specifies". But Baka-MPlayer hasn't specified this. The LICENSE file is just the GPL-2 as a list of conditions, but there is no statement that this list of conditions actually applies to Baka-MPlayer - so we (as outsiders) have to assume "GPL-2 only". So yes, to make this "GPL-2 or later" you would have to repeat what mpv did with that re-licensing.

[*] more specifically, linking and then redistributing this. The GPL doesn't stop you doing what you want with private copies. I'm not sure of the legal situation if we build against a libavcodec (w/o extra codecs) that is GPL-2+ but then allow users to themselves link against libavcodec-extra. Possibly this is a way of bypassing the requirement of being compatible with Apache 2.0. But it's still nice not to have to play such tricks, and it's unclear if distributions other than Debian make this possible for users - so I still recommend re-licensing to "GPL-2 or later".

godly-devotion commented 8 years ago

@infinity0 Between making it "version 2 or later" or just "version 3", what do you recommend? Baka MPlayer's license will probably not change but we can change its successor mochi-player's license.

infinity0 commented 8 years ago

@godly-devotion I'd recommend "version 2 or later" because it's more flexible for the future and also matches mpv - but this is just an initial thought, I haven't looked too closely at the details of this situation.