diff options
Diffstat (limited to 'libre')
37 files changed, 217 insertions, 52 deletions
diff --git a/libre/abuse-libre/PKGBUILD b/libre/abuse-libre/PKGBUILD index 9dc5a955e..533ce1e06 100644 --- a/libre/abuse-libre/PKGBUILD +++ b/libre/abuse-libre/PKGBUILD @@ -7,9 +7,9 @@ _pkgname=abuse pkgname=abuse-libre pkgver=0.8 -pkgrel=2 +pkgrel=3.2 pkgdesc='A side-scroller action game that pits you against ruthless alien killers, without nonfree claudio support' -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url='http://abuse.zoy.org/' license=('GPL' 'custom') depends=('gcc-libs' 'glu' 'sdl' 'sdl_mixer') diff --git a/libre/addinclude-libre/PKGBUILD b/libre/addinclude-libre/PKGBUILD new file mode 100644 index 000000000..7a5121eb3 --- /dev/null +++ b/libre/addinclude-libre/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> + +_pkgname=addinclude +pkgname=addinclude-libre +pkgver=0.9 +pkgrel=1 +pkgdesc='Utility to add includes to C header- and sourcefiles' +arch=('x86_64' 'i686' 'mips64el') +url='https://gitorious.org/ovruni/addinclude/' +license=('GPL') +provides=("$_pkgname=$pkgver") +replaces=("$_pkgname") +conflicts=("$_pkgname") +source=("http://gnu.org.pe/software/$_pkgname/$_pkgname-$pkgver.tar.xz") +md5sums=('e8c254e5c8f41a69f87787a08c65d1a5') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + + make +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + + install -Dm755 "$_pkgname" "$pkgdir/usr/bin/$_pkgname" + install -Dm644 "$_pkgname.1.gz" "$pkgdir/usr/share/man/man1/$_pkgname.1.gz" + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$_pkgname/COPYING" +} diff --git a/libre/angband-libre/PKGBUILD b/libre/angband-libre/PKGBUILD index 21bde2beb..80a704ca8 100644 --- a/libre/angband-libre/PKGBUILD +++ b/libre/angband-libre/PKGBUILD @@ -13,7 +13,7 @@ pkgname=angband-libre pkgver=3.4.1 pkgrel=1 pkgdesc="A roguelike dungeon exploration game based on the writings of JRR Tolkien, without nonfree sound effects" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://rephial.org/" license=('GPL2' 'custom') replaces=$_pkgname diff --git a/libre/audacious-plugins-libre/PKGBUILD b/libre/audacious-plugins-libre/PKGBUILD index d6711ac0f..6b4fe0458 100644 --- a/libre/audacious-plugins-libre/PKGBUILD +++ b/libre/audacious-plugins-libre/PKGBUILD @@ -13,7 +13,7 @@ pkgrel=3 pkgdesc='Plugins for Audacious, without nonfree 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 @@ conflicts=$_pkgname provides=$_pkgname=$pkgver makedepends=("audacious>=${pkgver}" - 'oss-libre' 'alsa-lib' 'pulseaudio' 'jack2' 'lame' 'libvorbis' 'flac' + 'alsa-lib' 'pulseaudio' 'jack2' 'lame' 'libvorbis' 'flac' 'mpg123' 'faad2' 'ffmpeg' 'libmodplug' 'fluidsynth' 'libcdio-paranoia' 'libsidplayfp' 'wavpack' - 'libnotify' 'lirc-utils-libre' 'curl' 'libmtp' + 'libnotify' 'curl' 'libmtp' 'neon' 'libmms' 'libcue') - +[ "$CARCH" = "mips64el" ] || makedepends+=('lirc-utils-libre' 'oss-libre') optdepends=('oss-libre: 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 610404545..e9e18ba48 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 1c0c49a15..980f35851 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 42a33a113..ef25ff8ff 100644 --- a/libre/bogofilter-libre/PKGBUILD +++ b/libre/bogofilter-libre/PKGBUILD @@ -7,7 +7,7 @@ pkgname=bogofilter-libre pkgver=1.2.3 pkgrel=1 pkgdesc="A fast Bayesian spam filtering tool, without noncommercial files" -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 3f43d26c9..c52f3e673 100644 --- a/libre/bumblebee-libre/PKGBUILD +++ b/libre/bumblebee-libre/PKGBUILD @@ -6,7 +6,7 @@ pkgname=bumblebee-libre pkgver=3.2.1 pkgrel=3 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/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 bd51a4838..7eda9f68a 100644 --- a/libre/cups-filters-libre/PKGBUILD +++ b/libre/cups-filters-libre/PKGBUILD @@ -6,7 +6,7 @@ _pkgname=cups-filters pkgver=1.0.37 pkgrel=1 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' 'qpdf') 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 6fbdd3fb3..120eda3b2 100644 --- a/libre/ecasound-libre/PKGBUILD +++ b/libre/ecasound-libre/PKGBUILD @@ -9,7 +9,7 @@ pkgname=ecasound-libre pkgver=2.9.0 pkgrel=3 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' 'liboil' 'lilv') 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 626e653f2..3a7f2c3bf 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..b2f5c7cea --- /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.2 +pkgrel=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=('416e81aaa4d8963e229b6341a5c4db1a') + +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 3039dfdd7..03c91db7a 100644 --- a/libre/hplip-libre/PKGBUILD +++ b/libre/hplip-libre/PKGBUILD @@ -9,7 +9,7 @@ pkgname=hplip-libre pkgver=3.13.8 pkgrel=1 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 c78321b25..68412355b 100644 --- a/libre/libquicktime-libre/PKGBUILD +++ b/libre/libquicktime-libre/PKGBUILD @@ -8,7 +8,7 @@ _pkgname=libquicktime pkgver=1.2.4 pkgrel=7 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/liferea-libre/PKGBUILD b/libre/liferea-libre/PKGBUILD index a24893a6f..c59e1d08a 100644 --- a/libre/liferea-libre/PKGBUILD +++ b/libre/liferea-libre/PKGBUILD @@ -8,7 +8,7 @@ pkgname=liferea-libre pkgver=1.10.1.a 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 bc254debb..e86f77e73 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.10 #_sublevel=6 @@ -76,10 +75,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 @@ -94,7 +95,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 be564df01..24c52e954 100644 --- a/libre/linux-libre/PKGBUILD +++ b/libre/linux-libre/PKGBUILD @@ -78,21 +78,30 @@ 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) + # 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 + + for i in BATMAN_ADV_BLA BATMAN_ADV_DEBUG BATMAN_ADV_DAT; do + echo "CONFIG_${i}=y" >>.config + done + + for i in ATH9K_LEGACY_RATE_CONTROL; do + echo "# CONFIG_${i} is not set" >>.config + done 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 3faac3646..1fb9fe810 100644 --- a/libre/mc-libre/PKGBUILD +++ b/libre/mc-libre/PKGBUILD @@ -7,7 +7,7 @@ pkgname=mc-libre pkgver=4.8.10 pkgrel=1 pkgdesc="Midnight Commander is a text based filemanager/shell that emulates Norton Commander, with unar and arj recommendation included and nonfree unace recommendation removed" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://www.ibiblio.org/mc/" license=('GPL') depends=( 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/midori-libre/PKGBUILD b/libre/midori-libre/PKGBUILD index dd1f9e36d..c417c84b0 100644 --- a/libre/midori-libre/PKGBUILD +++ b/libre/midori-libre/PKGBUILD @@ -12,7 +12,7 @@ pkgname=midori-libre pkgver=0.5.5 pkgrel=1 pkgdesc='Lightweight web browser (GTK2), without non-privacy search providers' -arch=('x86_64' 'i686') +arch=('x86_64' 'i686' 'mips64el') url='http://www.midori-browser.org/' license=('LGPL2.1') install='midori.install' diff --git a/libre/oss-libre/PKGBUILD b/libre/oss-libre/PKGBUILD index ab51da0cd..32ee9db2e 100644 --- a/libre/oss-libre/PKGBUILD +++ b/libre/oss-libre/PKGBUILD @@ -8,7 +8,7 @@ pkgname=oss-libre pkgver=4.2_2007 pkgrel=4 -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://developer.opensound.com/" license=('GPL2') makedepends=('gtk2') diff --git a/libre/p7zip-libre/PKGBUILD b/libre/p7zip-libre/PKGBUILD index fbd189a81..a519499f7 100644 --- a/libre/p7zip-libre/PKGBUILD +++ b/libre/p7zip-libre/PKGBUILD @@ -40,11 +40,15 @@ build() { 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 - make all4 OPTFLAGS="${CXXFLAGS}" + if [ "$CARCH" = "mips64el" ]; then + make all3 OPTFLAGS="${CXXFLAGS}" + else + make all4 OPTFLAGS="${CXXFLAGS}" + fi } package() { 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/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 9c0c0729c..0d3f55edc 100644 --- a/libre/xarchiver-libre/PKGBUILD +++ b/libre/xarchiver-libre/PKGBUILD @@ -7,7 +7,7 @@ pkgname=xarchiver-libre pkgver=0.5.2 pkgrel=5.1 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') |