You are not logged in.

#1 2004-09-26 21:32:35

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

cream for vim: gvim for non-aliens :-)

This package is a config for gvim that tries to make it easier/more intuitive to use. No more multiple modes etc. It behaves like kate, gedit and other gui editors. If you've just switched from windows and you are looking for a good replacement for ultraedit/editplus/[insert your favourite editor name here] you should be quite happy with cream ;-) You can still use other advanced vim features/plugins while working in cream. Check the docs and homepage for more info.

Cream features http://cream.sourceforge.net/features.html Cream F.A.Q. http://cream.sourceforge.net/faq.html

To install cream you will need a little "enhanced" version of vim and gvim (compiled with features=big. I also added more languages and official patches).

The files that are not downloaded can be found in the abs tree (run abs as root to update it first)

Copy the following files:

1. Inside your vim build directory:
cp /var/abs/base/vim/vim.patch vim.patch

2. Inside your gvim build directory:
cp /var/abs/editors/gvim/gvim.desktop gvim.desktop
cp /var/abs/editors/gvim/gvim.install gvim.install
cp /var/abs/editors/gvim/vim.patch vim.patch

If you want to have perl/python/ruby interpreter builtin then move apropriate options from comments to the depends array and configure script parameters.

vim PKGBUILD

pkgname=vim
pkgver=6.3
pkgrel=4
pkgdesc="VIM - Vi IMproved console"
url="http://www.vim.org"
depends=('glibc' 'ncurses' 'ctags') #'perl' 'python' 'ruby'
backup=(etc/vimrc)
source=(
ftp://ftp.vim.org/pub/vim/unix/vim-$pkgver.tar.bz2 
ftp://ftp.vim.org/pub/vim/extra/vim-$pkgver-lang.tar.gz 
vim.patch 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.001 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.002 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.003 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.004 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.005 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.006 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.007 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.008 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.009 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.010 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.011 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.012 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.013 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.014 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.015 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.016 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.017 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.018 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.019 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.020 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.021 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.023 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.024 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.026 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.027 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.028 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.029 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.030 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.031 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.032 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.033 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.034 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.036 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.037 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.039 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.040 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.042 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.043 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.045 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.046 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.049 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.050 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.051 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.054 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.055 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.056 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.057 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.058 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.059 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.060 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.061 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.062 
)

md5sums=('821fda8f14d674346b87e3ef9cb96389' '5395c4dacbf1c5008b22c4b86794e8a7'
         '386938c7bd7890b7d1900615f40ee9a7' '798fc87d3ebc06e7f104ff30960a4630'
         '039c3f84677116a20ad98e09a03d827d' '3a39b1d6d46724b89425a19843d42908'
         'ce8cb9548ad2ae5dafcf01cd23df4100' 'a98e90e9444fe9e9d7c8d5dc07302740'
         'f85608457424ad71191dc1c8953f3fc4' '9bb94caebd7e0ed959398d55d842eacf'
         '1d205e97c42374d32520c95a1db9e497' 'a489375bf0b15f144f87a88ab5e36c95'
         '9bcec5ee9abbffac4f12f70f69241a4c' '7e32cbdb890405d6ca4ee37c671e279b'
         'd6258661d78b82cdc29b6b0d8e355289' '3e31ecaaf531318aa73c6adc33aab7fd'
         'a0cd31c8ec7a575b04be2416e5f64edf' '2864855cb6cb0d3048cc8e74b16a5990'
         '2f58e8b00f4614c2b071838d299310b6' '821323cc5cdefbc69899e6bc8b30bc30'
         '735e869f92d6c80c6d43c837dee670b3' 'f6885686d11cd7f794805a70ee849579'
         'e51adda32a4a1a73dff2e92b3715b1ef' '559410e68495eed2fd05e65533b03aa8'
         '2f460f5691c31d14354f5ca20536b6f1' 'e3e1f86a74242731d93a009cb692f952'
         '30c225d5ee55b073eec23037969edb48' 'c6f122ba3c95d03f835842d05d66c3bd'
         '11c22371c8ca2e3588f894bba8c5409f' '7a3493a75ee1ae8277ac2d824b356758'
         'f1a101fcc7474f68189fbfb08d73fd52' '69ce6ad1dbcb5df6579764bb1975153b'
         'b0004e79c5fb690dca71822c1e9051fc' '2e4a5a94cbc17ca42535f0702f103743'
         'ceae20562137686b028bb03f8bdc1276' '162c46080fc0a858917ea63d156154de'
         'b595c4f9d9638e9d715d0dec09089b16' '6de3ea5c394d55504fc846a7e2e54968'
         '26f4b0e018ceb5d4a8298989e5a57dc0' '4a8bc79b06357416164bfc77b16e3b40'
         '54352b78dae65bdd0cac2471c257b5f1' '025814a6478f8d1bcf199ce6422b59be'
         'db175fa4955264572d092e67b9c756af' 'b2171359bc93f307f941865a859d1eea'
         '7303a0dd8232ea1fcc72df21e6839184' '1d8a15e289b09afee95df671b8216e17'
         '34589da311b5d930c4b277bb5667cf97' 'f30fd2a5532eb5070e87ba944a770d0e'
         '676dd4ecd31056fd532f20704bea4caa' '6ddcf6560f6add3315d37730a04c3916'
         'e459f5ab4398afcf1ca950fe481f8c7f' '0e96b634e90f44ec105e2e645defad67'
         '8fd62455ed7997427dc18a251fcf2b35' '94f802921fe0687b283369b4deed1255'
         '2206f44458cb7a857e572f598034a9c7')

build() {

    cd $startdir/src/vim63

    for patchfile in ../${pkgver}.*
    do
        patch -p0 -i $patchfile
    done

    patch -Np1 -i ../vim.patch
    
    cd src

    ./configure --prefix=/usr 
    --localstatedir=/var/lib/$pkgname 
    --with-features=big 
    --disable-gpm 
    --with-x=no 
    --enable-gui=no 
    --enable-multibyte 
    --enable-cscope
    #--enable-perlinterp 
    #--enable-pythoninterp
    #--enable-rubyinterp

    make CPPFLAGS=-DSYS_VIMRC_FILE="/etc/vimrc" VIMRTDIR=  auto/pathdef.c
    make CPPFLAGS=-DSYS_VIMRC_FILE=\"/etc/vimrc\" VIMRTDIR=  || return 1
    make DESTDIR=$startdir/pkg VIMRTDIR= install
    cd $startdir/pkg/usr/bin
    ln -sf vim vi
    mkdir -p $startdir/pkg/etc
    cp $startdir/pkg/usr/share/vim/vimrc_example.vim $startdir/pkg/etc/vimrc
}

gvim PKGBUILD

pkgname=gvim
pkgver=6.3
pkgrel=5
pkgdesc="VIM - Vi IMproved console"
url="http://www.vim.org"
depends=('vim' 'gtk2' 'desktop-file-utils') #'perl' 'python' 'ruby'
source=(
ftp://ftp.vim.org/pub/vim/unix/vim-$pkgver.tar.bz2 
ftp://ftp.vim.org/pub/vim/extra/vim-$pkgver-lang.tar.gz 
vim.patch 
gvim.desktop 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.001 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.002 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.003 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.004 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.005 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.006 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.007 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.008 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.009 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.010 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.011 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.012 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.013 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.014 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.015 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.016 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.017 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.018 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.019 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.020 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.021 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.023 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.024 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.026 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.027 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.028 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.029 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.030 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.031 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.032 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.033 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.034 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.036 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.037 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.039 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.040 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.042 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.043 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.045 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.046 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.049 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.050 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.051 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.054 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.055 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.056 
ftp://ftp.vim.org/pub/vim/patches/${pkgver}/${pkgver}.057 
)
install=gvim.install

md5sums=('821fda8f14d674346b87e3ef9cb96389' '5395c4dacbf1c5008b22c4b86794e8a7'
         '7b66008c9f0d9c0c15246cb3d1fbb740' '31cdc76ff58f28e06fa785e710baee52'
         '798fc87d3ebc06e7f104ff30960a4630' '039c3f84677116a20ad98e09a03d827d'
         '3a39b1d6d46724b89425a19843d42908' 'ce8cb9548ad2ae5dafcf01cd23df4100'
         'a98e90e9444fe9e9d7c8d5dc07302740' 'f85608457424ad71191dc1c8953f3fc4'
         '9bb94caebd7e0ed959398d55d842eacf' '1d205e97c42374d32520c95a1db9e497'
         'a489375bf0b15f144f87a88ab5e36c95' '9bcec5ee9abbffac4f12f70f69241a4c'
         '7e32cbdb890405d6ca4ee37c671e279b' 'd6258661d78b82cdc29b6b0d8e355289'
         '3e31ecaaf531318aa73c6adc33aab7fd' 'a0cd31c8ec7a575b04be2416e5f64edf'
         '2864855cb6cb0d3048cc8e74b16a5990' '2f58e8b00f4614c2b071838d299310b6'
         '821323cc5cdefbc69899e6bc8b30bc30' '735e869f92d6c80c6d43c837dee670b3'
         'f6885686d11cd7f794805a70ee849579' 'e51adda32a4a1a73dff2e92b3715b1ef'
         '559410e68495eed2fd05e65533b03aa8' '2f460f5691c31d14354f5ca20536b6f1'
         'e3e1f86a74242731d93a009cb692f952' '30c225d5ee55b073eec23037969edb48'
         'c6f122ba3c95d03f835842d05d66c3bd' '11c22371c8ca2e3588f894bba8c5409f'
         '7a3493a75ee1ae8277ac2d824b356758' 'f1a101fcc7474f68189fbfb08d73fd52'
         '69ce6ad1dbcb5df6579764bb1975153b' 'b0004e79c5fb690dca71822c1e9051fc'
         '2e4a5a94cbc17ca42535f0702f103743' 'ceae20562137686b028bb03f8bdc1276'
         '162c46080fc0a858917ea63d156154de' 'b595c4f9d9638e9d715d0dec09089b16'
         '6de3ea5c394d55504fc846a7e2e54968' '26f4b0e018ceb5d4a8298989e5a57dc0'
         '4a8bc79b06357416164bfc77b16e3b40' '54352b78dae65bdd0cac2471c257b5f1'
         '025814a6478f8d1bcf199ce6422b59be' 'db175fa4955264572d092e67b9c756af'
         'b2171359bc93f307f941865a859d1eea' '7303a0dd8232ea1fcc72df21e6839184'
         '1d8a15e289b09afee95df671b8216e17' '34589da311b5d930c4b277bb5667cf97'
         'f30fd2a5532eb5070e87ba944a770d0e' '676dd4ecd31056fd532f20704bea4caa'
         '6ddcf6560f6add3315d37730a04c3916')

build() {

    cd $startdir/src/vim63

    for patchfile in ../${pkgver}.*
    do
        patch -p0 -i $patchfile
    done

    patch -Np1 -i ../vim.patch || return 1
    
    cd src

    ./configure 
    --prefix=/usr 
    --localstatedir=/var/lib/$pkgname 
    --with-features=big 
    --disable-gpm 
    --with-x=yes 
    --enable-gui=gtk2 
    --enable-multibyte 
    --enable-cscope
    #--enable-perlinterp 
    #--enable-pythoninterp
    #--enable-rubyinterp
    
    make CPPFLAGS="-DSYS_VIMRC_FILE="/etc/vimrc" -DSYS_GVIMRC_FILE="/etc/gvimrc"" VIMRTDIR=  auto/pathdef.c
    make CPPFLAGS="-DSYS_VIMRC_FILE=\"/etc/vimrc\" -DSYS_GVIMRC_FILE=\"/etc/gvimrc\"" VIMRTDIR=  || return 1
    make DESTDIR=$startdir/pkg VIMRTDIR= installvimbin
    (cd $startdir/pkg/usr/bin; mv vim gvim)

    install -D -m644 $startdir/src/$pkgname.desktop $startdir/pkg/usr/share/applications/gvim.desktop
    install -D -m644 $startdir/src/vim63/runtime/vim48x48.png $startdir/pkg/usr/share/pixmaps/gvim.png
}

cream PKGBUILD

pkgname=cream
pkgver=0.32
pkgrel=1
pkgdesc="Config for gvim that makes it more intuitive (e.g. similar to Kate)"
url="http://cream.sourceforge.net"
depends=('gvim' 'bash')
source=(http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('7711a523967a4bf2e57d68c91f9c4cab')

build() {

    install -d -m755 $startdir/pkg/usr/bin
    install -d -m755 $startdir/pkg/usr/share/applications
    install -d -m755 $startdir/pkg/usr/share/icons
    install -d -m755 $startdir/pkg/usr/share/vim/cream
    install -d -m755 $startdir/pkg/usr/share/vim/cream/addons
    install -d -m755 $startdir/pkg/usr/share/vim/cream/bitmaps
    install -d -m755 $startdir/pkg/usr/share/vim/cream/docs
    install -d -m755 $startdir/pkg/usr/share/vim/cream/docs-html
    install -d -m755 $startdir/pkg/usr/share/vim/cream/filetypes
    install -d -m755 $startdir/pkg/usr/share/vim/cream/help
    install -d -m755 $startdir/pkg/usr/share/vim/cream/spelldicts
    
    install -m644 $startdir/src/$pkgname-$pkgver/creamrc $startdir/pkg/usr/share/vim/cream
    install -m664 $startdir/src/$pkgname-$pkgver/*.vim $startdir/pkg/usr/share/vim/cream
    install -m664 $startdir/src/$pkgname-$pkgver/addons/*.vim $startdir/pkg/usr/share/vim/cream/addons
    install -m664 $startdir/src/$pkgname-$pkgver/bitmaps/*.xpm $startdir/pkg/usr/share/vim/cream/bitmaps
    install -m664 $startdir/src/$pkgname-$pkgver/docs/*.txt $startdir/pkg/usr/share/vim/cream/docs
    install -m664 $startdir/src/$pkgname-$pkgver/docs-html/*.html $startdir/pkg/usr/share/vim/cream/docs-html
    install -m664 $startdir/src/$pkgname-$pkgver/docs-html/*.css $startdir/pkg/usr/share/vim/cream/docs-html
    install -m664 $startdir/src/$pkgname-$pkgver/docs-html/*.png $startdir/pkg/usr/share/vim/cream/docs-html
    install -m664 $startdir/src/$pkgname-$pkgver/filetypes/*.vim $startdir/pkg/usr/share/vim/cream/filetypes
    install -m664 $startdir/src/$pkgname-$pkgver/help/*.txt $startdir/pkg/usr/share/vim/cream/help
    install -m664 $startdir/src/$pkgname-$pkgver/spelldicts/cream-spell-dict-eng-s*.vim $startdir/pkg/usr/share/vim/cream/spelldicts
    install -m664 $startdir/src/$pkgname-$pkgver/spelldicts/cream-spell-dict.vim $startdir/pkg/usr/share/vim/cream/spelldicts
    install -m755 $startdir/src/$pkgname-$pkgver/cream $startdir/pkg/usr/bin
    install -m664 $startdir/src/$pkgname-$pkgver/cream.desktop $startdir/pkg/usr/share/applications
    install -m664 $startdir/src/$pkgname-$pkgver/cream.svg $startdir/pkg/usr/share/icons
    install -m664 $startdir/src/$pkgname-$pkgver/cream.png $startdir/pkg/usr/share/icons
}

If you have any troubles or errors ("file not found" etc.) while compiling these pkgbuilds, please first check for additional spaces near the "" character at the end of each line and remove them (sometimes they are inserted during copy/paste operation).

EDIT: 2005-02-17 update to latest versions

Offline

#2 2004-11-07 11:28:30

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 347

Re: cream for vim: gvim for non-aliens :-)

Where can I find vim.patch and gwim.patch? I only have an empty local/ in my /var/abs/


Ørjan Pettersen

Offline

#3 2004-11-07 12:28:55

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: cream for vim: gvim for non-aliens :-)

They are both called vim.patch and

Also for vim copy vim.patch file from /var/abs/base/vim and for gvim copy vim.patch file from /var/abs/editors/gvim

Local is for your own pkgbuilds. It  just won't be overwritten next time you run abs (don't forget to run abs before you copy these patch files so they will be as fresh as possible).

Offline

#4 2004-11-07 14:00:25

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: cream for vim: gvim for non-aliens :-)

New cream version was released and some new error fixing patches for vim/gvim too. So I updated and simplified a little all of the above pkgbuilds. Please recompile and reinstall all of them (first vim, gvim and cream).

Offline

#5 2004-11-07 14:10:43

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 347

Re: cream for vim: gvim for non-aliens :-)

Ok, thanks.

The abs command did the trick.

I'll recompile all three pacages.


Ørjan Pettersen

Offline

#6 2004-11-07 15:42:06

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 347

Re: cream for vim: gvim for non-aliens :-)

How can I specify that pacman should use my custom pacages instead of the archlinux pacages?


Ørjan Pettersen

Offline

#7 2004-11-07 21:40:58

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: cream for vim: gvim for non-aliens :-)

I'm not sure what you mean.

You can install packages which you built using abs/makepkg by running pacman -U packagefilename (notice it has to be full filename of the package).

You can tell pacman to not upgrade packages which you built yourself (and installed with pacman -U) during next system upgrae (pacman -Syu) by placing it's name in IgnorePkg=yourpackagename (only name not filename) in your /etc/pacman.conf (for more info read man pacman).

Or you can mainain your own repo and place its url in pacman.conf. For more info read man pacman and man makepkg.

You probably want to use IgnorePkg feature.

EDIT: How could I forget about this... Sorry.

You can also use srcpac program (install with pacman -S srcpac). It remembers which packages where installed from binary packages and which were built from sources (in short). For more info just search the forums for srcpac.

Offline

#8 2004-11-08 00:27:56

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: cream for vim: gvim for non-aliens :-)

vim without being vim?
wha?

really..if you don't want vim to be vim, wouldn't you just have better luck using pico or nano?


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#9 2004-11-08 14:18:32

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: cream for vim: gvim for non-aliens :-)

You know what? You convinced me. Arch shouldn't be polluted with things like this. This is just... not right. There is only one proper way to use vim and we shouldn't change it.

I'm deleting cream pkgbuilds right now...

...just kidding  lol
Don't like it? Don't use it!

All vim power is still there. And you can switch between vim/vi/cream type of interface when you want to.

Offline

#10 2004-11-08 20:58:53

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: cream for vim: gvim for non-aliens :-)

i wasn't saying dont use it. I was only wondering why you would use vim, which is a rather large package, when you are using functionality similar to that of pico or nano, which is much smaller.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#11 2004-11-08 21:39:30

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: cream for vim: gvim for non-aliens :-)

Why do you think cream strips functionallity from vim ? It just changes "navigation" IMO. And we are really talking about gvim not pure vim.

Pico and nano are great editors (I usually use nano) but they can't really be compared to vim. I think cream is comparable with kate or any similar gui editor for programmers. And of course cream is very good for ex-windows users that want to quickly switch to linux.

I'm not saying cream is better than gvim but it's just another solution.

Offline

#12 2005-01-31 11:26:43

oscar
Member
From: Kiruna, Sweden
Registered: 2004-08-13
Posts: 457

Re: cream for vim: gvim for non-aliens :-)

Thanks big_smile


To err is human... to really foul up requires the root password.

Offline

#13 2005-02-16 15:36:23

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: cream for vim: gvim for non-aliens :-)

PLZ ADD CREAM IN EXTRA
or thegnu or snowman plz maintain this

Offline

#14 2005-02-17 01:42:29

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: cream for vim: gvim for non-aliens :-)

I've just updated all pkgbuilds.

The trouble with cream is that it needs (at least according to official docs) vim/gvim built with features=big (http://mysite.verizon.net/astronaut/vim/vimfeat.html). Official arch packages IIRC are built with standard features.

Offline

#15 2005-02-17 07:35:44

oscar
Member
From: Kiruna, Sweden
Registered: 2004-08-13
Posts: 457

Re: cream for vim: gvim for non-aliens :-)

lanrat wrote:

I've just updated all pkgbuilds.

The trouble with cream is that it needs (at least according to official docs) vim/gvim built with features=big (http://mysite.verizon.net/astronaut/vim/vimfeat.html). Official arch packages IIRC are built with standard features.

I don't know how to do this by myself, but if the package maintainer simply could add --features=big to the PKGBUILD by default?
Does it make any major difference for the vanilla vim?


To err is human... to really foul up requires the root password.

Offline

#16 2005-02-17 09:10:16

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: cream for vim: gvim for non-aliens :-)

The difference between big and normal is described in this link above (B column vs N column). There are not too many differences between them.

For others that want to maintain their own vim/gvim/cream packages add

Ignorepkg = vim gvim

to /etc/pacman.conf to avoid automatic upgrade from extra packages.

Offline

#17 2005-02-17 09:30:50

oscar
Member
From: Kiruna, Sweden
Registered: 2004-08-13
Posts: 457

Re: cream for vim: gvim for non-aliens :-)

Sorry, I didn't check that link before asking... smile

Syntax:

IgnorePkg = vim gvim

To err is human... to really foul up requires the root password.

Offline

#18 2005-02-17 17:09:38

Legout
Member
From: Wuerburg/germany
Registered: 2004-01-19
Posts: 292

Re: cream for vim: gvim for non-aliens :-)

i´ve tried to build the gvim package and git this error

cts/version.o   -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lelf -lnsl
/usr/bin/ld: cannot find -lelf
collect2: ld returned 1 exit status
make: *** [vim] Error 1
==> ERROR: Build Failed.  Aborting...

Offline

#19 2006-03-13 21:10:10

Sander
Member
Registered: 2006-02-26
Posts: 138

Re: cream for vim: gvim for non-aliens :-)

I'm trying to compile vim with this PKGBUILD, but it says vim.patch doesn't pass the validity check... I'd really like to try this as regular vim just plain scares me tongue

EDIT: I just took the current vim and gvim PGKBUILDs from my abs tree and added --with-features=big in each. Up till now it seems to be working fine...


You like cheese? You like peas? You'll love cheezy peas!

Offline

Board footer

Powered by FluxBB