Commit 9b8c763c authored by abveritas's avatar abveritas

next libpng group, djvulibre, lcms, lcms2, sane, texlive-bin, vlc, xorg-apps, zvbi

parent 51b4a052
#
# Platforms packages for Chakra
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
pkgname=djvulibre
pkgver=3.5.25.2
pkgver=3.5.25.3
pkgrel=1
pkgdesc="Suite to create, manipulate and view DjVu ('déjà vu') documents"
arch=("i686" "x86_64")
arch=("x86_64")
license=('GPL')
url="http://djvu.sourceforge.net/"
depends=('gcc-libs' 'libtiff' 'bash' 'hicolor-icon-theme')
makedepends=('pkg-config')
makedepends=('librsvg')
provides=("libdjvu=${pkgver}")
replaces=('libdjvu')
conflicts=('libdjvu')
optdepends=('djview4: Viewer application')
options=('!libtool')
source=(http://downloads.sourceforge.net/djvu/${pkgname}-${pkgver}.tar.gz)
md5sums=('994e2ff1d4ae6a763764dfe20509826e')
source=("http://downloads.sourceforge.net/djvu/${pkgname}-${pkgver}.tar.gz")
md5sums=('5f45d6cd5700b4dd31b1eb963482089b')
build() {
cd "${srcdir}/${pkgname}-3.5.25"
......
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# maintainer abveritas[at]chakra-project[dot]org>
pkgname=lcms
pkgver=1.19
pkgrel=1
pkgrel=2
pkgdesc="Lightweight color management development library/engine"
arch=(i686 x86_64)
arch=('x86_64')
license=('custom')
depends=('libtiff>=3.9.4')
depends=('libtiff')
url="http://www.littlecms.com"
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('8af94611baf20d9646c7c2c285859818')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR=${pkgdir} install
install -Dm 644 COPYING \
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
......
......@@ -5,7 +5,7 @@
pkgname=lcms2
pkgver=2.4
pkgrel=1
pkgrel=2
pkgdesc="Small-footprint color management engine"
arch=('x86_64')
url="http://www.littlecms.com/"
......
......@@ -5,12 +5,12 @@
pkgname=sane
pkgver=1.0.23
pkgrel=1
pkgrel=2
pkgdesc="Scanner Access Now Easy"
url="http://www.sane-project.org"
arch=('x86_64')
license=('GPL')
depends=('libtiff>=3.9.2-2' 'libgphoto2-nolimit' 'libjpeg>=8' 'libieee1284' 'libusb-compat' 'v4l-utils' 'avahi' 'bash' 'net-snmp')
depends=('libtiff>=3.9.2-2' 'libgphoto2-nolimit' 'libjpeg-turbo' 'libieee1284' 'libusb-compat' 'v4l-utils' 'avahi' 'bash' 'net-snmp')
makedepends=('texlive-latexextra')
install=$pkgname.install
options=(!libtool)
......
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Drake Justice <djustice[at]chakra-linux[dot]org>
# maintainer: Drake Justice <djustice[at]chakra-linux[dot]org>
pkgname=texlive-bin
pkgver=2012.0
pkgrel=3
pkgrel=4
pkgdesc="TeX Live binaries"
license=('GPL')
arch=('i686' 'x86_64')
arch=('x86_64')
depends=('t1lib' 'gd' 'poppler' 'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2')
makedepends=('perl' 'clisp' 'ffcall')
optdepends=('ed: for texconfig')
......@@ -50,10 +49,8 @@ md5sums=('220a4f4cc0d915bf8fcbcb553dcee1ae'
'5190f3295eb9a604c5f17f5bd607299b')
build() {
if [ "${CARCH}" = "x86_64" ]; then
export CFLAGS="${CFLAGS} -fPIC"
export CXXFLAGS="${CXXFLAGS} -fPIC"
fi
cd "$srcdir"
# this patch removes spurious error message with locale "xx_YY.utf8"
......
......@@ -5,8 +5,8 @@
pkgname=vlc
pkgver=2.0.4
pkgrel=1
arch=('i686' 'x86_64')
pkgrel=2
arch=('x86_64')
url="http://www.videolan.org/vlc/"
license=('GPL')
depends=('a52dec' 'fluidsynth' 'libmtp' 'libdvbpsi' 'libxpm' 'libcdio'
......@@ -16,12 +16,12 @@ depends=('a52dec' 'fluidsynth' 'libmtp' 'libdvbpsi' 'libxpm' 'libcdio'
'libshout' 'libmad' 'fribidi' 'libmpeg2' 'libmodplug' 'opus'
'ttf-freefont' 'libxv' 'libass' 'xdg-utils' 'desktop-file-utils' 'xcb-util-keysyms')
makedepends=('avahi' 'pkgconfig' 'live-media' 'libnotify' 'libbluray'
'flac' 'libtheora' 'alsa-lib' 'jack' 'kdelibs' 'udev'
'flac' 'libtheora' 'alsa-lib' 'jack' 'kdelibs' 'systemd'
'libraw1394' 'libdc1394' 'libavc1394' 'libva' 'pulseaudio'
'lirc-utils' 'gnutls' 'libcaca')
'lirc-utils' 'gnutls' 'libcaca' 'librsvg')
optdepends=('avahi: for service discovery using bonjour protocol'
'libnotify: for notification plugin'
'ncurses: for ncurses interface support'
#'ncurses: for ncurses interface support'
'libdvdcss: for decoding encrypted DVDs'
'lirc-utils: for lirc plugin'
'libavc1394: for devices using the 1394ta AV/C'
......@@ -48,6 +48,7 @@ build() {
sed -i -e 's:truetype/freefont:TTF:g' modules/text_renderer/freetype.c
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-rpath \
--enable-faad \
--enable-dbus-control \
......
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
# maintainer abveritas@chakra-project.org
pkgname=xorg-apps
pkgver=7.6
pkgrel=1
pkgrel=2
pkgdesc="Various X.Org applications"
arch=(i686 x86_64)
arch=('x86_64')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=(libxcursor libxkbfile 'libpng>=1.4.0' libxft libfontenc libxaw)
depends=('libxcursor' 'libxkbfile' 'libpng>=1.5.0' 'libxft' 'libfontenc' 'libxaw')
makedepends=(pkgconfig xbitmaps)
source=(${url}/releases/individual/app/oclock-1.0.2.tar.bz2
${url}/releases/individual/app/luit-1.1.0.tar.bz2
......@@ -74,7 +70,7 @@ build() {
-i Makefile.* || return 1
;;
xcursorgen*)
sed -e 's/libpng12/libpng14/g' -i configure
sed -e 's/libpng12/libpng15/g' -i configure
;;
esac
./configure --prefix=/usr --disable-xprint --mandir=/usr/share/man \
......
# $Id: PKGBUILD 63654 2010-01-18 09:32:42Z jgc $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
pkgname=zvbi
pkgver=0.2.33
pkgrel=2
pkgrel=3
pkgdesc="VBI capture and decoding library"
url="http://zapping.sourceforge.net/cgi-bin/view/ZVBI/WebHome"
arch=(i686 x86_64)
depends=('libpng>=1.4.0' 'libx11')
arch=('x86_64')
depends=('libpng>=1.5.0' 'libx11')
license=('GPL')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/zapping/${pkgname}-${pkgver}.tar.bz2)
md5sums=('1741a6045c3eedfb611d645f2da69ac8')
source=("http://downloads.sourceforge.net/sourceforge/zapping/${pkgname}-${pkgver}.tar.bz2"
'fix-includes.patch'
'zvbi-0.2.33-libpng15.patch')
md5sums=('1741a6045c3eedfb611d645f2da69ac8'
'38766bc59e1571133d0399f0102da653'
'4434de7addc438be8c5a33274146bd11')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --disable-static --mandir=/usr/share/man || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
patch -p1 -i "${srcdir}/fix-includes.patch"
patch -p0 -i "${srcdir}/zvbi-0.2.33-libpng15.patch"
./configure --prefix=/usr \
--disable-static \
--mandir=/usr/share/man
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
Add proper #includes so that we do not get undef errors to S_ISCHR
during linking.
Signed-off-by: Alex Chiang <achiang@canonical.com>
---
--- zvbi-0.2.33.orig/src/io-dvb.c
+++ zvbi-0.2.33/src/io-dvb.c
@@ -29,6 +29,8 @@
#include <errno.h>
#include <sys/select.h>
#include <sys/ioctl.h>
+#include <sys/types.h>
+#include <sys/stat.h>
#ifndef HAVE_S64_U64
/* Linux 2.6.x asm/types.h defines __s64 and __u64 only
--- zvbi-0.2.33.orig/src/io-v4l.c
+++ zvbi-0.2.33/src/io-v4l.c
@@ -42,6 +42,7 @@ static const char rcsid [] =
#include <assert.h>
#include <sys/time.h> /* timeval */
#include <sys/types.h> /* fd_set, uid_t */
+#include <sys/stat.h> /* S_ISCHR */
#include <sys/ioctl.h> /* for (_)videodev.h */
#include <pthread.h>
--- zvbi-0.2.33.orig/contrib/ntsc-cc.c
+++ zvbi-0.2.33/contrib/ntsc-cc.c
@@ -34,6 +34,7 @@
#include <locale.h>
#include <sys/ioctl.h>
#include <sys/types.h>
+#include <sys/stat.h>
#include <sys/time.h>
#ifdef HAVE_GETOPT_LONG
# include <getopt.h>
Index: src/exp-gfx.c
===================================================================
RCS file: /cvsroot/zapping/vbi/src/exp-gfx.c,v
retrieving revision 1.16
diff -u -B -r1.16 exp-gfx.c
--- src/exp-gfx.c 24 Feb 2008 14:17:47 -0000 1.16
+++ src/exp-gfx.c 15 Feb 2011 20:03:58 -0000
@@ -1672,11 +1672,11 @@
char title[80];
unsigned int i;
- if (setjmp (png_ptr->jmpbuf))
+ if (setjmp (png_jmpbuf(png_ptr)))
return FALSE;
png_set_write_fn (png_ptr,
- (voidp) gfx,
+ (png_voidp) gfx,
write_data,
flush_data);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment