On Tue, 9 Jan 2007, Michel Di Croci wrote:

> Jsut a tought like this,
> 
> Should we had a line in the pkgbuild file for patches? like source or
> something similar that pacman or maekpkg could apply directly to the source?

This has been discussed in the forum a while ago. Frugalware's makepkg has
something like that. The problem is that applying patches is not trivial.
Depending how the patch was created, different options to the patch
command are required. Sometime, when dealing with multiple patches, the
order in which the patches are applied is important. It adds a lot of
complexity for the little benefits that it brings. And it also make the
PKGBUILD less transparent.

Eric

> 
> Michel
> 
> On 1/1/07, Andreas Radke <[EMAIL PROTECTED]> wrote:
> >
> > Am Mon, 01 Jan 2007 21:12:18 +0100
> > schrieb Johannes Held <[EMAIL PROTECTED]>:
> >
> > > Hi,
> > >
> > > what is need to be done, that a patch is applied using makepkg?
> > >
> > > I looked into the PKGBUILD of rhythmbox - there's no special command
> > > for applying patches.
> > >
> > > I put the patch named as "crossfade.patch"
> > > into /var/abs/local/rhythmbox and ran makepkg.
> > > Is the patch now applied?
> > >
> > >
> > use the usual patch command in the build section of the pkgbuild, eg:
> >
> > patch -Np1 -i ../foo.patch || return 1
> >


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to