Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 342093 - media-video/miro-3.5.1 version bump
Summary: media-video/miro-3.5.1 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Highest enhancement with 2 votes (vote)
Assignee: Mounir Lamouri (volkmar) (RETIRED)
URL:
Whiteboard:
Keywords:
: 312459 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-22 00:39 UTC by Beetle B.
Modified: 2011-05-25 16:14 UTC (History)
19 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Miro 3.5 ebuild (miro-3.5.ebuild,1.93 KB, text/plain)
2010-10-22 10:50 UTC, Janek Bevendorff
Details
Ebuild for media-video/miro-3.5 (miro-3.5.ebuild,2.31 KB, text/plain)
2010-10-22 12:17 UTC, Alex Domingo
Details
updated ebuild - removed compile (miro-3.5.1.ebuild,1.90 KB, text/plain)
2011-03-18 23:22 UTC, Walter White
Details
miro-4.0.ebuild (miro-4.0.ebuild,1.89 KB, application/octet-stream)
2011-05-24 15:08 UTC, Mike Gualtieri
Details
Updated ebuild for Miro 4.0 (miro-4.0.ebuild,1.89 KB, application/octet-stream)
2011-05-24 16:14 UTC, Janek Bevendorff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Beetle B. 2010-10-22 00:39:02 UTC
A new Miro has been released.

Reproducible: Always
Comment 1 A. Person 2010-10-22 00:44:59 UTC
Has anyone been able to put together an ebuild that will install 3.5?  Renaming
seems to fail.
Comment 2 Janek Bevendorff 2010-10-22 10:50:00 UTC
Created attachment 251543 [details]
Miro 3.5 ebuild

I've modified my miro-3.0.3 ebuild that it fits for 3.5. Maybe some well versed ebuild writer could clean it up a bit.
Comment 3 Alex Domingo 2010-10-22 12:17:08 UTC
Created attachment 251561 [details]
Ebuild for media-video/miro-3.5

In order to make operative the new conversion feature in miro-3.5 I've added ffmpeg and ffmpeg2theora dependencies. I've also added all codec related USE flags necessary to perform the conversion presets available.

The sed line I've included changes the codec used in the OGG vorbis conversion preset from vorbis to libvorbis. (In my system vorbis codec only decodes does not encode)

Finally I've changed the dependency on rb_torrent to only 0.14 version as reported on previous bug report of miro-3.0 and the miro runtime requirements page.

I've tested this a little and it's working fine so far, here's a list of things tried:
- HTTP download works
- Torrent download works
- Youtube videos work
- Subtitles work
- All conversions work

