[SOLVED] Vessel PKGBUILD

Since Vessel from HIB6 just hit linux I decided to take a stab at the PKGBUILD. This is based on the supermeatboy PKGBUILD from AUR.
# Maintainer: afettouhi <[email protected]>
pkgname=vessel
pkgver=08122012
_pkgver=12082012
pkgrel=1
pkgdesc="Vessel is a physics-based, steampunk puzzle-platform video game developed by Strange Loop Games."
url="http://www.supermeatboy.com/"
license=('custom')
arch=('i686' 'x86_64')
groups=("humble-indie-bundle6" "games")
depends=('openal' 'sdl')
source=("${pkgname}-${_pkgver}-bin"
"${pkgname}.install"
"${pkgname}.desktop"
"${pkgname}.sh")
md5sums=("cdb4e42ac3dede4478f54bfe15ebfbeb"
"b25345577b44fbeeba96c6cc87f11c1e"
"6057700248d5796056b1096962d53877"
"174d23fe24b496e2cdda1d136327174e")
makedepends=('unzip')
options=('!strip')
# if [[ -f "${source[0]%%:*}" ]]; then
# makedepends=('unzip')
# else
# makedepends=('unzip' 'humblepie')
# fi
PKGEXT=".pkg.tar"
package() {
mkdir -p "${pkgdir}/opt/games/${pkgname}"
[[ -f "${source[0]}" ]] ||
error "Place the game or a symlink to the game in ${startdir}"
unzip -u "${source[0]}" -d "${pkgdir}/opt/games/${pkgname}" || true
find "${pkgdir}" -type f -exec chmod 644 "{}" +
install -Dm644 "${pkgname}".desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -Dm755 "${pkgname}".sh "${pkgdir}/usr/bin/${pkgname}"
chmod 755 "${pkgdir}/opt/games/${pkgname}/data/Vessel" \
"${pkgdir}/opt/games/${pkgname}/data/x86/vessel.x86"
# vim: ft=PKGBUILD sts=2 ts=2 sw=2 et
here are the install, desktop and sh files as well.
vessel.desktop:
[Desktop Entry]
Encoding=UTF-8
Value=1.0
Type=Application
Name=Vessel
GenericName=Vessel
Comment=Vessel is a physics-based, steampunk puzzle-platform video game developed by Strange Loop Games
Icon=/opt/games/vessel/data/Vessel.bmp
Exec=/opt/games/vessel/data/Vessel
Categories=Game
Path=/opt/games/vessel
vessel.install:
post_install() {
echo "If you used the torrent download option,"
echo "please remember to reseed!"
post_upgrade() {
post_install
# vim:set ts=2 sw=2 et:
and finally vessel.sh:
#!/usr/bin/env bash
exec /opt/games/vessel/data/Vessel
I currently have two issues with the PKGBUILD.
1. The icon for the desktop file is currently only available as a bmp file. So should I just make a png from that?
2. when I try to make a the src package in order to upload it to AUR. It pulls in the vessel bin file, so that the src.tar.gz is 455 MB. How do I avoid that?
Last edited by fettouhi (2014-10-02 08:50:43)

fettouhi wrote:@ibrunoton: Do you have lib32-libtxc_dxtn installed as well?
I just tried that, and got this error message when I tried to run vessel:
libGL error: failed to load driver: r600
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
LLVM ERROR: Program used external function '' which could not be resolved!
pure virtual method called
terminate called without an active exception
/opt/games/vessel/data/Vessel: line 19: 30049 Aborted (core dumped) ./x86/vessel.x86

Similar Messages

  • [SOLVED] EurKEY PKGBUILD request for comments

    Hi, I just finished a PKGBUILD for EurKEY "European Keyboard Layout". It installs and removes fine on my system, and I took care to respect the packaging standards, but before submitting it to AUR I would like to get any comments/suggestions.
    PKGBUILD
    # Maintainer: Christoph Roeper <cr (at) roeper (dot) biz>
    pkgname=eurkey
    pkgver=1.1
    pkgrel=1
    pkgdesc="The European Keyboard Layout"
    arch=('any')
    url="http://eurkey.steffen.bruentjen.eu/"
    license=('GPL3')
    depends=('xkeyboard-config' 'sed' 'gawk')
    install="$pkgname.install"
    source=(http://eurkey.steffen.bruentjen.eu/download/debian/binary/eurkey.deb)
    md5sums=('8da8472f8f8d30baaa6a50145264024b')
    package() {
    cd "$srcdir"
    ar x $pkgname.deb
    tar xzf data.tar.gz -C "$pkgdir/"
    cd "${pkgdir}"
    # euro on '5', swap with pound
    awk='\
    BEGIN { fix = 0 } \
    if ( $2 == "<AE04>" ) { $7="sterling,"; fix = 1 } \
    else if ( $2 == "<AE05>" ) { $7="EuroSign,"; fix = 1 } \
    if ( fix == 1 ) { printf "%11s %s %s %s%16s%19s%22s%21s %s %s\n",$1,$2,$3,$4,$5,$6,$7,$8,$9,$10; fix = 0 } \
    else { print } \
    file="usr/share/X11/xkb/symbols/eurkey"
    tmpfile="$file".`date +%FT%T`.temp
    awk -- "$awk" $file > $tmpfile
    cat $tmpfile > $file
    rm $tmpfile
    pkgname.install
    post_install() {
    # Installs the EurKEY layout.
    if test "$EUID" = 0; then SUDO=; else SUDO=sudo; fi
    exec $SUDO bash /dev/stdin "$@" <<'ENDSUDO'
    set -e
    str=" <layout>\n\
    <configItem>\n\
    <name>eurkey</name>\n\
    <shortDescription>EUR</shortDescription>\n\
    <description>EurKEY</description>\n\
    <languageList>\n\
    <iso639Id>cat</iso639Id>\n\
    <iso639Id>dan</iso639Id>\n\
    <iso639Id>eng</iso639Id>\n\
    <iso639Id>est</iso639Id>\n\
    <iso639Id>fao</iso639Id>\n\
    <iso639Id>fin</iso639Id>\n\
    <iso639Id>ger</iso639Id>\n\
    <iso639Id>gre</iso639Id>\n\
    <iso639Id>gsw</iso639Id>\n\
    <iso639Id>ita</iso639Id>\n\
    <iso639Id>lav</iso639Id>\n\
    <iso639Id>lit</iso639Id>\n\
    <iso639Id>nld</iso639Id>\n\
    <iso639Id>nor</iso639Id>\n\
    <iso639Id>por</iso639Id>\n\
    <iso639Id>spa</iso639Id>\n\
    <iso639Id>swe</iso639Id>\n\
    </languageList>\n\
    </configItem>\n\
    </layout>\n\
    </layoutList>"
    for file in /usr/share/X11/xkb/rules/{base,evdev}.xml; do
    if [ ! -f "$file" ]; then
    echo "File $file is not a regular file (skipped)"
    elif [ $(grep -ci eurkey "$file") -ne 0 ]; then
    echo "File $file already constains eurkey (skipped)"
    else
    echo "processing $file"
    sed -i "s~</layoutList>~$str~" "$file"
    fi
    done
    ENDSUDO
    pre_remove() {
    # Removes the EurKEY layout.
    if test "$EUID" = 0; then SUDO=; else SUDO=sudo; fi
    exec $SUDO bash /dev/stdin "$@" <<'ENDSUDO'
    set -e
    for file in {/etc/vconsole.conf,/etc/X11/xorg.conf.d/*keyboard*}; do
    if [ -f $file ]; then
    [ `grep -ci '^\s*[^#].*eurkey' $file` -ne 0 ] && echo -e "Cannot completely remove EurKEY since it's still configured in $file.\nPlease remove it manually or use the settings manager." && exit 1
    fi
    done
    exit 0
    ENDSUDO
    post_remove() {
    # Removes the EurKEY layout.
    if test "$EUID" = 0; then SUDO=; else SUDO=sudo; fi
    exec $SUDO bash /dev/stdin "$@" <<'ENDSUDO'
    set -e
    awk='
    BEGIN { output = 1 ; buffer = "" }
    $0~/<layout>/ { output = 0 ; deleteSection = 0 }
    output == 1 { print $0 }
    $0~/<\/layout>/ { output = 1 ; buffer = buffer $0 ; if (deleteSection == 0) print buffer ; buffer = "" }
    $0~/<name>eurkey<\/name>/ { deleteSection = 1 }
    output == 0 { buffer = buffer $0 "\n" }
    for file in /usr/share/X11/xkb/rules/{base,evdev}.xml; do
    if test -f "$file"; then
    tmpfile="$file".`date +%FT%T`.temp
    echo "processing $file"
    awk -- "$awk" $file > $tmpfile
    cat $tmpfile > $file
    rm $tmpfile
    fi
    done
    ENDSUDO
    'sed' and 'awk' are neither build nor run-time dependencies, both are install dependencies, but I did not find a proper option for that.
    The (un-)install-scripts are taken from the Debian source, however with deb-packages it is obviously possible to abort  pre/post_remove on failure (here used if the keyboard layout is still in use => no uninstall). I did not find a proper way to accomplish this with PKGBUILD install scripts.
    Both scripts a rather long, but in other review requests forum veterans preferred to have scripts posted here instead of a link to AUR or pastebin. If it's nevertheless wrong I will relocate the scripts.
    Thanks in advance.
    Last edited by roepi (2014-03-17 17:42:44)

    If you still want to modify the XML, I would use xmlstarlet instead of awk/sed. I haven't tested the following scripts so they will probably need some debugging but they should give you a general idea of what I would do.
    The post remove script would be reduced to:
    set -e
    # xpath selector to select layouts that are named eurkey
    xpath='/xkbConfigRegistry/layoutList/layout/configItem/name[text()="eurkey"]/../..'
    for file in /usr/share/X11/xkb/rules/{base,evdev}.xml; do
    [[ -f "$file" ]] && xml ed --inplace -d "$xpath" "$file"
    done
    And the post install script would become:
    set -e
    xpath='/xkbConfigRegistry/layoutList/layout/configItem/name[text()="eurkey"]'
    for file in /usr/share/X11/xkb/rules/{base,evdev}.xml; do
    if [[ ! -f "$file" ]]; then
    echo "File $file is not a regular file (skipped)"
    elif xml sel -t -c "$xpath" $file >/dev/null; then
    echo "File $file already constains eurkey (skipped)"
    else
    echo "processing $file"
    xml ed -P -L \
    -s /xkbConfigRegistry/layoutList -t elem -n layoutTMP -v '' \
    -s //layoutTMP -t elem -n configItem -v '' \
    -s //layoutTMP/configItem -t elem -n name -v 'eurkey' \
    -s //layoutTMP/configItem -t elem -n shortDescription -v 'EUR' \
    -s //layoutTMP/configItem -t elem -n description -v 'EurKEY' \
    -s //layoutTMP/configItem -t elem -n languageList -v '' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'cat' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'dan' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'eng' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'est' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'fao' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'fin' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'ger' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'gre' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'gsw' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'ita' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'lav' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'lit' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'nld' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'nor' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'por' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'spa' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'swe' \
    -r //layoutTMP -v layout \
    "$file"
    fi
    done

  • (SOLVED) 1st PKGBUILD & submission to AUR, cant do "makepkg --source"

    I'm trying to add my own Live kernel to AUR
    it is kernel 2.6.35.6 patched with Tuxonice, BFS, BFQ, Aufs2 and squashfs-lzma
    however, when I do  "makepkg --source"
    it fails saying
    PKGBUILD: line 34: syntax error near unexpected token `('
    heres my PKGBUILD; mostly taken from the AUR's kernel26-pf PKGBUILD
    # Original PKGBUILD from kernel26-pf
    # Maintainer: <thepenandpaper at gmail dot com>
    _basekernel=2.6.35
    _pkgname=kernel26-livez
    _pfrel=1
    pkgname=kernel26-livez
    pkgver=${_basekernel}
    pkgrel=${_pfrel}
    _kernelname=-livez
    arch=(i686 x86_64)
    _pkgdesc="Linux kernel and modules with patches (BFS included), tuxonice, BFQ]. Also included: aufs2 and squashfs-lzma."
    pkgdesc=${_pkgdesc}
    license=('GPL2')
    groups=('base')
    backup=(etc/mkinitcpio.d/${_pkgname}.preset)
    depends=('coreutils' 'module-init-tools' 'linux-firmware' 'mkinitcpio>=0.5.20')
    optdepends=('crda: to set the correct wireless channels of your country'
    'pm-utils: utilities and scripts for suspend and hibernate power management'
    'tuxonice-userui: TuxOnIce userspace user interface'
    'hibernate-script: set of scripts for managing TuxOnIce, hibernation and suspend to RAM')
    # pwc, ieee80211 and hostap-driver26 modules are included in kernel26 now
    # nforce package support was abandoned by nvidia, kernel modules should cover everything now.
    # kernel24 support is dropped since glibc24
    replaces=('kernel24' 'kernel24-scsi' 'kernel26-scsi'
    'alsa-driver' 'ieee80211' 'hostap-driver26'
    'pwc' 'nforce' 'squashfs' 'unionfs' 'ivtv'
    'zd1211' 'kvm-modules' 'iwlwifi' 'rt2x00-cvs'
    'gspcav1' 'atl2' 'wlan-ng26' 'aufs' 'rt2500')
    install='kernel26.install'
    source=(http://multidistro.com/downloads/kernel26-livez/linux-2.6.35.6.tar.bz2
    config config.x86_64 # the main kernel config files
    kernel26.preset # standard config files for mkinitcpio ramdisk
    sha256sums=('e25123d1397806015c9b480d9809834461af0aa90179d0404eae87db3598ae5e'
    provides=(${_pkgname}=${_basekernel}) # for $pkgname-optimized
    #provides=('kernel26-headers' 'kernel26=$pkgver') # for when you have no other kernel (which is a bad idea anyway)
    build() {
    KARCH=x86
    cd ${srcdir}/linux-${_basekernel}
    bzip2 -dk ${startdir}/logo_linux_*.bz2
    mv -f ${startdir}/logo_linux_*.p?m drivers/video/logo/
    bzip2 -dc ${srcdir}/${_pfpatchname} | patch -Np1
    patch -Np1 < ${srcdir}/aufs2-sqlzma.patch
    sed -i "s/EXTRAVERSION = -${_pfrel}/EXTRAVERSION = ${_kernelname}/" Makefile
    if [ "$CARCH" = "x86_64" ]; then
    cat ../config.x86_64 >./.config
    else
    cat ../config >./.config
    fi
    _arch=$CARCH
    echo
    echo "==================================================="
    echo "You might be prompted below for some config options"
    echo "==================================================="
    echo
    echo "Do you want to use your running kernel's config? (y/N)"
    echo "(needs IKCONFIG and IKCONFIG_PROC, run 'modprobe configs'"
    echo " as root before hitting <Y>, if uncertain)"
    read answer
    shopt -s nocasematch
    if [[ "$answer" = "y" ]]; then
    if [[ -s /proc/config.gz ]]; then
    echo "Extracting config from /proc/config.gz..."
    modprobe configs
    zcat /proc/config.gz > ./.config
    else
    echo "You kernel was not compiled with IKCONFIG_PROC. Using stock ARCH kernel .config (with BFS and TuxOnIce enabled)"
    fi
    fi
    if [ "${_kernelname}" != "" ]; then
    sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"\"|g" ./.config
    fi
    # Make some good use of MAKEFLAGS
    MAKEFLAGS=`grep -v '#' /etc/makepkg.conf | grep MAKEFLAGS= | sed s/MAKEFLAGS=// | sed s/\"//g`
    # get kernel version
    make ${MAKEFLAGS} prepare
    # uncomment to decrease kernel size and compilation time. However, be prepared to deal with missing modules :P
    # make localmodconfig
    # allows you to edit config
    # make menuconfig && cp -v .config ${startdir}/config && msg "Stopping build"
    # load configuration
    # yes "" | make config
    # This allows building cpu-optimized packages with according package names.
    # Useful for repo maintainers.
    CPU=`egrep "MK8=y|MCORE2=y|MPSC=y|MATOM=y|MPENTIUMII=y|MPENTIUMIII=y|MPENTIUMM=y|MPENTIUM4=y|MK7=y|CONFIG_GENERIC_CPU=y|CONFIG_X86_GENERIC=y" ./.config`
    CPU=`sed -e "s/CONFIG_M\(.*\)=y/\1/" <<<$CPU`
    case $CPU in
    CORE2)
    pkgname="${_pkgname}-core2"
    pkgdesc="${_pkgdesc} Intel Core2 optimized."
    K8)
    pkgname="${_pkgname}-k8"
    pkgdesc="${_pkgdesc} AMD K8 optimized."
    PSC)
    pkgname="${_pkgname}-psc"
    pkgdesc="${_pkgdesc} Intel Pentium4/D/Xeon optimized."
    ATOM)
    pkgname="${_pkgname}-atom"
    pkgdesc="${_pkgdesc} Intel Atom optimized."
    K7)
    pkgname="${_pkgname}-k7"
    pkgdesc="${_pkgdesc} AMD K7 optimized."
    PENTIUMII)
    pkgname="${_pkgname}-p3"
    pkgdesc="${_pkgdesc} Intel Pentium3 optimized."
    PENTIUMIII)
    pkgname="${_pkgname}-p2"
    pkgdesc="${_pkgdesc} Intel Pentium2 optimized."
    PENTIUMM)
    pkgname="${_pkgname}-pm"
    pkgdesc="${_pkgdesc} Intel Pentium-M optimized."
    PENTIUM4)
    pkgname="${_pkgname}-p4"
    pkgdesc="${_pkgdesc} Intel Pentium4 optimized."
    default)
    pkgname="${_pkgname}"
    pkgdesc="Linux kernel and modules with pf-kernel patch [-ck patchset (BFS included), tuxonice, BFQ, IMQ]. Also included: aufs2 and squashfs-lzma."
    esac
    # build!
    _kernver="$(make kernelrelease)"
    make ${MAKEFLAGS} bzImage modules
    ### package_kernel26
    mkdir -p ${pkgdir}/{lib/modules,boot}
    make INSTALL_MOD_PATH=${pkgdir} modules_install
    cp System.map ${pkgdir}/boot/System.map26${_kernelname}
    cp arch/$KARCH/boot/bzImage ${pkgdir}/boot/vmlinuz26${_kernelname}
    # add vmlinux
    # cp vmlinux ${pkgdir}/usr/src/linux-${_kernver}
    install -m644 -D vmlinux ${pkgdir}/usr/src/linux-${_kernver}/vmlinux
    # install fallback mkinitcpio.conf file and preset file for kernel
    install -m644 -D ${srcdir}/kernel26.preset ${pkgdir}/etc/mkinitcpio.d/${_pkgname}.preset
    # set correct depmod command for install
    sed \
    -e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/g" \
    -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
    -i ${startdir}/kernel26.install
    sed \
    -e "s|source .*|source /etc/mkinitcpio.d/kernel26${_kernelname}.kver|g" \
    -e "s|default_image=.*|default_image=\"/boot/${_pkgname}.img\"|g" \
    -e "s|fallback_image=.*|fallback_image=\"/boot/${_pkgname}-fallback.img\"|g" \
    -i ${pkgdir}/etc/mkinitcpio.d/${_pkgname}.preset
    echo -e "# DO NOT EDIT THIS FILE\nALL_kver='${_kernver}'" > ${pkgdir}/etc/mkinitcpio.d/${_pkgname}.kver
    ### package_kernel26-headers
    install -D -m644 Makefile \
    ${pkgdir}/usr/src/linux-${_kernver}/Makefile
    install -D -m644 kernel/Makefile \
    ${pkgdir}/usr/src/linux-${_kernver}/kernel/Makefile
    install -D -m644 .config \
    ${pkgdir}/usr/src/linux-${_kernver}/.config
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include
    for i in acpi asm-generic config generated linux math-emu media net pcmcia scsi sound trace video; do
    cp -a include/$i ${pkgdir}/usr/src/linux-${_kernver}/include/
    done
    # copy arch includes for external modules
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/x86
    cp -a arch/x86/include ${pkgdir}/usr/src/linux-${_kernver}/arch/x86/
    # copy files necessary for later builds, like nvidia and vmware
    cp Module.symvers ${pkgdir}/usr/src/linux-${_kernver}
    cp -a scripts ${pkgdir}/usr/src/linux-${_kernver}
    # fix permissions on scripts dir
    chmod og-w -R ${pkgdir}/usr/src/linux-${_kernver}/scripts
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/.tmp_versions
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/kernel
    cp arch/$KARCH/Makefile ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/
    if [ "$CARCH" = "i686" ]; then
    cp arch/$KARCH/Makefile_32.cpu ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/
    fi
    cp arch/$KARCH/kernel/asm-offsets.s ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/kernel/
    # add headers for lirc package
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video
    cp drivers/media/video/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/
    for i in bt8xx cpia2 cx25840 cx88 em28xx et61x251 pwc saa7134 sn9c102 usbvideo zc0301; do
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$i
    cp -a drivers/media/video/$i/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$i
    done
    # add docbook makefile
    install -D -m644 Documentation/DocBook/Makefile \
    ${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile
    # add dm headers
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/md
    cp drivers/md/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/md
    # add inotify.h
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include/linux
    cp include/linux/inotify.h ${pkgdir}/usr/src/linux-${_kernver}/include/linux/
    # add wireless headers
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/
    cp net/mac80211/*.h ${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/
    # add dvb headers for external modules
    # in reference to:
    # http://bugs.archlinux.org/task/9912
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core
    cp drivers/media/dvb/dvb-core/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core/
    # add dvb headers for external modules
    # in reference to:
    # http://bugs.archlinux.org/task/11194
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/
    [[ -e include/config/dvb/ ]] && cp include/config/dvb/*.h ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/
    # add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new
    # in reference to:
    # http://bugs.archlinux.org/task/13146
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
    cp drivers/media/dvb/frontends/lgdt330x.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
    cp drivers/media/video/msp3400-driver.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
    # add xfs and shmem for aufs building
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/fs/xfs
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/mm
    cp fs/xfs/xfs_sb.h ${pkgdir}/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h
    # add headers for virtualbox
    # in reference to:
    # http://bugs.archlinux.org/task/14568
    cp -a include/drm ${pkgdir}/usr/src/linux-${_kernver}/include/
    # add headers for broadcom wl
    # in reference to:
    # http://bugs.archlinux.org/task/14568
    cp -a include/trace ${pkgdir}/usr/src/linux-${_kernver}/include/
    # copy in Kconfig files
    for i in `find . -name "Kconfig*"`; do
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/`echo $i | sed 's|/Kconfig.*||'`
    cp $i ${pkgdir}/usr/src/linux-${_kernver}/$i
    done
    chown -R root.root ${pkgdir}/usr/src/linux-${_kernver}
    find ${pkgdir}/usr/src/linux-${_kernver} -type d -exec chmod 755 {} \;
    cd ${pkgdir}/lib/modules/${_kernver} && \
    (rm -f source build; ln -sf ../../../usr/src/linux-${_kernver} build)
    # remove unneeded architectures
    rm -rf ${pkgdir}/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,microblaze,mn10300,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,xtensa}
    # remove the firmware
    rm -rf ${pkgdir}/lib/firmware
    # eof
    line #34 is the sha256sum line
    heres the contents of the source folder "kernel26-livez"
    config
    config.x86_64
    kernel26.install
    kernel26.preset
    PKGBUILD
    can anyone tell me whats wrong,etc?
    I reall hate the syntax error issues as no matter how I have edited it, the same error?
    thanks
    Last edited by 72linus (2010-09-30 00:08:28)

    yep
    thanks guys I got it!
    PKGBUILD
    # Original PKGBUILD from kernel26-pf
    # Maintainer: <thepenandpaper at gmail dot com>
    _basekernel=2.6.35
    _pkgname=kernel26-livez
    _pfrel=1
    pkgname=kernel26-livez
    pkgver=${_basekernel}
    pkgrel=${_pfrel}
    _kernelname=-livez
    arch=(i686 x86_64)
    _pkgdesc="Linux kernel and modules with patches (BFS included), tuxonice, BFQ]. Also included: aufs2 and squashfs-lzma."
    pkgdesc=${_pkgdesc}
    license=('GPL2')
    groups=('base')
    backup=(etc/mkinitcpio.d/${_pkgname}.preset)
    depends=('coreutils' 'module-init-tools' 'linux-firmware' 'mkinitcpio>=0.5.20')
    optdepends=('crda: to set the correct wireless channels of your country'
    'pm-utils: utilities and scripts for suspend and hibernate power management'
    'tuxonice-userui: TuxOnIce userspace user interface'
    'hibernate-script: set of scripts for managing TuxOnIce, hibernation and suspend to RAM')
    # pwc, ieee80211 and hostap-driver26 modules are included in kernel26 now
    # nforce package support was abandoned by nvidia, kernel modules should cover everything now.
    # kernel24 support is dropped since glibc24
    replaces=('kernel24' 'kernel24-scsi' 'kernel26-scsi'
    'alsa-driver' 'ieee80211' 'hostap-driver26'
    'pwc' 'nforce' 'squashfs' 'unionfs' 'ivtv'
    'zd1211' 'kvm-modules' 'iwlwifi' 'rt2x00-cvs'
    'gspcav1' 'atl2' 'wlan-ng26' 'aufs' 'rt2500')
    install='kernel26.install'
    source=(http://multidistro.com/downloads/kernel26-livez/linux-2.6.35.6.tar.bz2
    config config.x86_64 # the main kernel config files
    kernel26.preset) # standard config files for mkinitcpio ramdisk
    sha256sums=('e25123d1397806015c9b480d9809834461af0aa90179d0404eae87db3598ae5e')
    provides=(${_pkgname}=${_basekernel}) # for $pkgname-optimized
    #provides=('kernel26-headers' 'kernel26=$pkgver') # for when you have no other kernel (which is a bad idea anyway)
    build() {
    KARCH=x86
    cd ${srcdir}/linux-${_basekernel}
    bzip2 -dk ${startdir}/logo_linux_*.bz2
    mv -f ${startdir}/logo_linux_*.p?m drivers/video/logo/
    bzip2 -dc ${srcdir}/${_pfpatchname} | patch -Np1
    patch -Np1 < ${srcdir}/aufs2-sqlzma.patch
    sed -i "s/EXTRAVERSION = -${_pfrel}/EXTRAVERSION = ${_kernelname}/" Makefile
    if [ "$CARCH" = "x86_64" ]; then
    cat ../config.x86_64 >./.config
    else
    cat ../config >./.config
    fi
    _arch=$CARCH
    echo
    echo "==================================================="
    echo "You might be prompted below for some config options"
    echo "==================================================="
    echo
    echo "Do you want to use your running kernel's config? (y/N)"
    echo "(needs IKCONFIG and IKCONFIG_PROC, run 'modprobe configs'"
    echo " as root before hitting <Y>, if uncertain)"
    read answer
    shopt -s nocasematch
    if [[ "$answer" = "y" ]]; then
    if [[ -s /proc/config.gz ]]; then
    echo "Extracting config from /proc/config.gz..."
    modprobe configs
    zcat /proc/config.gz > ./.config
    else
    echo "You kernel was not compiled with IKCONFIG_PROC. Using stock ARCH kernel .config (with BFS and TuxOnIce enabled)"
    fi
    fi
    if [ "${_kernelname}" != "" ]; then
    sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"\"|g" ./.config
    fi
    # Make some good use of MAKEFLAGS
    MAKEFLAGS=`grep -v '#' /etc/makepkg.conf | grep MAKEFLAGS= | sed s/MAKEFLAGS=// | sed s/\"//g`
    # get kernel version
    make ${MAKEFLAGS} prepare
    # uncomment to decrease kernel size and compilation time. However, be prepared to deal with missing modules :P
    # make localmodconfig
    # allows you to edit config
    # make menuconfig && cp -v .config ${startdir}/config && msg "Stopping build"
    # load configuration
    # yes "" | make config
    # This allows building cpu-optimized packages with according package names.
    # Useful for repo maintainers.
    CPU=`egrep "MK8=y|MCORE2=y|MPSC=y|MATOM=y|MPENTIUMII=y|MPENTIUMIII=y|MPENTIUMM=y|MPENTIUM4=y|MK7=y|CONFIG_GENERIC_CPU=y|CONFIG_X86_GENERIC=y" ./.config`
    CPU=`sed -e "s/CONFIG_M\(.*\)=y/\1/" <<<$CPU`
    case $CPU in
    CORE2)
    pkgname="${_pkgname}-core2"
    pkgdesc="${_pkgdesc} Intel Core2 optimized."
    K8)
    pkgname="${_pkgname}-k8"
    pkgdesc="${_pkgdesc} AMD K8 optimized."
    PSC)
    pkgname="${_pkgname}-psc"
    pkgdesc="${_pkgdesc} Intel Pentium4/D/Xeon optimized."
    ATOM)
    pkgname="${_pkgname}-atom"
    pkgdesc="${_pkgdesc} Intel Atom optimized."
    K7)
    pkgname="${_pkgname}-k7"
    pkgdesc="${_pkgdesc} AMD K7 optimized."
    PENTIUMII)
    pkgname="${_pkgname}-p3"
    pkgdesc="${_pkgdesc} Intel Pentium3 optimized."
    PENTIUMIII)
    pkgname="${_pkgname}-p2"
    pkgdesc="${_pkgdesc} Intel Pentium2 optimized."
    PENTIUMM)
    pkgname="${_pkgname}-pm"
    pkgdesc="${_pkgdesc} Intel Pentium-M optimized."
    PENTIUM4)
    pkgname="${_pkgname}-p4"
    pkgdesc="${_pkgdesc} Intel Pentium4 optimized."
    default)
    pkgname="${_pkgname}"
    pkgdesc="Linux kernel and modules with pf-kernel patch [-ck patchset (BFS included), tuxonice, BFQ, IMQ]. Also included: aufs2 and squashfs-lzma."
    esac
    # build!
    _kernver="$(make kernelrelease)"
    make ${MAKEFLAGS} bzImage modules
    ### package_kernel26
    mkdir -p ${pkgdir}/{lib/modules,boot}
    make INSTALL_MOD_PATH=${pkgdir} modules_install
    cp System.map ${pkgdir}/boot/System.map26${_kernelname}
    cp arch/$KARCH/boot/bzImage ${pkgdir}/boot/vmlinuz26${_kernelname}
    # add vmlinux
    # cp vmlinux ${pkgdir}/usr/src/linux-${_kernver}
    install -m644 -D vmlinux ${pkgdir}/usr/src/linux-${_kernver}/vmlinux
    # install fallback mkinitcpio.conf file and preset file for kernel
    install -m644 -D ${srcdir}/kernel26.preset ${pkgdir}/etc/mkinitcpio.d/${_pkgname}.preset
    # set correct depmod command for install
    sed \
    -e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/g" \
    -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
    -i ${startdir}/kernel26.install
    sed \
    -e "s|source .*|source /etc/mkinitcpio.d/kernel26${_kernelname}.kver|g" \
    -e "s|default_image=.*|default_image=\"/boot/${_pkgname}.img\"|g" \
    -e "s|fallback_image=.*|fallback_image=\"/boot/${_pkgname}-fallback.img\"|g" \
    -i ${pkgdir}/etc/mkinitcpio.d/${_pkgname}.preset
    echo -e "# DO NOT EDIT THIS FILE\nALL_kver='${_kernver}'" > ${pkgdir}/etc/mkinitcpio.d/${_pkgname}.kver
    ### package_kernel26-headers
    install -D -m644 Makefile \
    ${pkgdir}/usr/src/linux-${_kernver}/Makefile
    install -D -m644 kernel/Makefile \
    ${pkgdir}/usr/src/linux-${_kernver}/kernel/Makefile
    install -D -m644 .config \
    ${pkgdir}/usr/src/linux-${_kernver}/.config
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include
    for i in acpi asm-generic config generated linux math-emu media net pcmcia scsi sound trace video; do
    cp -a include/$i ${pkgdir}/usr/src/linux-${_kernver}/include/
    done
    # copy arch includes for external modules
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/x86
    cp -a arch/x86/include ${pkgdir}/usr/src/linux-${_kernver}/arch/x86/
    # copy files necessary for later builds, like nvidia and vmware
    cp Module.symvers ${pkgdir}/usr/src/linux-${_kernver}
    cp -a scripts ${pkgdir}/usr/src/linux-${_kernver}
    # fix permissions on scripts dir
    chmod og-w -R ${pkgdir}/usr/src/linux-${_kernver}/scripts
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/.tmp_versions
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/kernel
    cp arch/$KARCH/Makefile ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/
    if [ "$CARCH" = "i686" ]; then
    cp arch/$KARCH/Makefile_32.cpu ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/
    fi
    cp arch/$KARCH/kernel/asm-offsets.s ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/kernel/
    # add headers for lirc package
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video
    cp drivers/media/video/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/
    for i in bt8xx cpia2 cx25840 cx88 em28xx et61x251 pwc saa7134 sn9c102 usbvideo zc0301; do
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$i
    cp -a drivers/media/video/$i/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$i
    done
    # add docbook makefile
    install -D -m644 Documentation/DocBook/Makefile \
    ${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile
    # add dm headers
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/md
    cp drivers/md/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/md
    # add inotify.h
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include/linux
    cp include/linux/inotify.h ${pkgdir}/usr/src/linux-${_kernver}/include/linux/
    # add wireless headers
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/
    cp net/mac80211/*.h ${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/
    # add dvb headers for external modules
    # in reference to:
    # http://bugs.archlinux.org/task/9912
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core
    cp drivers/media/dvb/dvb-core/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core/
    # add dvb headers for external modules
    # in reference to:
    # http://bugs.archlinux.org/task/11194
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/
    [[ -e include/config/dvb/ ]] && cp include/config/dvb/*.h ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/
    # add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new
    # in reference to:
    # http://bugs.archlinux.org/task/13146
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
    cp drivers/media/dvb/frontends/lgdt330x.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
    cp drivers/media/video/msp3400-driver.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
    # add xfs and shmem for aufs building
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/fs/xfs
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/mm
    cp fs/xfs/xfs_sb.h ${pkgdir}/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h
    # add headers for virtualbox
    # in reference to:
    # http://bugs.archlinux.org/task/14568
    cp -a include/drm ${pkgdir}/usr/src/linux-${_kernver}/include/
    # add headers for broadcom wl
    # in reference to:
    # http://bugs.archlinux.org/task/14568
    cp -a include/trace ${pkgdir}/usr/src/linux-${_kernver}/include/
    # copy in Kconfig files
    for i in `find . -name "Kconfig*"`; do
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/`echo $i | sed 's|/Kconfig.*||'`
    cp $i ${pkgdir}/usr/src/linux-${_kernver}/$i
    done
    chown -R root.root ${pkgdir}/usr/src/linux-${_kernver}
    find ${pkgdir}/usr/src/linux-${_kernver} -type d -exec chmod 755 {} \;
    cd ${pkgdir}/lib/modules/${_kernver} && \
    (rm -f source build; ln -sf ../../../usr/src/linux-${_kernver} build)
    # remove unneeded architectures
    rm -rf ${pkgdir}/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,microblaze,mn10300,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,xtensa}
    # remove the firmware
    rm -rf ${pkgdir}/lib/firmware
    # eof
    kernel26.preset
    # mkinitcpio preset file for kernel26
    # DO NOT EDIT THIS LINE:
    source /etc/mkinitcpio.d/kernel26-livez.kver
    ALL_config="/etc/mkinitcpio.conf"
    PRESETS=('default' 'fallback')
    #default_config="/etc/mkinitcpio.conf"
    default_image="/boot/kernel26-livez.img"
    #default_options=""
    #fallback_config="/etc/mkinitcpio.conf"
    fallback_image="/boot/kernel26-livez-fallback.img"
    fallback_options="-S autodetect"
    kernel26.install
    # arg 1: the new package version
    # arg 2: the old package version
    KERNEL_NAME=-livez
    KERNEL_VERSION=2.6.35-livez
    post_install () {
    # updating module dependencies
    echo ">>> Updating module dependencies. Please wait ..."
    depmod $KERNEL_VERSION
    # generate init ramdisks
    echo ">>> MKINITCPIO SETUP"
    echo ">>> ----------------"
    echo ">>> If you use LVM2, Encrypted root or software RAID,"
    echo ">>> Ensure you enable support in /etc/mkinitcpio.conf ."
    echo ">>> More information about mkinitcpio setup can be found here:"
    echo ">>> http://wiki.archlinux.org/index.php/Mkinitcpio"
    echo ""
    echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..."
    /sbin/mkinitcpio -p kernel26${KERNEL_NAME}
    post_upgrade() {
    pacman -Q grub &>/dev/null
    hasgrub=$?
    pacman -Q grub2 &>/dev/null
    hasgrub2=$?
    pacman -Q lilo &>/dev/null
    haslilo=$?
    # reminder notices
    if [ $haslilo -eq 0 ]; then
    echo ">>>"
    if [ $hasgrub -eq 0 -o $hasgrub2 -eq 0 ]; then
    echo ">>> If you use the LILO bootloader, you should run 'lilo' before rebooting."
    else
    echo ">>> You appear to be using the LILO bootloader. You should run"
    echo ">>> 'lilo' before rebooting."
    fi
    echo ">>>"
    fi
    if grep "^[^#]*/boot" /etc/fstab 2>&1 >/dev/null; then
    if ! grep "/boot" /etc/mtab 2>&1 >/dev/null; then
    echo "WARNING: /boot appears to be a seperate partition but is not mounted"
    echo " This is most likely not what you want. Please mount your /boot"
    echo " partition and reinstall the kernel unless you are sure this is OK"
    fi
    fi
    if [ "`vercmp $2 2.6.13`" -lt 0 ]; then
    # important upgrade notice
    echo ">>>"
    echo ">>> IMPORTANT KERNEL UPGRADE NOTICE"
    echo ">>> -------------------------------"
    echo ">>> As of kernel 2.6.13, DevFS is NO LONGER AVAILABLE!"
    echo ">>> If you still use DevFS, please make the transition to uDev before"
    echo ">>> rebooting. If you really need to stay with DevFS for some reason,"
    echo ">>> then you can manually downgrade to an older version:"
    echo ">>>"
    echo ">>> # pacman -U http://archlinux.org/~judd/kernel/kernel26-scsi-2.6.12.2-1.pkg.tar.gz"
    echo ">>>"
    echo ">>> If you choose to downgrade, don't forget to add kernel26-scsi to your"
    echo ">>> IgnorePkg list in /etc/pacman.conf"
    echo ">>>"
    echo ">>> (NOTE: The following portion applies to uDev users as well!)"
    echo ">>>"
    echo ">>> If you use any DevFS paths in your GRUB menu.lst, then you will not"
    echo ">>> be able to boot! Change your root= parameter to use the classic"
    echo ">>> naming scheme."
    echo ">>>"
    echo ">>> EXAMPLES:"
    echo ">>> - change root=/dev/discs/disc0/part3 to root=/dev/sda3"
    echo ">>> - change root=/dev/md/0 to root=/dev/md0"
    echo ">>>"
    fi
    # generate new init ramdisk
    if [ "`vercmp $2 2.6.18`" -lt 0 ]; then
    echo ">>> --------------------------------------------------------------"
    echo ">>> | WARNING: |"
    echo ">>> |mkinitrd is not supported anymore in kernel >=2.6.18 series!|"
    echo ">>> | Please change to Mkinitcpio setup. |"
    echo ">>> --------------------------------------------------------------"
    echo ">>>"
    fi
    # updating module dependencies
    echo ">>> Updating module dependencies. Please wait ..."
    depmod $KERNEL_VERSION
    echo ">>> MKINITCPIO SETUP"
    echo ">>> ----------------"
    if [ "`vercmp $2 2.6.18`" -lt 0 ]; then
    echo ">>> Please change your bootloader config files:"
    echo ">>> Grub: /boot/grub/menu.lst | Lilo: /etc/lilo.conf"
    echo "------------------------------------------------"
    echo "| - initrd26.img to kernel26${KERNEL_NAME}.img |"
    echo "| - initrd26-full.img to kernel26${KERNEL_NAME}-fallback.img |"
    echo "------------------------------------------------"
    fi
    if [ "`vercmp $2 2.6.19`" -lt 0 ]; then
    echo ""
    echo ">>> New PATA/IDE subsystem - EXPERIMENTAL"
    echo ">>> ----------"
    echo ">>> To use the new pata drivers, change the 'ide' hook "
    echo ">>> to 'pata' in /etc/mkinicpio.conf HOOKS="
    echo ">>> The new system changes: /dev/hd? to /dev/sd?"
    echo ">>> Don't forget to modify GRUB, LILO and fstab to the"
    echo ">>> new naming system. "
    echo ">>> eg: hda3 --> sda3, hdc8 --> sdc8"
    echo ""
    echo ">>> piix/ata_piix (Intel chipsets) - IMPORTANT"
    echo "----------"
    echo ">>> If you have enabled ide/pata/sata HOOKs in /etc/mkinitcpio.conf"
    echo ">>> the 'ata_piix' module will be used."
    echo ">>> This may cause your devices to shift names, eg:"
    echo ">>> - IDE: devices from hd? to sd?"
    echo ">>> - SATA: sda might shift to sdc if you have 2 other disks on a PIIX IDE port."
    echo ">>> To check if this will affect you, check 'mkinitcpio -M' for piix/ata_piix"
    echo ""
    fi
    echo ">>> If you use LVM2, Encrypted root or software RAID,"
    echo ">>> Ensure you enable support in /etc/mkinitcpio.conf ."
    echo ">>> More information about mkinitcpio setup can be found here:"
    echo ">>> http://wiki.archlinux.org/index.php/Mkinitcpio"
    echo ""
    echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..."
    if [ "`vercmp $2 2.6.19`" -lt 0 ]; then
    /sbin/mkinitcpio -p kernel26${KERNEL_NAME} -m "ATTENTION:\nIf you get a kernel panic below
    and are using an Intel chipset, append 'earlymodules=piix' to the
    kernel commandline"
    else
    /sbin/mkinitcpio -p kernel26${KERNEL_NAME}
    fi
    if [ "`vercmp $2 2.6.21`" -lt 0 ]; then
    echo ""
    echo "Important ACPI Information:"
    echo ">>> Since 2.6.20.7 all possible ACPI parts are modularized."
    echo ">>> The modules are located at:"
    echo ">>> /lib/modules/$(uname -r)/kernel/drivers/acpi"
    echo ">>> For more information about ACPI modules check this wiki page:"
    echo ">>> 'http://wiki.archlinux.org/index.php/ACPI_modules'"
    fi
    post_remove() {
    rm -f /boot/kernel26${KERNEL_NAME}.img
    rm -f /boot/kernel26${KERNEL_NAME}-fallback.img
    so, I just tar.gz the kernel26-livez folder which contains
    config
    config.x86_64
    kernel26.install
    kernel26.preset
    PKGBUILD
    and submit to AUR??
    first, I'm going to run it thru the motions on my 32bit and x86_64 arch installs to test it
    as I already have compiled it successfully, and now want to package it,etc
    thanks for all your help!
    PS
    I also have to make a AUR package for the linux-live-6.30_x86 and linux-live-6.3.0x86_64 remaster kits which this kernel is meant for
    and gotta figure out how to do that too...
    Last edited by 72linus (2010-09-27 20:26:04)

  • How to solve a PKGBUILD dependency issue for the MinGW-w64 toolchain?

    Hi,
    I had the ambitious plan of creating PKGBUILDs to provide a fully functional and full-featured MinGW-w64 toolchain in Arch (starting with the AUR). For those of you not aware of MinGW-w64; it's a project that provides the more complete alternative for MinGW.org: they support a much larger set of the Win32 API and provide 64-bit support. In short: they allow you to use GCC for Windows 32 and 64-bit.
    The current list of packages is here: https://aur.archlinux.org/packages.php?SeB=m&K=rubenvb
    They work (roughly, for me, I'm working out the problems as people report them), but only if you build and install them manually.
    I would like to ask the help of the experts that reside here to resolve the issue that handy tools like yaourt and other AUR utilities cannot build/install these packages automagically, so that people are more easily persuaded to use my packages. The dependencies here are what functionally needs to be set, not per se what the current PKGBUILDs specify, due to numerous experiments and trial and error...)
    The build and install order needs to be strictly followed:
    1. build+install mingw-w64-headers-base (no makedepends)
    2. build+install mingw-w64-binutils (no makedepends)
    3. build+install mingw-w64-gcc-base (makedepends and depends: mingw-w64-binutils)
    4. build+install mingw-w64-crt (makedepends and depends: mingw-w64-gcc-base and mingw-w64-binutils)
    5. build mingw-w64-winpthreads (makedepends: mingw-w64-headers-base, mingw-w64-gcc-base and mingw-w64-binutils, conflicts mingw-w64-headers-base)
    6. build mingw-w64-headers (no makedepends, conflicts mingw-w64-headers-base)
    7. install mingw-w64-headers (replaces mingw-w64-headers-base)
    8. install mingw-w64-winpthreads
    9. build+install mingw-w64-gcc (replaces mingw-w64-gcc-base)
    I tried to enforce this as much as possible in the PLGBUILDs, but am unsure if everything is as it should be...
    The resulting binary packages that non-AUR-users
    (once mingw-w64 is in a binary repo) should install:
    - mingw-w64-headers
    - mingw-w64-crt
    - mingw-w64-winpthreads
    - mingw-w64-binutils
    - mingw-w64-gcc
    The issue is that winpthreads overwrites two dummy headers that have to be included in mingw-w64-headers-base, so I provide a mingw-w64-headers package omitting these two files, but unusable without mingw-w64-winpthreads. So winpthreads needs to be built when mingw-w64-headers-base is installed, and mingw-w64-headers cannot be installed before winpthreads is installed, due to these two headers (per architecture) being supplied by winpthreads in a complete form.
    I will try to tune the dependencies tonight, but any help or insight into the automation process is highly appreciated!
    Thanks,
    Ruben
    Last edited by rubenvb (2011-11-22 21:28:12)

    Interesting problem.
    While i don't use any aur helper, i think you can simplify your approach a bit.
    Here's how i would do it (changes in red) :
    1. build+install mingw-w64-headers-base (no makedepends)
    this package DOES NOT include the dummy headers
    1a. build + install mingw-w64-headers-extra-dummy (makedepends : mingw-w64-headers-base)
    this package will include ONLY the dummy headers
    2. build+install mingw-w64-binutils (no makedepends)
    3. build+install mingw-w64-gcc-base (makedepends and depends: mingw-w64-binutils)
    4. build+install mingw-w64-crt (makedepends and depends: mingw-w64-gcc-base and mingw-w64-binutils)
    5. build mingw-w64-winpthreads
    makedepends:
    mingw-w64-headers-base, mingw-w64-gcc-base and mingw-w64-binutils, mingw-w64-headers-extra-dummy
    conflicts with mingw-w64-headers-extra-dummy
    provides mingw-w64-headers-extra
    6. skipped
    7. skipped
    8. install mingw-w64-winpthreads
    9. build+install mingw-w64-gcc (replaces mingw-w64-gcc-base)
    makedepends : mingw-w64-headers-base, mingw-w64-headers-extra

  • [SOLVED] git PKGBUILD (sinit) almost there, package() fails

    So, I'm trying to make my first PKGBUILD for sinit.
    Here's what I have so far:
    # Maintainer: Cem Aydin (rebootl) <cem.aydin gmx.ch>
    _gitname=sinit
    pkgname=${_gitname}-git
    pkgver=0.7.r1.g3a953ea
    pkgrel=1
    pkgdesc="sinit - suckless init (patched for a custom minirc)"
    arch=('i686' 'x86_64')
    url="http://git.2f30.org/sinit/"
    license=('MIT')
    depends=('')
    makedepends=('git')
    conflicts=('')
    provides=('sinit')
    source=('git://git.2f30.org/sinit'
    'call-minirc-sinit.patch')
    md5sums=('SKIP'
    'ad798476614abd1e78f372e60fcc779e')
    pkgver() {
    cd "${_gitname}"
    # Using most recent unannotated tag, removing prefix v
    git describe --long --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
    prepare() {
    cd "${_gitname}"
    patch -uN config.def.h ../call-minirc-sinit.patch || return 1
    build() {
    cd "${_gitname}"
    make
    package() {
    cd "${_gitname}"
    make PREFIX=/usr DESTDIR="${pkgdir}" install
    It works up to package() where it fails:
    makepkg
    ==> Making package: sinit-git 0.7.r1.g3a953ea-1 (Mon Feb 24 14:53:12 CET 2014)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    -> Updating sinit git repo...
    Fetching origin
    -> Found call-minirc-sinit.patch
    ==> Validating source files with md5sums...
    sinit ... Skipped
    call-minirc-sinit.patch ... Passed
    ==> Extracting sources...
    -> Creating working copy of sinit git repo...
    Cloning into 'sinit'...
    done.
    ==> Starting pkgver()...
    ==> Starting prepare()...
    patching file config.def.h
    ==> Removing existing pkg/ directory...
    ==> Starting build()...
    sinit build options:
    CFLAGS = -Wextra -Werror -Wall -Os
    LDFLAGS = -static
    CC = cc
    creating config.h from config.def.h
    CC util/eprintf.c
    AR util.a
    make bin
    make[1]: Entering directory '/home/cem/Setups_hplaptop/sinit-git/src/sinit'
    CC sinit.c
    LD sinit
    make[1]: Leaving directory '/home/cem/Setups_hplaptop/sinit-git/src/sinit'
    ==> Entering fakeroot environment...
    ==> Starting package()...
    sinit build options:
    CFLAGS = -Wextra -Werror -Wall -Os
    LDFLAGS = -static
    CC = cc
    make bin
    make[1]: Entering directory '/home/cem/Setups_hplaptop/sinit-git/src/sinit'
    make[1]: Nothing to be done for 'bin'.
    make[1]: Leaving directory '/home/cem/Setups_hplaptop/sinit-git/src/sinit'
    installing executable to /home/cem/Setups_hplaptop/sinit-git/pkg/sinit-git/usr/bin
    cp: cannot create regular file ‘/home/cem/Setups_hplaptop/sinit-git/pkg/sinit-git/usr/bin’: No such file or directory
    Makefile:47: recipe for target 'install' failed
    make: *** [install] Error 1
    ==> ERROR: A failure occurred in package().
    Aborting...
    I can see that it's missing the directory usr/bin under pkg/sinit-git/.. but I don't understand why.
    I also tried to replace all the cd "${_gitname}" by cd "$srcdir/$_gitname" but I get the same error...
    I can't see the difference to e.g. following reference:
    https://aur.archlinux.org/packages/al/a … t/PKGBUILD
    Last edited by rebootl (2014-02-24 19:01:39)

    Hey, thanks a lot for your replies. Ah, that explains it, didn't look at the Makefile, don't know how this works honestly...
    @Scimmia: Your workaround works!
    @WorMzy: I'll do so.
    Regards

  • [SOLVED] Saving PKGBUILDs with makepkg or AUR helpers

    Hi all,
    I am trying to save automatically the package PKGBUILD when I install a package with an aur helper. I use packer and aurget.
    I modified makepkg.conf and set this relevant variables:
    # 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
    PKGDEST=/var/cache/pacman/pkg/aur
    #-- Source cache: specify a fixed directory where source files will be cached
    #SRCDEST=/home/sources
    SRCDEST=/var/cache/pacman/pkg/aur/src
    The PKGDEST works fine and packages are saved in the specified path.
    However SRCDEST variable doesn't seem to work, as I expected the PKBUILDs and other sources to be saved there, but there are no files in the path.
    In the end what I am trying to emulate is something similar to ABS but for installed packages from AUR.
    Last edited by adrianbs (2012-01-29 12:18:41)

    adrianbs wrote:
    jasonwryan wrote:
    Cower (as awesome as it is) doesn't open the PKGBUILD in vim, build the package and then ask if you want to keep the build directory.
    I reckon my 10 lines are pretty well spent...
    Cower doesn't but pacaur (which wraps it) does
    It has an option it the config file to keep the build dir.
    And for only an extra 872 lines of code...

  • [Solved] iSpin PKGBUILD license question

    Hello fellow archers,
    I am creating a PKGBUILD (my first one) for iSpin, a Tcl/Tk GUI for Spin, that I intend to upload on the AUR.
    But I am not sure about how to fill the license field of my PKGBUILD. This is why I ask for your help here.
    Quoting Gerard J. Holzmann, iSpin's (and Spin's) author, for educational or research purposes, iSpin and Spin are not covered by any specific license except the few following conditions
    iSpin and Spin are copyright Bell Labs and/or Caltech but available without charge or limitation. you can do anything with it, including modify it, sell it, repost it, as long as you acknowledge the original source and make your changes available to everyone as well.
    As for commercial purposes, they are covered by the SPIN commercial license instead.
    So basically, iSpin is dual licensed which means I should have something like this:
    license=('custom:SPIN_PUBLIC' 'custom:SPIN_COMMERCIAL')
    But in the case of a non-commercial use, it is not really a licence which is applied.
    What should I do? Leave only the commercial license or put the quotation from Gerard Holzmann in a file and use it as the SPIN_PUBLIC license?
    Thanks in advance.
    Last edited by Ghostofkendo (2011-03-10 13:14:43)

    the link you gave points to " SPIN Software Public License " Version 1.0 " 05/15/01 "
    On the bottom of that page :
    By downloading, installing, and using the SPIN software you signify that you accept the terms of this agreement. This acceptance is only required for commercial use of SPIN. Non-commercial use is restricted to educational use only. In all cases, no guarantee whatsoever is expressed or implied by the distribution of this code or any part thereof.
    While the license doesn't look very restrictive, it seems that commercial use is everything EXCEPT educational use.
    I suggest using single licensing, SPIN Software Public License .

  • [SOLVED] New PKGBUILD for dvbcut. Please review.

    Bad English, sorry!
    I am a heavy user of dvbcut. It is really nice program to cut commercials out of dvb recordings.
    http://dvbcut.sourceforge.net/
    The problem was, i could not build dvbcut 0.5.4 on arch. Probably because of new compiler versions and scons problems. So i used an old binary in my home directory.
    The good news is, they changed the build system a few days ago:
    http://www.mail-archive.com/dvbcut-user … 01006.html
    Now i can build dvbcut and i adopted the packages on AUR.
    http://aur.archlinux.org/packages.php?ID=2793
    Before i update AUR, i want to make sure, that everything is ok. Is the svn solution appropriate?
    PKGBUILD
    # Contributor: AndyRTR <[email protected]>
    pkgname=dvbcut
    pkgver=0.5.4
    pkgrel=2
    pkgdesc="Qt application for cutting parts out of DVB streams"
    arch=('i686' 'x86_64')
    url="http://dvbcut.sourceforge.net/index.html"
    license="GPL"
    depends=('qt3' 'libao')
    makedepends=('autoconf' 'make' 'subversion')
    install=dvbcut.install
    source=(dvbcut.desktop)
    md5sums=('e41118aef010f3a19140f9fc2463d4ce')
    build() {
    cd ${srcdir}
    # 0.5.4 does not build anymore. Using svn until next release.
    msg "Connecting to SVN server...."
    if [ -d dvbcut/.svn ]; then
    (cd dvbcut && svn up -r 129)
    else
    svn co -r 129 --config-dir ./ https://dvbcut.svn.sourceforge.net/svnroot/dvbcut/trunk dvbcut
    fi
    msg "SVN checkout done or server timeout"
    msg "Starting make..."
    cp -r dvbcut dvbcut-build
    cd dvbcut-build
    autoconf || return 1
    ./configure --prefix=/usr --with-qt3=/opt/qt
    make || return 1
    install -Dm755 ${srcdir}/${pkgname}-build/bin/dvbcut ${pkgdir}/usr/bin/dvbcut
    install -Dm644 ${srcdir}/${pkgname}-build/dvbcut.1 ${pkgdir}/usr/share/man/man1/dvbcut.1
    install -Dm644 ${startdir}/dvbcut.desktop ${pkgdir}/usr/share/applications/dvbcut.desktop
    rm -rf ${srcdir}/dvbcut-build
    dvbcut.install
    post_install() {
    cat << 'EOF'
    ==> If you have "mplayer" installed on your machine,
    ==> you can play videos inside of DVBCUT.
    EOF
    op=$1
    shift
    $op $*
    dvbcut.desktop
    [Desktop Entry]
    Categories=Qt;Video;AudioVideo;AudioVideoEditing;
    Encoding=UTF-8
    Name=dvbcut
    GenericName=DVBCut
    Type=Application
    Exec=/usr/bin/dvbcut
    Icon=
    Last edited by sp42b (2008-06-18 20:45:13)

    Instead of using custom svn commands in the build() function, it would be wise to use something along these lines:
    _svntrunk=https://dvbcut.svn.sourceforge.net/svnroot/dvbcut/trunk
    _svnmod=dvbcut
    _revnumber=$pkgver
    before the build() function in the PKGBUILD.
    This functionality is built into makepkg/ABS already, so there is no need to reinvent it ;-).
    Last edited by xaw (2008-06-17 21:36:24)

  • [SOLVED] Creating PKGBUILDS where the source URL does not have version

    I am trying to create a a PKBUILD for idevsutil which is provided by IDrive for backing up into their cloud. The archive provided by them contains just a binary and a readme. Now the source URL, http://evs.idrive.com/download/download … inux64.zip does not include the version number. So looks like they are updating the same file for every version. In case they update the version the checksum should fail which should prevent mismatch in dev versioning and what gets installed. But are there any best practices for such cases when we write PKGBUILD?
    Last edited by nsmathew (2013-12-28 16:22:02)

    Trilby wrote:
    The content provided by the source url for version-control packages is also always changing, yet the PKGBUILDS don't need to.  The key for these is to use the 'SKIP' entry in the checksum variable.  The packages must also have the version control system appended to the title (eg package-git).
    You certainly could make a package-dev which skipped the checksum.  However, this would mean user's of the PKGBUILD would be downloading a random unchecked binary from someone's idrive site.  This seems like a very bad idea.
    My idea was to not allow for the installation of the software if the upstream version changes which the checksum should take care off. Will then update the PKGBUILD with the new version and checksum.
    In terms of the binary, it is the officially provided binary by IDrive and the URL points to the same.
    graysky wrote:Don't think you can do much with that.  I would send an email requesting a versioned archive explaining that you are packing their software for a linux distribution.
    I have already requested for the license info on their dev forums, let me also check with them if a versioned archive is available. Thanks.

  • [SOLVED] ocrfeeder-git PKGBUILD doesn't work

    https://aur.archlinux.org/packages/ocrfeeder-git/
    [pippo@linux ocrfeeder-git]$ makepkg -s
    ==> Creazione del pacchetto: ocrfeeder-git 0.7.11.20.g22218bc-1 (mar 18 nov 2014, 14.32.01, CET)
    ==> Controllo delle dipendenze durante l'avvio in corso...
    ==> Controllo delle dipendenze durante la compilazione in corso...
    ==> Download dei sorgenti in corso...
    -> Clonazione del repository ocrfeeder git in corso...
    Clone nel repository spoglio '/home/pippo/TEMP/ocrfeeder-git/ocrfeeder'...
    remote: Counting objects: 3584, done.
    remote: Compressing objects: 100% (2578/2578), done.
    remote: Total 3584 (delta 2415), reused 1346 (delta 936)
    Ricezione degli oggetti: 100% (3584/3584), 1.71 MiB | 510.00 KiB/s, done.
    Risoluzione dei delta: 100% (2415/2415), done.
    Checking connectivity... fatto.
    ==> Validazione dei sorgenti con sha512sums in corso...
    ocrfeeder ... Ignorato
    ==> Estrazione dei sorgenti in corso...
    -> Creazione di una copia di lavoro del repository ocrfeeder git in corso...
    Cloning into 'ocrfeeder'...
    fatto.
    ==> Avvio di pkgver() in corso...
    ==> Versione aggiornata: ocrfeeder-git 0.8-1
    ==> Avvio di build() in corso...
    /usr/bin/gnome-autogen.sh
    checking for automake >= 1.11.2...
    testing automake... found 1.14.1
    checking for autoreconf >= 2.53...
    testing autoreconf... found 2.69
    checking for glib-gettext >= 2.2.0...
    testing glib-gettextize... found 2.42.0
    checking for intltool >= 0.25...
    testing intltoolize... found 0.50.2
    checking for gnome-doc-utils >= 0.4.2...
    testing gnome-doc-prepare... found 0.20.10
    Checking for required M4 macros...
    Processing ./configure.ac
    Running glib-gettextize... Ignore non-fatal messages.
    Copying file po/Makefile.in.in
    Please add the files
    codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
    progtest.m4
    from the /usr/share/aclocal directory to your autoconf macro directory
    or directly to your aclocal.m4 file.
    You will also need config.guess and config.sub, which you can get from
    ftp://ftp.gnu.org/pub/gnu/config/.
    Running gnome-doc-prepare...
    You should add the contents of '/usr/share/aclocal/gnome-doc-utils.m4' to 'aclocal.m4'.
    Putting files in AC_CONFIG_MACRO_DIR, 'm4'.
    Running intltoolize...
    Running autoreconf...
    autoreconf: Entering directory `.'
    autoreconf: configure.ac: not using Gettext
    autoreconf: running: aclocal --force --warnings=no-portability -I m4 ${ACLOCAL_FLAGS}
    autoreconf: configure.ac: tracing
    autoreconf: configure.ac: not using Libtool
    autoreconf: running: /usr/bin/autoconf --force --warnings=no-portability
    autoreconf: configure.ac: not using Autoheader
    autoreconf: running: automake --add-missing --copy --force-missing --warnings=no-portability
    configure.ac:48: installing './compile'
    configure.ac:9: installing './install-sh'
    configure.ac:9: installing './missing'
    Makefile.am: installing './INSTALL'
    src/ocrfeeder/Makefile.am:3: installing './py-compile'
    autoreconf: Leaving directory `.'
    Running ./configure --enable-maintainer-mode PYTHON=python2 ...
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking whether to enable maintainer-specific portions of Makefiles... yes
    checking whether make supports nested variables... (cached) yes
    checking whether python2 version is >= 2.5... yes
    checking for python2 version... 2.7
    checking for python2 platform... linux2
    checking for python2 script directory... ${prefix}/lib/python2.7/site-packages
    checking for python2 extension module directory... ${exec_prefix}/lib/python2.7/site-packages
    checking python2 module: enchant... yes
    checking python2 module: sane... yes
    checking python2 module: PIL... yes
    checking python2 module: reportlab... yes
    checking python2 module: gobject... yes
    checking gobject introspection module Gtk... yes
    checking gobject introspection module GooCanvas... no
    configure: error: failed to find required GObject Introspection module GooCanvas
    ==> ERRORE: Si è verificato un errore in build().
    L'operazione sta per essere interrotta...
    with yaourt:
    ocrfeeder-git 0.7.11.20.g22218bc-1 (gio 19 set 2013, 16.13.18, CEST)
    ( Pacchetto non supportato: Potenzialmente pericoloso! )
    ==> Modificare PKGBUILD [S/n] ("A" per annullare)
    ==> ----------------------------------------------
    ==> n
    ==> Dipendenze di ocrfeeder-git
    - python2-pyenchant (già installato)
    - pygoocanvas (già installato)
    - python2-gtkspell (già installato)
    - python2-imaging (già installato)
    - python2-lxml (già installato)
    - python2-reportlab (già installato)
    - ghostscript (già installato)
    - unpaper (già installato)
    - sane (già installato)
    - desktop-file-utils (già installato)
    - intltool (già installato)
    - gnome-doc-utils (già installato)
    - gnome-common (già installato)
    ==> Modificare ocrfeeder.install [S/n] ("A" per annullare)
    ==> -------------------------------------------------------
    ==> n
    ==> Continuare la compilazione di ocrfeeder-git [S/n]
    ==> -------------------------------------------------
    ==>
    ==> Compilazione e installazione del pacchetto
    ==> Creazione del pacchetto: ocrfeeder-git 0.7.11.20.g22218bc-1 (mar 18 nov 2014, 18.53.10, CET)
    ==> Controllo delle dipendenze durante l'avvio in corso...
    ==> Controllo delle dipendenze durante la compilazione in corso...
    ==> Download dei sorgenti in corso...
    -> Clonazione del repository ocrfeeder git in corso...
    Clone nel repository spoglio '/tmp/yaourt-tmp-pippo/aur-ocrfeeder-git/ocrfeeder'...
    remote: Counting objects: 3584, done.
    remote: Compressing objects: 100% (2578/2578), done.
    remote: Total 3584 (delta 2414), reused 1346 (delta 936)
    Ricezione degli oggetti: 100% (3584/3584), 1.71 MiB | 556.00 KiB/s, done.
    Risoluzione dei delta: 100% (2414/2414), done.
    Checking connectivity... fatto.
    ==> Validazione dei sorgenti con sha512sums in corso...
    ocrfeeder ... Ignorato
    ==> Estrazione dei sorgenti in corso...
    -> Creazione di una copia di lavoro del repository ocrfeeder git in corso...
    Cloning into 'ocrfeeder'...
    fatto.
    ==> Avvio di pkgver() in corso...
    ==> Versione aggiornata: ocrfeeder-git 0.8-1
    ==> Avvio di build() in corso...
    /usr/bin/gnome-autogen.sh
    checking for automake >= 1.11.2...
    testing automake... found 1.14.1
    checking for autoreconf >= 2.53...
    testing autoreconf... found 2.69
    checking for glib-gettext >= 2.2.0...
    testing glib-gettextize... found 2.42.0
    checking for intltool >= 0.25...
    testing intltoolize... found 0.50.2
    checking for gnome-doc-utils >= 0.4.2...
    testing gnome-doc-prepare... found 0.20.10
    Checking for required M4 macros...
    Processing ./configure.ac
    Running glib-gettextize... Ignore non-fatal messages.
    Copying file po/Makefile.in.in
    Please add the files
    codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
    progtest.m4
    from the /usr/share/aclocal directory to your autoconf macro directory
    or directly to your aclocal.m4 file.
    You will also need config.guess and config.sub, which you can get from
    ftp://ftp.gnu.org/pub/gnu/config/.
    Running gnome-doc-prepare...
    You should add the contents of '/usr/share/aclocal/gnome-doc-utils.m4' to 'aclocal.m4'.
    Putting files in AC_CONFIG_MACRO_DIR, 'm4'.
    Running intltoolize...
    Running autoreconf...
    autoreconf: Entering directory `.'
    autoreconf: configure.ac: not using Gettext
    autoreconf: running: aclocal --force --warnings=no-portability -I m4 ${ACLOCAL_FLAGS}
    autoreconf: configure.ac: tracing
    autoreconf: configure.ac: not using Libtool
    autoreconf: running: /usr/bin/autoconf --force --warnings=no-portability
    autoreconf: configure.ac: not using Autoheader
    autoreconf: running: automake --add-missing --copy --force-missing --warnings=no-portability
    configure.ac:48: installing './compile'
    configure.ac:9: installing './install-sh'
    configure.ac:9: installing './missing'
    Makefile.am: installing './INSTALL'
    src/ocrfeeder/Makefile.am:3: installing './py-compile'
    autoreconf: Leaving directory `.'
    Running ./configure --enable-maintainer-mode PYTHON=python2 ...
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking whether to enable maintainer-specific portions of Makefiles... yes
    checking whether make supports nested variables... (cached) yes
    checking whether python2 version is >= 2.5... yes
    checking for python2 version... 2.7
    checking for python2 platform... linux2
    checking for python2 script directory... ${prefix}/lib/python2.7/site-packages
    checking for python2 extension module directory... ${exec_prefix}/lib/python2.7/site-packages
    checking python2 module: enchant... yes
    checking python2 module: sane... yes
    checking python2 module: PIL... yes
    checking python2 module: reportlab... yes
    checking python2 module: gobject... yes
    checking gobject introspection module Gtk... yes
    checking gobject introspection module GooCanvas... no
    configure: error: failed to find required GObject Introspection module GooCanvas
    ==> ERRORE: Si è verificato un errore in build().
    L'operazione sta per essere interrotta...
    ==> ERRORE: Makepkg non è riuscito a compilare ocrfeeder-git.
    ==> Riavviare la compilazione di ocrfeeder-git [s/N]
    ==> ------------------------------------------------
    ==>
    $ pacman -Q|grep canvas
    goocanvas1 1.0.0-3
    pygoocanvas 0.14.1-6
    EDIT:
    SOLVED:
    # pacman -S goocanvas
    Last edited by quellen (2014-11-18 18:02:18)

    VCS PKGBUILDs need to include the VCS type at the end of the pkgname. In this case your package should be named "wifiz-git".
    Here's an updated version of your PKGBUILD:
    # Maintainer: Cody Dostal <[email protected]>
    pkgname=wifiz-git
    _gitname=WiFiz
    pkgver=0.9.2.2.r1.g8147a9f
    pkgrel=1
    pkgdesc="NetCTL GUI Frontend, written in wxPython. Stable Version."
    arch=('any')
    url="https://github.com/codywd/$_gitname"
    license=('MIT')
    depends=('python2' 'wxpython' 'wireless_tools' 'netctl' 'wpa_supplicant')
    makedepends=('git')
    optdepends=('gedit: manually edit profiles')
    conflicts=('wifiz' 'wifiz-nightly')
    provides=('wifiz')
    source=("git://github.com/codywd/$_gitname.git")
    sha256sums=('SKIP')
    pkgver() {
    cd "$srcdir/$_gitname"
    git describe --always --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
    package() {
    cd "$srcdir/$_gitname"
    python2 setup.py install --root="$pkgdir/" --optimize=1
    Note the following changes:
    pkgname
    conflicts with "wifiz" (all VCS packages should provide and conflict with their non-VCS equivalents)
    removed redundant echo and shell invocation from pkgver function
    "$srcdir/$_gitname" instead of "$_gitname" in pkgver function: the git repo will not be in the same directory if the user sets SRCDIR in makepkg.conf

  • [SOLVED] PKGBUILD equivalents for other distros

    I'd like to package some of my tools for other distros - mainly .deb and .rpm based for now.  Ideally, I'd like to not have to build full packages for each distro, but instead host build scripts or equivalents of PKGBUILDs for other distros.  As I am not nearly as well versed in other distros as I am with arch, I'm not sure how to find the needed information to accomplish this.
    To take .deb as an example, the pacman rosetta page suggests debuild is the equivalent tool to makepkg.  However, the debuild man page indicates that debuild can simply be run within the source tree to build a package.  Certainly this can't be the case, unless there are distro-specific files within that source tree that debuild finds and uses.  That man page does not indicate what these files are and how they are written.
    I have found documentation for creating full binary packages for debian-based distros, but is there an equivalent to a PKGBUILD?  I know for Gentoo, ebuilds are well documented and should be quite doable.  But frankly I'm pretty sure most gentoo users wouldn't need my help with those.  I'm currently primarily targeting .deb as many novice linux users that I'd like to make a couple of my tools available to seem to use ubuntoo.
    I suspect I may just be missing the proper documentation and/or am not using the right search terms.  Any nudges in the right direction would be appreciated.
    (edit: marked 'solved' as I now have the information I needed to get started working on this - but more input can always be handy.)
    Last edited by Trilby (2014-01-08 20:34:26)

    I recently discovered Debian's `checkinstall` which is very close to what I was looking for.  One can easily create a script that will download and install a "non-debianized" source package as a .deb that can be managed by dpkg/apt-get.
    Allegedly it can also create rpm packages, but I'm not going to worry about trying that out for a while.
    A simple example of a script to allow debian/*buntu users to install one of my packages can be seen here.  There is an executable script called `makedeb` - guess what it does.  There is also a package-specific file called DEBBUILD - guess what that's for .  With just those two files, a debian user could run the script which would get the needed info from the DEBUILD to install the needed dependencies, download and build the source, install under the watch of checkinstall to a temp directory, have checkinstall build a .deb package, remove the builddeps (and optionally all deps installed during the build), and leave them with a *.deb file ready for dpkg.
    This instance of makedeb was intentionally made generic so it could work for other packages, however it is also *very* simple and so will not work for all other packages.  A DEBBUILD is nearly identical to a PKGBUILD, except the dependency names need to be converted to the debian deps (and there may be many more deps needed as you cannot assume our base/base-devel components are there ... and split -dev packages suck).
    Making this DEBBUILD + makedeb made me wonder how hard it would be to convert our own makepkg over to work on top of apt-get/dpkg.  I've installed debian (crunchbang) on one of my systems to experiment with this.  I've realized there may not be much to it really.  I've just completed my revision to the actual makepkg script (and makepkg.conf) to make a full featured makedeb and makedeb.conf.  It is not yet tested - and once I test it I may find it is not nearly as complete as I had hoped.  But the goal is to allow PKGBUILD -> DEBBUILD conversions to be quite easy (just change the deps).
    I may post my full featured makedeb in "community contributions" if/when it passes a few basic tests.  It will not run on arch, but it is suited for archers who need to make debs.  It may eventually run on arch (there are dpkg is in the AUR, and so is checkinstall, though it is very broken ATM), but this is not a goal of mine.
    Last edited by Trilby (2014-05-30 17:37:40)

  • [Solved] dvbcut compile problems - New PKGBUILD fix!

    Anyone using dvbcut? The aur version won't compile, nor the tar package version from sourceforge nor the svn version (170). It all seems to boil down to qt3/qt4 mismatches. I have both versions installed yet I get; configure: error: Qt library not found
    I even tried compiling the latest Ubuntu version with same results (desperation?)
    I know it's an old app but it did the job very well of editing mpg/m2t files. I do not like avidemux!
    Fedora and Ubuntu seem to have '-dev' packages which solves these kinds of problems. And hacking those libraries manually is too tricky to be worth it. Is there an Arch solution somewhere?
    Last edited by swanson (2011-09-25 14:49:02)

    Seems that this modified PKGBUILD works:
    # Contributor: sp42b <sp42b|a_t|gmx.net>
    # Contributor: AndyRTR <[email protected]>
    ## Contributor: swanson
    pkgname=dvbcut
    pkgver=0.6.2
    pkgrel=1
    pkgdesc="Qt3 application for cutting parts out of DVB streams"
    arch=('i686' 'x86_64')
    url="http://dvbcut.sourceforge.net/index.html"
    license="GPL"
    depends=('qt3' 'libao' 'libmad' 'a52dec')
    optdepends=('mplayer: for video playback inside of DVBCUT')
    source=(https://launchpad.net/~frafu/+archive/ppa/+files/dvbcut_0.6.2-0ppa%7Esvn178%7Enatty1.tar.gz)
    md5sums=('cc49cd50dd44184d3db6125297a92ab5')
    build() {
    cd ${srcdir}/dvbcut-0.6.2-0ppa~svn178~natty1
    msg "${srcdir}/dvbcut-0.6.2-0ppa~svn178~natty1"
    autoconf
    ./configure --prefix=/usr
    make
    install -Dm755 ${srcdir}/dvbcut-0.6.2-0ppa~svn178~natty1/bin/dvbcut ${pkgdir}/usr/bin/dvbcut
    install -Dm644 ${srcdir}/dvbcut-0.6.2-0ppa~svn178~natty1/dvbcut.1 ${pkgdir}/usr/share/man/man1/dvbcut.1
    install -Dm644 ${srcdir}/dvbcut-0.6.2-0ppa~svn178~natty1/dvbcut.desktop ${pkgdir}/usr/share/applications/dvbcut.desktop
    install -Dm644 ${srcdir}/dvbcut-0.6.2-0ppa~svn178~natty1/dvbcut.svg ${pkgdir}/usr/share/pixmaps/dvbcut.svg
    OK for the AUR?
    Last edited by swanson (2011-08-22 06:17:04)

  • Tumiki fighters PKGBUILD - help! [solved]

    This is my first PKGBUILD and I'm having a bit of trouble with it as this is a binary app, so no need to compile.  It's in the D programming language so it would have to use a non-open-source compiler anyways.  Of course, I should mention again which app it is - tumiki fighters, a 2D side-scrolling game.  This PKGBUILD isn't done yet, but I have a couple of problems I'd like to figure out.
    First, here's the PKGBUILD:
    arch=(i686)
    pkgname=tumiki
    pkgver=0.2c
    pkgrel=1
    pkgdesc="An addictive game where you salvage parts from your enemies to become stronger"
    depends=('mesa' 'sdl' 'sdl_mixer')
    source=(http://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
    md5sums=('afb4476b9556fff4d18db124b20141a9')
    build () {
    # cd $startdir/src/tf
    mkdir -p $startdir/pkg/usr/bin
    cp -r $startdir/src/tf $startdir/pkg/usr/tumiki
    # mv $startdir/pkg/usr/tumiki/tf $startdir/pkg/usr/bin/tumiki
    # ln -sf /usr/tumiki/tf $startdir/pkg/usr/bin/tumiki
    This results in the files simply being copied into the /usr/tumiki folder (subject to change in the future).  The app will not run at first but if I change the ownership of the dir and the binary (named tf), it runs.  Strangely enough, if I run the app once after this I can then copy it to /usr/bin/tumiki and it will run fine, but if I tell it to move or copy it over during the installation no matter what ownership specified it will not run properly, giving me an error about being unable to find a file within the /usr/tumiki dir - presumably it's trying to find it starting at the startdir, in this case /usr/bin/, and failing.  Creating a symbolic link doesn't work, either.
    The gentoo package has some install settings I'm unfamiliar with and has a script added, link here: http://bugs.gentoo.org/show_bug.cgi?id=80435 .  I'm not sure what I can do with them exactly, though, as I don't read ebuild-ese and the ebuild howto isn't helping with some of the variables invoked.
    Thanks for any help!
    Nick
    Edit: Problem solved, just tweaked stuff around and used the gentoo script.
    Last edited by Shirakawasuna (2007-05-07 07:19:13)

    There are different ways to do it, but you can just replace all the $pkgver references with 2.6-4004 directly.  Change the 2 lines that originally called $pkgver to this:
    source=(http://ardour.org/files/releases/${pkgname}-2.6-4004.tar.bz2 \
    cd ${startdir}/src/${pkgname}-2.6-4004
    Last edited by creslin (2008-10-24 16:04:07)

  • PKGBUILD source conflict problem [solved]

    I'm making a PKGBUILD for a game called noiz2sa.  The problem is, it comes in two separate pieces - one is the binary and the other is some extra files and when extracted they both have the same name - noiz2sa.  Because of this, when I put the both in the source= section and run makepkg, one of them inevitably gets overwritten.  Is there a way to fix this?
    Edit: I couldn't find a delete option so I'm marking this solved - after reading the PKGBUILD man page again, the noextract option was what I needed to work around this issue.
    Last edited by Shirakawasuna (2007-05-07 07:56:21)

    I wrapped it with double quotes and it worked , I've also added a note on the wiki page.
    thanks

  • [SOLVED] (PKGBUILD) problem with makepkg for go-openoffice

    [SOLVED]: In the PKGBUILD, there's a function before build(), named mksource() and a comment "source PKGBUILD && mksource".
    Just run it first, then copy the "/tmp/go-openoffice-source/go-openoffice-ooo320-m12.tar.xz", run "makepkg -s" as usual.
    Thanks :D
    Hi, I tried to makepkg for extra/go-openoffice (from abs) by using "makepkg -s" on my x86_64 laptop, and get the following error (before the build begin):
    ==> ERROR: go-openoffice-ooo320-m12.tar.xz was not found in the build directory and is not a URL.
    I understand that this comes from
    pkgname=go-openoffice
    _ootag=ooo320-m12 # m12 = OOo 3.2.0 RC5
    source=(${_mirror}/${_go_tree}/ooo-build-${_GOver}.tar.gz
        ArchLinux.patch
        ${pkgname}-${_ootag}.tar.xz
    But, I don't know where to find this "go-openoffice-ooo320-m12.tar.xz". Can you please help me to figure out where to find it? Thank you!
    Following is the PKGBUILD for extra/go-openoffice (from abs)
    # $Id: PKGBUILD 74152 2010-03-30 17:02:00Z andyrtr $
    # Maintainer: AndyRTR <[email protected]>
    pkgname=go-openoffice
    _GOver=3.2.0.9 # = post OOo 3.2.0 final bugfix
    pkgver=${_GOver}
    pkgrel=1
    pkgdesc="OpenOffice.org - go-oo.org enhanced version of SUN's office suite"
    arch=('i686' 'x86_64')
    _go_tree="OOO320"
    _ootag=ooo320-m12 # m12 = OOo 3.2.0 RC5
    license=('LGPL3')
    url="http://go-oo.org/"
    install=${pkgname}.install
    depends=("curl>=7.19.6" "hunspell>=1.2.8" "python>=2.6.4" 'libwpd' 'redland>=1.0.10'
    'libxaw' "neon>=0.28.6" "icu>=4.2.1" 'hsqldb-java' 'libxslt' 'libxtst' 'lpsolve'
    'beanshell' 'saxon' 'vigra' 'hyphen' 'libmspack' 'libldap' 'gtk2' 'lucene'
    'hicolor-icon-theme' 'shared-mime-info' 'desktop-file-utils') # 'libmythes' 'libgraphite'
    optdepends=('java-runtime: adds java support'
    'libcups: adds printing support'
    'gconf: adds additional gnome support'
    'nss: adds support for signed files/macros'
    'pstoedit: translates PostScript and PDF graphics into other vector formats'
    'poppler: for the pdfimport extension'
    'mesa: for the OGLTrans extension'
    'mono: allows UNO automation with Mono'
    'gstreamer0.10-base: + some gstr-plugins to support multimedia content, e.g. in impress'
    'kdelibs: for kde integration')
    makedepends=('automake' 'autoconf' 'wget' 'bison' 'findutils' 'flex' 'gawk' 'gcc-libs' 'libart-lgpl'
    'pam' 'sane' 'perl-archive-zip' 'pkgconfig' 'unzip' 'zip' "xulrunner>=1.9.2-4" 'apache-ant' 'cairo'
    'gperf' 'libcups' 'pstoedit' 'gconf' "openjdk6>=1.5.2" 'unixodbc' 'mesa>=7.5' 'poppler>=0.10.7'
    'gstreamer0.10-base>=0.10.26' 'mono>=2.6.1' 'kdelibs>=4.4.0' 'libjpeg' 'boost' 'git' 'rsync')
    backup=(usr/lib/go-openoffice/program/sofficerc)
    provides=('openoffice-base')
    conflicts=('openoffice-base')
    _mirror="http://download.go-oo.org/"
    source=(${_mirror}/${_go_tree}/ooo-build-${_GOver}.tar.gz
    ArchLinux.patch
    ${pkgname}-${_ootag}.tar.xz
    http://download.go-oo.org//DEV300/ooo-cli-prebuilt-3.2.tar.bz2
    http://cairographics.org/releases//cairo-1.4.10.tar.gz
    http://download.go-oo.org//SRC680/mdbtools-0.6pre1.tar.gz
    http://download.go-oo.org//SRC680/extras-3.tar.bz2
    http://download.go-oo.org//SRC680/biblio.tar.bz2
    http://tools.openoffice.org/unowinreg_prebuild/680//unowinreg.dll
    http://download.go-oo.org//DEV300/scsolver.2008-10-30.tar.bz2
    http://download.go-oo.org//libwpd/libwpd-0.8.14.tar.gz
    http://download.go-oo.org//SRC680/libwps-0.1.2.tar.gz
    http://download.go-oo.org//SRC680/libwpg-0.1.3.tar.gz
    http://download.go-oo.org//DEV300/ooo_oxygen_images-2009-06-17.tar.gz
    http://download.go-oo.org/src//seamonkey-1.1.14.source.tar.gz
    http://archive.apache.org/dist/ant/binaries/apache-ant-1.7.0-bin.tar.gz
    buildfix_64bit_system_libjpeg.diff
    system-redland.patch
    localize-ooo.diff)
    #options=('!distcc' '!ccache' '!makeflags')
    options=('!makeflags')
    noextract=(ooo-cli-prebuilt-3.2.tar.bz2 cairo-1.4.10.tar.gz mdbtools-0.6pre1.tar.gz extras-3.tar.bz2 biblio.tar.bz2 unowinreg.dll
    scsolver.2008-10-30.tar.bz2 libwpd-0.8.14.tar.gz libwps-0.1.2.tar.gz libwpg-0.1.3.tar.gz ooo_oxygen_images-2009-06-17.tar.gz)
    # source PKGBUILD && mksource
    mksource() {
    mkdir /tmp/$pkgname-source
    pushd /tmp/$pkgname-source
    wget ${_mirror}/${_go_tree}/ooo-build-${_GOver}.tar.gz
    tar -xvf ooo-build-${_GOver}.tar.gz
    cd ooo-build-${_GOver}
    ./configure --quiet --with-distro=ArchLinux
    ./download --all
    pushd src; tar -cvJf ../../${pkgname}-${_ootag}.tar.xz clone; popd
    popd
    build() {
    unset J2REDIR; unset J2SDKDIR; unset JAVA_HOME; unset CLASSPATH
    [ -z "${JAVA_HOME}" ] && . /etc/profile.d/openjdk6.sh
    [ -z "${MOZ_PLUGIN_PATH}" ] && . /etc/profile.d/mozilla-common.sh
    [ -z "${ANT_HOME}" ] && . /etc/profile.d/apache-ant.sh
    cd ${srcdir}/ooo-build-${_GOver}
    # our ArchLinux distribution patch until we go upstream
    patch -Np0 -i ${srcdir}/ArchLinux.patch || return 1
    # buildfix for broken language settings in build
    patch -Np0 -i ${srcdir}/localize-ooo.diff || return 1
    # fix bugs with recent system redland
    patch -Np1 -i ${srcdir}/system-redland.patch || return 1
    # hotfixes not yet upstream
    # cp ${srcdir}/*.diff ${srcdir}/ooo-build-${_GOver}/patches/hotfixes/
    cp ${srcdir}/buildfix_64bit_system_libjpeg.diff ${srcdir}/ooo-build-${_GOver}/patches/hotfixes/
    # export C(XX)FLAGS
    # http://www.openoffice.org/issues/show_bug.cgi?id=103205
    unset CFLAGS
    unset CXXFLAGS
    # export ARCH_FLAGS="$CFLAGS"
    if [ "$CARCH" = "x86_64" ]; then
    EXTRAOPTS="--without-stlport"
    else EXTRAOPTS="--with-stlport"
    fi
    # autoreconf
    ./configure --with-distro=ArchLinux \
    --with-build-version="${_GOver} ArchLinux build-${pkgrel} (${_ootag})"\
    --with-srcdir=${srcdir} \
    --with-max-jobs=${MAKEFLAGS/-j/} \
    --with-installed-ooo-dirname="${pkgname}" \
    --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc \
    --with-docdir=/usr/share/doc/packages/"${pkgname}" \
    --mandir=/usr/share/man \
    --with-lang="" \
    --with-dict=ALL\
    --with-binsuffix=no \
    --disable-ldap \
    --enable-cairo\
    --disable-kde\
    --enable-kde4\
    --enable-lockdown\
    --with-system-boost\
    --with-system-cairo\
    --enable-crashdump\
    --without-gpc\
    --enable-opengl \
    --enable-minimizer \
    --enable-presenter-console \
    --enable-pdfimport \
    --enable-wiki-publisher \
    --enable-ogltrans \
    --with-ant-home="/usr/share/java/apache-ant"\
    --with-system-saxon\
    --with-saxon-jar=/usr/share/java/saxon/saxon9he.jar\
    --with-system-lucene\
    --with-lucene-core-jar=/usr/share/java/lucene-core.jar\
    --with-lucene-analyzers-jar=/usr/share/java/lucene-analyzers.jar\
    --with-system-beanshell\
    --with-system-vigra\
    --with-system-altlinuxhyph\
    --with-system-lpsolve\
    $EXTRAOPTS || return 1
    # --with-system-mythes\
    # --with-system-graphite\
    # --with-tag=${_ootag}
    # --enable-report-builder \
    # --with-additional-sections="OOXMLExport"
    unset MAKEFLAGS
    # ./download
    LD_PRELOAD="" make || return 1
    package() {
    cd ${srcdir}/ooo-build-${_GOver}
    LD_PRELOAD="" make DESTDIR=${pkgdir} install || return 1
    # install all built dictionaries from source tree
    pushd ${srcdir}/ooo-build-${_GOver}/build/${_ootag}/dictionaries/unxlng?6.pro/bin/
    for i in `ls -1 dict-??.oxt`; do
    install -D -m644 $i ${pkgdir}/usr/lib/"${pkgname}"/share/extension/install/$i || return 1
    done
    popd
    # install all other built extensions
    pushd ${srcdir}/ooo-build-${_GOver}/build/${_ootag}/solver/320/unxlng?6.pro/bin/
    install -m644 pdfimport/pdfimport.oxt ${pkgdir}/usr/lib/"${pkgname}"/share/extension/install/pdfimport.oxt || return 1
    install -m644 swext/wiki-publisher.oxt ${pkgdir}/usr/lib/"${pkgname}"/share/extension/install/wiki-publisher.oxt || return 1
    install -m644 minimizer/sun-presentation-minimizer.oxt ${pkgdir}/usr/lib/"${pkgname}"/share/extension/install/sun-presentation-minimizer.oxt || return 1
    install -m644 presenter/presenter-screen.oxt ${pkgdir}/usr/lib/"${pkgname}"/share/extension/install/presenter-screen.oxt || return 1
    popd
    # fix unopkg call for mktemp, #15410
    sed -i "s:\/bin\/mktemp:\/usr\/bin\/mktemp:" ${pkgdir}/usr/lib/go-openoffice/program/unopkg || return 1
    #fix http://bugs.archlinux.org/task/17656
    find ${pkgdir} -perm 444 -exec ls -lh {} \;
    find ${pkgdir} -perm 444 -exec chmod 644 {} \;
    find ${pkgdir} -perm 555 -exec ls -lh {} \;
    find ${pkgdir} -perm 555 -exec chmod 755 {} \;
    Last edited by timefairy (2010-04-08 10:41:35)

    jryarch wrote:Thanks for your response, how do I actually run it automated? I'm doing it manual right now, but I suppose that's not the idea.
    I suppose that the function can be run as $1, I don't know (I mean `bash PKGBUILD mksource`). Nevertheless, you know what to do now
    Last edited by flamelab (2010-04-07 11:44:58)

Maybe you are looking for

  • Hp laserjet pro 200 color mfp m276nw no print preview

    Hello Folks, I have windows 7 64 bit HP laserjet pro 200 color mfp m276nw and do not see a print preview option. Is there a way to get this? In Linux I use print to ps file and ghostscript to view. Our oldink jet had a print preview option. I did see

  • Report on list of purchase requisitions and related POs..

    Hi, I have a requirement to generate a simple abap report to display a list of purchase requisitions and its related POs. If my understanding is correct, for a single purchase requisition, multiple POs can exist, right ? Can someone help me with the

  • After updating to iOS 5, I can't seem to find my digital zoom on my iPhone 4.

    Hi, I just recently updated my iPhone 4 16 GB GSM to the newest operating system - iOS 5. The only problem I have encountered is when i'm in camera mode (rear-facing camera) and I tap the screen once to try and zoom in, the digital zoom bar doesn't s

  • How do I use Yahoo mail exclusively when responding

    Greetings,   I use Yahoo mail. Often, when "clicking on" a link from a web-page to send an email, MacMail appears, and I have to go through the whole..write it down..go to Yahoo..write it in..etc, routine. How can I set computer to always bring up Ya

  • Is it a BUG?, or this can be solved?

    The Issue: Basically I developed this particular site with Muse and I am using Business Catalyst for CRM and E-Commerce, I am using many custom javascripts and CSS to do many of the functions missing in Bc, most of these styles and scripts run in the