You are not logged in.

#1 2003-10-13 05:08:57

red_over_blue
Member
Registered: 2003-07-19
Posts: 152

pil

pkgname=pil
pkgver=1.1.4
pkgrel=1
pkgdesc="The Python Imaging Library (PIL) adds image 
   processing capabilities to your Python interpreter"
url="http://www.pythonware.com/products/pil/index.htm"
depends=('python' 'xfree86' 'freetype2' 'libjpeg' 'zlib' 'tcl' 'tk')
conflicts=()
backup=()
install=
source=(http://effbot.org/downloads/Imaging-$pkgver.tar.gz)
md5sums=()

build() {
        cd Imaging-$pkgver/libImaging
        ./configure --prefix=/usr
        make || return 1
        cd ..
        python setup.py build
        python setup.py install --root=$startdir/pkg
}

Don't forget to post your PKGBUILD in your thread when you announce a new package in incoming.
see HERE for details

Offline

#2 2004-08-12 06:14:39

scusack
Member
From: Australia
Registered: 2003-11-24
Posts: 18

Re: pil

Hi,

Thanks for the PKGBUILD, it got me started.

I had to change the following line in "_imagingft.c"

#include <freetype/freetype.h>

to

#include <ft2build.h>
#include FT_FREETYPE_H

I am not quite sure how to patch source in a PKGBUILD file, so I made the change and then finished the install by hand.

Regards, Simon.

Offline

#3 2004-08-12 06:40:22

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: pil

well if you know how to generate a patch with diff then there are alot of PKGBUILDs you can look at in ABS that have patches. just grep your /var/abs directory for examples.


AKA uknowme

I am not your friend

Offline

#4 2004-08-12 12:45:33

contrasutra
Member
From: New Jersey
Registered: 2003-07-26
Posts: 507

Re: pil


"Contrary to popular belief, penguins are not the salvation of modern technology.  Neither do they throw parties for the urban proletariat."

Offline

Board footer

Powered by FluxBB