diff options
Diffstat (limited to 'libre')
45 files changed, 266 insertions, 84 deletions
diff --git a/libre/abuse-libre/PKGBUILD b/libre/abuse-libre/PKGBUILD index 829871791..c4e7aa849 100644 --- a/libre/abuse-libre/PKGBUILD +++ b/libre/abuse-libre/PKGBUILD @@ -9,7 +9,7 @@ pkgname=abuse-libre pkgver=0.8 pkgrel=2 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/aspell-pl-libre/PKGBUILD b/libre/aspell-pl-libre/PKGBUILD index 6da90e449..76c0e2095 100644 --- a/libre/aspell-pl-libre/PKGBUILD +++ b/libre/aspell-pl-libre/PKGBUILD @@ -9,7 +9,7 @@ pkgname=aspell-pl-libre pkgver=20111117 pkgrel=1 pkgdesc="Polish dictionary for aspell" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://www.sjp.pl/slownik/en/" license=('GPL' 'LGPL' 'MPL') depends=('aspell') 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/bogofilter-libre/PKGBUILD b/libre/bogofilter-libre/PKGBUILD index c5718a9fd..d5f12f215 100644 --- a/libre/bogofilter-libre/PKGBUILD +++ b/libre/bogofilter-libre/PKGBUILD @@ -7,7 +7,7 @@ pkgname=bogofilter-libre pkgver=1.2.2 pkgrel=5 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/cdrkit-libre/PKGBUILD b/libre/cdrkit-libre/PKGBUILD index 5e71171f9..2a6b0b1dd 100644 --- a/libre/cdrkit-libre/PKGBUILD +++ b/libre/cdrkit-libre/PKGBUILD @@ -6,7 +6,7 @@ pkgname=cdrkit-libre pkgver=1.1.11 pkgrel=2 pkgdesc="Suite of programs for CD/DVD recording, ISO image creation, and audio CD extraction" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://cdrkit.org/" license=('GPL2') depends=('file' 'bzip2' 'perl') diff --git a/libre/crosstool-ng/PKGBUILD b/libre/crosstool-ng/PKGBUILD index bfb9c430b..93d779d22 100644 --- a/libre/crosstool-ng/PKGBUILD +++ b/libre/crosstool-ng/PKGBUILD @@ -5,7 +5,7 @@ pkgname=crosstool-ng pkgver=1.14.1 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') diff --git a/libre/epdfview-libre/PKGBUILD b/libre/epdfview-libre/PKGBUILD index 9923ad1cf..fa89351f7 100644 --- a/libre/epdfview-libre/PKGBUILD +++ b/libre/epdfview-libre/PKGBUILD @@ -7,7 +7,7 @@ pkgname=epdfview-libre _pkgname=epdfview pkgver=0.1.8 -pkgrel=3 +pkgrel=3.1 pkgdesc="A free lightweight PDF document viewer." url="http://www.emma-soft.com/projects/epdfview/" arch=('i686' 'x86_64' 'mips64el') diff --git a/libre/file-roller-libre/PKGBUILD b/libre/file-roller-libre/PKGBUILD index c5c343265..14e9eab77 100644 --- a/libre/file-roller-libre/PKGBUILD +++ b/libre/file-roller-libre/PKGBUILD @@ -7,7 +7,7 @@ pkgname=file-roller-libre pkgver=3.4.1 pkgrel=1 pkgdesc="Archive manipulator for GNOME" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') license=('GPL') depends=('desktop-file-utils' 'gtk3' 'hicolor-icon-theme' 'dconf') makedepends=('intltool' 'gnome-doc-utils' 'pkg-config' 'nautilus' 'libsm') diff --git a/libre/ghostscript-libre/PKGBUILD b/libre/ghostscript-libre/PKGBUILD index 4462b7792..049eed1df 100644 --- a/libre/ghostscript-libre/PKGBUILD +++ b/libre/ghostscript-libre/PKGBUILD @@ -7,7 +7,7 @@ pkgver=9.04 _srcpkgrel=5 pkgrel=6 pkgdesc="An interpreter for the PostScript language without non-free files" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') license=('GPL3') #non free files removed depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng>=1.5.7' 'libjpeg' 'libtiff>=4.0.0' 'lcms') # 'lcms2' won't get used) # move in libpaper from community? makedepends=('gtk2' 'gnutls') diff --git a/libre/gnustep-make-libre/PKGBUILD b/libre/gnustep-make-libre/PKGBUILD deleted file mode 100644 index 7abc014c6..000000000 --- a/libre/gnustep-make-libre/PKGBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Parabola maintainer: Michał Masłowski <mtjm@mtjm.eu> -# Parabola contributor: André Silva <andre.paulista@adinet.com.uy> -# $Id$ -# Maintainer: Vesa Kaihlavirta <vegai@iki.fi> -# Contributor: Sebastian Sareyko <public@nooms.de> - -_pkgname=gnustep-make -pkgname=gnustep-make-libre -pkgver=2.6.2 -pkgrel=1 -pkgdesc="The GNUstep make package with exceptions enabled" -arch=('any') -url="http://www.gnustep.org/" -license=('GPL') -depends=('glibc') -conflicts=('gnustep-make-svn' 'gnustep-make') -provides=('gnustep-make') -groups=('gnustep-core') -source=(ftp://ftp.gnustep.org/pub/gnustep/core/$_pkgname-$pkgver.tar.gz) -md5sums=('b926d142debc9f38d75b11019c31889f') - -build() { - cd $srcdir/$_pkgname-$pkgver - # The option is not needed, but makes clear why we rebuild this. - ./configure --prefix=/usr --sysconfdir=/etc/GNUstep \ - --enable-native-objc-exceptions - make - make DESTDIR=$pkgdir install - install -D -m755 \ - $pkgdir/usr/share/GNUstep/Makefiles/GNUstep.sh \ - $pkgdir/etc/profile.d/GNUstep.sh -} diff --git a/libre/grub2/PKGBUILD b/libre/grub2/PKGBUILD index df7449cba..a33c57e42 100644 --- a/libre/grub2/PKGBUILD +++ b/libre/grub2/PKGBUILD @@ -11,11 +11,12 @@ _grub_ntldr_ver=21 _grub_915_ver=9 pkgname=('grub2-common' 'grub2-bios' 'grub2-efi-i386') +[ "$CARCH" = "mips64el" ] && pkgname=('grub2-common' 'grub2-loongson') pkgbase=grub2 pkgver=2.00beta3 pkgrel=1.1 url="http://www.gnu.org/software/grub/" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') license=('GPL3') epoch="1" makedepends=('rsync' 'xz' 'bdf-unifont' 'python' 'autogen' 'texinfo' @@ -252,3 +253,18 @@ package_grub2-efi-i386() { rm -f "${pkgdir}/usr/lib/grub/i386-efi"/{kernel.exec,gdb_grub,gmodule.pl} || true } + +# Same as -bios but different pkgdesc +package_grub2-loongson() { + pkgdesc="The GNU GRand Unified Bootloader version 2 - Built for Loogson" + depends=(grub2-common=${epoch}:${pkgver}) + replaces=('grub2' 'grub2-libre') + provides=('grub2' 'grub2-libre') + + cd ${srcdir}/grub2_bios-${pkgver} + make DESTDIR=${pkgdir} install + + ## remove non platform-specific files + rm -rf ${pkgdir}/{boot,bin,sbin,etc,usr/share} + rm ${pkgdir}/usr/lib/grub/{grub-mkconfig_lib,update-grub_lib} +} diff --git a/libre/gstreamer0.10-bad-libre/PKGBUILD b/libre/gstreamer0.10-bad-libre/PKGBUILD index c27cf61f9..9694faf9e 100644 --- a/libre/gstreamer0.10-bad-libre/PKGBUILD +++ b/libre/gstreamer0.10-bad-libre/PKGBUILD @@ -7,7 +7,7 @@ pkgbase=gstreamer0.10-bad-libre pkgname=('gstreamer0.10-bad-libre' 'gstreamer0.10-bad-libre-plugins') pkgver=0.10.23 pkgrel=1.2 -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') license=('LGPL' 'GPL') makedepends=('pkgconfig' 'gstreamer0.10-base>=0.10.36' 'xvidcore' 'libdca' 'bzip2' 'libdc1394' 'neon' 'musicbrainz' 'faad2' 'libmms' 'libcdaudio' 'libmpcdec' 'mjpegtools' 'libdvdnav' 'libmodplug' 'jasper' 'liblrdf' 'libofa' 'soundtouch' 'libvdpau' 'schroedinger' 'libass' 'libvpx' 'gsm' 'libgme' 'rtmpdump' 'libsndfile' 'librsvg') url="http://gstreamer.freedesktop.org/" @@ -17,6 +17,7 @@ md5sums=('e4822fa2cc933768e2998311a1565979') build() { cd "${srcdir}/gst-plugins-bad-${pkgver}" + patch -Np1 -i "${srcdir}/mpeg2enc-mjpegtools-2.0.patch" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --disable-static --enable-experimental \ --with-package-name="GStreamer Bad Plugins (Parabola)" \ diff --git a/libre/gstreamer0.10-bad-libre/mpeg2enc-mjpegtools-2.0.patch b/libre/gstreamer0.10-bad-libre/mpeg2enc-mjpegtools-2.0.patch new file mode 100644 index 000000000..771d75743 --- /dev/null +++ b/libre/gstreamer0.10-bad-libre/mpeg2enc-mjpegtools-2.0.patch @@ -0,0 +1,26 @@ +From 407b02578689804dc6bc47e53be9e87cc1b25597 Mon Sep 17 00:00:00 2001 +From: Götz Waschk <waschk@mandriva.org> +Date: Tue, 24 May 2011 13:42:44 +0000 +Subject: mpeg2enc: support mjpegtools 2.0 + +This adds conditional includes for the renamed headers in mjpegtools 2.0. +Fixes: #650970. +--- +diff --git a/ext/mpeg2enc/gstmpeg2encoder.cc b/ext/mpeg2enc/gstmpeg2encoder.cc +index acfda50..31f1a30 100644 +--- a/ext/mpeg2enc/gstmpeg2encoder.cc ++++ b/ext/mpeg2enc/gstmpeg2encoder.cc +@@ -26,7 +26,10 @@ + + #include <mpegconsts.h> + #include <quantize.hh> +-#if GST_MJPEGTOOLS_API >= 10900 ++#if GST_MJPEGTOOLS_API >= 10903 ++#include <ontheflyratectlpass1.hh> ++#include <ontheflyratectlpass2.hh> ++#elif GST_MJPEGTOOLS_API >= 10900 + #include <ontheflyratectl.hh> + #include <pass1ratectl.hh> + #include <pass2ratectl.hh> +-- +cgit v0.9.0.2-2-gbebe diff --git a/libre/hardinfo/PKGBUILD b/libre/hardinfo/PKGBUILD index 47f4c1330..c712a39af 100644 --- a/libre/hardinfo/PKGBUILD +++ b/libre/hardinfo/PKGBUILD @@ -5,7 +5,7 @@ pkgname=hardinfo pkgver=0.5.1 pkgrel=4 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/icecat/PKGBUILD b/libre/icecat/PKGBUILD index 79274ce21..b88777207 100644 --- a/libre/icecat/PKGBUILD +++ b/libre/icecat/PKGBUILD @@ -91,6 +91,8 @@ build() { cat "$srcdir/mozconfig.pgo" >> .mozconfig fi + [ "$CARCH" = "mips64el" ] && echo "ac_add_options --disable-ipc" >> .mozconfig + # Fix PRE_RELEASE_SUFFIX sed -i '/^PRE_RELEASE_SUFFIX := ""/s/ ""//' \ browser/base/Makefile.in diff --git a/libre/kdenetwork-libre/PKGBUILD b/libre/kdenetwork-libre/PKGBUILD index 6e231389d..e39929f4c 100644 --- a/libre/kdenetwork-libre/PKGBUILD +++ b/libre/kdenetwork-libre/PKGBUILD @@ -14,7 +14,7 @@ pkgname=('kdenetwork-filesharing' 'kdenetwork-krfb') pkgver=4.8.2 pkgrel=1 -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url='http://www.kde.org' license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdenetwork') diff --git a/libre/kernel26-libre-lts/PKGBUILD b/libre/kernel26-libre-lts/PKGBUILD index 7c444e8ff..b5eff57c2 100644 --- a/libre/kernel26-libre-lts/PKGBUILD +++ b/libre/kernel26-libre-lts/PKGBUILD @@ -8,7 +8,7 @@ _kernelname=${pkgname#kernel26-libre} _basekernel=2.6.32 pkgver=${_basekernel}.52 pkgrel=1 -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') license=('GPL2') url="http://linux-libre.fsfla.org" source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-libre/linux-${_basekernel}-libre.tar.xz" diff --git a/libre/lame-libre/PKGBUILD b/libre/lame-libre/PKGBUILD index 65ec64426..29e069bbf 100644 --- a/libre/lame-libre/PKGBUILD +++ b/libre/lame-libre/PKGBUILD @@ -10,7 +10,7 @@ pkgname=lame-libre pkgver=3.99.5 pkgrel=1 pkgdesc="A high quality MPEG Audio Layer III (MP3) encoder" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://lame.sourceforge.net/" depends=('ncurses') makedepends=('nasm') 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 2b3c84263..2a624348b 100644 --- a/libre/libquicktime-libre/PKGBUILD +++ b/libre/libquicktime-libre/PKGBUILD @@ -7,7 +7,7 @@ _pkgname=libquicktime pkgver=1.2.4 pkgrel=1 pkgdesc="A library for reading and writing quicktime files (no unfree faac support)." -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') license=('GPL') url="http://libquicktime.sourceforge.net/" depends=('gtk2' 'ffmpeg' 'libxv' 'libgl' 'libxaw' 'x264' 'faad2') diff --git a/libre/libretools/PKGBUILD b/libre/libretools/PKGBUILD index ecbba4e47..d06832782 100644 --- a/libre/libretools/PKGBUILD +++ b/libre/libretools/PKGBUILD @@ -2,9 +2,9 @@ # Contributor: fauno <fauno@kiwwwi.com.ar> pkgbase=libretools -pkgname=(libretools libretools-pr libretools-mips64el) -pkgver=20111231 -pkgrel=2 +pkgname=(libretools libretools-mips64el) +pkgver=$(date -u +%Y%m%d) +pkgrel=1 pkgdesc="Scripts for easing Parabola's tasks" arch=('any') url="http://parabolagnulinux.org" @@ -29,7 +29,7 @@ build() { msg "Git checkout: Tree has been updated" else msg "Git checkout: Retrieving sources" - git clone ${_gitroot} + git clone ${_gitroot} fi msg "Checkout completed" ## Build @@ -41,7 +41,7 @@ package_libretools() { install -m644 ${_gitname}/libretools.conf ${pkgdir}/etc/ install -d ${pkgdir}/etc/libretools.d - install -m644 ${_gitname}/cleansystem ${pkgdir}/etc/libretools.d + touch ${pkgdir}/etc/libretools.d/cleansystem install -d ${pkgdir}/usr/bin install -m755 ${_gitname}/abslibre-commit ${pkgdir}/usr/bin @@ -50,8 +50,12 @@ package_libretools() { install -m755 ${_gitname}/createworkdir ${pkgdir}/usr/bin/ install -m755 ${_gitname}/diff-unfree ${pkgdir}/usr/bin install -m755 ${_gitname}/fullpkg ${pkgdir}/usr/bin + install -m755 ${_gitname}/fullpkg-find ${pkgdir}/usr/bin + install -m755 ${_gitname}/fullpkg-build ${pkgdir}/usr/bin install -m755 ${_gitname}/is_built ${pkgdir}/usr/bin + install -m755 ${_gitname}/is_unfree ${pkgdir}/usr/bin install -m755 ${_gitname}/lb ${pkgdir}/usr/bin + install -m755 ${_gitname}/libreaddiff ${pkgdir}/usr/bin install -m755 ${_gitname}/librechroot ${pkgdir}/usr/bin/ install -m755 ${_gitname}/librecommit ${pkgdir}/usr/bin/ install -m755 ${_gitname}/librediff ${pkgdir}/usr/bin/ @@ -61,14 +65,19 @@ package_libretools() { install -m755 ${_gitname}/librerepkg ${pkgdir}/usr/bin install -m755 ${_gitname}/librestage ${pkgdir}/usr/bin/ install -m755 ${_gitname}/pkgbuild-check-nonfree ${pkgdir}/usr/bin/ - install -m755 ${_gitname}/toru ${pkgdir}/usr/bin install -m755 ${_gitname}/updateabslibre ${pkgdir}/usr/bin + install -m755 ${_gitname}/update-cleansystem ${pkgdir}/usr/bin install -d ${pkgdir}/usr/sbin install -m755 ${_gitname}/libremakepkg ${pkgdir}/usr/sbin/ - + install -d ${pkgdir}/usr/share/pacman install -m755 ${_gitname}/rePKGBUILD.proto ${pkgdir}/usr/share/pacman + + install -m755 ${_gitname}/toru ${pkgdir}/usr/bin + install -m755 ${_gitname}/toru-path ${pkgdir}/usr/bin + install -m755 ${_gitname}/toru-utils ${pkgdir}/usr/bin + install -d -m 775 --group=users /var/lib/libretools/toru } package_libretools-pr() { diff --git a/libre/libretools/libretools.install b/libre/libretools/libretools.install index 6f8c09d5c..163956024 100644 --- a/libre/libretools/libretools.install +++ b/libre/libretools/libretools.install @@ -1,5 +1,6 @@ # arg 1: the new package version post_install() { + update-cleansystem cat <<EOF Please check http://wiki.parabolagnulinux.org/Package_maintainer_guide and follow instructions there before using libretools. @@ -13,11 +14,10 @@ EOF ## arg 1: the new package version ## arg 2: the old package version post_upgrade() { + update-cleansystem cat <<EOF Check your /etc/libretools.conf -If using fullpkg, you should install libretools-$arch if avaliable - EOF } diff --git a/libre/liferea-libre/PKGBUILD b/libre/liferea-libre/PKGBUILD index 7a1b8cfcc..eb468e4da 100644 --- a/libre/liferea-libre/PKGBUILD +++ b/libre/liferea-libre/PKGBUILD @@ -8,7 +8,7 @@ pkgname=liferea-libre pkgver=1.8.5 pkgrel=1 pkgdesc="A desktop news aggregator for online news feeds and weblogs" -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/PKGBUILD b/libre/linux-libre/PKGBUILD index 20fa125b5..5b3d97223 100644 --- a/libre/linux-libre/PKGBUILD +++ b/libre/linux-libre/PKGBUILD @@ -83,10 +83,10 @@ build() { 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 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/mesa-demos-libre/PKGBUILD b/libre/mesa-demos-libre/PKGBUILD index 31170b19f..72b06da5b 100644 --- a/libre/mesa-demos-libre/PKGBUILD +++ b/libre/mesa-demos-libre/PKGBUILD @@ -6,7 +6,7 @@ pkgname='mesa-demos-libre' pkgver=8.0.1 pkgrel=2 -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') pkgdesc="Mesa demos and tools, libre" url="http://mesa3d.sourceforge.net" license=('custom') diff --git a/libre/metalog/PKGBUILD b/libre/metalog/PKGBUILD index 41a570b7c..081d7882a 100644 --- a/libre/metalog/PKGBUILD +++ b/libre/metalog/PKGBUILD @@ -39,5 +39,7 @@ package() { install -D -m644 $srcdir/metalog.confd $pkgdir/etc/conf.d/metalog install -D -m644 metalog.conf $pkgdir/etc/metalog.conf -} +# compat symlink + ln -s metalog $pkgdir/etc/rc.d/syslog-ng +} diff --git a/libre/mplayer-vaapi-libre/PKGBUILD b/libre/mplayer-vaapi-libre/PKGBUILD index b44c007a5..5c5ffef3a 100644 --- a/libre/mplayer-vaapi-libre/PKGBUILD +++ b/libre/mplayer-vaapi-libre/PKGBUILD @@ -10,7 +10,7 @@ pkgname=mplayer-vaapi-libre pkgver=34578 pkgrel=4 pkgdesc="A movie player, compiled with vaapi support" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://gitorious.org/vaapi/mplayer" license=('GPL') depends=('libxxf86dga' 'libxxf86vm' 'libmad' 'libcdio' 'libxinerama' 'sdl-libre' diff --git a/libre/p7zip-libre/PKGBUILD b/libre/p7zip-libre/PKGBUILD index 2e6ab6e01..ffd2f2d61 100644 --- a/libre/p7zip-libre/PKGBUILD +++ b/libre/p7zip-libre/PKGBUILD @@ -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/PKGBUILD b/libre/pacman/PKGBUILD index d8d3a6d26..01f49a93e 100644 --- a/libre/pacman/PKGBUILD +++ b/libre/pacman/PKGBUILD @@ -11,7 +11,7 @@ arch=('i686' 'x86_64' 'mips64el') url="http://www.archlinux.org/pacman/" license=('GPL') groups=('base') -depends=('bash' 'glibc>=2.15' 'libarchive>=3.0.2' 'curl>=7.19.4' +depends=('bash' 'glibc' 'libarchive>=3.0.2' 'curl>=7.19.4' 'gpgme' 'pacman-mirrorlist') makedepends=('asciidoc') optdepends=('fakeroot: for makepkg usage as normal user') 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/python-reportlab-libre/PKGBUILD b/libre/python-reportlab-libre/PKGBUILD index e0dfc9d9c..41e2a4d00 100644 --- a/libre/python-reportlab-libre/PKGBUILD +++ b/libre/python-reportlab-libre/PKGBUILD @@ -9,7 +9,7 @@ _origname=reportlab pkgver=2.5 pkgrel=1 pkgdesc="A proven industry-strength PDF generating solution" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') depends=('python2' 'freetype2' 'ttf-bitstream-vera' 'gsfonts' 'python-imaging') license=('custom') source=(http://www.reportlab.org/ftp/${_origname}-$pkgver.tar.gz diff --git a/libre/python2-libre/PKGBUILD b/libre/python2-libre/PKGBUILD index e743151b0..2f104bd37 100644 --- a/libre/python2-libre/PKGBUILD +++ b/libre/python2-libre/PKGBUILD @@ -9,7 +9,7 @@ pkgver=2.7.2 pkgrel=6 _pybasever=2.7 pkgdesc="A high-level scripting language" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') license=('PSF') url="http://www.python.org/" depends=('bzip2' 'gdbm' 'openssl' 'zlib' 'expat' 'sqlite' 'libffi') diff --git a/libre/rp-pppoe-libre/PKGBUILD b/libre/rp-pppoe-libre/PKGBUILD index a360e113e..cea9ca4d3 100644 --- a/libre/rp-pppoe-libre/PKGBUILD +++ b/libre/rp-pppoe-libre/PKGBUILD @@ -6,7 +6,7 @@ pkgname=rp-pppoe-libre pkgver=3.10 pkgrel=7 pkgdesc="Roaring Penguin's Point-to-Point Protocol over Ethernet client. Unfree software recommendation removed." -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://www.roaringpenguin.com/pppoe/" license=('GPL') depends=('ppp>=2.4.5' 'sh' 'net-tools') diff --git a/libre/sdl-libre/PKGBUILD b/libre/sdl-libre/PKGBUILD index 3024bd9bf..e31f18c5b 100644 --- a/libre/sdl-libre/PKGBUILD +++ b/libre/sdl-libre/PKGBUILD @@ -9,7 +9,7 @@ pkgname=sdl-libre pkgver=1.2.15 pkgrel=1.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 8acde2590..f34cf229a 100644 --- a/libre/seamonkey-libre/PKGBUILD +++ b/libre/seamonkey-libre/PKGBUILD @@ -5,7 +5,7 @@ pkgname=seamonkey-libre pkgver=2.8 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' 'sqlite3' 'startup-notification') makedepends=('unzip' 'zip' 'pkg-config' 'python2' 'yasm' 'wireless_tools' 'mesa' 'autoconf2.13') diff --git a/libre/sqlite3/PKGBUILD b/libre/sqlite3/PKGBUILD index 2a939aa57..9e380bd73 100644 --- a/libre/sqlite3/PKGBUILD +++ b/libre/sqlite3/PKGBUILD @@ -13,7 +13,7 @@ _amalgamationver2=${_amalgamationver/00/} pkgver=${_amalgamationver2//0/.} pkgrel=2 pkgdesc="A C library that implements an SQL database engine" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') license=('custom') url="http://www.sqlite.org/" makedepends=('tcl' 'readline>=6.0.00') diff --git a/libre/texlive-bin-libre/PKGBUILD b/libre/texlive-bin-libre/PKGBUILD index 6aa88039e..56fc03df1 100644 --- a/libre/texlive-bin-libre/PKGBUILD +++ b/libre/texlive-bin-libre/PKGBUILD @@ -245,7 +245,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/thunderbird-libre/PKGBUILD b/libre/thunderbird-libre/PKGBUILD index f7f89462d..093e8daf1 100644 --- a/libre/thunderbird-libre/PKGBUILD +++ b/libre/thunderbird-libre/PKGBUILD @@ -9,7 +9,7 @@ pkgname=thunderbird-libre pkgver=11.0.1 pkgrel=2.1 pkgdesc="Standalone Mail/News reader" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') license=('MPL' 'GPL') url="http://www.mozilla.org/thunderbird/" depends=('alsa-lib' 'dbus-glib' 'desktop-file-utils' 'gtk2' 'hicolor-icon-theme' 'hunspell' 'libevent' 'libnotify' 'libvpx' 'libxt' 'mime-types' 'mozilla-common' 'nss' 'sqlite3' 'startup-notification') diff --git a/libre/unarchiver/PKGBUILD b/libre/unarchiver/PKGBUILD index 9c0cf3978..837f34b2d 100644 --- a/libre/unarchiver/PKGBUILD +++ b/libre/unarchiver/PKGBUILD @@ -5,7 +5,7 @@ pkgname=unarchiver pkgver=3.0 pkgrel=1.1 pkgdesc="An Objective-C application for uncompressing archive files" -arch=('x86_64' 'i686') +arch=('x86_64' 'i686' 'mips64el') url="http://wakaba.c3.cx/s/apps/unarchiver.html" license=('LGPL2.1') depends=('gnustep-base' 'openssl' 'bzip2' 'icu' 'gcc-libs' 'zlib') diff --git a/libre/unrar-libre/PKGBUILD b/libre/unrar-libre/PKGBUILD index e08e90220..0096718b4 100644 --- a/libre/unrar-libre/PKGBUILD +++ b/libre/unrar-libre/PKGBUILD @@ -4,7 +4,7 @@ pkgname=unrar-libre pkgver=0.0.1 pkgrel=1 pkgdesc="A free software library to decompress .rar files." -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://gna.org/projects/unrar/" license=('GPL') provides=(unrar) diff --git a/libre/unzip-libre/PKGBUILD b/libre/unzip-libre/PKGBUILD index 20c3885f9..d49c373bc 100644 --- a/libre/unzip-libre/PKGBUILD +++ b/libre/unzip-libre/PKGBUILD @@ -8,7 +8,7 @@ pkgname=unzip-libre pkgver=6.0 pkgrel=5 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/xchat-libre/PKGBUILD b/libre/xchat-libre/PKGBUILD index f04ec2f47..a8092476a 100644 --- a/libre/xchat-libre/PKGBUILD +++ b/libre/xchat-libre/PKGBUILD @@ -6,7 +6,7 @@ pkgname=xchat-libre pkgver=2.8.8 pkgrel=7 pkgdesc="A GTK+ based IRC client without non-free browser reference" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://www.xchat.org/" provides=("xchat=$pkgver") replaces=('xchat') |