diff options
46 files changed, 848 insertions, 7 deletions
diff --git a/extra/glib/APKBUILD b/extra/glib/APKBUILD index dcc3d466..caa05e01 100644 --- a/extra/glib/APKBUILD +++ b/extra/glib/APKBUILD @@ -1,13 +1,13 @@ # Maintainer: Carlo Landmeter <clandmeter at gmail.com> pkgname=glib -pkgver=2.18.4 +pkgver=2.20.0 pkgrel=0 pkgdesc="Common C routines used by Gtk+ and other libs" url="http://www.gtk.org" license='GPL' depends="gettext libiconv" makedepends="gettext-dev libiconv-dev pkgconfig" -source="http://ftp.gnome.org/pub/gnome/sources/glib/2.18/glib-$pkgver.tar.bz2" +source="http://ftp.gnome.org/pub/gnome/sources/glib/${pkgver%.*}/glib-$pkgver.tar.bz2" subpackages="$pkgname-doc $pkgname-dev" build() { @@ -26,4 +26,4 @@ dev() { mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ } -md5sums="ec25ed261534d870141000ab73f1a2bf glib-2.18.4.tar.bz2" +md5sums="05188e560dbd8bddd568e24ce10dd003 glib-2.20.0.tar.bz2" diff --git a/extra/icu/APKBUILD b/extra/icu/APKBUILD new file mode 100644 index 00000000..77fb93bf --- /dev/null +++ b/extra/icu/APKBUILD @@ -0,0 +1,27 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=icu +pkgver=4.1.3 +_ver=4_1_3 +pkgrel=0 +pkgdesc="International Components for Unicode library" +url="http://www.icu-project.org/" +license="custom:icu" +subpackages="$pkgname-dev $pkgname-doc" +depends="uclibc++ uclibc libgcc" +makedepends="uclibc++-dev" +source="http://download.icu-project.org/files/icu4c/${pkgver%.*}/${pkgname}4c-$_ver-src.tgz" + +build () +{ + cd "$srcdir"/icu/source + export CXX=g++-uc + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man + make || return 1 + make -j1 DESTDIR="$pkgdir" install || return 1 + chmod +x "$pkgdir"/usr/bin/icu-config + install -Dm644 "$srcdir"/icu/license.html \ + "$pkgdir"/usr/share/licenses/icu/license.html +} +md5sums="c3c16d2731c9c5da9007cb6c9e4f1929 icu4c-4_1_3-src.tgz" diff --git a/extra/libsoup/APKBUILD b/extra/libsoup/APKBUILD new file mode 100644 index 00000000..59165b19 --- /dev/null +++ b/extra/libsoup/APKBUILD @@ -0,0 +1,26 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libsoup +pkgver=2.26.0 +pkgrel=0 +pkgdesc="Gnome HTTP Library" +url="http://www.gnome.org" +license="LGPL" +subpackages="$pkgname-dev $pkgname-doc" +depends="glib gnutls libxml2 uclibc libiconv" +makedepends="glib-dev gnutls-dev libxml2-dev libiconv-dev" +source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2" + +depends_dev="glib-dev libxml2-dev gnutls-dev" +build () +{ + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static \ + --without-gnome \ + || return 1 + make || return 1 + make DESTDIR="$pkgdir" install || return 1 +} +md5sums="9df9d2b3304213641d3214a774d75ee1 libsoup-2.26.0.tar.bz2" diff --git a/x11/atk/APKBUILD b/x11/atk/APKBUILD new file mode 100644 index 00000000..cee5544e --- /dev/null +++ b/x11/atk/APKBUILD @@ -0,0 +1,22 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=atk +pkgver=1.24.0 +pkgrel=0 +pkgdesc="A library providing a set of interfaces for accessibility" +url="http://www.gtk.org/" +license="LGPL" +subpackages="$pkgname-dev $pkgname-doc" +depends="glib libiconv gettext uclibc" +makedepends="pkgconfig glib-dev gettext-dev libiconv-dev" +source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/1.24/$pkgname-$pkgver.tar.bz2" + +build () +{ + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr \ + --disable-nls \ + || return 1 + make || return 1 + make DESTDIR="$pkgdir" install || return 1 +} +md5sums="fb0ee9c7f18b15b490a0168b13740a4d atk-1.24.0.tar.bz2" diff --git a/x11/cairo/APKBUILD b/x11/cairo/APKBUILD new file mode 100644 index 00000000..38b11e98 --- /dev/null +++ b/x11/cairo/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=cairo +pkgver=1.8.6 +pkgrel=0 +pkgdesc="Cairo vector graphics library" +url="http://cairographics.org/" +license="LGPL MPL" +subpackages="$pkgname-dev $pkgname-doc" +depends="libpng libxrender fontconfig pixman xcb-util freetype expat libxau + libxdmcp zlib" +makedepends="pkgconfig libpng-dev libxrender-dev fontconfig pixman-dev + xcb-util-dev fontconfig-dev freetype-dev expat-dev zlib-dev" +depends_dev="fontconfig-dev freetype-dev libpng-dev libxrender-dev pixman-dev + xcb-util-dev" +source="http://cairographics.org/releases/$pkgname-$pkgver.tar.gz" + +build () +{ + cd ""$srcdir"/$pkgname-$pkgver" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-xcb \ + --disable-static || return 1 + make || return 1 + make DESTDIR=""$pkgdir"" install || return 1 +} +md5sums="4e64139ef6f668df24450f3b81dd0771 cairo-1.8.6.tar.gz" diff --git a/x11/dbus-glib/APKBUILD b/x11/dbus-glib/APKBUILD new file mode 100644 index 00000000..cf583b15 --- /dev/null +++ b/x11/dbus-glib/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=dbus-glib +pkgver=0.80 +pkgrel=0 +pkgdesc="GLib bindings for DBUS" +url="http://www.freedesktop.org/wiki/Software/DBusBindings" +license="GPL" +subpackages="$pkgname-dev $pkgname-doc" +depends="dbus glib libiconv expat gettext" +makedepends="pkgconfig dbus-dev glib-dev libiconv-dev gettext-dev" +source="http://dbus.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz" +depends_dev="glib-dev dbus-dev" + +build () +{ + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-static=no \ + --enable-bash-completion=no || return 1 + make || return 1 + make DESTDIR="$pkgdir" install || return 1 +} +md5sums="86ea60ba2118a1b9deafe8257f6a6a1a dbus-glib-0.80.tar.gz" diff --git a/x11/dbus/APKBUILD b/x11/dbus/APKBUILD new file mode 100644 index 00000000..399b1fe9 --- /dev/null +++ b/x11/dbus/APKBUILD @@ -0,0 +1,38 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=dbus +pkgver=1.2.12 +pkgrel=0 +pkgdesc="Freedesktop.org message bus system" +url="http://www.freedesktop.org/Software/dbus" +license="GPL custom" +subpackages="$pkgname-dev $pkgname-doc" +depends="uclibc expat libx11" +makedepends="expat-dev libx11-dev pkgconfig" +install="$pkgname.pre-install" +source="http://$pkgname.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz + $pkgname.initd + $install + " + +build() { + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --with-xml=expat \ + --with-dbus-user=messagebus \ + --with-system-pid-file=/var/run/dbus.pid \ + --disable-verbose-mode \ + --disable-static \ + --enable-inotify \ + --disable-dnotify \ + --disable-tests \ + --disable-asserts \ + --with-x || return 1 + make || return 1 + make DESTDIR="$pkgdir" install + install -Dm755 "$srcdir"/dbus.initd "$pkgdir"/etc/init.d/dbus +} +md5sums="39bd582c3b06a261cac44d4cab6fd60b dbus-1.2.12.tar.gz +58356b4db650a89312a670c02804c540 dbus.initd +1f3230e131a28409e8769c987b0f624a dbus.pre-install" diff --git a/x11/dbus/dbus.initd b/x11/dbus/dbus.initd new file mode 100644 index 00000000..e96ea05c --- /dev/null +++ b/x11/dbus/dbus.initd @@ -0,0 +1,51 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/sys-apps/dbus/files/dbus.init-1.0,v 1.4 2007/04/04 13:35:25 cardoe Exp $ + +opts="reload" + +depend() { + need localmount + after bootmisc +} + +start() { + ebegin "Starting D-BUS system messagebus" + + /usr/bin/dbus-uuidgen --ensure + + # We need to test if /var/run/dbus exists, since script will fail if it does not + [ ! -e /var/run/dbus ] && mkdir /var/run/dbus + + start-stop-daemon --start --pidfile /var/run/dbus.pid --exec /usr/bin/dbus-daemon -- --system + eend $? +} + +stop() { + local retval + + ebegin "Stopping D-BUS system messagebus" + + start-stop-daemon --stop --pidfile /var/run/dbus.pid + retval=$? + + eend ${retval} + + [ -S /var/run/dbus/system_bus_socket ] && rm -f /var/run/dbus/system_bus_socket + + return ${retval} +} + +reload() { + local retval + + ebegin "Reloading D-BUS messagebus config" + + /usr/bin/dbus-send --print-reply --system --type=method_call \ + --dest=org.freedesktop.DBus \ + / org.freedesktop.DBus.ReloadConfig > /dev/null + retval=$? + eend ${retval} + return ${retval} +} diff --git a/x11/dbus/dbus.pre-install b/x11/dbus/dbus.pre-install new file mode 100644 index 00000000..515161db --- /dev/null +++ b/x11/dbus/dbus.pre-install @@ -0,0 +1,4 @@ +#!/bin/sh + +adduser -H -h /dev/null -s /bin/false -D messagebus 2>/dev/null +exit 0 diff --git a/x11/desktop-file-utils/APKBUILD b/x11/desktop-file-utils/APKBUILD new file mode 100644 index 00000000..6c65eb14 --- /dev/null +++ b/x11/desktop-file-utils/APKBUILD @@ -0,0 +1,19 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=desktop-file-utils +pkgver=0.15 +pkgrel=0 +pkgdesc="Command line utilities for working with desktop entries" +url="http://www.freedesktop.org/wiki/Software/desktop-file-utils" +license="GPL" +depends="glib uclibc libiconv" +makedepends="glib-dev libiconv-dev" +source="http://www.freedesktop.org/software/$pkgname/releases/$pkgname-$pkgver.tar.gz" + +build () +{ + cd "$srcdir/desktop-file-utils-$pkgver" + ./configure --prefix=/usr || return 1 + make || return 1 + make DESTDIR="$pkgdir" install || return 1 +} +md5sums="2fe8ebe222fc33cd4a959415495b7eed desktop-file-utils-0.15.tar.gz" diff --git a/x11/font-adobe-100dpi/APKBUILD b/x11/font-adobe-100dpi/APKBUILD new file mode 100644 index 00000000..ad0827f9 --- /dev/null +++ b/x11/font-adobe-100dpi/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=font-adobe-100dpi +pkgver=1.0.0 +pkgrel=0 +pkgdesc="X.org adobe 100dpi font" +url="http://xorg.freedesktop.org/" +license="custom" +depends="encodings font-alias mkfontscale mkfontdir fontconfig" +makedepends="pkgconfig font-util-dev bdftopcf" +install="$pkgname.post-install $pkgname.post-upgrade" +source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.tar.bz2 + $install" + +build() { + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr \ + --with-mapfiles=/usr/share/fonts/util \ + --with-fontdir=/usr/share/fonts/100dpi + make || return 1 + make -j1 DESTDIR="$pkgdir" install || return 1 +} + +md5sums="443acfe70e26716282f9068730fe92c4 font-adobe-100dpi-1.0.0.tar.bz2 +8212908634d4a7ad9cd52486f2ba2cde font-adobe-100dpi.post-install +8212908634d4a7ad9cd52486f2ba2cde font-adobe-100dpi.post-upgrade" diff --git a/x11/font-adobe-100dpi/font-adobe-100dpi.post-install b/x11/font-adobe-100dpi/font-adobe-100dpi.post-install new file mode 100644 index 00000000..279e9e00 --- /dev/null +++ b/x11/font-adobe-100dpi/font-adobe-100dpi.post-install @@ -0,0 +1,8 @@ +#!/bin/sh + +echo -n "Updating font cache (TODO: implement triggers in apk)... " +fc-cache -f > /dev/null +mkfontscale /usr/share/fonts/100dpi +mkfontdir /usr/share/fonts/100dpi +echo "done." + diff --git a/x11/font-adobe-100dpi/font-adobe-100dpi.post-upgrade b/x11/font-adobe-100dpi/font-adobe-100dpi.post-upgrade new file mode 120000 index 00000000..eac4a405 --- /dev/null +++ b/x11/font-adobe-100dpi/font-adobe-100dpi.post-upgrade @@ -0,0 +1 @@ +font-adobe-100dpi.post-install
\ No newline at end of file diff --git a/x11/font-adobe-utopia-100dpi/APKBUILD b/x11/font-adobe-utopia-100dpi/APKBUILD new file mode 100644 index 00000000..adddf48d --- /dev/null +++ b/x11/font-adobe-utopia-100dpi/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=font-adobe-utopia-100dpi +pkgver=1.0.1 +pkgrel=0 +pkgdesc="X.org adobe 100dpi font" +url="http://xorg.freedesktop.org/" +license="custom" +depends="encodings font-alias mkfontscale mkfontdir fontconfig" +makedepends="pkgconfig font-util-dev bdftopcf" +install="$pkgname.post-install $pkgname.post-upgrade" +source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.tar.bz2 + $install" + +build() { + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr \ + --with-mapfiles=/usr/share/fonts/util \ + --with-fontdir=/usr/share/fonts/100dpi + make || return 1 + make -j1 DESTDIR="$pkgdir" install || return 1 +} + +md5sums="5d28a30efef966f8dbbaff9a6619f01a font-adobe-utopia-100dpi-1.0.1.tar.bz2 +8212908634d4a7ad9cd52486f2ba2cde font-adobe-utopia-100dpi.post-install +8212908634d4a7ad9cd52486f2ba2cde font-adobe-utopia-100dpi.post-upgrade" diff --git a/x11/font-adobe-utopia-100dpi/font-adobe-utopia-100dpi.post-install b/x11/font-adobe-utopia-100dpi/font-adobe-utopia-100dpi.post-install new file mode 100644 index 00000000..279e9e00 --- /dev/null +++ b/x11/font-adobe-utopia-100dpi/font-adobe-utopia-100dpi.post-install @@ -0,0 +1,8 @@ +#!/bin/sh + +echo -n "Updating font cache (TODO: implement triggers in apk)... " +fc-cache -f > /dev/null +mkfontscale /usr/share/fonts/100dpi +mkfontdir /usr/share/fonts/100dpi +echo "done." + diff --git a/x11/font-adobe-utopia-100dpi/font-adobe-utopia-100dpi.post-upgrade b/x11/font-adobe-utopia-100dpi/font-adobe-utopia-100dpi.post-upgrade new file mode 120000 index 00000000..b433f3f3 --- /dev/null +++ b/x11/font-adobe-utopia-100dpi/font-adobe-utopia-100dpi.post-upgrade @@ -0,0 +1 @@ +font-adobe-utopia-100dpi.post-install
\ No newline at end of file diff --git a/x11/font-bh-100dpi/APKBUILD b/x11/font-bh-100dpi/APKBUILD new file mode 100644 index 00000000..81bf2c6d --- /dev/null +++ b/x11/font-bh-100dpi/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=font-bh-100dpi +pkgver=1.0.0 +pkgrel=0 +pkgdesc="X.Org Bigelow & Holmes bitmap fonts" +url="http://xorg.freedesktop.org/" +license="custom" +depends="encodings font-alias mkfontscale mkfontdir fontconfig" +makedepends="pkgconfig font-util-dev bdftopcf" +install="$pkgname.post-install $pkgname.post-upgrade" +source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.tar.bz2 + $install" + +build() { + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr \ + --with-mapfiles=/usr/share/fonts/util \ + --with-fontdir=/usr/share/fonts/100dpi + make || return 1 + make -j1 DESTDIR="$pkgdir" install || return 1 +} + +md5sums="e5592de74a5c04e3a2608800dd079197 font-bh-100dpi-1.0.0.tar.bz2 +8212908634d4a7ad9cd52486f2ba2cde font-bh-100dpi.post-install +8212908634d4a7ad9cd52486f2ba2cde font-bh-100dpi.post-upgrade" diff --git a/x11/font-bh-100dpi/font-bh-100dpi.post-install b/x11/font-bh-100dpi/font-bh-100dpi.post-install new file mode 100644 index 00000000..279e9e00 --- /dev/null +++ b/x11/font-bh-100dpi/font-bh-100dpi.post-install @@ -0,0 +1,8 @@ +#!/bin/sh + +echo -n "Updating font cache (TODO: implement triggers in apk)... " +fc-cache -f > /dev/null +mkfontscale /usr/share/fonts/100dpi +mkfontdir /usr/share/fonts/100dpi +echo "done." + diff --git a/x11/font-bh-100dpi/font-bh-100dpi.post-upgrade b/x11/font-bh-100dpi/font-bh-100dpi.post-upgrade new file mode 120000 index 00000000..f2e823e1 --- /dev/null +++ b/x11/font-bh-100dpi/font-bh-100dpi.post-upgrade @@ -0,0 +1 @@ +font-bh-100dpi.post-install
\ No newline at end of file diff --git a/x11/font-bh-lucidatypewriter-100dpi/APKBUILD b/x11/font-bh-lucidatypewriter-100dpi/APKBUILD new file mode 100644 index 00000000..0db4578d --- /dev/null +++ b/x11/font-bh-lucidatypewriter-100dpi/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=font-bh-lucidatypewriter-100dpi +pkgver=1.0.0 +pkgrel=0 +pkgdesc="X.Org Bigelow & Holmes Lucida bitmap fonts" +url="http://xorg.freedesktop.org/" +license="custom" +depends="encodings font-alias mkfontscale mkfontdir fontconfig" +makedepends="pkgconfig font-util-dev bdftopcf" +install="$pkgname.post-install $pkgname.post-upgrade" +source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.tar.bz2 + $install" + +build() { + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr \ + --with-mapfiles=/usr/share/fonts/util \ + --with-fontdir=/usr/share/fonts/100dpi + make || return 1 + make -j1 DESTDIR="$pkgdir" install || return 1 +} + +md5sums="c44d3f730564da465993e9292a33c235 font-bh-lucidatypewriter-100dpi-1.0.0.tar.bz2 +8212908634d4a7ad9cd52486f2ba2cde font-bh-lucidatypewriter-100dpi.post-install +8212908634d4a7ad9cd52486f2ba2cde font-bh-lucidatypewriter-100dpi.post-upgrade" diff --git a/x11/font-bh-lucidatypewriter-100dpi/font-bh-lucidatypewriter-100dpi.post-install b/x11/font-bh-lucidatypewriter-100dpi/font-bh-lucidatypewriter-100dpi.post-install new file mode 100644 index 00000000..279e9e00 --- /dev/null +++ b/x11/font-bh-lucidatypewriter-100dpi/font-bh-lucidatypewriter-100dpi.post-install @@ -0,0 +1,8 @@ +#!/bin/sh + +echo -n "Updating font cache (TODO: implement triggers in apk)... " +fc-cache -f > /dev/null +mkfontscale /usr/share/fonts/100dpi +mkfontdir /usr/share/fonts/100dpi +echo "done." + diff --git a/x11/font-bh-lucidatypewriter-100dpi/font-bh-lucidatypewriter-100dpi.post-upgrade b/x11/font-bh-lucidatypewriter-100dpi/font-bh-lucidatypewriter-100dpi.post-upgrade new file mode 120000 index 00000000..d8c76e3e --- /dev/null +++ b/x11/font-bh-lucidatypewriter-100dpi/font-bh-lucidatypewriter-100dpi.post-upgrade @@ -0,0 +1 @@ +font-bh-lucidatypewriter-100dpi.post-install
\ No newline at end of file diff --git a/x11/font-bitstream-100dpi/APKBUILD b/x11/font-bitstream-100dpi/APKBUILD new file mode 100644 index 00000000..c68ef3b4 --- /dev/null +++ b/x11/font-bitstream-100dpi/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=font-bitstream-100dpi +pkgver=1.0.0 +pkgrel=0 +pkgdesc="X.Org Bitstream bitmap fonts" +url="http://xorg.freedesktop.org/" +license="custom" +depends="encodings font-alias mkfontscale mkfontdir fontconfig" +makedepends="pkgconfig font-util-dev bdftopcf" +install="$pkgname.post-install $pkgname.post-upgrade" +source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.tar.bz2 + $install" + +build() { + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr \ + --with-mapfiles=/usr/share/fonts/util \ + --with-fontdir=/usr/share/fonts/100dpi + make || return 1 + make -j1 DESTDIR="$pkgdir" install || return 1 +} + +md5sums="173352ddec3d26e2b91df1edcf1ae85b font-bitstream-100dpi-1.0.0.tar.bz2 +8212908634d4a7ad9cd52486f2ba2cde font-bitstream-100dpi.post-install +8212908634d4a7ad9cd52486f2ba2cde font-bitstream-100dpi.post-upgrade" diff --git a/x11/font-bitstream-100dpi/font-bitstream-100dpi.post-install b/x11/font-bitstream-100dpi/font-bitstream-100dpi.post-install new file mode 100644 index 00000000..279e9e00 --- /dev/null +++ b/x11/font-bitstream-100dpi/font-bitstream-100dpi.post-install @@ -0,0 +1,8 @@ +#!/bin/sh + +echo -n "Updating font cache (TODO: implement triggers in apk)... " +fc-cache -f > /dev/null +mkfontscale /usr/share/fonts/100dpi +mkfontdir /usr/share/fonts/100dpi +echo "done." + diff --git a/x11/font-bitstream-100dpi/font-bitstream-100dpi.post-upgrade b/x11/font-bitstream-100dpi/font-bitstream-100dpi.post-upgrade new file mode 120000 index 00000000..5b8e4163 --- /dev/null +++ b/x11/font-bitstream-100dpi/font-bitstream-100dpi.post-upgrade @@ -0,0 +1 @@ +font-bitstream-100dpi.post-install
\ No newline at end of file diff --git a/x11/gtk+/APKBUILD b/x11/gtk+/APKBUILD new file mode 100644 index 00000000..c8de1e5b --- /dev/null +++ b/x11/gtk+/APKBUILD @@ -0,0 +1,54 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=gtk+ +pkgver=2.16.0 +pkgrel=1 +pkgdesc="The GTK+ Toolkit (v2)" +url="http://www.gtk.org/" +license="LGPL" +subpackages="$pkgname-dev $pkgname-doc" +depends="atk + cairo + glib + libice + libjpeg + libx11 + libxcursor + libxdamage + libxext + libxi + libxfixes + libxrandr + pango + uclibc" +makedepends="pkgconfig + atk-dev + cairo-dev + glib-dev + libice-dev + libiconv-dev + libjpeg-dev + libx11-dev + libxcursor-dev + libxdamage-dev + libxext-dev + libxfixes-dev + libxrandr-dev + libxi-dev + pango-dev" +# libxinerama libcups>=1.3.9 libxcomposite heimdal>=1.2.1 gnutls>=2.6.3" +#install=gtk2.install +source="http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver%.*}/gtk+-$pkgver.tar.bz2" + +depends_dev="atk-dev pango-dev cairo-dev" +build() { + cd "$srcdir"/gtk+-$pkgver + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --with-xinput=yes \ + --without-libjasper \ + --with-included-loaders=png || return 1 + make || return 1 + make DESTDIR="$pkgdir" install || return 1 +} +md5sums="139528802794287427fd4d18875b5cf5 gtk+-2.16.0.tar.bz2" diff --git a/x11/hicolor-icon-theme/APKBUILD b/x11/hicolor-icon-theme/APKBUILD new file mode 100644 index 00000000..2b27dab3 --- /dev/null +++ b/x11/hicolor-icon-theme/APKBUILD @@ -0,0 +1,19 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=hicolor-icon-theme +pkgver=0.10 +pkgrel=0 +pkgdesc="Freedesktop.org Hicolor icon theme" +url="http://icon-theme.freedesktop.org/wiki/HicolorTheme" +license="GPL2" +depends="" +makedepends="" +source="http://icon-theme.freedesktop.org/releases/$pkgname-$pkgver.tar.gz" + +build () +{ + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr || return 1 + make || return 1 + make DESTDIR="$pkgdir" install || return 1 +} +md5sums="3534f7b8e59785c7d5bfa923e85510a7 hicolor-icon-theme-0.10.tar.gz" diff --git a/x11/libsoup/APKBUILD b/x11/libsoup/APKBUILD new file mode 100644 index 00000000..59165b19 --- /dev/null +++ b/x11/libsoup/APKBUILD @@ -0,0 +1,26 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libsoup +pkgver=2.26.0 +pkgrel=0 +pkgdesc="Gnome HTTP Library" +url="http://www.gnome.org" +license="LGPL" +subpackages="$pkgname-dev $pkgname-doc" +depends="glib gnutls libxml2 uclibc libiconv" +makedepends="glib-dev gnutls-dev libxml2-dev libiconv-dev" +source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2" + +depends_dev="glib-dev libxml2-dev gnutls-dev" +build () +{ + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static \ + --without-gnome \ + || return 1 + make || return 1 + make DESTDIR="$pkgdir" install || return 1 +} +md5sums="9df9d2b3304213641d3214a774d75ee1 libsoup-2.26.0.tar.bz2" diff --git a/x11/libx11/APKBUILD b/x11/libx11/APKBUILD index 18762aee..315925cc 100644 --- a/x11/libx11/APKBUILD +++ b/x11/libx11/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libx11 -pkgver=1.1.99.2 -pkgrel=1 +pkgver=1.2 +pkgrel=0 pkgdesc="X11 client-side library" url="http://xorg.freedesktop.org/" license="custom:XFREE86" @@ -36,5 +36,5 @@ build() { install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } -md5sums="2450f861d39939e46f8a4ced1abc3504 libX11-1.1.99.2.tar.bz2 +md5sums="c6265b59ea2b594fd68e33f9125b4d20 libX11-1.2.tar.bz2 c7e38a68b932ed557bc71979eed2a8a1 012_ru_RU_UTF-8_XLC_LOCALE.diff" diff --git a/x11/libxcursor/APKBUILD b/x11/libxcursor/APKBUILD new file mode 100644 index 00000000..87ee0a5b --- /dev/null +++ b/x11/libxcursor/APKBUILD @@ -0,0 +1,22 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libxcursor +pkgver=1.1.9 +pkgrel=0 +pkgdesc="X cursor management library" +url="http://xorg.freedesktop.org/" +license="custom" +subpackages="$pkgname-dev $pkgname-doc" +depends="libxfixes libxrender libx11 uclibc" +makedepends="pkgconfig libxfixes-dev libx11-dev libxrender-dev" +source="http://xorg.freedesktop.org//releases/individual/lib/libXcursor-$pkgver.tar.bz2" + +build () +{ + cd "$srcdir"/libXcursor-$pkgver + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 + make || return 1 + make DESTDIR="$pkgdir" install || return 1 +} +md5sums="99b7554037a92b260891091e81815a0a libXcursor-1.1.9.tar.bz2" diff --git a/x11/libxft/APKBUILD b/x11/libxft/APKBUILD new file mode 100644 index 00000000..372594bc --- /dev/null +++ b/x11/libxft/APKBUILD @@ -0,0 +1,21 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libxft +pkgver=2.1.13 +pkgrel=0 +pkgdesc="FreeType-based font drawing library for X" +url="http://xorg.freedesktop.org/" +license="custom" +subpackages="$pkgname-dev $pkgname-doc" +depends="fontconfig libxrender uclibc freetype" +makedepends="pkgconfig fontconfig-dev libxrender-dev freetype-dev" +source="http://xorg.freedesktop.org/releases/individual/lib/libXft-$pkgver.tar.bz2" +depends_dev="xproto libxrender-dev fontconfig-dev freetype-dev" +build () { + cd "$srcdir"/libXft-$pkgver + ./configure --prefix=/usr \ + --sysconfdir=/etc || return 1 + make || return 1 + make DESTDIR="$pkgdir" install || return 1 + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} +md5sums="bc8881851f3bd8dcc625fac37350a1c6 libXft-2.1.13.tar.bz2" diff --git a/x11/libxi/APKBUILD b/x11/libxi/APKBUILD new file mode 100644 index 00000000..36cb2b90 --- /dev/null +++ b/x11/libxi/APKBUILD @@ -0,0 +1,30 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libxi +pkgver=1.2.1 +pkgrel=0 +pkgdesc="X11 Input extension library" +url="http://xorg.freedesktop.org" +license="custom" +subpackages="$pkgname-dev $pkgname-doc" +depends="libxext libx11 uclibc" +makedepends=" + inputproto + libx11-dev + libxext-dev + pkgconfig + xextproto + xproto + " +source="http://xorg.freedesktop.org/releases/individual/lib/libXi-$pkgver.tar.bz2" + +depends_dev="inputproto libx11-dev libxext-dev" + +build () +{ + cd "$srcdir"/libXi-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc || return 1 + make || return 1 + make DESTDIR="$pkgdir" install || return 1 + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} +md5sums="cfb36307e8e7ffafe40848dba24e0b11 libXi-1.2.1.tar.bz2" diff --git a/x11/libxinerama/APKBUILD b/x11/libxinerama/APKBUILD new file mode 100644 index 00000000..4fd751d5 --- /dev/null +++ b/x11/libxinerama/APKBUILD @@ -0,0 +1,21 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libxinerama +pkgver=1.0.3 +pkgrel=0 +pkgdesc="X11 Xinerama extension library" +url="http://xorg.freedesktop.org/" +license="custom" +subpackages="$pkgname-dev $pkgname-doc" +depends="libxext libx11 uclibc" +makedepends="pkgconfig libxext-dev libx11-dev xineramaproto" +source="http://xorg.freedesktop.org/releases/individual/lib/libXinerama-$pkgver.tar.bz2" +depends_dev="xineramaproto libx11-dev libxext-dev" + +build () +{ + cd "$srcdir"/libXinerama-$pkgver + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir" install || return 1 +} +md5sums="cd9f7c46439ac40e0517a302d2434d2c libXinerama-1.0.3.tar.bz2" diff --git a/x11/libxmu/APKBUILD b/x11/libxmu/APKBUILD new file mode 100644 index 00000000..67c4f2a0 --- /dev/null +++ b/x11/libxmu/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libxmu +pkgver=1.0.4 +pkgrel=0 +pkgdesc="X11 miscellaneous micro-utility library" +url="http://xorg.freedesktop.org/" +license="custom" +subpackages="$pkgname-dev $pkgname-doc" +depends="libxext libxt libx11 libsm uclibc" +makedepends="pkgconfig libxext-dev libxt-dev libx11-dev libsm-dev" +source="http://xorg.freedesktop.org/releases/individual/lib/libXmu-$pkgver.tar.bz2 + nocxx.patch" +depends_dev="xproto libx11-dev libxt-dev libxext-dev" + +build () +{ + cd "$srcdir"/libXmu-$pkgver + patch -p1 < ../nocxx.patch configure || return 1 + + ./configure --prefix=/usr \ + --sysconfdir=/etc + make || return 1 + make DESTDIR="$pkgdir" install || return 1 + install -Dm644 $srcdir/libXmu-$pkgver/COPYING \ + $pkgdir/usr/share/licenses/$pkgname/COPYING +} +md5sums="fb372a5f3ab42b5ba16d7af4d833a0cb libXmu-1.0.4.tar.bz2 +28513788ba4d556ccd538867dc6205ab nocxx.patch" diff --git a/x11/libxmu/nocxx.patch b/x11/libxmu/nocxx.patch new file mode 100644 index 00000000..beb1ab90 --- /dev/null +++ b/x11/libxmu/nocxx.patch @@ -0,0 +1,15 @@ +--- a/configure 2004-12-07 21:34:23.205172545 +0000 ++++ b/configure 2004-12-07 21:37:17.726654782 +0000 +@@ -5148,10 +5148,8 @@ + : + else + { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check +-See \`config.log' for more details." >&5 +-echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check +-See \`config.log' for more details." >&2;} +- { (exit 1); exit 1; }; } ++See \`config.log' for more details." >&5;} ++ { echo "C++ sucks, ignoring ..." >&5; }; } + fi + + ac_ext=cc diff --git a/x11/libxrandr/APKBUILD b/x11/libxrandr/APKBUILD new file mode 100644 index 00000000..a1615e68 --- /dev/null +++ b/x11/libxrandr/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libxrandr +pkgver=1.3.0 +pkgrel=0 +pkgdesc="X11 RandR extension library" +url="http://xorg.freedesktop.org/" +license="custom" +subpackages="$pkgname-dev $pkgname-doc" +depends="libxext libxrender libx11 uclibc" +makedepends="pkgconfig libxext-dev libxrender-dev randrproto libx11-dev" +source="http://xorg.freedesktop.org//releases/individual/lib/libXrandr-$pkgver.tar.bz2" + +depends_dev="xproto randrproto libx11-dev libxext-dev libxrender-dev" + +build () +{ + cd "$srcdir"/libXrandr-$pkgver + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + || return 1 + make || return 1 + make DESTDIR="$pkgdir" install || return 1 + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} +md5sums="68eb59c3b7524db6ffd78746ee893d1d libXrandr-1.3.0.tar.bz2" diff --git a/x11/libxv/APKBUILD b/x11/libxv/APKBUILD index 9a757ead..d92ba37b 100644 --- a/x11/libxv/APKBUILD +++ b/x11/libxv/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libxv pkgver=1.0.4 -pkgrel=0 +pkgrel=1 pkgdesc="X11 Video extension library" url="http://xorg.freedesktop.org/" license="custom" @@ -10,6 +10,8 @@ depends="libxext libx11 uclibc" makedepends="pkgconfig libxext-dev libx11-dev videoproto" source="http://xorg.freedesktop.org/releases/individual/lib/libXv-$pkgver.tar.bz2" +depends_dev="xproto videoproto libx11-dev libxext-dev" + build() { cd "$srcdir"/libXv-$pkgver ./configure --prefix=/usr diff --git a/x11/libxxf86dga/APKBUILD b/x11/libxxf86dga/APKBUILD new file mode 100644 index 00000000..610f1968 --- /dev/null +++ b/x11/libxxf86dga/APKBUILD @@ -0,0 +1,21 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libxxf86dga +pkgver=1.0.2 +pkgrel=0 +pkgdesc="X11 Direct Graphics Access extension library" +url="http://xorg.freedesktop.org/" +license="custom" +subpackages="$pkgname-dev $pkgname-doc" +depends="libxext uclibc libx11" +makedepends="pkgconfig xf86dgaproto libxext-dev libx11-dev" +source="http://xorg.freedesktop.org//releases/individual/lib/libXxf86dga-$pkgver.tar.bz2" + +depends_dev="xf86dgaproto libxext-dev libx11-dev" +build () +{ + cd "$srcdir"/libXxf86dga-$pkgver + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir" install || return 1 +} +md5sums="6f5f621804ee652b6cc6f2025c517c78 libXxf86dga-1.0.2.tar.bz2" diff --git a/x11/pango/APKBUILD b/x11/pango/APKBUILD new file mode 100644 index 00000000..4b441b15 --- /dev/null +++ b/x11/pango/APKBUILD @@ -0,0 +1,27 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=pango +pkgver=1.24.0 +pkgrel=0 +pkgdesc="A library for layout and rendering of text" +url="http://www.pango.org/" +license="LGPL" +subpackages="$pkgname-dev $pkgname-doc" +depends="glib cairo libxft uclibc gettext libiconv" +makedepends="pkgconfig glib-dev cairo-dev libxft-dev gettext-dev libiconv-dev" +install="pango.post-install $pkgname.pre-deinstall" +source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2 + $install" + +depends_dev="glib-dev freetype-dev fontconfig-dev libxft-dev" +build () +{ + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var || return 1 + make || return 1 + make DESTDIR="$pkgdir" install || return 1 +} +md5sums="d209f41079833cd2ef2c5e580ab9c5ee pango-1.24.0.tar.bz2 +457d66ce8a405fca12009b3c2c06bfa6 pango.post-install +daaca20be2a577d5bcd395ca53d4b4c0 pango.pre-deinstall" diff --git a/x11/pango/pango.post-install b/x11/pango/pango.post-install new file mode 100644 index 00000000..15a6090d --- /dev/null +++ b/x11/pango/pango.post-install @@ -0,0 +1,2 @@ +#!/bin/sh +pango-querymodules > /etc/pango/pango.modules diff --git a/x11/pango/pango.pre-deinstall b/x11/pango/pango.pre-deinstall new file mode 100644 index 00000000..92127b59 --- /dev/null +++ b/x11/pango/pango.pre-deinstall @@ -0,0 +1,2 @@ +#!/bin/sh +rm -f /etc/pango/pango.modules diff --git a/x11/webkit/APKBUILD b/x11/webkit/APKBUILD new file mode 100644 index 00000000..8bb00f5e --- /dev/null +++ b/x11/webkit/APKBUILD @@ -0,0 +1,39 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=webkit +pkgver=1.1.3 +pkgrel=0 +pkgdesc="A webbrowser engine" +url="http://webkit.org/" +license="LGPL BSD" +depends="uclibc libsoup pango gtk+ libjpeg libpng libxml2 gperf icu cairo + atk gnutls sqlite libxslt libxt libiconv" +makedepends=" + libsoup-dev pango-dev gtk+-dev libjpeg-dev libpng-dev libxml2-dev + gperf pkgconfig bison flex uclibc++-dev icu-dev cairo-dev atk-dev + gnutls-dev sqlite-dev libxslt-dev libxt-dev libiconv-dev + " +install= +subpackages="$pkgname-dev gtklauncher" +source="http://webkitgtk.org/$pkgname-$pkgver.tar.gz" + +depends_dev="gtk+-dev libsoup-dev" + +build() { + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 + make DESTDIR="$pkgdir" install +} + +gtklauncher() { + pkgdesc="Application to test WebKit" + depends="webkit gtk+ glib" + install= + install -Dm755 "$srcdir"/$pkgname-$pkgver/Programs/GtkLauncher \ + "$subpkgdir"/usr/bin/GtkLauncher +} + +md5sums="9c1dcba372e2a56d6011ad807abc80e6 webkit-1.1.3.tar.gz" diff --git a/x11/xauth/APKBUILD b/x11/xauth/APKBUILD new file mode 100644 index 00000000..462da47f --- /dev/null +++ b/x11/xauth/APKBUILD @@ -0,0 +1,20 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=xauth +pkgver=1.0.3 +pkgrel=0 +pkgdesc="X.Org authorization settings program" +url="http://xorg.freedesktop.org/" +license="custom" +depends="libxau libxext libxmu libx11 uclibc" +makedepends="pkgconfig libxau-dev libxext-dev libxmu-dev libx11-dev" +source="http://xorg.freedesktop.org/releases/individual/app/xauth-$pkgver.tar.bz2" + +build () +{ + cd "$srcdir"/xauth-$pkgver + ./configure --prefix=/usr || return 1 + make || return 1 + make DESTDIR="$pkgdir" install || return 1 + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} +md5sums="e91e10ace1df0d5f2cbc74ead256407a xauth-1.0.3.tar.bz2" diff --git a/x11/xf86dgaproto/APKBUILD b/x11/xf86dgaproto/APKBUILD new file mode 100644 index 00000000..41ab8348 --- /dev/null +++ b/x11/xf86dgaproto/APKBUILD @@ -0,0 +1,19 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=xf86dgaproto +pkgver=2.0.3 +pkgrel=0 +pkgdesc="X11 Direct Graphics Access extension wire protocol" +url="http://xorg.freedesktop.org/" +license="custom" +depends="" +makedepends="" +source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2" + +build () +{ + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir" install || return 1 +} +md5sums="42fdcebc66efac02ab4beec2b1b0ad6e xf86dgaproto-2.0.3.tar.bz2" diff --git a/x11/xf86driproto/APKBUILD b/x11/xf86driproto/APKBUILD new file mode 100644 index 00000000..b7be560a --- /dev/null +++ b/x11/xf86driproto/APKBUILD @@ -0,0 +1,19 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=xf86driproto +pkgver=2.0.4 +pkgrel=0 +pkgdesc="X11 DRI extension wire protocol" +url="http://xorg.freedesktop.org/" +license="custom" +depends="" +makedepends="" +source="http://xorg.freedesktop.org//releases/individual/proto/$pkgname-$pkgver.tar.bz2" + +build () +{ + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir" install || return 1 +} +md5sums="01470d088da3a8a3deefa8e1f45d69cb xf86driproto-2.0.4.tar.bz2" diff --git a/x11/xineramaproto/APKBUILD b/x11/xineramaproto/APKBUILD new file mode 100644 index 00000000..36f002a7 --- /dev/null +++ b/x11/xineramaproto/APKBUILD @@ -0,0 +1,19 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=xineramaproto +pkgver=1.1.2 +pkgrel=0 +pkgdesc="X11 Xinerama extension wire protocol" +url="http://xorg.freedesktop.org/" +license="custom" +depends="" +makedepends="" +source="http://xorg.freedesktop.org//releases/individual/proto/$pkgname-$pkgver.tar.bz2" + +build () +{ + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir" install || return 1 +} +md5sums="1cc292c562962ad0ad3a253cae68c632 xineramaproto-1.1.2.tar.bz2" |