[arch-dev-public] -ARCH package extension

Jason Chu jason at archlinux.org
Sun May 13 15:30:44 EDT 2007


On Fri, May 11, 2007 at 08:05:36PM -0500, Aaron Griffin wrote:
> On 5/11/07, Jason Chu <jason at archlinux.org> wrote:
> > On Fri, May 11, 2007 at 03:28:18PM -0400, Dan McGee wrote:
> > > On 5/11/07, Aaron Griffin <aaronmgriffin at gmail.com> wrote:
> > > > On 5/11/07, Dan McGee <dpmcgee at gmail.com> wrote:
> > > > > On 5/11/07, Aaron Griffin <aaronmgriffin at gmail.com> wrote:
> > > > > > On 5/11/07, Thomas Bächler <thomas at archlinux.org> wrote:
> > > > > > > --- usr/bin/extrapkg    2006-04-28 04:54:19.000000000 +0200
> > > > > > > +++ /usr/bin/extrapkg   2007-05-08 23:08:57.000000000 +0200
> > > > > > > @@ -10,7 +10,9 @@
> > > > > > >  fi
> > > > > > >
> > > > > > >  source PKGBUILD
> > > > > > > +pkg3file=${pkgname}-${pkgver}-${pkgrel}-i686.pkg.tar.gz
> > > > > > >  pkgfile=${pkgname}-${pkgver}-${pkgrel}.pkg.tar.gz
> > > > > > > +[ -f $pkg3file ] && mv $pkg3file $pkgfile
> > > > > > >
> > > > > > >  if [ ! -f $pkgfile ]; then
> > > > > > >         pkgfile=$PKGDEST/$pkgfile
> > > > > > >
> > > > > > > Works better IMO and doesn't add an extra step to package management.
> > > > > > > Maybe we should add a similar workaround in devtools for now, as all
> > > > > > > devs and TUs use it.
> > > > > >
> > > > > > I was thinking about that too - it'd make a decent intermediate step.
> > > > > >
> > > > > > Jason? What do you think, devtools is your baby
> > > > >
> > > > > We can rebuild a patched devtools for now in the repos regardless.
> > > > > Have it look for either package name and rename it to the old style
> > > > > name? Any takers? I like the patch above.
> > > >
> > > > Looks good, though we probably want some form of 'CARCH' in there.
> > > >
> > > > Set a global "CARCH='i686'" and sed it out for x86_64 ?
> > >
> > > devtools are updated with a patch now. It should be able to find
> > > packages with either name, and will rename them for now to the
> > > pacman2-compatible name.
> > >
> > > -Dan
> >
> > I don't know if I want to release a version of devtools for this.  It's a
> > feature that will just have to be taken out when we want to move over to
> > the -ARCH suffix for really.
> >
> > Thoughts?
> 
> Well, it's not really a huge deal to push a new version is it? What
> are the downsides?

I mean change svn, tag it, and push a release, not just patch it in the
PKGBUILD and release a new revision.  The latter was fine.

Jason
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/arch-dev-public/attachments/20070513/e00b40f1/attachment.pgp>


More information about the arch-dev-public mailing list