* add burg

* fix bzr
* update udev to 165
* update gobject-introspection to 0.10.0
This commit is contained in:
philm 2011-01-03 18:35:27 +00:00
parent 1b60ca997d
commit 60fa35ae28
11 changed files with 142 additions and 44 deletions

View File

@ -1,10 +1,8 @@
# #
# Platform Packages for Chakra, part of chakra-project.org # Core Packages for Chakra, part of chakra-project.org
# #
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com> # maintainer (i686): Phil Miller <philm[at]chakra-project[dot]org
# maintainer (x86_64): Giuseppe Calà <jiveaxe[at]gmail[dot]com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=burg-bzr pkgname=burg-bzr
pkgver=1844 pkgver=1844

48
burg-emu/PKGBUILD Executable file
View File

@ -0,0 +1,48 @@
#
# Core Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dot]org
# maintainer (x86_64): Giuseppe Calà <jiveaxe[at]gmail[dot]com>
pkgname=burg-emu
pkgver=1844
pkgrel=1
pkgdesc="A brand-new boot loader based on GRUB (emulator)"
url="https://launchpad.net/burg"
license="GPL3"
arch=('i686' 'x86_64')
depends=('ruby' 'python2' 'gettext' 'freetype2' 'sdl' 'ncurses' 'burg-bzr')
makedepends=('bzr')
conflicts=(burg-emu-fixed)
replaces=(burg-emu-fixed)
provides=('burg-emu')
install='burg-emu.install'
_bzrmod=burg
_bzrtrunk=lp:${_bzrmod}
build() {
cd $srcdir/
msg "Connecting to the server...."
if [ ! -d ./${_bzrmod} ]; then
bzr branch ${_bzrtrunk} -r ${pkgver}
else
cd ${_bzrmod} && bzr pull -r ${pkgver}
fi
msg "BZR checkout done or server timeout"
cd "${srcdir}/${_bzrmod}"
sed -i 's|python|python2|' ${srcdir}/${_bzrmod}/autogen.sh
./autogen.sh || return 1
}
package() {
provides=('burg-emu')
install='burg-emu.install'
msg "Removing old build directory..."
rm -rf $srcdir/$_bzrmod-emu-build
msg "Creating build directory..."
mkdir $srcdir/$_bzrmod-emu-build
cd $srcdir/$_bzrmod-emu-build
$srcdir/$_bzrmod/configure --with-platform=emu --disable-grub-emu-usb --prefix=/opt/burg-emu || return 1
make || return 1
make install DESTDIR=$pkgdir || return 11
}

12
burg-emu/burg-emu.install Executable file
View File

@ -0,0 +1,12 @@
post_install() {
echo -e "\033[0;31m IMPORTANT"
echo -e "\033[0;0m Run \033[0;32m '/opt/burg-emu/bin/burg-emu' \033[0;0m as root to set burg look"
echo -e "\033[0;0m In burg-emu press \033[0;32m 'h' \033[0;0m for a list of shortcuts"
}
post_upgrade() {
post_install
}

View File

@ -1,14 +1,12 @@
# #
# Platform Packages for Chakra, part of chakra-project.org # Core Packages for Chakra, part of chakra-project.org
# #
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com> # maintainer (i686): Phil Miller <philm[at]chakra-project[dot]org
# maintainer (x86_64): Giuseppe Calà <jiveaxe[at]gmail[dot]com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=burg-themes pkgname=burg-themes
pkgver=20100623 pkgver=20100623
pkgrel=2 pkgrel=1
pkgdesc="Themes for Burg Bootloader" pkgdesc="Themes for Burg Bootloader"
arch=('any') arch=('any')
url="https://launchpad.net/burg" url="https://launchpad.net/burg"
@ -16,11 +14,13 @@ license=('GPL')
depends=('zip' 'unzip') depends=('zip' 'unzip')
backup=('boot/burg/gui.cfg' 'boot/burg/burgenv' ) backup=('boot/burg/gui.cfg' 'boot/burg/burgenv' )
source=(http://burg.googlecode.com/files/burg-theme-$pkgver.zip source=(http://burg.googlecode.com/files/burg-theme-$pkgver.zip
http://chakra-project.org/sources/burg-themes/neda-0.1.tar.gz
add-chakra-class.patch add-chakra-class.patch
large_chakra.png large_chakra.png
grey_chakra.png grey_chakra.png
small_chakra.png) small_chakra.png)
md5sums=('dffc236d8766e575982b9310d9d02ee1' md5sums=('dffc236d8766e575982b9310d9d02ee1'
'4912263a4fcd48c6acb0d0bc2a193416'
'3322ad1e3544c53efb1f612e14100a08' '3322ad1e3544c53efb1f612e14100a08'
'd2ea7d992b299e0a791ec61456deb97f' 'd2ea7d992b299e0a791ec61456deb97f'
'7571a9950ce4fb656e0452d4f69c60e8' '7571a9950ce4fb656e0452d4f69c60e8'
@ -31,6 +31,9 @@ install='burg-themes.install'
package() { package() {
mkdir -p $pkgdir/boot/burg mkdir -p $pkgdir/boot/burg
unzip burg-theme-$pkgver.zip -d $pkgdir/boot/burg unzip burg-theme-$pkgver.zip -d $pkgdir/boot/burg
msg "add neda theme"
cp -vR $srcdir/neda $pkgdir/boot/burg/themes
msg "Applying patch..." msg "Applying patch..."
cd $pkgdir/boot/burg cd $pkgdir/boot/burg

View File

@ -9,18 +9,21 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=bzr pkgname=bzr
pkgver=2.2.0 pkgver=2.2.2
pkgrel=2 pkgrel=1
pkgdesc="A decentralized revision control system (bazaar)" pkgdesc="A decentralized revision control system (bazaar)"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.bazaar-vcs.org" url="http://www.bazaar-vcs.org"
license=('GPL') license=('GPL')
depends=('python2') depends=('python2')
source=(http://launchpad.net/bzr/2.2/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz) source=(http://launchpad.net/bzr/2.2/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz
md5sums=('e47fa50e1fedc01c4761925e9d0d39ac') bzr-2.2.2-python-2.7.patch)
md5sums=('d1bfa2fd1aad282c423c78d62ebacb21'
'0f0d8e0d31032cde59565b6c74a37e41')
build() { build() {
cd ${srcdir}/${pkgname}-${pkgver} cd ${srcdir}/${pkgname}-${pkgver}
patch -Np0 -i ${startdir}/bzr-2.2.2-python-2.7.patch || return 1
sed -i 's|man/man1|share/man/man1|' setup.py sed -i 's|man/man1|share/man/man1|' setup.py
python2 setup.py install --prefix=/usr --root=${pkgdir} python2 setup.py install --prefix=/usr --root=${pkgdir}

View File

@ -0,0 +1,40 @@
=== modified file 'bzrlib/transport/http/_urllib2_wrappers.py'
--- bzrlib/transport/http/_urllib2_wrappers.py 2010-05-08 05:56:28 +0000
+++ bzrlib/transport/http/_urllib2_wrappers.py 2010-09-15 02:43:44 +0000
@@ -75,6 +75,26 @@
)
+class addinfourl(urllib2.addinfourl):
+ '''Replacement addinfourl class compatible with python-2.7's xmlrpclib
+
+ In python-2.7, xmlrpclib expects that the response object that it receives
+ has a getheader method. httplib.HTTPResponse provides this but
+ urllib2.addinfourl does not. Add the necessary functions here, ported to
+ use the internal data structures of addinfourl.
+ '''
+
+ def getheader(self, name, default=None):
+ if self.headers is None:
+ raise httplib.ResponseNotReady()
+ return self.headers.getheader(name, default)
+
+ def getheaders(self):
+ if self.headers is None:
+ raise httplib.ResponseNotReady()
+ return self.headers.items()
+
+
class _ReportingFileSocket(object):
def __init__(self, filesock, report_activity=None):
@@ -656,7 +676,7 @@
r = response
r.recv = r.read
fp = socket._fileobject(r, bufsize=65536)
- resp = urllib2.addinfourl(fp, r.msg, req.get_full_url())
+ resp = addinfourl(fp, r.msg, req.get_full_url())
resp.code = r.status
resp.msg = r.reason
resp.version = r.version

View File

@ -1,17 +1,20 @@
# $Id: PKGBUILD 72907 2010-03-21 15:29:35Z ibiru $ #
# Maintainer: Jan de Groot <jgc@archlinux.org> # 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>
pkgname=gobject-introspection pkgname=gobject-introspection
pkgver=0.9.10 pkgver=0.10.0
pkgrel=2 pkgrel=1
pkgdesc="Introspection system for GObject-based libraries" pkgdesc="Introspection system for GObject-based libraries"
url="http://live.gnome.org/GObjectInstrospection" url="http://live.gnome.org/GObjectInstrospection"
arch=('x86_64' 'i686') arch=('x86_64' 'i686')
license=('LGPL' 'GPL') license=('LGPL' 'GPL')
depends=('libffi>=3.0.8' 'glib2>=2.23.5' 'python2') depends=('libffi>=3.0.8' 'glib2>=2.23.5' 'python')
options=('!libtool') options=('!libtool')
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.9/${pkgname}-${pkgver}.tar.bz2) source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.10/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('4bf244db75df04499dea704e7734376c0fc5a3a17fb59be2123c8d76111e6fb8') sha256sums=('8af5a4ff16df4b7f08db2eabc09396e15a19dde85a7d288fa26b9cdca280b9fa')
build() { build() {
cd "${srcdir}/${pkgname}-${pkgver}" cd "${srcdir}/${pkgname}-${pkgver}"

View File

@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=initscripts pkgname=initscripts
pkgver=2010.07 pkgver=2010.07
pkgrel=1.1 pkgrel=2
pkgdesc="System initialization/bootup scripts" pkgdesc="System initialization/bootup scripts"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.chakra-project.org" url="http://www.chakra-project.org"
@ -23,10 +23,10 @@ optdepends=('bridge-utils: Network bridging support'
'wireless_tools: Wireless networking') 'wireless_tools: Wireless networking')
provides=("initscripts=${pkgver}") provides=("initscripts=${pkgver}")
install=initscripts.install install=initscripts.install
source=(http://chakra-project.org/sources/initscripts/initscripts-${pkgver}-1.tar.gz) source=(http://chakra-project.org/sources/initscripts/initscripts-${pkgver}-2.tar.gz)
md5sums=('69cd2fe4de9cf606145c7449abf72171') md5sums=('ba097b052aa713456c9898c07851675f')
build() { build() {
cd ${srcdir}/initscripts-${pkgver}-1/ cd ${srcdir}/initscripts-${pkgver}-2/
DESTDIR=${pkgdir} ./install.sh DESTDIR=${pkgdir} ./install.sh
} }

View File

@ -20,7 +20,7 @@ PATCHES=(
http://chakra-project.org/sources/kernel26/patches/36/aufs2.1/aufs2-kbuild.patch%1 http://chakra-project.org/sources/kernel26/patches/36/aufs2.1/aufs2-kbuild.patch%1
http://chakra-project.org/sources/kernel26/patches/36/aufs2.1/aufs2-base.patch%1 http://chakra-project.org/sources/kernel26/patches/36/aufs2.1/aufs2-base.patch%1
http://chakra-project.org/sources/kernel26/patches/36/aufs2.1/aufs2-standalone.patch%1 http://chakra-project.org/sources/kernel26/patches/36/aufs2.1/aufs2-standalone.patch%1
http://chakra-project.org/sources/kernel26/patches/36/aufs2.1/aufs2.1-2010-11-22.patch%1 http://chakra-project.org/sources/kernel26/patches/36/aufs2.1/aufs2.1-standalone.tree-36-20101220.patch.bz2%1
# squashfs with lzma # squashfs with lzma
http://chakra-project.org/sources/kernel26/patches/36/squashfs-lzma/kernel-squashfs-lzma-v1.7-2.6.36.patch.bz2%1 http://chakra-project.org/sources/kernel26/patches/36/squashfs-lzma/kernel-squashfs-lzma-v1.7-2.6.36.patch.bz2%1
# sched_autogroup # sched_autogroup
@ -28,7 +28,7 @@ PATCHES=(
) )
# Name of the resulting patch (will be bzipped afterwards) # Name of the resulting patch (will be bzipped afterwards)
PATCHNAME="patch-2.6.36.2-1-CHAKRA" PATCHNAME="patch-2.6.36.2-2-CHAKRA"
# Run this before applying patches # Run this before applying patches
pre_apply() { pre_apply() {

View File

@ -6,7 +6,7 @@
pkgbase="udev" pkgbase="udev"
pkgname=('udev' 'udev-compat') pkgname=('udev' 'udev-compat')
pkgver=164 pkgver=165
pkgrel=1 pkgrel=1
arch=(i686 x86_64) arch=(i686 x86_64)
url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html" url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
@ -14,13 +14,13 @@ license=('GPL')
groups=('base') groups=('base')
# older initscripts versions required start_udev # older initscripts versions required start_udev
options=(!makeflags !libtool) options=(!makeflags !libtool)
makedepends=('glibc' 'coreutils' 'util-linux' 'libusb' 'glib2' 'kernel26' 'gperf' 'libxslt' 'gobject-introspection') makedepends=('glibc' 'coreutils' 'util-linux' 'libusb-compat' 'glib2' 'kernel26' 'gperf' 'libxslt' 'gobject-introspection>=0.10.0')
source=(http://www.kernel.org/pub/linux/utils/kernel/hotplug/$pkgname-$pkgver.tar.bz2 source=(http://www.kernel.org/pub/linux/utils/kernel/hotplug/$pkgname-$pkgver.tar.bz2
80-drivers.rules 80-drivers.rules
81-chakra.rules 81-chakra.rules
load-modules.sh load-modules.sh
cdsymlinks.sh) cdsymlinks.sh)
md5sums=('cd285a85f969518a671834de2f4d6614' md5sums=('74c62aa82969278960b7ee81e94b6d8f'
'4427855146513a4703ab5c7eb8a0156e' '4427855146513a4703ab5c7eb8a0156e'
'a2bf84747f44915ec9c5e6e88b077845' 'a2bf84747f44915ec9c5e6e88b077845'
'f91fddc67609b45b244a624977c4247b' 'f91fddc67609b45b244a624977c4247b'
@ -28,16 +28,14 @@ md5sums=('cd285a85f969518a671834de2f4d6614'
build() { build() {
cd $srcdir/$pkgname-$pkgver cd $srcdir/$pkgname-$pkgver
./configure --prefix="" --mandir=/usr/share/man\ ./configure --sysconfdir=/etc --with-rootlibdir=/lib --libexecdir=/lib/udev\
--includedir=/usr/include\ --sbindir=/sbin --with-systemdsystemunitdir=/lib/systemd/system
--libexecdir=/lib/udev\
--datarootdir=/usr/share
make make
} }
package_udev() { package_udev() {
pkgdesc="The userspace dev tools (udev)" pkgdesc="The userspace dev tools (udev)"
depends=('glibc' 'coreutils' 'util-linux' 'libusb' 'glib2' depends=('glibc' 'coreutils' 'util-linux' 'libusb-compat' 'glib2'
'module-init-tools>=3.11') 'module-init-tools>=3.11')
install=udev.install install=udev.install
backup=(etc/udev/udev.conf backup=(etc/udev/udev.conf
@ -47,11 +45,6 @@ package_udev() {
cd $srcdir/$pkgname-$pkgver cd $srcdir/$pkgname-$pkgver
make DESTDIR=${pkgdir} install make DESTDIR=${pkgdir} install
# Fix pkgconfig path
install -d -m755 $pkgdir/usr/lib
mv $pkgdir/lib/pkgconfig $pkgdir/usr/lib
# Fix ConsoleKit path
mv $pkgdir/lib/ConsoleKit $pkgdir/usr/lib
# Replace original 80-drivers.rules with custom one. # Replace original 80-drivers.rules with custom one.
install -D -m644 $srcdir/80-drivers.rules $pkgdir/lib/udev/rules.d/80-drivers.rules install -D -m644 $srcdir/80-drivers.rules $pkgdir/lib/udev/rules.d/80-drivers.rules
# Install our rule for permissions and symlinks # Install our rule for permissions and symlinks
@ -108,8 +101,6 @@ package_udev() {
s#GROUP="tape"#GROUP="storage"#g; s#GROUP="tape"#GROUP="storage"#g;
s#GROUP="cdrom"#GROUP="optical"#g' $i s#GROUP="cdrom"#GROUP="optical"#g' $i
done done
mv "${pkgdir}/lib/girepository-1.0" "${pkgdir}/usr/lib/"
} }
package_udev-compat() { package_udev-compat() {

View File

@ -28,7 +28,7 @@ post_install() {
mknod -m644 ${ROOTDIR}/dev/null c 1 3 mknod -m644 ${ROOTDIR}/dev/null c 1 3
fi fi
if [ ! -c ${ROOTDIR}/dev/zero ]; then if [ ! -c ${ROOTDIR}/dev/zero ]; then
rm ${ROOTDIR}/dev/zero rm -f ${ROOTDIR}/dev/zero
mknod -m644 ${ROOTDIR}/dev/zero c 1 5 mknod -m644 ${ROOTDIR}/dev/zero c 1 5
fi fi
if [ -n "${ROOTDIR}" ]; then if [ -n "${ROOTDIR}" ]; then