Skip to content

Instantly share code, notes, and snippets.

@catalin-hritcu
Last active August 29, 2015 14:05
Show Gist options
  • Save catalin-hritcu/a69ea1af936d123a7510 to your computer and use it in GitHub Desktop.
Save catalin-hritcu/a69ea1af936d123a7510 to your computer and use it in GitHub Desktop.
Aura looping on self dependencies
[hritcu@detained testing]$ aura -Akua
[sudo] password for hritcu:
aura >>= Fetching package information...
aura >>= Comparing package versions...
aura >>= AUR Packages to upgrade:
aura-bin : 1.3.0.0-1 => 1.3.0.1-1
backintime : 1.0.34-4 => 1.0.36-3
backintime-gtk : 1.0.34-4 => 1.0.36-3
powerpill : 2014.8-1 => 2014.8.17-1
vlc-git : 3.0.r57709.g3870474-1 => 3.0.r58053.gefa6a6f-1
aura >>= The following are not AUR packages:
backintime-gtk
aura >>= `aura-bin` PKGBUILD changes:
--- a/aura-bin/PKGBUILD
+++ b/aura-bin/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Colin Woodbury <colingw@gmail.com>
_hkgname=aura
pkgname=aura-bin
-pkgver=1.3.0.0
+pkgver=1.3.0.1
pkgrel=1
pkgdesc="A secure package manager for Arch Linux and the AUR written in Haskell - Prebuilt binary"
url="https://github.com/fosskers/aura"
@@ -17,7 +17,7 @@
source=(https://bitbucket.org/fosskers/aura/downloads/${_hkgname}-${pkgver}-${CARCH}.tar.gz)
if [[ $CARCH = "x86_64" ]]; then
- md5sums=('4012c13dac479f2596f5506b1debb84b')
+ md5sums=('49c9eed86edd4b38c258c00be49395ca')
else
md5sums=()
fi
aura >>= `backintime` PKGBUILD changes:
--- a/backintime/PKGBUILD
+++ b/backintime/PKGBUILD
@@ -4,23 +4,19 @@
# Contributor: Dylon Edwards <deltaecho@archlinux.us>
pkgname=(backintime backintime-gtk backintime-gnome backintime-kde4)
-pkgver=1.0.34
-pkgrel=4
+pkgver=1.0.36
+pkgrel=3
arch=('any')
url="http://backintime.le-web.org/"
license=('GPL')
depends=('openssh' 'python2' 'rsync' 'cron' 'python2-keyring' 'python2-secretstorage')
optdepends=('openssh: Support for remote backups over SFTP')
-source=("http://backintime.le-web.org/download/backintime/backintime-$pkgver.tar.gz"
-disable_keyring_for_root.patch)
-sha256sums=('2e1846e32e0649d4c0562c5c3821373354591b1ed22116066f1013c7775ea9d6'
- '57cd118f98f44ceb6d8dd605b1047e815c141d29e2dbac7fe8d1c1aaa242fc58')
+source=("http://backintime.le-web.org/download/backintime/backintime-$pkgver.tar.gz")
+sha256sums=('40ff1ed81fa4de3302acbc0154f2ec9ee17e77423d35e17c66eb110c2c171666')
prepare() {
- cd common
- patch -Np1 -i "$srcdir/disable_keyring_for_root.patch"
-
# per Germar's request on 2014-03-03 13:03
+ # upstream will not be patching as this seems to be an Arch-specific issue
sed -i 's/gksu/gksudo/' "$srcdir/gnome/backintime-gnome-root.desktop"
}
@@ -104,4 +100,5 @@
make DESTDIR="$pkgdir" install
sed -e 's|^python |python2 |g' -e 's|^ssh-agent python |ssh-agent python2 |g' \
-i "$pkgdir"/usr/bin/*
+ sed -i 's/kdesudo/kdesu/' "$pkgdir/usr/share/applications/kde4/backintime-kde4-root.desktop"
}
aura >>= `powerpill` PKGBUILD changes:
--- a/powerpill/PKGBUILD
+++ b/powerpill/PKGBUILD
@@ -1,25 +1,25 @@
#Maintainer: Xyne <ac xunilhcra enyx, backwards>
pkgname=powerpill
-pkgver=2014.8
+pkgver=2014.8.17
pkgrel=1
pkgdesc='Pacman wrapper for parallel and segmented downloads.'
arch=(any)
license=(GPL)
url="http://xyne.archlinux.ca/projects/powerpill"
depends=(python3 pyalpm 'pm2ml>2012.12.12' reflector aria2)
-optdepends=('rsync: Rsync download support' 'python3-threaded_servers: internal Pacserve support')
+optdepends=('python3-threaded_servers: internal Pacserve support' 'rsync: Rsync download support')
backup=(etc/powerpill/powerpill.json)
source=(
- http://xyne.archlinux.ca/projects/powerpill/src/powerpill-2014.8.tar.xz
- http://xyne.archlinux.ca/projects/powerpill/src/powerpill-2014.8.tar.xz.sig
+ http://xyne.archlinux.ca/projects/powerpill/src/powerpill-2014.8.17.tar.xz
+ http://xyne.archlinux.ca/projects/powerpill/src/powerpill-2014.8.17.tar.xz.sig
)
sha512sums=(
- b8dc95b8b6861107d92d46d0aa1b598c5c22ac61974369e5142e1a0bcd94dd922fa90ed5050182a571677fc0932295946eb51068efe9aa9dba37e47a48fba1d3
- 05d5507a1a546009824d313efe504ca42d3be018e8b88e68ce3a8edb92f13bbfaf4a19d0c8287a1ec3a893d6cc46814bee454487ccb58410f4f36592c9952a02
+ db7b499f0b339b7f3781b162975fdb60386a8ded569c6de101bca4d9ac197aa1a12f44c9b29c9697f91b251aace519e53f30dc816511eb70dbac4faae88362a1
+ 86d358ac2f28fc37a5a9d9582beb5ca8d19a05efbaf27d80d943eaeba0a6fccf4a79085a235af51246895b6e163e258624f3f490c03daa1b579963d63baa7d94
)
md5sums=(
- 7b5945d4fc4b6983647a88f79a7cddc2
- bfe3c1c79e9c89e48bd0c93d898d991c
+ e149628be80217c4999d76cf457f06c7
+ f292acde4329b9906cd09bba32c963a2
)
install=powerpill.install
aura >>= `vlc-git` PKGBUILD changes:
--- a/vlc-git/PKGBUILD
+++ b/vlc-git/PKGBUILD
@@ -1,4 +1,5 @@
-# Maintainer : Rob McCathie <archaur at rmcc dot com dot au>
+# Maintainer : No one
+# Contributor: Rob McCathie <korrode at gmail>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
# Contributor: Martin Sandsmark <martin.sandsmark@kde.org>
@@ -9,7 +10,7 @@
_name=vlc
pkgname=vlc-git
-pkgver=3.0.r57697.g5fff213
+pkgver=3.0.r58053.gefa6a6f
pkgrel=1
pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player. Development GIT Version."
arch=('i686' 'x86_64')
@@ -17,65 +18,36 @@
license=('LGPL2.1' 'GPL2')
## Arch VLC package
-#depends=('a52dec' 'libdvbpsi' 'libxpm' 'libdca' 'qt4' 'libproxy'
-# 'sdl_image' 'libdvdnav' 'libtiger' 'lua' 'libmatroska'
-# 'zvbi' 'taglib' 'libmpcdec' 'ffmpeg' 'faad2' 'libupnp'
-# 'libshout' 'libmad' 'libmpeg2' 'xcb-util-keysyms' 'libtar'
-# 'libxinerama')
-#makedepends=('live-media' 'libnotify' 'libbluray' 'flac' 'kdelibs'
-# 'libdc1394' 'libavc1394' 'lirc-utils' 'libcaca'
-# 'librsvg' 'portaudio' 'libgme' 'xosd' 'projectm'
-# 'twolame' 'aalib' 'libmtp' 'libdvdcss' 'gnome-vfs'
-# 'libgoom2' 'vcdimager' 'opus' 'libssh2' 'mesa')
-
-## I'll be testing and re-enabling features soon. Post in AUR comments stuff you want that's currently disabled.
-
-depends=('a52dec' 'libdvbpsi' 'libxpm' 'qt4'
- 'sdl_image' 'libdvdnav' 'lua' 'libmatroska'
- 'libmpcdec' 'ffmpeg' 'faad2' 'libupnp'
- 'libmad' 'libmpeg2' 'xcb-util-keysyms'
- 'libxinerama'
- 'x264' 'fluidsynth')
-makedepends=('live-media' 'libbluray' 'flac' 'kdelibs'
- 'libdc1394' 'libavc1394' 'lirc-utils'
- 'librsvg' 'projectm'
- 'twolame' 'aalib' 'libdvdcss'
- 'vcdimager' 'opus' 'libssh2' 'mesa'
+depends=('a52dec' 'libdvbpsi' 'libxpm' 'libdca' 'qt4' 'libproxy'
+ 'sdl_image' 'libdvdnav' 'libtiger' 'lua' 'libmatroska'
+ 'zvbi' 'taglib' 'libmpcdec' 'ffmpeg' 'faad2' 'libupnp'
+ 'libshout' 'libmad' 'libmpeg2' 'xcb-util-keysyms' 'libtar'
+ 'libxinerama')
+makedepends=('live-media' 'libnotify' 'libbluray' 'flac' 'kdelibs'
+ 'libdc1394' 'libavc1394' 'lirc-utils' 'libcaca'
+ 'librsvg' 'portaudio' 'libgme' 'xosd' 'projectm'
+ 'twolame' 'aalib' 'libmtp' 'libdvdcss' 'gnome-vfs'
+ 'libgoom2' 'vcdimager' 'opus' 'libssh2' 'mesa'
'git')
-## Arch VLC package
-#optdepends=('avahi: for service discovery using bonjour protocol'
-# 'libnotify: for notification plugin'
-# 'ncurses: for ncurses interface support'
-# 'libdvdcss: for decoding encrypted DVDs'
-# 'lirc-utils: for lirc plugin'
-# 'libavc1394: for devices using the 1394ta AV/C'
-# 'libdc1394: for IEEE 1394 plugin'
-# 'kdelibs: KDE Solid hardware integration'
-# 'libva-vdpau-driver: vdpau back-end for nvidia'
-# 'libva-intel-driver: back-end for intel cards'
-# 'libbluray: for Blu-Ray support'
-# 'flac: for Free Lossless Audio Codec plugin'
-# 'portaudio: for portaudio support'
-# 'twolame: for TwoLAME mpeg2 encoder plugin'
-# 'projectm: for ProjectM visualisation plugin'
-# 'libcaca: for colored ASCII art video output'
-# 'libgme: for libgme plugin'
-# 'librsvg: for SVG plugin'
-# 'gnome-vfs: for GNOME Virtual File System support'
-# 'libgoom2: for libgoom plugin'
-# 'vcdimager: navigate VCD with libvcdinfo'
-# 'aalib: for ASCII art plugin'
-# 'libmtp: for MTP devices support'
-# 'smbclient: for SMB access plugin'
-# 'libcdio: for audio CD playback support'
-# 'ttf-freefont: for subtitle font '
-# 'ttf-dejavu: for subtitle font'
-# 'opus: for opus support'
-# 'libssh2: for sftp support'
-# 'lua-socket: for http interface')
+## Rob's old minimalised deps for combating segfault
+#depends=('a52dec' 'libdvbpsi' 'libxpm' 'qt4'
+# 'sdl_image' 'libdvdnav' 'lua' 'libmatroska'
+# 'libmpcdec' 'ffmpeg' 'faad2' 'libupnp'
+# 'libmad' 'libmpeg2' 'xcb-util-keysyms'
+# 'libxinerama'
+# 'x264' 'fluidsynth')
+#makedepends=('live-media' 'libbluray' 'flac' 'kdelibs'
+# 'libdc1394' 'libavc1394' 'lirc-utils'
+# 'librsvg' 'projectm'
+# 'twolame' 'aalib' 'libdvdcss'
+# 'vcdimager' 'opus' 'libssh2' 'mesa'
+# 'git')
-optdepends=('ncurses: for ncurses interface support'
+## Arch VLC package
+optdepends=('avahi: for service discovery using bonjour protocol'
+ 'libnotify: for notification plugin'
+ 'ncurses: for ncurses interface support'
'libdvdcss: for decoding encrypted DVDs'
'lirc-utils: for lirc plugin'
'libavc1394: for devices using the 1394ta AV/C'
@@ -85,11 +57,18 @@
'libva-intel-driver: back-end for intel cards'
'libbluray: for Blu-Ray support'
'flac: for Free Lossless Audio Codec plugin'
+ 'portaudio: for portaudio support'
'twolame: for TwoLAME mpeg2 encoder plugin'
'projectm: for ProjectM visualisation plugin'
+ 'libcaca: for colored ASCII art video output'
+ 'libgme: for libgme plugin'
'librsvg: for SVG plugin'
+ 'gnome-vfs: for GNOME Virtual File System support'
+ 'libgoom2: for libgoom plugin'
'vcdimager: navigate VCD with libvcdinfo'
'aalib: for ASCII art plugin'
+ 'libmtp: for MTP devices support'
+ 'smbclient: for SMB access plugin'
'libcdio: for audio CD playback support'
'ttf-freefont: for subtitle font '
'ttf-dejavu: for subtitle font'
@@ -97,14 +76,37 @@
'libssh2: for sftp support'
'lua-socket: for http interface')
+## Rob's old minimalised optdeps
+#optdepends=('ncurses: for ncurses interface support'
+# 'libdvdcss: for decoding encrypted DVDs'
+# 'lirc-utils: for lirc plugin'
+# 'libavc1394: for devices using the 1394ta AV/C'
+# 'libdc1394: for IEEE 1394 plugin'
+# 'kdelibs: KDE Solid hardware integration'
+# 'libva-vdpau-driver: vdpau back-end for nvidia'
+# 'libva-intel-driver: back-end for intel cards'
+# 'libbluray: for Blu-Ray support'
+# 'flac: for Free Lossless Audio Codec plugin'
+# 'twolame: for TwoLAME mpeg2 encoder plugin'
+# 'projectm: for ProjectM visualisation plugin'
+# 'librsvg: for SVG plugin'
+# 'vcdimager: navigate VCD with libvcdinfo'
+# 'aalib: for ASCII art plugin'
+# 'libcdio: for audio CD playback support'
+# 'ttf-freefont: for subtitle font '
+# 'ttf-dejavu: for subtitle font'
+# 'opus: for opus support'
+# 'libssh2: for sftp support'
+# 'lua-socket: for http interface')
+
conflicts=("${_name}" 'vlc-stable-git' 'vlc-dev' 'vlc-plugin')
provides=("${_name}=${pkgver}")
backup=('usr/share/vlc/lua/http/.hosts'
'usr/share/vlc/lua/http/dialogs/.hosts')
options=('!emptydirs')
-install="${pkgname}.install"
+install="${_name}.install"
source=('git://git.videolan.org/vlc.git')
-sha1sums=('SKIP')
+md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${_name}"
@@ -124,28 +126,13 @@
build() {
cd "${srcdir}/${_name}"
+
msg 'Generating necessary files...'
./bootstrap
msg 'Done. Configuring VLC...'
## Arch VLC package
-# CFLAGS+=" -I/usr/include/samba-4.0" CPPFLAGS+=" -I/usr/include/samba-4.0" \
-# ./configure --prefix=/usr \
-# --sysconfdir=/etc \
-# --disable-rpath \
-# --enable-faad \
-# --enable-nls \
-# --enable-lirc \
-# --enable-ncurses \
-# --enable-realrtsp \
-# --enable-aa \
-# --enable-vcdx \
-# --enable-upnp \
-# --enable-opus \
-# --enable-sftp \
-# LUAC=/usr/bin/luac LUA_LIBS="`pkg-config --libs lua`" \
-# RCC=/usr/bin/rcc-qt4
-
+ CFLAGS+=" -I/usr/include/samba-4.0" CPPFLAGS+=" -I/usr/include/samba-4.0" \
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-rpath \
@@ -159,79 +146,97 @@
--enable-upnp \
--enable-opus \
--enable-sftp \
- --disable-atmo \
- --disable-bonjour \
- --disable-caca \
- --disable-coverage \
- --disable-cprof \
- --disable-dbus \
- --disable-dbus-control \
- --disable-dca \
- --disable-debug \
- --disable-decklink \
- --disable-dirac \
- --disable-directfb \
- --disable-directx \
- --disable-dshow \
- --disable-dv \
- --disable-fbosd \
- --disable-fribidi \
- --disable-gme \
- --disable-gnomevfs \
- --disable-gnutls \
- --disable-goom \
- --disable-gprof \
- --disable-growl \
- --disable-jack \
- --disable-kate \
- --disable-libcddb \
- --disable-libgcrypt \
- --disable-libproxy \
- --disable-libtar \
- --disable-linsys \
- --disable-live555 \
- --disable-loader \
- --disable-macosx \
- --disable-macosx-audio \
- --disable-mod \
- --disable-mtp \
- --disable-notify \
- --disable-opencv \
- --disable-oss \
- --disable-portaudio \
- --disable-postproc \
- --disable-pulse \
- --disable-pvr \
- --disable-quicktime \
- --disable-run-as-root \
- --disable-schroedinger \
- --disable-shine \
- --disable-shout \
- --disable-sid \
- --disable-skins2 \
- --disable-smb \
- --disable-sqlite \
- --disable-switcher \
- --disable-taglib \
- --disable-telepathy \
- --disable-telx \
- --disable-tiger \
- --disable-tremor \
- --disable-udev \
- --disable-update-check \
- --disable-visual \
- --disable-waveout \
- --disable-wingdi \
- --disable-xosd \
- --disable-zvbi \
LUAC=/usr/bin/luac LUA_LIBS="`pkg-config --libs lua`" \
RCC=/usr/bin/rcc-qt4
+## Rob's old minimalised configuration for combating segfault
+# ./configure --prefix=/usr \
+# --sysconfdir=/etc \
+# --disable-rpath \
+# --enable-faad \
+# --enable-nls \
+# --enable-lirc \
+# --enable-ncurses \
+# --enable-realrtsp \
+# --enable-aa \
+# --enable-vcdx \
+# --enable-upnp \
+# --enable-opus \
+# --enable-sftp \
+# --disable-atmo \
+# --disable-bonjour \
+# --disable-caca \
+# --disable-coverage \
+# --disable-cprof \
+# --disable-dbus \
+# --disable-dbus-control \
+# --disable-dca \
+# --disable-debug \
+# --disable-decklink \
+# --disable-dirac \
+# --disable-directfb \
+# --disable-directx \
+# --disable-dshow \
+# --disable-dv \
+# --disable-fbosd \
+# --disable-fribidi \
+# --disable-gme \
+# --disable-gnomevfs \
+# --disable-gnutls \
+# --disable-goom \
+# --disable-gprof \
+# --disable-growl \
+# --disable-jack \
+# --disable-kate \
+# --disable-libcddb \
+# --disable-libgcrypt \
+# --disable-libproxy \
+# --disable-libtar \
+# --disable-linsys \
+# --disable-live555 \
+# --disable-loader \
+# --disable-macosx \
+# --disable-macosx-audio \
+# --disable-mod \
+# --disable-mtp \
+# --disable-notify \
+# --disable-opencv \
+# --disable-oss \
+# --disable-portaudio \
+# --disable-postproc \
+# --disable-pulse \
+# --disable-pvr \
+# --disable-quicktime \
+# --disable-run-as-root \
+# --disable-schroedinger \
+# --disable-shine \
+# --disable-shout \
+# --disable-sid \
+# --disable-skins2 \
+# --disable-smb \
+# --disable-sqlite \
+# --disable-switcher \
+# --disable-taglib \
+# --disable-telepathy \
+# --disable-telx \
+# --disable-tiger \
+# --disable-tremor \
+# --disable-udev \
+# --disable-update-check \
+# --disable-visual \
+# --disable-waveout \
+# --disable-wingdi \
+# --disable-xosd \
+# --disable-zvbi \
+# LUAC=/usr/bin/luac LUA_LIBS="`pkg-config --libs lua`" \
+# RCC=/usr/bin/rcc-qt4
+
msg 'Done. Starting make...'
make
}
package() {
cd "${srcdir}/${_name}"
+
make DESTDIR="${pkgdir}" install
}
aura >>= Determining dependencies...
^Caura >>= Dependency checking failed for these reasons:
The dependency `backintime` could not be found. You may need to search for a package to satisfy it.
[hritcu@detained testing]$ aura -A backintime
[sudo] password for hritcu:
aura >>= Determining dependencies...
^Caura >>= Dependency checking failed for these reasons:
The dependency `backintime` could not be found. You may need to search for a package to satisfy it.
[hritcu@detained testing]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment