You are not logged in.

#1 2012-01-18 22:05:11

dam5h
Member
Registered: 2011-08-04
Posts: 21

pacman -Syu overwrites ABS vim build

Today after doing a pacman -Syu I no longer had ruby support (for command-t) in vim.  I had used the ABS and modified the PKGBUILD file to add ruby support.

What is the recommended way to upgrade packages that have custom flags and were installed using the ABS.  Do I need to use "ignore package" in pacman.conf or is vim stuck on a list somewhere which is making pacman update it from the official binary packages rather than upgrading it via the ABS and utilization my "enable-rubyinterp" flag?  Is the latter even possible via pacman -Syu?

Thanks.

Offline

#2 2012-01-18 22:17:01

kinhodder
Member
From: UK
Registered: 2010-04-18
Posts: 65
Website

Re: pacman -Syu overwrites ABS vim build

Yep, you need to 'IgnorePkg = vim' in pacman.conf and build it manually when a new version comes out.

Pacman will notify you when it would've updated an ignored package.

Offline

#3 2012-01-18 22:29:31

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: pacman -Syu overwrites ABS vim build

In addition to kinhodder's suggestion you could adopt a more system-wide approach. Whenever you build an ABS package, include it in a group (I use 'modified') and then in your pacman.conf use the IgnoreGroup setting...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2012-01-18 22:31:51

dam5h
Member
Registered: 2011-08-04
Posts: 21

Re: pacman -Syu overwrites ABS vim build

great, thanks for the speedy replies!  where can I find more info about adding it to a "group"?

Offline

#5 2012-01-18 22:41:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: pacman -Syu overwrites ABS vim build

In the PKGBUILD, just add a line:

groups=('modified')

..and then in pacman.conf

IgnoreGroup = modified

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2012-01-19 12:39:37

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: pacman -Syu overwrites ABS vim build

Best solution imo: name your custom vim package something other than vim, (eg vim-with-ruby)

Or if you have X installed on the system anyway, just install the gvim package.

Last edited by Mr.Elendig (2012-01-19 12:40:47)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#7 2012-01-19 12:41:30

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: pacman -Syu overwrites ABS vim build

Mr.Elendig wrote:

Best solution imo: name your custom vim package something other than vim, (eg vim-with-ruby)

+1
Make it conflict with the stock vim and a big +1 to putting it in 'modified' group.

Offline

Board footer

Powered by FluxBB