Skip to content

Instantly share code, notes, and snippets.

@carstene1ns
Created January 11, 2014 11:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carstene1ns/c968774bb64ce4ac26d6 to your computer and use it in GitHub Desktop.
Save carstene1ns/c968774bb64ce4ac26d6 to your computer and use it in GitHub Desktop.
fix for splashy-full
--- autogen.sh 2013-03-02 20:09:42.190040802 +0100
+++ autogen2.sh 2013-03-02 20:11:45.925287638 +0100
@@ -7,7 +7,7 @@
# default version requirements ...
REQUIRED_AUTOCONF_VERSION=${REQUIRED_AUTOCONF_VERSION:-2.59}
-REQUIRED_AUTOMAKE_VERSION=${REQUIRED_AUTOMAKE_VERSION:-1.9}
+REQUIRED_AUTOMAKE_VERSION=${REQUIRED_AUTOMAKE_VERSION:-1.14}
REQUIRED_LIBTOOL_VERSION=${REQUIRED_LIBTOOL_VERSION:-1.5}
REQUIRED_GETTEXT_VERSION=${REQUIRED_GETTEXT_VERSION:-0.12}
REQUIRED_GLIB_GETTEXT_VERSION=${REQUIRED_GLIB_GETTEXT_VERSION:-2.2.0}
@@ -266,7 +266,8 @@
1.8*) automake_progs="automake-1.8 automake-1.9 automake-1.10" ;;
1.9*) automake_progs="automake-1.9 automake-1.10" ;;
1.10*) automake_progs="automake-1.10" ;;
+ 1.14*) automake_progs="automake-1.14" ;;
esac
version_check automake AUTOMAKE "$automake_progs" $REQUIRED_AUTOMAKE_VERSION \
"http://ftp.gnu.org/pub/gnu/automake/automake-$REQUIRED_AUTOMAKE_VERSION.tar.gz" || DIE=1
# Maintainer: Jorge Barroso <jorge.barroso.11 at gmail dot com>
# Contributors: Det, Lexiw, Angel 'angvp' Velasquez, dongiovanni,
# Darwin Bautista, Jeremy Sands, carstene1ns
# And the people here: http://bbs.archlinux.org/viewtopic.php?id=48978
pkgname=splashy-full
pkgver=20130302
pkgrel=4
pkgdesc="A boot splashing system"
arch=('any')
url="http://anonscm.debian.org/gitweb/?p=splashy/splashy;a=summary"
license=('GPL')
depends=('mkinitcpio' 'sysfsutils' 'glib2' 'directfb')
makedepends=('git')
options=('!libtool' '!distcc' '!makeflags')
provides=(splashy)
install=$pkgname.install
backup=(etc/splash.conf
etc/splashy/config.xml)
source=(splashy::git+https://alioth.debian.org/anonscm/git/splashy/splashy.git
splash.conf
splash-initscripts
splashy-functions
initcpio_hook
initcpio_install
automake1.10.patch
configure.ac.patch)
sha512sums=('SKIP'
'd48cffcd5f810c53100011b4f4b5437b69c2e0da3d261d22907dcbe20515abbeef06755c367ff3f0a77bf830eb67e165bb62eea717af76b4bcb0b631832af830'
'd60dbb2b71f30b1d94a43f28fd8219df6271c08b26e92b5bd43d0beed0e9360afa1de250af01af104811cfcb7b30458669689d10b74a197033d6def562f60f3e'
'c2cb16c9f61eb1feea8ebc22daa03d0aa3633caa30d2e45112e11da02940ee0028cb5e65e7ca07ae090f71150488ac0938e98dd4066b0e1e732710b96b1f99a3'
'270511c7336aaf0dea0db13c868ebd93916519bb042c245f031703cc49ad395c444f33817803fbd11fa5e6dca42624135223028176bec8deae9622f15caf4494'
'5d12f6edcf572d26daf51b95aba98db1097ff2f2aeab4cd6cc400ba84b1194589d5a0a0360f9f929f2fcf63c79e107892401d38336ef908794447c14bda2fdb8'
'a114140246d56d2fe273ac80bf31d1f0fb64f0e9cc45ff86126fcdb2576604d6be358a340a9364e4a741864f2572b0f744dc7371b64b6cb85c6fcee89bafb906'
'2ede62cc64e5348b564a93d07449bd3d60296203ca8112ded073239e77f288be52e774b3cd5fe2026d41cb8bc117b45c00208653809da0d2056a85ad8fab152f')
build() {
cd splashy
# Fix the build
sed -e 's|-Werror||g' -i configure.ac
patch -p1 ./autogen.sh $srcdir/automake1.10.patch
patch -p1 ./configure.ac $srcdir/configure.ac.patch
./autogen.sh --prefix=/usr \
--libdir=/usr/lib \
--sysconfdir=/etc \
--sbindir=/sbin \
--datarootdir=/usr/share \
--mandir=/usr/share/man \
--includedir=/usr/include
make
}
package() {
cd splashy
make DESTDIR="$pkgdir/" install
rm -rf "$pkgdir/"{etc/{console-tools,default,init.d,lsb-base-logging.sh},usr/share/initramfs-tools}
install -Dm644 ../initcpio_install "$pkgdir"/usr/lib/initcpio/install/splashy
install -Dm644 ../initcpio_hook "$pkgdir"/usr/lib/initcpio/hooks/splashy
install -Dm644 ../splashy-functions "$pkgdir"/etc/rc.d/splashy-functions
install -Dm644 ../splash-initscripts "$pkgdir"/etc/rc.d/functions.d/splash
install -Dm644 ../splash.conf "$pkgdir"/etc/splash.conf
sed -e 's|>/etc/splashy/themes<|>/usr/share/splashy/themes<|' -i "$pkgdir"/etc/splashy/config.xml
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment