[gentoo-user] Re: Update a portage package

2014-09-14 Thread James
Henrique Lengler henriqueleng at openmailbox.org writes:

 
 Hi,
 
 There is a package on portage that have a bug, the package is officially
 hosted on github, so the software author fixed the bug and committed to 
 git without mark as a new version of the software.
 
 How can I make gentoo include this software with this bugfix?

What alan has said is correct. But, there are several other paths.
The best one is go to bugs.gentoo.org and file a bug report.
Ask for a version bump and include as much as you can of the
relevant details.

Now, rather than ask how is the maintainer because often the answer
to that question will not lead to any action, go to the files
of that package and seen who has worked on the code, via the
ChangeLog file for that code.



Less /usr/portage/media-libs/glyr/ChangeLog/usr/portage/media-libs/gly

To start your journey.

On a version bump it's not hard to copy and edit the ebuild
and file that modified ebuid with your version bump request

vi /usr/portage/media-libs/glyr/glyr-1.0.5.ebuild


Many of the ebuilds I edit, I then install in my /usr/local/protage/


dir for experimentation, quick install etc etc. Others on this
group can advise you on this path to peack, jouy and harmony,
as you watch Gentoo converge on the things most important to you.
If I can hack ebuilds, *ANYONE* can hack ebuilds. Just ask
my following of fans on this list! (ha ha ha ha ha ha ah ha!).

Gentoo herds are deprecated, if you believe what you read on
gentoo-dev. Maybe what we need is a growing and healthy community
of musicians here on Gentoo (i vote YES).


hth,
James







[gentoo-user] Re: Update a portage package

2014-09-14 Thread James
James wireless at tampabay.rr.com writes:


 ChangeLog file for that code.

 less /usr/portage/media-libs/glyr/ChangeLog

 To start your journey.

 On a version bump it's not hard to copy and edit the ebuild
 and file that modified ebuid with your version bump request

cp /usr/portage/media-libs/glyr/glyr-1.0.5.ebuild
/usr//local/portage/media-libs/glyr/glyr-1.0.5.ebuild

 vi /usr/local/portage/media-libs/glyr/glyr-1.0.5.ebuild

( a few more ordinary admin steps are required)


 Many of the ebuilds I edit, I then install in my /usr/local/protage/
 dir for experimentation, quick install etc etc. Others on this
 group can advise you on this path to peace, joy and harmony
 as you watch Gentoo converge on the things most important to you.


I correct a few things. Sorry, I was half asleep and should 
have used better form Not fully formed ideas, but hopefully
you get the gist of the suggestions.


 James








Re: [gentoo-user] Re: Update a portage package

2014-09-14 Thread Henrique Lengler
I getting confused about what can be done.

As I see the portage download the source of a released version, and then
install it. But the patch isn't in a version.

I think that make portage download the latest code also isn't a good
idea so i don't know what changes in the ebuild can be done to make
this work without the need of a version released by the author

-- 
Henrique Lengler

https://gitorious.org/~henriqueleng

Skype: No way! That's nonfree (freedom-denying) software.
Wanna talk with me? Ask me for my TOX ID.



Re: [gentoo-user] Re: Update a portage package

2014-09-14 Thread Neil Bothwick
On Sun, 14 Sep 2014 16:18:58 -0300, Henrique Lengler wrote:

 As I see the portage download the source of a released version, and then
 install it. But the patch isn't in a version.

So you want to apply a patch to the version already on portage?

 I think that make portage download the latest code also isn't a good
 idea so i don't know what changes in the ebuild can be done to make
 this work without the need of a version released by the author

You have two options. If the ebuild supports it, put the patch file
in /etc/portage/vat/pkg-version/ and re-emerge it. Many ebuild will pick
up user patches like this.

Alternatively, run ebuild prepare /path/to/ebuild to unpack the source
and apply any existing patches. It will tell you where it unpacked the
code, go there and apply your patch, then run ebuild
merge /path/to/ebuild to compile and install it.


-- 
Neil Bothwick

I have seen things you lusers would not believe.
I've seen Sun monitors on fire off the side of the multimedia lab.
I've seen NTU lights glitter in the dark near the Mail Gate.
All these things will be lost in time, like the root partition last
week. Time to die.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Update a portage package

2014-09-14 Thread Henrique Lengler
On Sun, Sep 14, 2014 at 09:02:36PM +0100, Neil Bothwick wrote:
 You have two options. If the ebuild supports it, put the patch file
 in /etc/portage/vat/pkg-version/ and re-emerge it. Many ebuild will pick
 up user patches like this.
 
 Alternatively, run ebuild prepare /path/to/ebuild to unpack the source
 and apply any existing patches. It will tell you where it unpacked the
 code, go there and apply your patch, then run ebuild
 merge /path/to/ebuild to compile and install it.
 
 
 -- 
 Neil Bothwick

Ok but this patch should be available to others users by default because
it's needed to the correct work of the software.
So what I wanna do is include this code in the source that you get by
emerge install.

-- 
Henrique Lengler

https://gitorious.org/~henriqueleng

Skype: No way! That's nonfree (freedom-denying) software.
Wanna talk with me? Ask me for my TOX ID.



Re: [gentoo-user] Re: Update a portage package

2014-09-14 Thread Alan McKinnon
On 14/09/2014 18:20, James wrote:
 dir for experimentation, quick install etc etc. Others on this
 group can advise you on this path to peack, jouy and harmony,
 as you watch Gentoo converge on the things most important to you.
 If I can hack ebuilds, *ANYONE* can hack ebuilds. Just ask
 my following of fans on this list! (ha ha ha ha ha ha ah ha!).
 


You are a C man.

Working with bash must be  excruciatingly painful :-)




-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Re: Update a portage package

2014-09-14 Thread Neil Bothwick
On Sun, 14 Sep 2014 18:00:04 -0300, Henrique Lengler wrote:

  You have two options. If the ebuild supports it, put the patch file
  in /etc/portage/vat/pkg-version/ and re-emerge it. Many ebuild will
  pick up user patches like this.
 
 Ok but this patch should be available to others users by default because
 it's needed to the correct work of the software.
 So what I wanna do is include this code in the source that you get by
 emerge install.

In that case, it should be included with the ebuild, you need to file a
request to add the patch on bugs.gentoo.org.


-- 
Neil Bothwick

WinErr 01C: Uncertainty error - Uncertainty may be inadequate.


signature.asc
Description: PGP signature