Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 618218

Summary: media-video/ffmulticonverter-1.8.0 New Package
Product: Gentoo Linux Reporter: Petross404(Petros S) <petross404>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: CONFIRMED ---    
Severity: normal CC: jstein, petross404
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ffmulticonverter-1.8.0.ebuild
metadata.xml
ffmulticonverter-1.8.0.ebuild

Description Petross404(Petros S) 2017-05-11 16:39:44 UTC
Created attachment 472344 [details]
ffmulticonverter-1.8.0.ebuild

I came across this converter : https://sites.google.com/site/ffmulticonverter/

>FF Multi Converter is a simple graphical application for Linux which enables you 
>to convert audio, video, image and document files between all popular formats, by 
>utilizing other command-line tools. It uses FFmpeg for audio/video files, the 
>ImageMagick software suite for image conversions and unoconv for document files.

I wrote an ebuild here : https://github.com/Petross404/testing/blob/master/media-video/ffmulticonverter/ffmulticonverter-1.8.0.ebuild

Unfortunatelly I won't be able to maintain it after the next weekend and for the next 8 - 9 months.
Comment 1 Petross404(Petros S) 2017-05-11 16:41:31 UTC
Created attachment 472346 [details]
metadata.xml
Comment 2 Petross404(Petros S) 2017-05-11 16:42:39 UTC
There is a screenshot too -> http://imgur.com/4lO5FBx
Comment 3 Jonas Stein gentoo-dev 2017-05-12 20:12:34 UTC
Thank you for sharing the ebuild. 

I think the LICENSE is wrong. 
It looks like GPL-3 to me, but please check this carefully.
Is it still under active development?
Comment 4 Petross404(Petros S) 2017-05-12 20:18:43 UTC
(In reply to Jonas Stein from comment #3)
> Thank you for sharing the ebuild. 
> 
> I think the LICENSE is wrong. 
> It looks like GPL-3 to me, but please check this carefully.
> Is it still under active development?

You are right about the Licence. Also I didn't know an ebuild already existed :
http://data.gpo.zugaina.org/ROKO__/media-video/ffmulticonverter/ffmulticonverter-1.8.0.ebuild

This one makes use of USE flags but has an older EAPI.

Also we will soon find out if it still under development : 
https://github.com/Ilias95/FF-Multi-Converter/issues/57
Comment 5 Petross404(Petros S) 2017-05-13 11:33:23 UTC
Created attachment 472490 [details]
ffmulticonverter-1.8.0.ebuild

(In reply to Petross404(Petros S) from comment #4)

> Also we will soon find out if it still under development : 
> https://github.com/Ilias95/FF-Multi-Converter/issues/57

The developer said : 
>The truth is that lately I'm not working on new issues nor there are plans 
>to do so soon because of luck of time. I'm trying to maintain the project 
>when I can, so bug fixes etc. will be fixed.

>The version 1.8.0 is supposed to be stable so feel free to package it 
>for gentoo and provide me with a link.

I think that's a green light to go on. 

Also I don't think that USE Flags should be used in order to pull the dependencies unless we find a way to 
disable them in the source code. If someone more experienced thinks otherwise, we will find a solution.

Perphaps something like this would be better : 

pkg_postinst() {
	if ! ( has_version "media-video/ffmpeg" ) ; then
		ewarn "The program does NOT require ffmpeg to run,"
		ewarn "but you won't be able to convert media files."
	fi

	if ! ( has_version "media-gfx/imagemagick" ) ; then
		ewarn "The program does NOT require ImageMagick to run,"
		ewarn "but you won't be able to convert image files."
	fi

	if ! ( has_version "app-office/unoconv" ) ; then
		ewarn "The program does NOT require unoconv to run,"
		ewarn "but you won't be able to convert between LO files."
	fi
}
Comment 6 Petross404(Petros S) 2017-05-13 11:50:54 UTC
I got this blocker when emerging @world to update : 

[blocks B      ] media-video/ffmpeg:0 ("media-video/ffmpeg:0" is blocking media-video/libav-12)

I read : https://github.com/Ilias95/FF-Multi-Converter/blob/master/README.txt

>Optional dependencies
>----------------------
>ffmpeg
>imagemagick
>unoconv

So libav can be removed.