[AG-TECH] [Patch] Big Linux fixup patch

Ti Leggett leggett at mcs.anl.gov
Wed Dec 1 17:46:22 CST 2004


Well there's already a few patches that get applied, so what you should
do is get the source tar ball that we use:

emerge --fetchonly ag-media/rat

Untar the tar ball somewhere:

cd <somewhere>
tar zxvf /usr/portage/distfiles/ag-media-2.2.tar.gz

Look for the order in which to apply current patch:

less ${PORTDIR_OVERLAY}/ag-media/rat/rat-4.2.22-r3.ebuild (look for
epatch lines)

Apply the patches:

cd <somewhere>/ag-media
patch -p0 ${PORTDIR_OVERLAY}/ag-media/rat/files/<patch1>
patch -p0 ...

Then apply whatever patch this is and see if it goes cleanly.


On Wed, 2004-12-01 at 16:39 -0700, Andrew Replogle wrote:
> What can I do to help? 
> 
> If you'd like me to test to see if the patch applies cleanly I'd be
> happy to (I might need a little direction as I've only ever patched
> kernels). Does it make a difference that I'm on amd64 ?
> 
> Andrew =]
> 
> On Wed, 01 Dec 2004 17:35:40 -0600, Ti Leggett <leggett at mcs.anl.gov> wrote:
> > I unofficially maintain the ebuilds in that I originally wrote them. If
> > the patch applies cleanly to the rat we distribute it's pretty trivial
> > to include. I could easily get it merged and send a new ebuild.
> > 
> > 
> > 
> > On Wed, 2004-12-01 at 16:24 -0700, Andrew Replogle wrote:
> > > Steve,
> > >
> > > do you use gentoo at all? I was wondering if you or anyone else knew
> > > how I might merge these changes into an "ebuild".
> > >
> > > It seems that from the bombed out vic install theres still a dir in
> > > /var/tmp/portage  called vic with an ag-media directory in there..
> > > would I patch there? or try to patch from the PORTDIR_OVERLAY where
> > > the original ebuilds are?
> > >
> > > Does anyone know who maintains the AG gentoo packages/ebuilds? Maybe
> > > we could get them to merge this in officially?
> > >
> > > from the /var/tmp/portage/vic-1.1.13/work I tried to run a patch -p1 <
> > > ~andrew/ag2.3-alsa-mbus-rtp-ssl.diff --dry-run
> > >
> > > and right off I get:
> > >
> > > The next patch would delete the file common/confdefs.h,
> > > which does not exist!
> > >
> > > among other things.. am I passing the correct paramter p level to
> > > patch or is this the wrong directory.. I went to look for a confdefs.h
> > > under common in the ag-media under this path and found none..
> > >
> > >
> > > Any info is greatly appreciated.
> > >
> > > Andrew
> > >
> > > Andrew
> > >
> > > On Mon, 29 Nov 2004 13:55:09 +1100, Steve Smith
> > > <ssmith at vislab.usyd.edu.au> wrote:
> > > > > I'm currently experimenting with maintaining my changes in Darcs*, which
> > > > > would make experimental branches a lot simpler, and allow developers to
> > > > > cherry-pick useful patches.
> > > >
> > > > I've now created a Darcs repository, you can pull it with:
> > > >
> > > > darcs get http://people.vislab.usyd.edu.au/~ssmith/accessgrid/ag-media
> > > >
> > > > This has a finer-grained set of patches that are annotated, so that may
> > > > be more useful for integrating.
> > > >
> > > >
> > > >
> > > > Cheers,
> > > > Steve
> > > > --
> > > > Steve Smith, SysAdmin/Programmer  | "When you have no nails your hammer grows
> > > > Vislab, University of Sydney      |  restless, and you begin to throw sideways
> > > > Phone: (02) 9351 5967             |  glances at screws and pieces of string."
> > > > Email: ssmith at vislab.usyd.edu.au  |                  -- Jarkko Hietaniemi
> > > >
> > > >
> > > 
> > --
> > Ti Leggett <leggett at mcs.anl.gov>
> > 
> >
> 
-- 
Ti Leggett <leggett at mcs.anl.gov>




More information about the ag-tech mailing list