You are not logged in.

#1 2009-10-13 23:51:29

gskbyte
Member
From: Granada, Spain
Registered: 2009-09-29
Posts: 33
Website

A cool feature I'd like to have in Pacman

Hi!

I use to recompile some packages and I think the Makepkg/Pacbuilder/Yaourt way is a bit tedious. I have thought that this process could be automated in pacman. For example, when you want to install a package, have the ability to mark it as "compiled" so that every time the package gets updated, it recompiles automatically. That way you wouldn't need to recompile it manually again with Pacbuilder or ABS+makepkg.

The resumed idea is to have a "compiled" flag or something for each package in the Pacman database so that you could select which packages to build, and when they are updated, Pacman automatically downloads the PKGBUILD and rebuilds them. ccache would be very useful in this case.

What do you think? (I think it breaks the idea of everything-is-simple-in-Arch, but find it very useful).

Offline

#2 2009-10-14 00:01:38

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: A cool feature I'd like to have in Pacman

File a feature request in the bug tracker.


neutral

Offline

#3 2009-10-14 00:05:13

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: A cool feature I'd like to have in Pacman

I can predict that is not going to happen...  Dan will say "pacman is a package manager, not a package builder".  There is srcpac (version in [extra] may not work but try the git version), which is a wrapper around pacman that allows you to do this.

Offline

#4 2009-10-14 01:33:47

gskbyte
Member
From: Granada, Spain
Registered: 2009-09-29
Posts: 33
Website

Re: A cool feature I'd like to have in Pacman

I have tried srcpac and is not exactly what I say. Yaourt has the same functionality (-b param), the problem is that both don't remember which packages I have "set as compiled" and when I make an update (or just reinstall), both try to get the binary package from repos. I can change this behaviour with -Sbu but it recompiles all package to update. I just want to update and compile only the packages I have previously compiled, not all updated packages.

Offline

#5 2009-10-14 02:06:57

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: A cool feature I'd like to have in Pacman

srcpac should remember what packages you built using it...  that was one of the main points of it.

Offline

Board footer

Powered by FluxBB