On Tue, Jan 16, 2007 at 08:38:03PM +0000, Alex Smith <[EMAIL PROTECTED]> wrote:
> Wael Nasreddine wrote:
> >Hi
> >Here's some patches I find usefull, they are all darcs-ready, description:
> >- pacman-Fextract-part1.patch
> > Remove the hardcoded source extraction work in makepkg, use Fextract
> > function instead
> >- pacman-Fextract-part2.patch
> > Add Fextract function to include/utils.sh
> >- vim-add-Fextract.patch
> > Add Fextract function to frugalware patch of VIM 7
> >- pacman-add-wrtsha1.patch
> > This patch will save a hell lot of time for developers, instead of each
> > time
> > doing makepkg -g >> FrugalBuild without forgetting of course to remove
> > old
> > sha1sums array, you will instead put a block in frugalBuild like this:
> > ### BEGIN SHA1 ###
> > ### END SHA1 ###
> > and then call makepkg -G which will put all sha1sums stuff inside this
> > block
> > (erasing any existing data there)
> > ### BEGIN SHA1 ###
> > sha1sums=('first sha1' 'second sha1' \
> > 'third sha1')
> > ### END SHA1 ###
> >Voila Hope you find them usefull :)
>
> The sha1 patch would certainly make life easier, *BUT* :) IMHO it looks a
> little ugly.
> Couldn't this be modified to put it before the existing sha1sum line, then
> remove the old
> one?
>
Well of course, it's only a sed command, needs adjusting, I agree that it's
ugly, but I did this way myself to guarantee that the Substitution/adding
works...
Anyway I'll try to adjust it (even that I'm not a sed expert).
--
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724 DE12 5565 3945 C8DD 18A2
.: An infinite number of monkeys typing into GNU emacs,
would never make a good program. (L. Torvalds 1995) :.
_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel