You are not logged in.

#1 2009-11-02 19:22:53

alelinuxbsd
Member
From: Italy
Registered: 2009-03-01
Posts: 14

[Solved] Gimp 2.7

I'm interested to try this version but using a different location so I can use gimp 2.6 and gimp 2.7 on the same pc.

As reference i use this:
Compilare Gimp 2.7 su Debian Squeeze

After declare the variable in the system, in AUR i have used the packages:
babl-git
where i change the prefix with:
./autogen.sh --prefix=/opt/gimp-2.7

gegl-git
where i change the prefix with:
./autogen.sh --prefix=/opt/gimp-2.7  --disable-docs

gimp-devel-light
where i change the prefix with:
--prefix=/opt/gimp-2.7 ...

When i tried the package babl-git i obtain this message:
$ sudo pacman -U babl-git-20091102-1-i686.pkg.tar.gz

...
errore: la sostituzione dei pacchetti con l'opzione -U non è ancora supportata
errore: puoi sostituire i pacchetti manualmente, usando le opzioni -Rd e -U
errore: impossibile eseguire l'operazione richiesta (dipendenze in conflitto)
:: babl-git: va in conflitto con babl

I would like avoid to overwrite libraries.

Is safe overwrite this libraries or not?

I would like avoid to compromise gimp 2.6.

Note:
I add the locations. Italian. wink

Last edited by alelinuxbsd (2009-11-03 12:54:28)

Offline

#2 2009-11-03 03:47:47

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: [Solved] Gimp 2.7

Without a translation its hard for non-spanish speakers to assist you.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2009-11-03 03:51:18

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

Re: [Solved] Gimp 2.7

You just need to follow the instructions given by pacman.   It is quite clear...

Offline

#4 2009-11-03 04:11:39

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: [Solved] Gimp 2.7

Since you changed the prefix, it doesn't really conflict any more. You should take the "conflicts=(babl)" out of babl-git so pacman knows it's safe to install them both at once.

(And that's Italian, not Spanish, though I don't speak either of them...)

Offline

#5 2009-11-03 04:47:03

JohnVV
Member
From: Ann Arbor, Mi. U.S.A.
Registered: 2009-09-30
Posts: 107
Website

Re: [Solved] Gimp 2.7

i am not sure on doing that using pacman and building a package?
My experience is in building the cvs( gnome-tarbal ) source along with the current

in that most of the time gtk also needs to be a newer version along with about 1/2 of Gnome
What i do is make a testing folder -- say -- /usr/opt/Gimp-2.7
and build all and every dependency with --prefix= /usr/opt/Gimp-2.7

that means that the newer gtk,glib,gegl,pango,atk,--everything needs to go in there
along with passing the "PKG_CONFIG_PATH" location "usr/opt/Gimp-2.7/lib/pkgconfig "AND " LD_LIBRARY_PATH=usr/opt/Gimp-2.7/lib/ "

the ./configure paths MUST BE SET because the gimp-2.7 path CAN NOT BE IN THE SYSTEM PATH

this IS a big pain to do so you NEED to ask your self " do you want to do this ??? "

Last edited by JohnVV (2009-11-03 04:48:57)

Offline

#6 2009-11-03 09:10:32

alelinuxbsd
Member
From: Italy
Registered: 2009-03-01
Posts: 14

Re: [Solved] Gimp 2.7

Ok i have resolved the problem.

pkgname=babl-git
pkgver=20091103
pkgrel=1
pkgdesc="babl is a dynamic, any to any, pixel format translation library"
arch=('i686' 'x86_64')
url="http://www.gegl.org/babl"
license=('GPL')
#conflicts=('babl')
#provides=('babl')
depends=('glib2>=2.10' 'libpng')
makedepends=('git')
source=()
md5sums=()

_gitroot=('git://git.gnome.org/babl')
_gitname=('babl')
                    
build() {
  cd $startdir/src
  msg "Connecting to gnome.org git server...."
  rm  -rf $startdir/src/$_gitname-build
 
  if [[ -d $_gitname ]]; then
   cd $_gitname || return 1
   git pull origin || return 1
    else
   git clone $_gitroot $_gitname || return 1
     fi
  msg " checkout done."

    msg "Starting make..."
    cd "$srcdir"
    rm -r "$srcdir/$_gitname-build"
    cp -r $srcdir/$_gitname $_gitname-build
    cd $_gitname-build

  ./autogen.sh --prefix=/opt/gimp-2.7
  make || return 1
  make DESTDIR="$pkgdir" install || return 1
}

pkgname=gegl-git
pkgver=20091103
pkgrel=1
pkgdesc="GEGL (Generic Graphics Library) is a graph based image processing framework."
arch=('i686' 'x86_64')
url="http://www.gegl.org/"
license=('GPL')
#conflicts=('gegl')
#provides=('gegl')
depends=('glib2>=2.10' 'babl-git' 'libpng' 'ruby')
makedepends=('git')
install=$pkgname.install
source=($pkgname.install)
md5sums=('2289b100d1d4ee9ef6b3ad02eddbc899')

_gitroot=('git://git.gnome.org/gegl')
_gitname=('gegl')

build() {
  cd $startdir/src
  msg "Connecting to gnome.org git server...."
  rm  -rf $startdir/src/$_gitname-build
 
  if [[ -d $_gitname ]]; then
   cd $_gitname || return 1
   git pull origin || return 1
    else
   git clone $_gitroot $_gitname || return 1
     fi
  msg " checkout done."

    msg "Starting make..."
    cd "$srcdir"
    rm -r "$srcdir/$_gitname-build"
    cp -r $srcdir/$_gitname $_gitname-build
    cd $_gitname-build

  ./autogen.sh --prefix=/opt/gimp-2.7 --disable-docs
  make || return 1
  make DESTDIR="$pkgdir" install || return 1
}

gimp-devel-light

pkgname=gimp-devel-light
pkgver=2.7.0
pkgrel=2
pkgdesc="Fast and light mode of GNU Image Manipulation Program (Development Version)"
arch=('i686' 'x86_64')
url="http://www.gimp.org/"
license=('GPL')
depends=('gtk2>=2.14.4' 'libxpm>=3.5.7' 'libxmu>=1.0.4' 'dbus-glib>=0.76' 'libexif>=0.6.16' 'desktop-file-utils' 'gegl-git')
#makedepends=('gutenprint>=5.0.2' 'intltool>=0.35.5' 'pkgconfig>=0.21')
makedepends=('intltool>=0.35.5' 'pkgconfig>=0.21')
options=('!libtool' '!makeflags')
#conflicts=('gimp')
#provides=('gimp-devel' 'gimp')
install=${pkgname}.install
source=(ftp://ftp.gimp.org/pub/gimp/v${pkgver%.*}/gimp-${pkgver}.tar.bz2 linux.gpl)

build() {
  cd ${srcdir}/gimp-${pkgver}
 
# IMPORTANT !!!
# If you have 2 processors remove this lines from ./configure line(29)
# --disable-libtool-lock
# --disable-mp
#--without-script-fu
  ./configure --prefix=/opt/gimp-2.7 --sysconfdir=/etc/gimp-2.7 --enable-fast-install --disable-libtool-lock --disable-python --disable-largefile --disable-nls --disable-glibtest --disable-gtktest --disable-alsatest --with-x --without-lcms --without-gnomevfs --without-aa --without-webkit --without-librsvg --without-poppler --without-gvfs --without-gnomevfs --without-wmf --without-linux-input --without-alsa --without-libcurl || return 1

  make || return 1
  make DESTDIR=${pkgdir} install-strip || return 1

  install -D -m644 ${srcdir}/linux.gpl \
    ${pkgdir}/usr/share/gimp-2.7/palettes/Linux.gpl || return 1

}

md5sums=('bd9fb22079a547f1f302c219b1a29fcc'
         'bb27bc214261d36484093e857f015f38')

I'm not interest about gutenprint.
#conflicts=('gimp')
#provides=('gimp-devel' 'gimp')
I comment even gimp-devel (and don't only gimp) because on the contrary i can't go on.
I remove:
--without-script-fu
because i would like try the script-fu present on my gimp 2.6 obviously some go while some don't go so perhaps you could even add it.

I specify
/etc/gimp-2.7
because the package don't install for the presence of the file of gimp 2.6 on the same location.
So you obtain:
/etc/gimp-2.7/gimp/2.0
well i known isn't beautiful but at least in this manner work.

In this manner you could have two different gimp on the same computer but you couldn't use both on them on the same time.

But unfortunately what said JohnVV  about change half gnome is true, this edition only works because it is in the early stages of development where a lot of code is the same.

Thanks everyone and in particular ataraxia that was the key for resolve the problem.

Note:
These files are customization so better change the pkgrel.

Last edited by alelinuxbsd (2009-11-03 09:12:43)

Offline

Board footer

Powered by FluxBB