Please test it because I'm not a dev :)
Thanks
Comment 4 Janek Bevendorff 2010-10-22 12:58:35 UTC
Works fine for me but is it necessary to depend on=net-libs/rb_libtorrent-0.14*? That downgrades my net-libs/rb_libtorrent-0.15.1 which is the current stable version in Portage.
Comment 5 Alex Domingo 2010-10-22 15:22:40 UTC
(In reply to comment #4)
> Works fine for me but is it necessary to depend
> on=net-libs/rb_libtorrent-0.14*? That downgrades my
> net-libs/rb_libtorrent-0.15.1 which is the current stable version in Portage.
> 

Well, in the Miro dependencies pages for linux they state that only libtorrent-rasterbar 0.13 and 0.14 are supported. (https://develop.participatoryculture.org/index.php/LinuxBuildDocs). And that page seems to be updated for 3.5 because they list libcurl there, which is something new of 3.5 .

Moreover, in the bug report for 3.0 there's a comment from another user having problems with rbtorrent-0.15 (https://bugs.gentoo.org/show_bug.cgi?id=312459#c35).

On the other hand I used miro with rasterbar 0.15 for a while some months ago and I didn't experience any problem. :)

So IMO there could be some changes in the API between 0.14 and 0.15 that could cause trouble under some circumstances and it would be best to stick with 0.14.

Best!
Comment 6 A. Person 2010-10-22 19:10:21 UTC
Thanks, the ebuild works great here.
Comment 7 Dane Smith (RETIRED) gentoo-dev 2010-10-22 22:10:27 UTC
Assigning to maintainer.
Comment 8 Beetle B. 2010-10-23 02:45:41 UTC
Works here as well. 
Comment 9 Alex Bennee 2010-11-09 21:42:36 UTC
(In reply to comment #8)
> Works here as well. 
> 

Ever since I upgraded I haven't been able to play video inside miro (although passing off to an external player works). Couldn't see anything obvious in the terminal.

Are there any debug runes that focus on the video playback?
Comment 10 Alex Bennee 2010-11-10 09:12:51 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > Works here as well. 
> > 
> 
> Ever since I upgraded I haven't been able to play video inside miro (although
> passing off to an external player works). Couldn't see anything obvious in the
> terminal.

Solved, it was a broken PulseAudio that was stopping the playback from working. Once that was rebuilt everything started working find.


Comment 11 A. Person 2010-12-02 20:01:37 UTC
Anybody else getting this now:

!!! One or more updates have been skipped due to a dependency conflict:

net-libs/rb_libtorrent:0

  (net-libs/rb_libtorrent-0.15.1, ebuild scheduled for merge) conflicts with
    =net-libs/rb_libtorrent-0.14*[python] required by (media-video/miro-3.5, installed)
Comment 12 Janek Bevendorff 2010-12-02 20:10:47 UTC
Yes, Miro seems to depend on rb_libtorrent-0.14 so you can't upgrade to 0.15.
But of course you could try upgrading rb_libtorrent manually. You'd then see if it breaks Miro's torrent client. If not we should alter the ebuild.
Comment 13 Branko Majic 2011-01-07 09:34:02 UTC
Wanted to take Miro for a test drive, so I installed the 3.5 ebuild in my local repo. But I'm facing some problems when I try playing the video. It seems to attempt to connect to the bluetooth device (which is not configured). Tried starting the bluetooth service, but that didn't help.

The only relevant part from the terminal related to this is the following line:

bt_audio_service_open: connect() failed: Connection refused (111)

Btw, I do not have PulseAudio installed, and audio files (podcasts) seem to play fine.

Any ideas?
Comment 14 Branko Majic 2011-01-09 11:58:01 UTC
(In reply to comment #13)
> Wanted to take Miro for a test drive, so I installed the 3.5 ebuild in my local
> repo. But I'm facing some problems when I try playing the video. It seems to
> attempt to connect to the bluetooth device (which is not configured). Tried
> starting the bluetooth service, but that didn't help.
> 
> The only relevant part from the terminal related to this is the following line:
> 
> bt_audio_service_open: connect() failed: Connection refused (111)
> 
> Btw, I do not have PulseAudio installed, and audio files (podcasts) seem to
> play fine.
> 
> Any ideas?
> 

Ok, sorry for inconvenience, I was just missing a proper gstreamer plugin ;)
Comment 15 Ed Tomlinson 2011-01-12 23:11:33 UTC
The above ebuild (2.31KB) also works for miro 3.5.1.  It builds and works fine here on a ~amd64, multilib installation.  The stock gentoo miro-2.5.4 version does not build here...
Comment 16 A. Clark 2011-02-02 16:28:51 UTC
Ebuild needs to depend on a bunch more gstreamer plugins, or audio is not going to work.

gst-plugins-gconf  is pretty major for audio support at all (provides gconfaudiosink)

gst-plugins-faac gst-plugins-faad gst-plugins-lame gst-plugins-musepack gst-plugins-twolame gst-plugins-wavpack are required for various audio formats in the videos.
Comment 17 Branko Majic 2011-02-02 19:11:44 UTC
Maybe it'd be useful to introduce a use-flag that would pull in most of the plugins, or maybe introduce different plugin options into it (i.e. introduce faac/etc use-flag)?
Comment 18 Markus Rathgeb 2011-02-03 17:34:32 UTC
Miro does not need the codecs.
Should we introduce a USE flag for every format that a miro playable media could use?
IMHO that are not miro specific USE flags.
If miro uses the gstreamer backend, I am / the user is responsible to look for the gstreamer part and plugins.
Comment 19 Branko Majic 2011-02-03 19:53:03 UTC
On a second thought, yeah, it might be actually a very bad idea to introduce those USE flags (recompilation required even though no real changes are made to Miro itself). Just wondering if maybe the most-used codecs should be listed in addition to the existing gst-plugins related ewarn (although, to be honest, it'd probably be more useful to spend some time and pushing a patch for the upstream which would detect missing codecs, but that's out of scope of this bugtracker)?
Comment 20 Marek Sapota 2011-02-03 20:05:23 UTC
Miro pulls in gst-plugins-meta so if you want more gst codecs operated by use flags, then probably a bug against gst-plugins-meta would be better.
Comment 21 Walter White 2011-03-18 23:22:16 UTC
Created attachment 266403 [details]
updated ebuild - removed compile

I modified the ebuild so that it does not run "run.sh".  It installs and runs just fine on my AMD64.

Please test.


Thanks,

Walter
Comment 22 A. Person 2011-03-26 20:09:17 UTC
Walter, thanks for the ebuild.  I tested it and everything seems perfect.
Comment 23 Alex Domingo 2011-04-02 22:49:35 UTC
The linux documentation page of Miro (http://develop.participatoryculture.org/index.php/LinuxBuildDocs) has been updated. Now they state that rb_torrent higher than 0.15.4 should be OK. In portage now the latest stable build is 0.15.5 so the dependency on the miro ebuild could be changed to a simpler net-libs/rb_libtorrent[python].
Comment 24 A. Person 2011-04-04 17:55:27 UTC
miro seems to work fine with rb_libtorrent-0.15.5 here.
Comment 25 Anthony Staines 2011-04-21 19:21:20 UTC
Kitchen miro # ebuild miro-3.5.1.ebuild digest
 * 
 * "/usr/local/portage/media-video/miro/miro-3.5.1.ebuild":
 * Deprecation Warning: Usage of distutils.eclass in packages not supporting installation
 * for multiple Python ABIs in EAPI <=2 is deprecated and will be banned on 2011-06-01.
 * The ebuild needs to be fixed. Please report a bug, if it has not been already reported.


Any ideas on what is needed to do here? I'm not really a Python person,
Thanks
Anthony
Comment 26 mesh 2011-05-13 10:56:23 UTC
(In reply to comment #25)
> Kitchen miro # ebuild miro-3.5.1.ebuild digest
>  * 
>  * "/usr/local/portage/media-video/miro/miro-3.5.1.ebuild":
>  * Deprecation Warning: Usage of distutils.eclass in packages not supporting
> installation
>  * for multiple Python ABIs in EAPI <=2 is deprecated and will be banned on
> 2011-06-01.
>  * The ebuild needs to be fixed. Please report a bug, if it has not been
> already reported.


Just change EAPI="2" to EAPI="3" in your ebuild.


I have another problem. Miro 3.5.1 installed fine, but I cannot start it with the widget frontend:
$ miro
Traceback (most recent call last):
  File "/usr/bin/miro.real", line 311, in <module>
    startapp()
  File "/usr/bin/miro.real", line 249, in startapp
    startup(props_to_set)
  File "/usr/bin/miro.real", line 193, in startup
    raise ValueError("Cannot load frontend: %s" % frontend)
ValueError: Cannot load frontend: widgets
Comment 27 Jasper Jaklofsky 2011-05-23 15:30:55 UTC
Miro 4 is out. So does this mean a new ebuild-request?
Comment 28 A. Person 2011-05-24 13:08:15 UTC
Anybody had a chance to play with it yet?
Comment 29 Mike Gualtieri 2011-05-24 15:07:15 UTC
Miro-4.0 is now out, as of a few days ago.  The 3.5 ebuild works well, except the ADOPTERS doc is no longer included (or moved to another location).

Two issues with the current ebuild:

1) It looks like one of the eclasses needs to be updated, and soon.  I'm not sure what the procedure for this is, so I'll just report the warning:

Deprecation Warning: Usage of distutils.eclass in packages not supporting installation for multiple Python ABIs in EAPI <=2 is deprecated and will be banned on 2011-06-01.  The ebuild needs to be fixed. Please report a bug, if it has not been already reported.


2) It looks like miro wants mDNSResponder installed.  I'm not sure why avahi isn't a suitable alternative.  Starting up Miro shows this warning:

For the best Miro experience, we suggest you install Bonjour.  Installing Bonjour will allow you share your media library with other Miro users on your network, as well as stream media from other Miro users on your network.

Miro has determined that your system is most likely missing the Avahi mDNSResponder compatibility library.  Please refer to your operating system documentation on how you can install this library.

Would you like Miro to warn you on next startup?
Comment 30 Mike Gualtieri 2011-05-24 15:08:51 UTC
Created attachment 274501 [details]
miro-4.0.ebuild
Comment 31 Janek Bevendorff 2011-05-24 16:14:28 UTC
Created attachment 274511 [details]
Updated ebuild for Miro 4.0

ebuild now using EAPI 3. I could build with this one flawlessly. Miro doesn't even ask for Bonjour.
Comment 32 Branko Majic 2011-05-24 17:19:18 UTC
Great work! :)

Although, as a suggestion it might be a good idea to open a separate bump request for version 4.0 instead?
Comment 33 Tomáš Chvátal (RETIRED) gentoo-dev 2011-05-25 14:18:50 UTC
*** Bug 312459 has been marked as a duplicate of this bug. ***
Comment 34 Tomáš Chvátal (RETIRED) gentoo-dev 2011-05-25 14:22:18 UTC
4.0.1 added to main tree with few missing deps added and patch to build with latest ffmpeg.
Comment 35 A. Person 2011-05-25 16:14:37 UTC
Works great here.  I do get the Bonjour message.  Thanks a lot for this.