diff options
Diffstat (limited to 'libre')
41 files changed, 326 insertions, 94 deletions
diff --git a/libre/abiword-libre/PKGBUILD b/libre/abiword-libre/PKGBUILD index 248da54c7..18122256a 100644 --- a/libre/abiword-libre/PKGBUILD +++ b/libre/abiword-libre/PKGBUILD @@ -40,6 +40,7 @@ build() { # Replace non-free fonts support to liberation fonts patch -Np1 -i "${srcdir}/liberation-fonts.patch" + patch -Np1 -i "${srcdir}/abiword-2.8.6-glib-2.31.patch" libtoolize --force autoreconf diff --git a/libre/abuse-libre/PKGBUILD b/libre/abuse-libre/PKGBUILD index 196fb2c85..251b52851 100644 --- a/libre/abuse-libre/PKGBUILD +++ b/libre/abuse-libre/PKGBUILD @@ -7,9 +7,9 @@ _pkgname=abuse pkgname=abuse-libre pkgver=0.8 -pkgrel=3 +pkgrel=3.1 pkgdesc='A side-scroller action game that pits you against ruthless alien killers. Without unfree "Claudio"' -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url='http://abuse.zoy.org/' license=('GPL' 'custom') depends=('gcc-libs' 'libgl' 'sdl' 'sdl_mixer') diff --git a/libre/audacious-plugins-libre/PKGBUILD b/libre/audacious-plugins-libre/PKGBUILD index 90d5acdaa..8108ea353 100644 --- a/libre/audacious-plugins-libre/PKGBUILD +++ b/libre/audacious-plugins-libre/PKGBUILD @@ -13,7 +13,7 @@ pkgrel=2 pkgdesc='Plugins for Audacious without unfree plugins' url='http://audacious-media-player.org/' license=('GPL' 'GPL3' 'LGPL' 'custom:BSD') -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') # Licensing issues: # The plugins 'scrobbler', stereoplugin', 'wavepack' and 'plugin_echo' have no license notice @@ -29,11 +29,11 @@ replaces=("${pkgname%-libre}") conflicts=("${pkgname%-libre}") makedepends=("audacious>=${pkgver}" - 'oss' 'alsa-lib' 'pulseaudio' 'jack2' 'lame' 'libvorbis' 'flac' + 'alsa-lib' 'pulseaudio' 'jack2' 'lame' 'libvorbis' 'flac' 'mpg123' 'faad2' 'ffmpeg' 'libmodplug' 'fluidsynth' 'libcdio-paranoia' 'libsidplay' 'wavpack' - 'libnotify' 'lirc-utils' 'curl' 'libmtp' + 'libnotify' 'curl' 'libmtp' 'neon' 'libmms' 'libcue') - +[ "$CARCH" = "mips64el" ] || makedepends+=('lirc-utils' 'oss') optdepends=('oss: Open Sound System v4 output' 'alsa-lib: Advanced Linux Sound Arch. output' 'pulseaudio: PulseAudio output' diff --git a/libre/audacity-libre/PKGBUILD b/libre/audacity-libre/PKGBUILD index 6d6f287b3..01a5bb944 100644 --- a/libre/audacity-libre/PKGBUILD +++ b/libre/audacity-libre/PKGBUILD @@ -7,7 +7,7 @@ pkgname=audacity-libre pkgver=2.0.0 pkgrel=1 pkgdesc="A program that lets you manipulate digital audio waveforms, libre" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://audacity.sourceforge.net/" license=('GPL') depends=('libmad' 'libid3tag' 'wxgtk' 'lame-libre' 'hicolor-icon-theme' diff --git a/libre/audex-libre/PKGBUILD b/libre/audex-libre/PKGBUILD index 413c11461..22ded032f 100644 --- a/libre/audex-libre/PKGBUILD +++ b/libre/audex-libre/PKGBUILD @@ -10,7 +10,7 @@ pkgname=audex-libre pkgver=0.77b1 pkgrel=1 pkgdesc="A CDDA extraction tool with a ftp upload function for KDE (without nonfree faac recommendation)" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://kde-apps.org/content/show.php?content=77125" license=('GPL') depends=('kdebase-runtime' 'libkcddb' 'libkcompactdisc' 'cdparanoia') diff --git a/libre/blackbox-libre/PKGBUILD b/libre/blackbox-libre/PKGBUILD index c76d7cba5..dd41034a1 100644 --- a/libre/blackbox-libre/PKGBUILD +++ b/libre/blackbox-libre/PKGBUILD @@ -10,7 +10,7 @@ pkgver=0.70.1 pkgrel=10.1 pkgdesc="A window manager for X11 without non-free programs on menu" url="http://${_pkgname}wm.sourceforge.net/" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') depends=('gcc-libs' 'libxft' 'libxext' 'libx11' 'libxt') replaces=("${_pkgname}") conflicts=("${_pkgname}") diff --git a/libre/bogofilter-libre/PKGBUILD b/libre/bogofilter-libre/PKGBUILD index c5718a9fd..4cd8c2927 100644 --- a/libre/bogofilter-libre/PKGBUILD +++ b/libre/bogofilter-libre/PKGBUILD @@ -5,9 +5,9 @@ _pkgname=bogofilter pkgname=bogofilter-libre pkgver=1.2.2 -pkgrel=5 +pkgrel=5.2 pkgdesc="A fast Bayesian spam filtering tool" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') license=('GPL3') url="http://bogofilter.sourceforge.net" depends=('db' 'perl' 'gsl') diff --git a/libre/bumblebee-libre/PKGBUILD b/libre/bumblebee-libre/PKGBUILD index a7b9ad140..b88e9d544 100644 --- a/libre/bumblebee-libre/PKGBUILD +++ b/libre/bumblebee-libre/PKGBUILD @@ -6,7 +6,7 @@ pkgname=bumblebee-libre pkgver=3.2.1 pkgrel=1 pkgdesc="NVIDIA Optimus support for GNU/Linux through VirtualGL, without nonfree nvidia driver support" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') depends=('virtualgl' 'glib2' 'mesa-libgl') makedepends=('help2man') optdepends=('xf86-video-nouveau: nouveau driver' diff --git a/libre/clementine-libre/PKGBUILD b/libre/clementine-libre/PKGBUILD index f52891d3d..89591f416 100644 --- a/libre/clementine-libre/PKGBUILD +++ b/libre/clementine-libre/PKGBUILD @@ -13,7 +13,7 @@ pkgrel=8 pkgdesc="A music player and library organizer, without nonfree artwork and spotify support" url="http://www.clementine-player.org/" license=('GPL') -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') depends=('gstreamer0.10-base' 'taglib' 'glew' 'liblastfm' 'libgpod' 'projectm' 'libmtp' 'libplist' 'hicolor-icon-theme' 'qt4' 'libimobiledevice' 'chromaprint' 'sparsehash' 'qjson' 'libcdio-paranoia' 'protobuf' 'qca' 'qca-ossl' 'gvfs') diff --git a/libre/crosstool-ng/PKGBUILD b/libre/crosstool-ng/PKGBUILD index 0f4741470..48ec51a10 100644 --- a/libre/crosstool-ng/PKGBUILD +++ b/libre/crosstool-ng/PKGBUILD @@ -6,7 +6,7 @@ pkgname=crosstool-ng pkgver=1.18.0 pkgrel=1 pkgdesc="A versatile cross toolchain generator (eglibc addons patch)" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://crosstool-ng.org/" license=(GPL2) depends=('cvs' 'curl' 'gperf' 'wget') diff --git a/libre/cups-filters-libre/PKGBUILD b/libre/cups-filters-libre/PKGBUILD index 517ff84ef..d29becae5 100644 --- a/libre/cups-filters-libre/PKGBUILD +++ b/libre/cups-filters-libre/PKGBUILD @@ -6,7 +6,7 @@ _pkgname=cups-filters pkgver=1.0.34 pkgrel=4 pkgdesc="OpenPrinting CUPS Filters, without foomatic-db-nonfree recommendation" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://www.linuxfoundation.org/collaborate/workgroups/openprinting" license=('GPL') depends=('lcms2' 'poppler>=0.22.4' 'qpdf>=4.0.0') diff --git a/libre/django13/PKGBUILD.orig b/libre/django13/PKGBUILD.orig deleted file mode 100644 index c593c5626..000000000 --- a/libre/django13/PKGBUILD.orig +++ /dev/null @@ -1,40 +0,0 @@ -# $Id$ -# Maintainer: Dan McGee <dan@archlinux.org> -# Contributor: Shahar Weiss <sweiss4@gmx.net> - -pkgname=django -pkgver=1.3.1 -pkgrel=2 -pkgdesc="A high-level Python Web framework." -arch=('any') -license=('BSD') -url="http://www.djangoproject.com/" -depends=('python2') -makedepends=('python2-distribute') -optdepends=('mysql-python: for MySQL backend' - 'python2-psycopg2: for PostgreSQL backend') -source=("http://media.djangoproject.com/releases/1.3/Django-$pkgver.tar.gz" - diff-django_branches_releases_1.3.X-from-16771-to-17460.diff) -md5sums=('62d8642fd06b9a0bf8544178f8500767' - 'ea3d6cbde2fc2332ffe7f901cb60a974') -sha256sums=('af9118c4e8a063deb0b8cda901fcff2b805e7cf496c93fd43507163f3cde156b' - '84e2652a8249e58fdbbd43bce7cd8d6bb2159058be6a675ebe15661ca3ee9ffc') - -build() { - cd "$srcdir/Django-$pkgver" - patch -Np0 < ../diff-django_branches_releases_1.3.X-from-16771-to-17460.diff - python2 setup.py build -} - -package() { - cd "$srcdir/Django-$pkgver" - python2 setup.py install --root="$pkgdir" --optimize=1 - - install -Dm644 extras/django_bash_completion \ - "$pkgdir"/etc/bash_completion.d/django - - find "$pkgdir"/usr/lib/python2.7/site-packages/django/ -name '*.py' | \ - xargs sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|" - - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} diff --git a/libre/dvdrip-libre/PKGBUILD b/libre/dvdrip-libre/PKGBUILD index 2069f1c8a..2f706868a 100644 --- a/libre/dvdrip-libre/PKGBUILD +++ b/libre/dvdrip-libre/PKGBUILD @@ -8,7 +8,7 @@ pkgname=dvdrip-libre pkgver=0.98.11 pkgrel=10.1 pkgdesc="A Gtk frontend for transcode writen in Perl, without opcional hal and unfree rar dependencies" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') license=('custom') url="http://www.exit1.org/${_pkgname}/" install=${_pkgname}.install diff --git a/libre/ecasound-libre/PKGBUILD b/libre/ecasound-libre/PKGBUILD index 30cbbc641..fb47a8fad 100644 --- a/libre/ecasound-libre/PKGBUILD +++ b/libre/ecasound-libre/PKGBUILD @@ -9,7 +9,7 @@ pkgname=ecasound-libre pkgver=2.9.0 pkgrel=2.1 pkgdesc="A software package designed for multitrack audio processing (without nonfree faac recommendation)" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://www.eca.cx/ecasound/" license=('GPL' 'LGPL') depends=('audiofile' 'liblo' diff --git a/libre/enscript/PKGBUILD b/libre/enscript/PKGBUILD index 281675296..80d5ebbd8 100644 --- a/libre/enscript/PKGBUILD +++ b/libre/enscript/PKGBUILD @@ -4,7 +4,7 @@ pkgname=enscript pkgver=1.6.6 -pkgrel=1 +pkgrel=1.1 pkgdesc="Convert ASCII files to PostScript suitable for printing" arch=('i686' 'x86_64' 'mips64el') backup=('etc/enscript/enscript.cfg') diff --git a/libre/epdfview-libre/PKGBUILD b/libre/epdfview-libre/PKGBUILD index 28c77eed8..3a0446c49 100644 --- a/libre/epdfview-libre/PKGBUILD +++ b/libre/epdfview-libre/PKGBUILD @@ -22,11 +22,13 @@ install='epdfview.install' source=("http://www.emma-soft.com/projects/${_pkgname}/chrome/site/releases/${_pkgname}-${pkgver}.tar.bz2" "${_pkgname}.desktop.patch" "glib2_headers.patch" - "0001-When-using-Poppler-0.17.0-I-needed-to-swap-the-blue-.patch") + "0001-When-using-Poppler-0.17.0-I-needed-to-swap-the-blue-.patch" + "epdfview-0.1.8-cups-1.6.1.patch") md5sums=('e50285b01612169b2594fea375f53ae4' 'fbf22bbabdbb7544db615ac5775d57e2' '41b30f53f20472cbc2fcd4eae161125e' - '7f9ea101a41f5b4e999fd024f423d41f') + '7f9ea101a41f5b4e999fd024f423d41f' + 'c4f3c8ee5fa3a00c8e34515b285e1266') build() { cd "${srcdir}/${_pkgname}-${pkgver}" @@ -34,7 +36,7 @@ build() { patch -Np0 -i "${srcdir}/${_pkgname}.desktop.patch" patch -Np1 -i "${srcdir}/0001-When-using-Poppler-0.17.0-I-needed-to-swap-the-blue-.patch" patch -Np1 -i "${srcdir}/glib2_headers.patch" # FS#30116 - + patch -Np1 -i "${srcdir}/epdfview-0.1.8-cups-1.6.1.patch" # Use xdg-open as default browser. sed -r '/DEFAULT_EXTERNAL_BROWSER_COMMAND_LINE/s/firefox[^ ]*/xdg-open/' -i src/Config.cxx diff --git a/libre/epdfview-libre/epdfview-0.1.8-cups-1.6.1.patch b/libre/epdfview-libre/epdfview-0.1.8-cups-1.6.1.patch new file mode 100644 index 000000000..739579d29 --- /dev/null +++ b/libre/epdfview-libre/epdfview-0.1.8-cups-1.6.1.patch @@ -0,0 +1,74 @@ +diff -up epdfview-0.1.8/configure.ac.cups16 epdfview-0.1.8/configure.ac +diff -up epdfview-0.1.8/src/PrintPter.cxx.cups16 epdfview-0.1.8/src/PrintPter.cxx +--- epdfview-0.1.8/src/PrintPter.cxx.cups16 2011-05-28 12:25:01.000000000 +0200 ++++ epdfview-0.1.8/src/PrintPter.cxx 2012-07-20 15:04:30.846111813 +0200 +@@ -22,6 +22,40 @@ + #include <locale.h> + #include "epdfview.h" + ++#if (CUPS_VERSION_MAJOR > 1) || (CUPS_VERSION_MINOR > 5) ++#define HAVE_CUPS_1_6 1 ++#endif ++ ++#ifndef HAVE_CUPS_1_6 ++inline int ippGetInteger (ipp_attribute_t *attr, int element) ++{ ++ return (attr->values[element].integer); ++} ++ ++inline const char * ippGetString (ipp_attribute_t *attr, ++ int element, ++ const char **language /*UNUSED*/) ++{ ++ return (attr->values[element].string.text); ++} ++ ++inline int ippSetOperation (ipp_t *ipp, ipp_op_t op) ++{ ++ if (!ipp) ++ return (0); ++ ipp->request.op.operation_id = op; ++ return (1); ++} ++ ++inline int ippSetRequestId (ipp_t *ipp, int request_id) ++{ ++ if (!ipp) ++ return (0); ++ ipp->request.any.request_id = request_id; ++ return (1); ++} ++#endif ++ + using namespace ePDFView; + + // Structures +@@ -380,8 +414,8 @@ PrintPter::getPrinterAttributes (const g + + ipp_t *request = ippNew (); + +- request->request.op.operation_id = IPP_GET_PRINTER_ATTRIBUTES; +- request->request.op.request_id = 1; ++ ippSetOperation(request, IPP_GET_PRINTER_ATTRIBUTES); ++ ippSetRequestId(request, 1); + + ippAddString (request, IPP_TAG_OPERATION, IPP_TAG_CHARSET, + "attributes-charset", NULL, "utf-8"); +@@ -403,7 +437,7 @@ PrintPter::getPrinterAttributes (const g + ippFindAttribute (answer, "printer-state", IPP_TAG_ZERO); + if ( NULL != state ) + { +- switch (state->values[0].integer) ++ switch (ippGetInteger (state, 0)) + { + case IPP_PRINTER_IDLE: + attributes->state = g_strdup (_("Idle")); +@@ -425,7 +459,7 @@ PrintPter::getPrinterAttributes (const g + ippFindAttribute (answer, "printer-location", IPP_TAG_ZERO); + if ( NULL != location ) + { +- attributes->location = g_strdup (location->values[0].string.text); ++ attributes->location = g_strdup (ippGetString (location, 0, NULL)); + } + + ippDelete (answer); diff --git a/libre/gendesk-libre/PKGBUILD b/libre/gendesk-libre/PKGBUILD new file mode 100644 index 000000000..8cef8f3a4 --- /dev/null +++ b/libre/gendesk-libre/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> + +_pkgname=gendesk +pkgname=gendesk-libre +pkgver=0.5.0 +pkgrel=1.1 +pkgdesc='Utility to generate .desktop files and download icons' +arch=('x86_64' 'i686' 'mips64el') +url='https://gitorious.org/ovruni/gendesk/' +license=('MIT') +makedepends=('curl' 'openssl') +provides=("$_pkgname=$pkgver") +replaces=("$_pkgname") +conflicts=("$_pkgname") +source=("http://gnu.org.pe/software/$_pkgname/$_pkgname-$pkgver.tar.xz") +md5sums=('0f7575a421e77cca9566e94e7aa5ed2a') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + + make +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + + install -Dm755 "$_pkgname" "$pkgdir/usr/bin/$_pkgname" + install -Dm644 default.png "$pkgdir/usr/share/pixmaps/default.png" + install -Dm644 "$_pkgname.1.gz" "$pkgdir/usr/share/man/man1/$_pkgname.1.gz" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE" +} diff --git a/libre/hardinfo/PKGBUILD b/libre/hardinfo/PKGBUILD index 1987e191e..a66dc20df 100644 --- a/libre/hardinfo/PKGBUILD +++ b/libre/hardinfo/PKGBUILD @@ -6,7 +6,7 @@ pkgname=hardinfo pkgver=0.5.1 pkgrel=5 pkgdesc="A system information and benchmark tool." -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://hardinfo.berlios.de/wiki/index.php/Main_Page" license=('GPL2') depends=('gtk2' 'libsoup') diff --git a/libre/hplip-libre/PKGBUILD b/libre/hplip-libre/PKGBUILD index 2623328ac..2503fe028 100644 --- a/libre/hplip-libre/PKGBUILD +++ b/libre/hplip-libre/PKGBUILD @@ -9,7 +9,7 @@ pkgname=hplip-libre pkgver=3.13.5 pkgrel=2 pkgdesc="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet, without hplip-plugin binary blobs recommendation" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://hplipopensource.com" license=('GPL') depends=('python2' 'ghostscript>=8.64-6' 'foomatic-db' 'foomatic-db-engine' diff --git a/libre/kile-libre/PKGBUILD b/libre/kile-libre/PKGBUILD index 525624001..212b32959 100644 --- a/libre/kile-libre/PKGBUILD +++ b/libre/kile-libre/PKGBUILD @@ -9,7 +9,7 @@ pkgname=kile-libre pkgver=2.1.3 pkgrel=2 pkgdesc="A user friendly TeX/LaTeX frontend for KDE" -arch=("i686" "x86_64") +arch=("i686" "x86_64" "mips64el") license=('GPL2') url="http://kile.sourceforge.net/" depends=('kdebase-runtime' 'texlive-core' 'kdebase-katepart') diff --git a/libre/lesspipe-libre/PKGBUILD b/libre/lesspipe-libre/PKGBUILD index 48d5ebe0f..22c6ecbd8 100644 --- a/libre/lesspipe-libre/PKGBUILD +++ b/libre/lesspipe-libre/PKGBUILD @@ -8,7 +8,7 @@ pkgver=1.71 pkgrel=1 pkgdesc='an input filter for the pager less' depends=('less') -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') license=('GPL') optdepends=('rpmextract: support for rpm files' 'fastjar: support for jar files' diff --git a/libre/libquicktime-libre/PKGBUILD b/libre/libquicktime-libre/PKGBUILD index 81165b02d..8f08669c1 100644 --- a/libre/libquicktime-libre/PKGBUILD +++ b/libre/libquicktime-libre/PKGBUILD @@ -8,7 +8,7 @@ _pkgname=libquicktime pkgver=1.2.4 pkgrel=6 pkgdesc="A library for reading and writing quicktime files, without nonfree faac support" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') license=('GPL') url="http://libquicktime.sourceforge.net/" depends=('gtk2' 'ffmpeg' 'libxv' 'libxaw' 'faad2') diff --git a/libre/libretools/libretools.install b/libre/libretools/libretools.install index 50f03ee88..0b53dd8e2 100644 --- a/libre/libretools/libretools.install +++ b/libre/libretools/libretools.install @@ -2,6 +2,7 @@ # arg 1: the new package version post_install() { + update-cleansystem cat <<EOF Please check https://wiki.parabolagnulinux.org/Package_maintainer_guide and follow instructions there before using libretools. @@ -15,6 +16,7 @@ EOF ## arg 1: the new package version ## arg 2: the old package version post_upgrade() { + update-cleansystem cat <<EOF Check your /etc/libretools.conf, it has changed substantially. diff --git a/libre/liferea-libre/PKGBUILD b/libre/liferea-libre/PKGBUILD index 3ac0fdb5d..461c0a3b2 100644 --- a/libre/liferea-libre/PKGBUILD +++ b/libre/liferea-libre/PKGBUILD @@ -8,7 +8,7 @@ pkgname=liferea-libre pkgver=1.8.14 pkgrel=1 pkgdesc="A desktop news aggregator for online news feeds and weblogs, without nonfree suggestions" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://liferea.sourceforge.net/" provides=("liferea=$pkgver") replaces=('liferea') diff --git a/libre/linux-libre-tools/PKGBUILD b/libre/linux-libre-tools/PKGBUILD index 85ba7dba7..4e64f9872 100644 --- a/libre/linux-libre-tools/PKGBUILD +++ b/libre/linux-libre-tools/PKGBUILD @@ -7,7 +7,6 @@ pkgname=('linux-libre-tools-meta' 'libtraceevent-libre' 'perf-libre' 'cpupower-libre' - 'x86_energy_perf_policy-libre' 'usbip-libre') _basekernel=3.9 #_sublevel=6 @@ -73,10 +72,12 @@ build() { make VERSION=$pkgver-$pkgrel popd - msg2 'Build x86_energy_perf_policy-libre' - pushd linux-$pkgver/tools/power/x86/x86_energy_perf_policy - make - popd + if [ "$CARCH" != "mips64el" ]; then + msg2 'Build x86_energy_perf_policy-libre' + pushd linux-$pkgver/tools/power/x86/x86_energy_perf_policy + make + popd + fi msg2 'Build usbip-libre' pushd linux-$pkgver/drivers/staging/usbip/userspace @@ -91,7 +92,8 @@ build() { package_linux-libre-tools-meta() { pkgdesc='Linux kernel tools meta package' groups=() - depends=('libtraceevent-libre' 'perf-libre' 'cpupower-libre' 'x86_energy_perf_policy-libre' 'usbip-libre') + depends=('libtraceevent-libre' 'perf-libre' 'cpupower-libre' 'usbip-libre') + [ "$CARCH" != "mips64el" ] && depends+=('x86_energy_perf_policy-libre') replaces=('linux-tools-meta') conflicts=('linux-tools-meta') provides=("linux-tools-meta=$pkgver") diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD index 76c1908f7..8ba93e018 100644 --- a/libre/linux-libre/PKGBUILD +++ b/libre/linux-libre/PKGBUILD @@ -67,21 +67,23 @@ prepare() { if [ "$CARCH" == "mips64el" ]; then sed -i "s|^EXTRAVERSION.*|EXTRAVERSION =-libre|" Makefile sed -r "s|^( SUBLEVEL = ).*|\1$_sublevel|" \ - < "${srcdir}/lxo-config.patch" > lxo-config.patch + < "${srcdir}/config.patch" > config.patch msg2 "Adding loongson-community patches" patch -Np1 -i ${srcdir}/${_basekernel}*-*-loongson-community.patch - patch -Np0 -i lxo-config.patch + patch -Np0 -i config.patch # ensure N32, add localversion, remove uevent helper as per # https://git.kernel.org/?p=linux/hotplug/udev.git;a=blob_plain;f=README # and make USB storage support builtin (e.g. for booting from USB # disks without slowly loading an initramfs) +# since 3.4 rtl8187 supports adhoc mode, so batman-adv is enabled again sed -ri \ -e "s|CONFIG_MIPS32_N32=.*|CONFIG_MIPS32_N32=y|g" \ -e "s|CONFIG_UEVENT_HELPER_PATH=.*|CONFIG_UEVENT_HELPER_PATH=\"\"|g" \ -e "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_localversionname}\"|g" \ - -e "s;(CONFIG_USB(_COMMON|_EHCI_HCD|_OHCI_HCD|_STORAGE.*|_UAS)?)=.*;\1=y;g" \ + -e "s|# CONFIG_BATMAN_ADV is not set|CONFIG_BATMAN_ADV=m|g" \ ./.config + echo -e "CONFIG_BATMAN_ADV_BLA=y\nCONFIG_BATMAN_ADV_DEBUG=n" >> .config else cat "${srcdir}/config.${CARCH}" > ./.config # simpler fi diff --git a/libre/linux-libre/linux-libre.preset.mips64el b/libre/linux-libre/linux-libre.preset.mips64el new file mode 100644 index 000000000..7af90ba7a --- /dev/null +++ b/libre/linux-libre/linux-libre.preset.mips64el @@ -0,0 +1,14 @@ +# mkinitcpio preset file for the 'linux' package + +ALL_config="/etc/mkinitcpio.conf" +ALL_kver="/boot/vmlinuz-linux-libre" + +PRESETS=('default' 'fallback') + +#default_config="/etc/mkinitcpio.conf" +default_image="/boot/initramfs-linux-libre.img" +#default_options="" + +#fallback_config="/etc/mkinitcpio.conf" +fallback_image="/boot/initramfs-linux-libre-fallback.img" +fallback_options="-S autodetect" diff --git a/libre/mc-libre/PKGBUILD b/libre/mc-libre/PKGBUILD index 3528fba0e..fabd87469 100644 --- a/libre/mc-libre/PKGBUILD +++ b/libre/mc-libre/PKGBUILD @@ -7,7 +7,7 @@ pkgname=mc-libre pkgver=4.8.4 pkgrel=1 pkgdesc="Midnight Commander is a text based filemanager/shell that emulates Norton Commander" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://www.ibiblio.org/mc/" license=('GPL') depends=('e2fsprogs' 'glib2' 'pcre' 'gpm' 'slang') diff --git a/libre/mesa-demos-libre/PKGBUILD b/libre/mesa-demos-libre/PKGBUILD index 46f2b42b4..38949606d 100644 --- a/libre/mesa-demos-libre/PKGBUILD +++ b/libre/mesa-demos-libre/PKGBUILD @@ -6,7 +6,7 @@ pkgname='mesa-demos-libre' pkgver=8.1.0 pkgrel=1 -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') pkgdesc="Mesa demos and tools, without nonfree demos" url="http://mesa3d.sourceforge.net" license=('custom') diff --git a/libre/p7zip-libre/PKGBUILD b/libre/p7zip-libre/PKGBUILD index 2e6ab6e01..8696a1bfa 100644 --- a/libre/p7zip-libre/PKGBUILD +++ b/libre/p7zip-libre/PKGBUILD @@ -8,7 +8,7 @@ pkgname=p7zip-libre _pkgname=${pkgname%-libre} pkgver=9.20.1 -pkgrel=6 +pkgrel=6.1 pkgdesc='Command-line version of the 7zip compressed file archiver without Rar' url='http://p7zip.sourceforge.net/' license=('GPL') @@ -39,7 +39,7 @@ mksource() { msg "Removing unRar" # Generate patch # sed -e '/Rar/d' -i makefile* -# find -name '*Rar*' -print0 | xargs -0 rm -rvf +# find -name '*Rar*' -print0 | xargs -0 rm -rvf # Remove Rar mentions in CPP/7zip/Bundles/Format7zFree/makefile patch -Np1 -i ../p7zip-libre.patch @@ -51,12 +51,16 @@ mksource() { build() { cd "${srcdir}/${_pkgname}_${pkgver}" - case $CARCH in - x86_64) cp makefile.linux_amd64_asm makefile.machine ;; - i686) cp makefile.linux_x86_asm_gcc_4.X makefile.machine ;; - esac + case $CARCH in + x86_64) cp makefile.linux_amd64_asm makefile.machine ;; + i686) cp makefile.linux_x86_asm_gcc_4.X makefile.machine ;; + esac - make all4 OPTFLAGS="${CXXFLAGS}" + if [ "$CARCH" = "mips64el" ]; then + make all3 OPTFLAGS="${CXXFLAGS}" + else + make all4 OPTFLAGS="${CXXFLAGS}" + fi } package() { diff --git a/libre/pacman/makepkg.conf.mips64el b/libre/pacman/makepkg.conf.mips64el new file mode 100644 index 000000000..ae090a1fa --- /dev/null +++ b/libre/pacman/makepkg.conf.mips64el @@ -0,0 +1,114 @@ +# +# /etc/makepkg.conf +# + +######################################################################### +# SOURCE ACQUISITION +######################################################################### +# +#-- The download utilities that makepkg should use to acquire sources +# Format: 'protocol::agent' +DLAGENTS=('ftp::/usr/bin/wget -c --passive-ftp -t 3 --waitretry=3 -O %o %u' + 'http::/usr/bin/wget -c -t 3 --waitretry=3 -O %o %u' + 'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u' + 'rsync::/usr/bin/rsync -z %u %o' + 'scp::/usr/bin/scp -C %u %o') + +# Other common tools: +# /usr/bin/snarf +# /usr/bin/lftpget -c +# /usr/bin/curl + +######################################################################### +# ARCHITECTURE, COMPILE FLAGS +######################################################################### +# +CARCH="@CARCH@" +CHOST="@CHOST@" + +#-- Exclusive: will only run on @CARCH@ +# -march (or -mcpu) builds exclusively for an architecture +# -mtune optimizes for an architecture, but builds for whole processor family +CFLAGS="@CARCHFLAGS@" +CXXFLAGS="@CARCHFLAGS@" +#LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed" +#-- Make Flags: change this for DistCC/SMP systems +#MAKEFLAGS="-j2" + +######################################################################### +# BUILD ENVIRONMENT +######################################################################### +# +# Defaults: BUILDENV=(fakeroot !distcc color !ccache check) +# A negated environment option will do the opposite of the comments below. +# +#-- fakeroot: Allow building packages as a non-root user +#-- distcc: Use the Distributed C/C++/ObjC compiler +#-- color: Colorize output messages +#-- ccache: Use ccache to cache compilation +#-- check: Run the check() function if present in the PKGBUILD +# +BUILDENV=(fakeroot !distcc color !ccache check) +# +#-- If using DistCC, your MAKEFLAGS will also need modification. In addition, +#-- specify a space-delimited list of hosts running in the DistCC cluster. +#DISTCC_HOSTS="" + +######################################################################### +# GLOBAL PACKAGE OPTIONS +# These are default values for the options=() settings +######################################################################### +# +# Default: OPTIONS=(strip docs libtool emptydirs zipman purge) +# A negated option will do the opposite of the comments below. +# +#-- strip: Strip symbols from binaries/libraries +#-- docs: Save doc directories specified by DOC_DIRS +#-- libtool: Leave libtool (.la) files in packages +#-- emptydirs: Leave empty directories in packages +#-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip +#-- purge: Remove files specified by PURGE_TARGETS +# +OPTIONS=(strip docs libtool emptydirs zipman purge) + +#-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512 +INTEGRITY_CHECK=(md5) +#-- Options to be used when stripping binaries. See `man strip' for details. +STRIP_BINARIES="--strip-all" +#-- Options to be used when stripping shared libraries. See `man strip' for details. +STRIP_SHARED="--strip-unneeded" +#-- Options to be used when stripping static libraries. See `man strip' for details. +STRIP_STATIC="--strip-debug" +#-- Manual (man and info) directories to compress (if zipman is specified) +MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info}) +#-- Doc directories to remove (if !docs is specified) +DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc}) +#-- Files to be removed from all packages (if purge is specified) +PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod) + +######################################################################### +# PACKAGE OUTPUT +######################################################################### +# +# Default: put built package and cached source in build directory +# +#-- Destination: specify a fixed directory where all packages will be placed +#PKGDEST=/home/packages +#-- Source cache: specify a fixed directory where source files will be cached +#SRCDEST=/home/sources +#-- Source packages: specify a fixed directory where all src packages will be placed +#SRCPKGDEST=/home/srcpackages +#-- Packager: name/email of the person or organization building packages +#PACKAGER="John Doe <john@doe.com>" + +######################################################################### +# EXTENSION DEFAULTS +######################################################################### +# +# WARNING: Do NOT modify these variables unless you know what you are +# doing. +# +PKGEXT='.pkg.tar.xz' +SRCEXT='.src.tar.gz' + +# vim: set ft=sh ts=2 sw=2 et: diff --git a/libre/pacman/mips64el.patch b/libre/pacman/mips64el.patch new file mode 100644 index 000000000..1dac6194f --- /dev/null +++ b/libre/pacman/mips64el.patch @@ -0,0 +1,26 @@ +--- configure.ac.orig 2011-06-10 14:50:19.241750094 -0300 ++++ configure.ac 2011-06-10 14:50:35.537678580 -0300 +@@ -271,6 +271,10 @@ case "${host}" in + CARCH="arm" + CARCHFLAGS="-march=armv4 " + ;; ++ mips64el-*) ++ CARCH="mips64el" ++ CARCHFLAGS="" ++ ;; + *) + AC_MSG_WARN([[Your architecture is unknown for makepkg.conf, consider adding it to configure.ac]]) + CARCH="unknown" +--- configure.orig 2011-06-10 14:57:12.971308117 -0300 ++++ configure 2011-06-10 14:56:49.963295618 -0300 +@@ -15673,6 +15673,10 @@ case "${host}" in + CARCH="arm" + CARCHFLAGS="-march=armv4 " + ;; ++ mips64el-*) ++ CARCH="mips64el" ++ CARCHFLAGS="" ++ ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your architecture is unknown for makepkg.conf, consider adding it to configure.ac" >&5 + $as_echo "$as_me: WARNING: Your architecture is unknown for makepkg.conf, consider adding it to configure.ac" >&2;} diff --git a/libre/psutils-libre/PKGBUILD b/libre/psutils-libre/PKGBUILD index 3679222b1..c627b61c0 100644 --- a/libre/psutils-libre/PKGBUILD +++ b/libre/psutils-libre/PKGBUILD @@ -7,7 +7,7 @@ _pkgname=psutils pkgname=psutils-libre pkgver=1.17 -pkgrel=3.1 +pkgrel=3.2 arch=('i686' 'x86_64' 'mips64el') pkgdesc="A set of postscript utilities" url="http://www.tardis.ed.ac.uk/~ajcd/psutils/index.html" diff --git a/libre/python2-reportlab-libre/PKGBUILD b/libre/python2-reportlab-libre/PKGBUILD index 27014d100..de40ba89e 100755 --- a/libre/python2-reportlab-libre/PKGBUILD +++ b/libre/python2-reportlab-libre/PKGBUILD @@ -12,7 +12,7 @@ _origname=reportlab pkgver=2.6 pkgrel=1 pkgdesc="A proven industry-strength PDF generating solution (without non-free Adobe T1 fonts)" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://www.reportlab.org/rl_toolkit.html" depends=('python2' 'freetype2' 'ttf-bitstream-vera' 'gsfonts' 'python-imaging') conflicts=('python2-reportlab' 'python-reportlab<=2.5-2') diff --git a/libre/sdl-libre/PKGBUILD b/libre/sdl-libre/PKGBUILD index 9822d5df7..d9bd4c63f 100644 --- a/libre/sdl-libre/PKGBUILD +++ b/libre/sdl-libre/PKGBUILD @@ -8,9 +8,9 @@ pkgname=sdl-libre pkgver=1.2.15 -pkgrel=3 +pkgrel=3.1 pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://www.libsdl.org" license=('LGPL') provides=("sdl=${pkgver}") diff --git a/libre/seamonkey-libre/PKGBUILD b/libre/seamonkey-libre/PKGBUILD index dd4bcd0a9..e7d4cc389 100644 --- a/libre/seamonkey-libre/PKGBUILD +++ b/libre/seamonkey-libre/PKGBUILD @@ -5,7 +5,7 @@ pkgname=seamonkey-libre pkgver=2.9 pkgrel=1 pkgdesc="SeaMonkey internet suite, with GNUZilla addons" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') license=('MPL') depends=('alsa-lib' 'dbus-glib' 'desktop-file-utils' 'gtk2' 'hunspell' 'libevent' 'libnotify' 'libvpx' 'libxt' 'mime-types' 'mozilla-common' 'nss' 'sqlite' 'startup-notification') makedepends=('unzip' 'zip' 'pkg-config' 'python2' 'yasm' 'wireless_tools' 'mesa' 'autoconf2.13') diff --git a/libre/texlive-bin-libre/PKGBUILD b/libre/texlive-bin-libre/PKGBUILD index a002aa3f7..442dc9d15 100644 --- a/libre/texlive-bin-libre/PKGBUILD +++ b/libre/texlive-bin-libre/PKGBUILD @@ -204,7 +204,7 @@ package() { mkdir -p "$pkgdir"/usr/share/tlpkg/TeXLive install -m644 "${srcdir}"/source/utils/biber/TeXLive/*.pm "${pkgdir}/usr/share/tlpkg/TeXLive" - # create symlinks for formats + # create symlinks for formats echo "--> Create symlinks for TeX formats ..." PATH="$PATH:${pkgdir}/usr/bin" texlinks -f "$pkgdir"/usr/share/texmf/web2c/fmtutil.cnf "$pkgdir"/usr/bin/ ############################################################# diff --git a/libre/unzip-libre/PKGBUILD b/libre/unzip-libre/PKGBUILD index 020740313..00c5906ea 100644 --- a/libre/unzip-libre/PKGBUILD +++ b/libre/unzip-libre/PKGBUILD @@ -8,7 +8,7 @@ pkgname=unzip-libre pkgver=6.0 pkgrel=6 pkgdesc="Unpacks .zip archives such as those made by PKZIP" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://www.info-zip.org/" license=('custom') depends=('bzip2' 'bash') diff --git a/libre/xarchiver-libre/PKGBUILD b/libre/xarchiver-libre/PKGBUILD index 87d775d4e..5241ea5e8 100644 --- a/libre/xarchiver-libre/PKGBUILD +++ b/libre/xarchiver-libre/PKGBUILD @@ -7,7 +7,7 @@ pkgname=xarchiver-libre pkgver=0.5.2 pkgrel=5 pkgdesc="GTK+ frontend to various command line archivers" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://xarchiver.sourceforge.net" license=('GPL') groups=('xfce4-goodies') diff --git a/libre/xmlstarlet/PKGBUILD b/libre/xmlstarlet/PKGBUILD index a06daf063..f51ca586e 100644 --- a/libre/xmlstarlet/PKGBUILD +++ b/libre/xmlstarlet/PKGBUILD @@ -7,7 +7,7 @@ pkgname=xmlstarlet pkgver=1.3.1 pkgrel=1 pkgdesc="A set of tools to transform, query, validate, and edit XML documents" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://xmlstar.sourceforge.net/" license=('custom:MIT') depends=('libxslt>=1.1.9') |