diff options
Diffstat (limited to 'libre')
-rw-r--r-- | libre/addinclude-libre/PKGBUILD | 29 | ||||
-rw-r--r-- | libre/audacious-plugins-libre/PKGBUILD | 3 | ||||
-rw-r--r-- | libre/cups-filters-libre/PKGBUILD | 2 | ||||
-rw-r--r-- | libre/ecasound-libre/PKGBUILD | 2 | ||||
-rw-r--r-- | libre/epdfview-libre/epdfview-0.1.8-cups-1.6.1.patch | 74 | ||||
-rw-r--r-- | libre/gendesk-libre/PKGBUILD | 31 | ||||
-rw-r--r-- | libre/hplip-libre/PKGBUILD | 2 | ||||
-rw-r--r-- | libre/liferea-libre/PKGBUILD | 2 | ||||
-rw-r--r-- | libre/linux-libre-tools/PKGBUILD | 5 | ||||
-rw-r--r-- | libre/linux-libre/PKGBUILD | 46 | ||||
-rw-r--r-- | libre/linux-libre/linux-libre.preset.mips64el | 14 |
11 files changed, 198 insertions, 12 deletions
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/audacious-plugins-libre/PKGBUILD b/libre/audacious-plugins-libre/PKGBUILD index 8c631469b..e6e221629 100644 --- a/libre/audacious-plugins-libre/PKGBUILD +++ b/libre/audacious-plugins-libre/PKGBUILD @@ -32,8 +32,9 @@ makedepends=("audacious>=${pkgver}" 'glib2' 'python2' # for gdbus-codegen 'alsa-lib' 'pulseaudio' 'jack2' 'lame' 'libvorbis' 'flac' 'mpg123' 'faad2' 'ffmpeg' 'libmodplug' 'fluidsynth' 'libcdio-paranoia' 'libsidplayfp' 'wavpack' - 'libnotify' 'lirc-utils' 'curl' 'libmtp' + 'libnotify' 'curl' 'libmtp' 'neon' 'libmms' 'libcue') +[ "$CARCH" = "mips64el" ] || makedepends+=('lirc-utils-libre') optdepends=('alsa-lib: Advanced Linux Sound Arch. output' 'pulseaudio: PulseAudio output' diff --git a/libre/cups-filters-libre/PKGBUILD b/libre/cups-filters-libre/PKGBUILD index 8fb7ec8e0..c87f114ea 100644 --- a/libre/cups-filters-libre/PKGBUILD +++ b/libre/cups-filters-libre/PKGBUILD @@ -6,7 +6,7 @@ _pkgname=cups-filters pkgver=1.0.46 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/ecasound-libre/PKGBUILD b/libre/ecasound-libre/PKGBUILD index 4c2586f5d..f1a68f299 100644 --- a/libre/ecasound-libre/PKGBUILD +++ b/libre/ecasound-libre/PKGBUILD @@ -9,7 +9,7 @@ pkgname=ecasound-libre pkgver=2.9.1 pkgrel=2 pkgdesc="Command-line multitrack audio processor, 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>=0.28' 'liboil' 'lilv') 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/hplip-libre/PKGBUILD b/libre/hplip-libre/PKGBUILD index 4ed863e35..f0cdd45db 100644 --- a/libre/hplip-libre/PKGBUILD +++ b/libre/hplip-libre/PKGBUILD @@ -9,7 +9,7 @@ pkgname=hplip-libre pkgver=3.14.1 pkgrel=1 pkgdesc="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet, without hplip-plugin binary blobs recommendation (Parabola rebranded)" -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/liferea-libre/PKGBUILD b/libre/liferea-libre/PKGBUILD index 6a9a4a394..cb50faa1c 100644 --- a/libre/liferea-libre/PKGBUILD +++ b/libre/liferea-libre/PKGBUILD @@ -8,7 +8,7 @@ pkgname=liferea-libre pkgver=1.10.5 pkgrel=1.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 c20fee223..d50c27934 100644 --- a/libre/linux-libre-tools/PKGBUILD +++ b/libre/linux-libre-tools/PKGBUILD @@ -89,11 +89,14 @@ build() { make VERSION=$pkgver-$pkgrel popd + if [ "$CARCH" != "mips64el" ]; then msg2 'x86_energy_perf_policy-libre' pushd linux-$pkgver/tools/power/x86/x86_energy_perf_policy make popd + fi + msg2 'usbip-libre' pushd linux-$pkgver/drivers/staging/usbip/userspace # fix missing man page @@ -131,8 +134,8 @@ package_linux-libre-tools-meta() { 'perf-libre' 'tmon-libre' 'usbip-libre' - 'x86_energy_perf_policy-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 77251bc07..690b6cc8e 100644 --- a/libre/linux-libre/PKGBUILD +++ b/libre/linux-libre/PKGBUILD @@ -124,21 +124,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 -p1 -i ${srcdir}/${_basekernel}*-*-loongson-community.patch patch -p0 -i lxo-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_DAT BATMAN_ADV_NC; do + echo "CONFIG_${i}=y" >>.config + done + + for i in ATH9K_LEGACY_RATE_CONTROL BATMAN_ADV_DEBUG; do + echo "# CONFIG_${i} is not set" >>.config + done else cat "${srcdir}/config.${CARCH}" > ./.config # simpler fi @@ -154,6 +163,8 @@ prepare() { # don't run depmod on 'make install'. We'll do this ourselves in packaging sed -i '2iexit 0' scripts/depmod.sh + cd "${srcdir}/linux-${_basekernel}" + # get kernel version make prepare @@ -454,3 +465,26 @@ for _p in ${pkgname[@]}; do done # vim:set ts=8 sts=2 sw=2 et: +md5sums=('7ec84223c7adcf01a5287eb7af96b7e7' + 'd09e8017d22370b873628942f3ece3b0' + 'b7718a81faf845ab53234336122ad631' + 'f7ee88ffc93b665345b6ee89ff192e1f' + 'e49ac236dfeef709f91a3d993ea7b62c' + '2967cecc3af9f954ccc822fd63dca6ff' + '8267264d9a8966e57fdacd1fa1fc65c4' + '36e90334b12b2e9d53fd92129ee98f5b' + '98beb36f9b8cf16e58de2483ea9985e3' + 'd50c1ac47394e9aec637002ef3392bd1' + '1040ae6c10d4a68f89899f94a2318a17' + 'e92d4241b533fdd7165b5d47197f7162') +md5sums=('254f59707b6676b59ce5ca5c3c698319' + '4b18ce60daff87504e6740670edf6b50' + 'aa6614d1dbf46ab7d317bcde1e58f80c' + '3ecb40ee3bdd78e4d310c2afc1ccf209' + 'e49ac236dfeef709f91a3d993ea7b62c' + '2967cecc3af9f954ccc822fd63dca6ff' + '8267264d9a8966e57fdacd1fa1fc65c4' + '44260d2cb1a8b51c119d2ce1f83e457a' + '98beb36f9b8cf16e58de2483ea9985e3' + 'd50c1ac47394e9aec637002ef3392bd1' + '71bbddd5f9799aa045660d92baa05845') 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" |