Backports from testing

This commit is contained in:
Manuel Tortosa 2011-04-16 11:23:38 +02:00
parent c78c589c89
commit 496b07b4f6
9 changed files with 135 additions and 44 deletions

View File

@ -1,13 +1,11 @@
# $Id: PKGBUILD 75165 2010-03-31 23:52:49Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Maintainer: Phil Miller <philm[at]chakra-project[dot]org>
#
### Attention: remove old pkg before building - it links against itself! ###
#
pkgname=heimdal
pkgver=1.3.2
pkgver=1.3.3
pkgrel=1
pkgdesc="Implementation of Kerberos V5 libraries"
arch=('i686' 'x86_64')
@ -28,7 +26,7 @@ source=(http://www.h5l.org/dist/src/${pkgname}-${pkgver}.tar.gz
heimdal-kdc.rc
kadmind.rc
kpasswd.rc)
md5sums=('69d7c4fc1a448f8feda1b478dad48fd0'
md5sums=('963c09f1b14c41660be70b55fae9f163'
'98e28f11f906c967aac22d6184102c9e'
'6d5571bdedba2e2423b90bccdbac2c0a'
'2feec3924ee5230b54175b4d4000c872'

View File

@ -7,19 +7,19 @@
# NOTE If fails to compile restart build without clearing src
pkgname=('ruby' 'ruby-docs')
pkgver=1.9.2_p0
_pkgver=1.9.2-p0
pkgver=1.9.2_p180
_pkgver=1.9.2-p180
pkgrel=1
pkgdesc="An object-oriented language for quick and easy programming"
arch=('i686' 'x86_64')
url="http://www.ruby-lang.org/en/"
license=('custom')
makedepends=('gdbm' 'db' 'openssl' 'zlib' 'readline' 'tk' 'libffi'
'doxygen')
'doxygen' 'graphviz')
options=('!emptydirs')
source=("ftp://ftp.ruby-lang.org/pub/ruby/1.9/${pkgname}-${_pkgver}.tar.bz2")
md5sums=('d8a02cadf57d2571cd4250e248ea7e4b')
sha256sums=('e9710990ed8c2e794123aba509010471915fb13c27dae0118831d2001a9c8d3b')
md5sums=('68510eeb7511c403b91fe5476f250538')
sha256sums=('06520c4d4b4512d08000f7dfff11d1fabc1d458c3c289c76a2f1ddb7f5a03f4d')
build() {
cd "${srcdir}/${pkgname}-${_pkgver}"

View File

@ -4,44 +4,44 @@
# 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
pkgbase="sqlite3"
pkgname=('sqlite3' 'sqlite3-doc')
_amalgamationver=3070400
pkgname=('sqlite3' 'sqlite3-tcl' 'sqlite3-doc')
_amalgamationver=3070500
_amalgamationver2=${_amalgamationver/00/}
pkgver=${_amalgamationver2//0/.}
pkgrel=1
pkgrel=2
pkgdesc="A C library that implements an SQL database engine"
arch=('i686' 'x86_64')
license=('custom')
url="http://www.sqlite.org/"
makedepends=('tcl' 'readline>=6.0.00')
source=(http://www.sqlite.org/sqlite-src-${_amalgamationver}.zip
source=( #http://www.sqlite.org/sqlite-src-${_amalgamationver}.zip - # the no more recommended ZIP archive of the complete source tree for SQLite - Makefile and configure script in this tarball are not supported
http://www.sqlite.org/sqlite-autoconf-$_amalgamationver.tar.gz # tarball containing the amalgamation for SQLite 3.7.5 together with an configure script and makefile for building it.
http://www.sqlite.org/sqlite-tea-$_amalgamationver.tar.gz # tarball of the amalgamation together with a Tcl Extension Architecture (TEA) compatible configure script and makefile
http://www.sqlite.org/sqlite-doc-${_amalgamationver}.zip
license.txt)
options=(!libtool)
md5sums=('2b5c53328505893599de6e2055996d7a'
'c38a4aae9cf6e8921ba7ad48a9301288'
options=('!libtool' '!emptydirs')
md5sums=('a9604a82613ade2e7f4c303f233e477f'
'3413e8cfb7990e39260bf45dca017bf0'
'74f9b304143a76e3da8c0063888770ee'
'c1cdbc5544034d9012e421e75a5e4890')
build() {
cd ${srcdir}/sqlite-src-${_amalgamationver}
export LTLINK_EXTRAS="-ldl"
export CFLAGS="$CFLAGS -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_SECURE_DELETE"
# build sqlite
cd "$srcdir"/sqlite-autoconf-$_amalgamationver
./configure --prefix=/usr \
--enable-threadsafe \
--enable-threads-override-locks \
--enable-cross-thread-connections \
--disable-static \
--enable-load-extension
# rpath removal
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
--disable-static
make
# build the tcl extension
cd "$srcdir"/sqlite-tea-$_amalgamationver
./configure --prefix=/usr \
--with-system-sqlite
make
}
package_sqlite3() {
@ -51,14 +51,26 @@ package_sqlite3() {
conflicts=('sqlite')
replaces=('sqlite')
cd ${srcdir}/sqlite-src-${_amalgamationver}
# cd ${srcdir}/sqlite-src-${_amalgamationver}
# make DESTDIR=${pkgdir} install
# install -Dm0644 sqlite3.1 ${pkgdir}/usr/share/man/man1/sqlite3.1
cd ${srcdir}/sqlite-autoconf-$_amalgamationver
make DESTDIR=${pkgdir} install
install -Dm0644 sqlite3.1 ${pkgdir}/usr/share/man/man1/sqlite3.1
# license
install -D -m644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
}
package_sqlite3-tcl() {
pkgdesc="sqlite3 Tcl Extension Architecture (TEA)"
depends=('sqlite3>=3.7.5')
cd ${srcdir}/sqlite-tea-$_amalgamationver
make DESTDIR=${pkgdir} install
}
package_sqlite3-doc() {
pkgdesc="most of the static HTML files that comprise this website, including all of the SQL Syntax and the C/C++ interface specs and other miscellaneous documentation"
#arch=('any') - not yet supported

View File

@ -1,10 +1,12 @@
# $Id: PKGBUILD 77223 2010-04-11 14:13:33Z pierre $
# Maintainer: Paul Mattal <paul@archlinux.org>
# Contributor: Jason Chu <jason@archlinux.org>
#
# 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>
pkgname=subversion
pkgver=1.6.9
pkgrel=6
pkgver=1.6.16
pkgrel=1
pkgdesc="Replacement for CVS, another versioning system (svn)"
arch=('i686' 'x86_64')
license=('apache' 'bsd')
@ -85,7 +87,7 @@ build() {
install -Dm 644 ${srcdir}/${pkgname}-${pkgver}/tools/client-side/bash_completion \
${pkgdir}/etc/bash_completion.d/subversion || return 1
}
md5sums=('9c30a47b1d48664e7afef68bb4834c53'
md5sums=('32f25a6724559fe8691d1f57a63f636e'
'a2b029e8385007ffb99b437b30521c90'
'a0db6dd43af33952739b6ec089852630'
'c459e299192552f61578f3438abf0664'

41
v86d/PKGBUILD Normal file
View File

@ -0,0 +1,41 @@
#
# Core 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>
pkgname="v86d"
pkgver=0.1.9
pkgrel=1
pkgdesc="userspace helper for uvesafb that runs x86 code in an emulated environment"
url="http://dev.gentoo.org/~spock/projects/uvesafb/"
license=('GPL2')
arch=("i686" "x86_64")
depends=('glibc')
conflicts=('mkinitcpio<0.5.99')
backup=(etc/modprobe.d/uvesafb.conf)
source=(http://dev.gentoo.org/~spock/projects/uvesafb/archive/v86d-$pkgver.tar.bz2
v86d
v86d_hook
modprobe.uvesafb)
md5sums=('ebbbc8e7013c9544b6ba6981add43831'
'33f3131e7bf041ed6a67e92bff272f4c'
'813958b8f6c75a7063e4858f31509694'
'2d7cc8dc6a41916a13869212d0191147')
options=(!makeflags)
build() {
cd $srcdir/v86d-$pkgver
./configure --with-x86emu
# we only need /usr/include/video/uvesafb.h
make KDIR=/usr
}
package() {
cd $srcdir/v86d-$pkgver
make DESTDIR=$pkgdir install
install -D -m644 $srcdir/v86d $pkgdir/lib/initcpio/install/v86d
install -D -m644 $srcdir/v86d_hook $pkgdir/lib/initcpio/hooks/v86d
install -D -m644 $srcdir/modprobe.uvesafb $pkgdir/etc/modprobe.d/uvesafb.conf
}

10
v86d/modprobe.uvesafb Normal file
View File

@ -0,0 +1,10 @@
#
# This file sets the parameters for uvesafb module.
# The following format should be used:
# options uvesafb mode=<xres>x<yres>[-<bpp>][@<refresh>] scroll=<ywrap|ypan|redraw> ...
#
# For more details see:
# http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/fb/uvesafb.txt
#
options uvesafb mode_option=1024x768-32 scroll=ywrap

12
v86d/v86d Normal file
View File

@ -0,0 +1,12 @@
install() {
add_binary "/sbin/v86d"
add_file "/etc/modprobe.d/uvesafb.conf"
MODULES="uvesafb"
SCRIPT="v86d"
}
help() {
echo "This hook sets up v86d, the userspace helper for uvesafb."
}
# vim: set ft=sh ts=4 sw=4 expandtab:

12
v86d/v86d.txt Normal file
View File

@ -0,0 +1,12 @@
install() {
add_binary "/sbin/v86d"
add_file "/etc/modprobe.d/uvesafb.conf"
MODULES="uvesafb"
SCRIPT="v86d"
}
help() {
echo "This hook sets up v86d, the userspace helper for uvesafb."
}
# vim: set ft=sh ts=4 sw=4 expandtab:

4
v86d/v86d_hook Normal file
View File

@ -0,0 +1,4 @@
run_hook()
{
/sbin/modprobe uvesafb
}