Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
updating firefox outside of portage
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
lcronos
n00b
n00b


Joined: 09 Jun 2014
Posts: 69

PostPosted: Tue Dec 23, 2014 3:58 am    Post subject: updating firefox outside of portage Reply with quote

So I am trying to set up an environment where everything uses a global menu bar, and have installed appmenu. Firefox is the only application I have that does not make use of it without a patch. I found an ebuild of Firefox with the patch to support it in the "stuff" overlay, however it is only version 29, while I'd like to run on the nightly builds if possible. Is there anyway to take the version in the overlay and force it to update through Mozilla's servers rather than waiting for an update in portage that will likely never come? Alternatively, if there is a way to get Firefox to use appmenu without using that ebuild (be it patching it myself or using an addon) I'll try that as well. I'm using KDE, with appmenu-qt and appmenu-gtk (through the stuff overlay).
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2601

PostPosted: Tue Dec 23, 2014 8:18 am    Post subject: Reply with quote

Try lxpanel as panel. It uses /usr/share/applications/firefox.desktop provided by firefox 31.3.0.
Back to top
View user's profile Send private message
lcronos
n00b
n00b


Joined: 09 Jun 2014
Posts: 69

PostPosted: Wed Dec 24, 2014 4:50 am    Post subject: Reply with quote

Sorry, must not have been clear with my wording. I don't mean a launcher, I mean an OS X like menu bar. Putting File, Edit, etc. in the top panel. To work, AFAIK it requires patching Firefox, not a new package.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2601

PostPosted: Wed Dec 24, 2014 8:29 am    Post subject: Reply with quote

Still not clear what you mean. Please provide a link to that patch you found. What firefox version are you on? Also, a screenshot might be helpful to understand what you want.
Maybe some of the extensions discussed here http://blog.ffextensionguru.com/2014/03/22/firefox-29-and-australis/ could help?
Back to top
View user's profile Send private message
lcronos
n00b
n00b


Joined: 09 Jun 2014
Posts: 69

PostPosted: Thu Dec 25, 2014 5:10 am    Post subject: Reply with quote

[img]http://i.imgur.com/KzTFUhp.png[/img]
Here is what I mean. From the research I've done the only way to get that bar on the top like in Unity and OS X you have to patch Firefox. There is a version of Firefox in the "stuff" overlay (what I'm using) however the most recent one is only version 29, I want to be on the nightly releases. Because this build is installed through the package manager I can't update it the normal way, even changing the channel-prefs.js file didn't work. Is there a way to make it update without using a new ebuild? If not, then how can I apply the patch to firefox myself?
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2601

PostPosted: Thu Dec 25, 2014 7:05 am    Post subject: Reply with quote

lcronos wrote:
[img]http://i.imgur.com/KzTFUhp.png[/img]
????
Where is the link to the patch you are talking about?
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2571

PostPosted: Thu Dec 25, 2014 7:21 am    Post subject: Reply with quote

charles17 wrote:
lcronos wrote:
[img]http://i.imgur.com/KzTFUhp.png[/img]
????
Where is the link to the patch you are talking about?


Just kill the non-functioning tags. http://i.imgur.com/KzTFUhp.png Looks like the thing that drives me up the wall in Ubuntu, but anyway.

@OP

This really depends on the patch. New versions might break it, so this may not be possible unless you can code it.

With that said, Gentoo provides a mechanism to patch the ebuild in tree. I can only point you in the direction. Your reading material: http://wiki.gentoo.org/wiki//etc/portage/patches and http://wiki.gentoo.org/wiki//etc/portage/patches
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2601

PostPosted: Thu Dec 25, 2014 8:43 am    Post subject: Reply with quote

The Doctor wrote:
With that said, Gentoo provides a mechanism to patch the ebuild in tree. I can only point you in the direction. Your reading material: http://wiki.gentoo.org/wiki//etc/portage/patches and http://wiki.gentoo.org/wiki//etc/portage/patches
Shouldn't a patch request go upstream instead bloating Gentoo ebuilds?
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2571

PostPosted: Thu Dec 25, 2014 9:03 am    Post subject: Reply with quote

charles17 wrote:
The Doctor wrote:
With that said, Gentoo provides a mechanism to patch the ebuild in tree. I can only point you in the direction. Your reading material: http://wiki.gentoo.org/wiki//etc/portage/patches and http://wiki.gentoo.org/wiki//etc/portage/patches
Shouldn't a patch request go upstream instead bloating Gentoo ebuilds?
Depends on the patch. In this case, probably not since it doesn't seem to be a feature that Mozilla has any interest in. Fringe features with small user bases and large overhead make for poor additions to a project and accepting every patch from everyone who knows a touch of C++ will quickly result in a MS-like contraption that is a nightmare to maintain or run.

The benefit of the solution I suggested is that it doesn't require any action from anyone else to get it working. To me, that really seems to be the point of a DIY distro. The only question becomes if the patch in question will work with other versions of Firefox or if the idea of patching it is simply DOA.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
lcronos
n00b
n00b


Joined: 09 Jun 2014
Posts: 69

PostPosted: Thu Dec 25, 2014 12:56 pm    Post subject: Reply with quote

Thanks for the help, I'll give it a shot tomorrow. Will I need to re-implement the patch for every update (assuming it even works) since it uses a new ebuild?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum