Trying to modify Vultureseye PKGBUILD for Vulturesclaw

Ok I've got the PKGBUILD for Vultureseye now I've modified it, now I confess the work is not mine. But I presumed by changing references to nethack to slashem and vultureseye to vulturesclaw, this would work as the PKGBUILD is getting both.
But it seems I'm missing something could someone please point me in the right direction as I'm really not sure what is going on.
pkgname=vulturesclaw
pkgver=2.1.0
pkgrel=1
pkgdesc="An isometric graphics interface to NetHack."
arch=('i686' 'x86_64')
url="http://www.darkarts.co.za/projects/vultures/"
license=('custom')
depends=('sdl_mixer' 'sdl_ttf' 'sdl_image' 'libpng' 'flex' 'bison')
source=(http://usrsrc.org/svn/vultures/releases/$pkgver/vultures-$pkgver-full.tar.bz2)
md5sums=('f448f4fa74f07178683640a3f7985944')
build() {
mkdir -p $startdir/pkg/usr/bin
mkdir -p $startdir/pkg/usr/share/applications
mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps
mkdir -p $startdir/pkg/usr/share/licenses/custom/$pkgname
mkdir -p $startdir/pkg/usr/share/$pkgname
cd $startdir/src
# tar -jxf vultures-$pkgver-full.tar.bz2?format=raw
cd $startdir/src/vultures-$pkgver/slashem/sys/unix
sh setup.sh
cd $startdir/src/vultures-$pkgver/slashem/include
sed -e '/define HACKDIR/ s|/usr/games/lib/nethackdir|/usr/share/vulturesclaw|' \
-e '/^#define COMPRESS\s/ s|/usr/bin/compress|/bin/gzip|' \
-e '/^#define COMPRESS_EXTENSION/ s|".Z"|".gz"|' \
-e 's|^/\* \(#define DLB\) \*/|\1|' -i config.h
sed -e 's|^/\* \(#define LINUX\) \*/|\1|' \
-e 's|^/\* \(#define TIMED_DELAY\) \*/|\1|' -i unixconf.h
cd $startdir/src/vultures-$pkgver/slashem
sed -e '/^GAMEDIR\s*=/ s|/games/.*$|/share/$(GAME)|' \
-e '/^GAMEUID\s*=/ s|games|root|' \
-e '/^GAMEGRP\s*=/ s|bin|root|' \
-e '/^SHELLDIR\s*=/ s|/games|/bin|' -i Makefile
make || return 1
make PREFIX=$startdir/pkg/usr install
cd $startdir/pkg/usr/bin
sed 's|HACKDIR=/.*/pkg/usr/share/vulturesclaw|HACKDIR=/usr/share/vulturesclaw|' -i vulturesclaw
install -Dm644 $startdir/src/vultures-$pkgver/slashem/dat/license $startdir/pkg/usr/share/licenses/$pkgname/license
install -Dm644 $startdir/src/vultures-$pkgver/dist/linux/vulturesclaw.desktop $startdir/pkg/usr/share/applications/vulturesclaw.desktop
install -Dm644 $startdir/pkg/usr/share/$pkgname/vulturesclaw.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/vulturesclaw.png
This seems to be bailing out on the 1st or second sed the error I'm getting is
sed: can't read vulturesclaw: No such file or directory
I have to admit the few package builds I've done have been a lot simpler in comparison so I suspect the error is between the chair and the keyboard.
Last edited by FeatherMonkey (2007-11-17 17:46:04)

The error is probably from the last sed command :
sed 's|HACKDIR=/.*/pkg/usr/share/vulturesclaw|HACKDIR=/usr/share/vulturesclaw|' -i vulturesclaw
For vultureseye the file that starts the program is called vultureseye , vulturesclaw/slashem may use a different start script.
Check the files in pkg/usr/bin to find the correct name for the start script.
Sidenote :
this line in my vultureseye PKGBUILD is incorrect :
mkdir -p $startdir/pkg/usr/share/licenses/custom/$pkgname
it should be mkdir -p $startdir/pkg/usr/share/licenses/$pkgname

Similar Messages

  • Error while trying to modify a Qualified Lookup Value.

    Hello,
    I have the following structure:
    Vendor <-- Main Table
    vendorName
    vendorType
    BankDetails <-- Qualified Table
    BankDetails (Table)
    Country   (non-qualifier value)
    bankKeyCode (cualifier value)
    Country
    code
    name
    I am trying to modify the BankDetails for a specific Vendor, I am getting a Record from Country table and then create a Link for the QualifiedLookupValue
    qualifiedLookupValue = (QualifiedLookupValue) mainRecord.getFieldValue(bankDetailFieldId);
    int index = qualifiedLookupValue.createQualifiedLink(countryRecord.getId());
    qualifiedLookupValue.setQualifierFieldValue(index, bankKeyFieldId, new LookupValue(bankKeyRecord.getId()));
    mainRecord.setFieldValue(bankDetailFieldId, qualifiedLookupValue);
    And then I modify the main Record (Vendor).
    I am getting the error: com.sap.mdm.commands.CommandException: com.sap.mdm.internal.protocol.manual.ServerException: Server error (0xffaa6000)
    What I have found in the forum is that this error is related to "Record Not Found". However, I am actually getting a correct Country from the Country table.
    Any Idea?.
    Many thanks in advance.
    Best Regards,
    Baez

    Hi Baez,
    You have to create a record with country record id in BankDetails table or get record id if country record id is already existed in BankDetails table  and use this record id to create qualified link .
    1. get Country record id
    2. search in Bankdetails table with Country Record id,
    3 . if exist in Bank details table, get record id in Bank details table and pass it to createQualifiedLink()method
                    or
    3. if Country record does not exist in BankDetails table, then  create new record in bankdetails table with Country record id, pass record id of new record to createQualifiedLink()method
    I hope this helps you......
    Cheers,
    Veeru

  • Help with PKGBUILD for nvidia driver cards

    Hello, I'm trying to make a PKGBUILD for the new geforce beta driver for the kernel26-mm kernel, geforce-utils went just fine, but the the geforce package was more tricky, here's the PKGBUILD:
    pkgname=geforce-mm
    pkgver=173.08
    _kernver='2.6.25-mm'
    pkgrel=1
    pkgdesc="NVIDIA drivers for kernel26mm."
    arch=(i686 x86_64)
    [ "$CARCH" = "i686" ] && ARCH=x86
    [ "$CARCH" = "x86_64" ] && ARCH=x86_64
    url="http://www.nvidia.com/"
    depends=('kernel26mm' 'geforce-utils')
    install=geforce.install
    source=(http://us.download.nvidia.com/XFree86/Linux-$ARCH/${pkgver}/NVIDIA-Linux-$ARCH-${pkgver}-pkg1.run)
    md5sums=()
    [ "$CARCH" = "x86_64" ] && md5sums=()
    build()
    # Extract
    cd $startdir/src/
    sh NVIDIA-Linux-$ARCH-${pkgver}-pkg1.run --extract-only
    cd NVIDIA-Linux-$ARCH-${pkgver}-pkg1
    cd usr/src/nv/
    ln -s Makefile.kbuild Makefile
    make SYSSRC=/lib/modules/${_kernver}/build module || return 1
    # install kernel module
    mkdir -p $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/video/
    install -m644 nvidia.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/video/
    sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/*.install
    Output when running it:
    [roberth@Magda geforce-mm]$ makepkg
    ==> Making package: geforce-mm 173.08-1 (Mon Apr 14 22:44:41 CEST 2008)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    -> Downloading NVIDIA-Linux-x86-173.08-pkg1.run...
    --2008-04-14 22:44:41-- http://us.download.nvidia.com/XFree86/Linux-x86/173.08/NVIDIA-Linux-x86-173.08-pkg1.run
    Resolving us.download.nvidia.com... 193.213.121.82, 193.213.121.74
    Connecting to us.download.nvidia.com|193.213.121.82|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 18958181 (18M) [application/octet-stream]
    Saving to: `NVIDIA-Linux-x86-173.08-pkg1.run'
    100%[===========================================================================================================================================================================================>] 18,958,181 710K/s in 26s
    2008-04-14 22:45:07 (720 KB/s) - `NVIDIA-Linux-x86-173.08-pkg1.run' saved [18958181/18958181]
    ==> WARNING: Integrity checks (md5) are missing or incomplete.
    ==> Extracting Sources...
    ==> Entering fakeroot environment...
    ==> Starting build()...
    Creating directory NVIDIA-Linux-x86-173.08-pkg1
    Verifying archive integrity... OK
    Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 173.08...............................................................................................................................................................................................................................................................................................
    NVIDIA: calling KBUILD...
    make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.25-mm/build SUBDIRS=/home/roberth/pkg/geforce-mm/src/NVIDIA-Linux-x86-173.08-pkg1/usr/src/nv modules
    test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
    echo; \
    echo " ERROR: Kernel configuration is invalid."; \
    echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
    echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
    echo; \
    /bin/false)
    mkdir -p /home/roberth/pkg/geforce-mm/src/NVIDIA-Linux-x86-173.08-pkg1/usr/src/nv/.tmp_versions ; rm -f /home/roberth/pkg/geforce-mm/src/NVIDIA-Linux-x86-173.08-pkg1/usr/src/nv/.tmp_versions/*
    make -f scripts/Makefile.build obj=/home/roberth/pkg/geforce-mm/src/NVIDIA-Linux-x86-173.08-pkg1/usr/src/nv
    cc -Wp,-MD,/home/roberth/pkg/geforce-mm/src/NVIDIA-Linux-x86-173.08-pkg1/usr/src/nv/.nv.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.3.0/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -fno-stack-protector -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-default -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -I/home/roberth/pkg/geforce-mm/src/NVIDIA-Linux-x86-173.08-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"173.08\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /home/roberth/pkg/geforce-mm/src/NVIDIA-Linux-x86-173.08-pkg1/usr/src/nv/nv.o /home/roberth/pkg/geforce-mm/src/NVIDIA-Linux-x86-173.08-pkg1/usr/src/nv/nv.c
    In file included from include/linux/list.h:8,
    from include/linux/preempt.h:11,
    from include/linux/spinlock.h:49,
    from include/linux/seqlock.h:29,
    from include/linux/time.h:8,
    from include/linux/timex.h:57,
    from include/linux/sched.h:54,
    from include/linux/utsname.h:35,
    from /home/roberth/pkg/geforce-mm/src/NVIDIA-Linux-x86-173.08-pkg1/usr/src/nv/nv-linux.h:19,
    from /home/roberth/pkg/geforce-mm/src/NVIDIA-Linux-x86-173.08-pkg1/usr/src/nv/nv.c:14:
    include/linux/prefetch.h: In function 'prefetch_range':
    include/linux/prefetch.h:57: warning: pointer of type 'void *' used in arithmetic
    In file included from include/linux/gfp.h:4,
    from include/linux/slab.h:14,
    from include/linux/percpu.h:5,
    from include/linux/rcupdate.h:41,
    from include/linux/pid.h:4,
    from include/linux/sched.h:74,
    from include/linux/utsname.h:35,
    from /home/roberth/pkg/geforce-mm/src/NVIDIA-Linux-x86-173.08-pkg1/usr/src/nv/nv-linux.h:19,
    from /home/roberth/pkg/geforce-mm/src/NVIDIA-Linux-x86-173.08-pkg1/usr/src/nv/nv.c:14:
    include/linux/mmzone.h: In function 'first_zones_zonelist':
    include/linux/mmzone.h:778: warning: comparison between signed and unsigned
    include/linux/mmzone.h:781: warning: comparison between signed and unsigned
    include/linux/mmzone.h: In function 'next_zones_zonelist':
    include/linux/mmzone.h:798: warning: comparison between signed and unsigned
    include/linux/mmzone.h:801: warning: comparison between signed and unsigned
    In file included from include/asm/dma-mapping_32.h:5,
    from include/asm/dma-mapping.h:2,
    from include/linux/dma-mapping.h:52,
    from include/asm-generic/pci-dma-compat.h:7,
    from include/asm/pci.h:90,
    from include/linux/pci.h:937,
    from /home/roberth/pkg/geforce-mm/src/NVIDIA-Linux-x86-173.08-pkg1/usr/src/nv/nv-linux.h:86,
    from /home/roberth/pkg/geforce-mm/src/NVIDIA-Linux-x86-173.08-pkg1/usr/src/nv/nv.c:14:
    include/linux/scatterlist.h: In function 'sg_virt':
    include/linux/scatterlist.h:199: warning: pointer of type 'void *' used in arithmetic
    In file included from /home/roberth/pkg/geforce-mm/src/NVIDIA-Linux-x86-173.08-pkg1/usr/src/nv/nv-linux.h:109,
    from /home/roberth/pkg/geforce-mm/src/NVIDIA-Linux-x86-173.08-pkg1/usr/src/nv/nv.c:14:
    include/linux/highmem.h: In function 'zero_user_segments':
    include/linux/highmem.h:134: warning: pointer of type 'void *' used in arithmetic
    include/linux/highmem.h:134: warning: pointer of type 'void *' used in arithmetic
    include/linux/highmem.h:134: warning: pointer of type 'void *' used in arithmetic
    include/linux/highmem.h:134: warning: pointer of type 'void *' used in arithmetic
    include/linux/highmem.h:137: warning: pointer of type 'void *' used in arithmetic
    include/linux/highmem.h:137: warning: pointer of type 'void *' used in arithmetic
    include/linux/highmem.h:137: warning: pointer of type 'void *' used in arithmetic
    include/linux/highmem.h:137: warning: pointer of type 'void *' used in arithmetic
    /home/roberth/pkg/geforce-mm/src/NVIDIA-Linux-x86-173.08-pkg1/usr/src/nv/nv.c: In function 'nv_kern_vma_nopage':
    /home/roberth/pkg/geforce-mm/src/NVIDIA-Linux-x86-173.08-pkg1/usr/src/nv/nv.c:1846: error: 'NOPAGE_SIGBUS' undeclared (first use in this function)
    /home/roberth/pkg/geforce-mm/src/NVIDIA-Linux-x86-173.08-pkg1/usr/src/nv/nv.c:1846: error: (Each undeclared identifier is reported only once
    /home/roberth/pkg/geforce-mm/src/NVIDIA-Linux-x86-173.08-pkg1/usr/src/nv/nv.c:1846: error: for each function it appears in.)
    /home/roberth/pkg/geforce-mm/src/NVIDIA-Linux-x86-173.08-pkg1/usr/src/nv/nv.c: At top level:
    /home/roberth/pkg/geforce-mm/src/NVIDIA-Linux-x86-173.08-pkg1/usr/src/nv/nv.c:1853: error: unknown field 'nopage' specified in initializer
    /home/roberth/pkg/geforce-mm/src/NVIDIA-Linux-x86-173.08-pkg1/usr/src/nv/nv.c:1853: warning: initialization from incompatible pointer type
    make[3]: *** [/home/roberth/pkg/geforce-mm/src/NVIDIA-Linux-x86-173.08-pkg1/usr/src/nv/nv.o] Error 1
    make[2]: *** [_module_/home/roberth/pkg/geforce-mm/src/NVIDIA-Linux-x86-173.08-pkg1/usr/src/nv] Error 2
    NVIDIA: left KBUILD.
    nvidia.ko failed to build!
    make[1]: *** [module] Error 1
    make: *** [module] Error 2
    ==> ERROR: Build Failed.
    Aborting...
    Anybody have a clue?

    It seems I was wrong! I found a patch on the nvidia forums which actually makes it works
    I don't know if it will work for you, or how safe it is, but I guess it is worth a shot.
    The patch:
    --- os-agp.c.25 2008-04-02 01:34:49.000000000 -0400
    +++ os-agp.c 2008-04-02 01:39:00.000000000 -0400
    @@ -293,7 +293,7 @@
    nv_pte_t *page_ptr = at->page_table[i];
    - page_ptr->phys_addr = (ptr->memory[i] & PAGE_MASK);
    + page_ptr->phys_addr = (ptr->memory[i]);
    page_ptr->virt_addr = (unsigned long) __va(page_ptr->phys_addr);
    page_ptr->dma_addr = page_ptr->phys_addr;
    --- nv.c.25 2008-03-15 22:00:46.000000000 -0400
    +++ nv.c 2008-04-02 01:31:46.000000000 -0400
    @@ -613,7 +613,7 @@
    nv_state_t *nv;
    nv_linux_state_t *nvl;
    - proc_nvidia = create_proc_entry("nvidia", d_flags, proc_root_driver);
    + proc_nvidia = create_proc_entry("driver/nvidia", d_flags, NULL);
    if (!proc_nvidia)
    goto failed;
    @@ -1811,6 +1811,19 @@
    +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 24))
    +int nv_kern_vma_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
    +{
    +struct page *page;
    +
    + page = pfn_to_page(vma->vm_pgoff);
    + if (!page)
    + return VM_FAULT_SIGBUS;
    + get_page(page);
    + vmf->page = page;
    + return 0;
    +}
    +#else
    struct page *nv_kern_vma_nopage(
    struct vm_area_struct *vma,
    unsigned long address,
    @@ -1832,11 +1845,16 @@
    return NOPAGE_SIGBUS;
    #endif
    +#endif /* 2.6.24 */
    struct vm_operations_struct nv_vm_ops = {
    .open = nv_kern_vma_open,
    .close = nv_kern_vma_release, /* "close" */
    +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 24))
    + .fault = nv_kern_vma_fault,
    +#else
    .nopage = nv_kern_vma_nopage,
    +#endif
    static nv_file_private_t *

  • Making pkgbuild for keytouch

    I'm trying to make a pkgbuild for keytouch
    But as it's my first pkgbuild, I have some problems:
    1) the docs say you need the following packages to be installed:
    - GTK 2
    - gksu
    - X11 and Xlib
    gtk2 and gksu are in pacman, but what do I have to add for X11 and Xlib?
    2) running makepkg runs into an error:
    mkdir /home/tom/download/PKGbuilds/keytouch/test1/pkg/usr/bin
    /bin/install -c keytouchd /home/tom/download/PKGbuilds/keytouch/test1/pkg/usr/bin/keytouchd
    XSESSION_KEYTOUCHD_LINE="keytouchd &";
    XSESSION_DIR="/etc/X11/Xsession.d";
    if [ -d $XSESSION_DIR ]; then
    echo "$XSESSION_KEYTOUCHD_LINE" > $XSESSION_DIR/40keytouchd;
    chmod +x $XSESSION_DIR/40keytouchd;
    else
    XSESSION_FILE="/etc/X11/Xsession";
    if [ "`grep "$XSESSION_KEYTOUCHD_LINE" "$XSESSION_FILE" -m 1 -h`" != "$XSESSION_KEYTOUCHD_LINE" ]; then
    XSESSION_TMP=`cat "$XSESSION_FILE"`;
    echo "$XSESSION_KEYTOUCHD_LINE" > $XSESSION_FILE;
    echo "$XSESSION_TMP" >> $XSESSION_FILE;
    fi
    fi
    /bin/sh: /etc/X11/Xsession.d/40keytouchd: Permission denied
    chmod: cannot access `/etc/X11/Xsession.d/40keytouchd': No such file or directory
    make[2]: *** [install-data-local] Error 1
    make[2]: Leaving directory `/home/tom/download/PKGbuilds/keytouch/test1/src/keytouch-2.0/keytouchd'
    make[1]: *** [install-am] Error 2
    make[1]: Leaving directory `/home/tom/download/PKGbuilds/keytouch/test1/src/keytouch-2.0/keytouchd'
    make: *** [install-recursive] Error 1
    ==> ERROR: Build Failed. Aborting...
    It produces this error on the make install, and I thinks it's because the src/keytouch-2.0/keytouchd/Makefile.am contains the following:
    install-data-local:
    @$(NORMAL_INSTALL)
    XSESSION_KEYTOUCHD_LINE="keytouchd &";
    XSESSION_DIR="$(DESTDIR)/etc/X11/Xsession.d";
    if [ -d $$XSESSION_DIR ]; then
    echo "$$XSESSION_KEYTOUCHD_LINE" > $$XSESSION_DIR/40keytouchd;
    chmod +x $$XSESSION_DIR/40keytouchd;
    else
    XSESSION_FILE="/etc/X11/Xsession";
    if [ "`grep "$$XSESSION_KEYTOUCHD_LINE" "$$XSESSION_FILE" -m 1 -h`" != "$$XSESSION_KEYTOUCHD_LINE" ]; then
    XSESSION_TMP=`cat "$$XSESSION_FILE"`;
    echo "$$XSESSION_KEYTOUCHD_LINE" > $$XSESSION_FILE;
    echo "$$XSESSION_TMP" >> $$XSESSION_FILE;
    fi
    fi
    The make install tries to write directly to /etc/X11/Xsession, which is not allowed while make the pkg.
    How do I solve this problem?
    The pkgbuild so far:
    # $Id: PKGBUILD,v 1.0 2005/21/11 $
    # Maintainer: mouse256
    pkgname=keytouch
    pkgver=2.0.0
    pkgrel=1
    pkgdesc="A program which allows you to easily configure the extra function keys of your keyboard"
    depends=('gtk2' 'gksu')
    source=(http://dl.sourceforge.net/sourceforge/keytouch/$pkgname-$pkgver.tar.gz)
    url="http://keytouch.sourceforge.net/"
    md5sums=('a7a22320707b887b1c5dedb77d2cf3e6')
    build() {
    cd $startdir/src/$pkgname-2.0
    ./configure --prefix=/usr
    make || return 1
    make prefix=$startdir/pkg/usr install

    thanks, it dit help somewhat, but I still had some errors.  Now they're all solved, but I don't know whether my pkgbuild is according the arch rules:
    pkgbuild;
    # $Id: PKGBUILD,v 1.0 2005/21/11 $
    # Maintainer: mouse256
    pkgname=keytouch
    pkgver=2.0.0
    pkgrel=1
    pkgdesc="A program which allows you to easily configure the extra function keys of your keyboard"
    depends=('gtk2' 'gksu')
    source=(http://dl.sourceforge.net/sourceforge/keytouch/$pkgname-$pkgver.tar.gz)
    url="http://keytouch.sourceforge.net/"
    md5sums=('a7a22320707b887b1c5dedb77d2cf3e6')
    build() {
    cd $startdir/src/$pkgname-2.0
    ./configure --prefix=/usr
    make || return 1
    #script checkt if Xsession directory exists, so create it
    mkdir $startdir/pkg/etc
    mkdir $startdir/pkg/etc/X11
    mkdir $startdir/pkg/etc/X11/Xsession.d
    mkdir $startdir/pkg/etc/rc.d
    make DESTDIR=$startdir/pkg install
    cd $startdir/src/$pkgname-2.0/keytouch-config
    ./configure --prefix=/usr
    make || return 1
    make DESTDIR=$startdir/pkg install
    cd $startdir/src/$pkgname-2.0/keytouch-keyboard
    ./configure --prefix=/usr
    make || return 1
    make DESTDIR=$startdir/pkg install
    mkdir -p $startdir/pkg/usr/share/applications
    echo "Categories=Application;Accessoires;" >> $startdir/pkg/usr/share/keytouch/desktop/keytouch.desktop
    mv $startdir/pkg/usr/share/keytouch/desktop/keytouch.desktop $startdir/pkg/usr/share/applications
    The biggest problem I think is it creates a file in /etc/rc.d
    FILELIST:
    .FILELIST
    .PKGINFO
    etc/
    etc/X11/
    etc/X11/Xsession.d/
    etc/X11/Xsession.d/40keytouchd
    etc/rc.d/
    etc/rc.d/keytouch-init.sh
    usr/
    usr/bin/
    usr/bin/keytouch
    usr/bin/keytouch-init
    usr/bin/keytouch-keyboard
    usr/bin/keytouch-keyboard-bin
    usr/bin/keytouchd
    usr/etc/
    usr/etc/keytouch/
    usr/share/
    usr/share/keytouch-keyboard-bin/
    usr/share/keytouch-keyboard-bin/pixmaps/
    usr/share/keytouch-keyboard-bin/pixmaps/icon.png
    usr/share/keytouch/
    usr/share/keytouch/doc/
    usr/share/keytouch/doc/html/
    usr/share/keytouch/doc/html/WARNINGS
    usr/share/keytouch/doc/html/images.aux
    usr/share/keytouch/doc/html/images.log
    usr/share/keytouch/doc/html/images.out
    usr/share/keytouch/doc/html/images.pl
    usr/share/keytouch/doc/html/images.tex
    usr/share/keytouch/doc/html/img1.png
    usr/share/keytouch/doc/html/img2.png
    usr/share/keytouch/doc/html/img3.png
    usr/share/keytouch/doc/html/img4.png
    usr/share/keytouch/doc/html/index.html
    usr/share/keytouch/doc/html/internals.pl
    usr/share/keytouch/doc/html/labels.pl
    usr/share/keytouch/doc/html/node1.html
    usr/share/keytouch/doc/html/node10.html
    usr/share/keytouch/doc/html/node11.html
    usr/share/keytouch/doc/html/node12.html
    usr/share/keytouch/doc/html/node13.html
    usr/share/keytouch/doc/html/node14.html
    usr/share/keytouch/doc/html/node15.html
    usr/share/keytouch/doc/html/node16.html
    usr/share/keytouch/doc/html/node17.html
    usr/share/keytouch/doc/html/node18.html
    usr/share/keytouch/doc/html/node2.html
    usr/share/keytouch/doc/html/node3.html
    usr/share/keytouch/doc/html/node4.html
    usr/share/keytouch/doc/html/node5.html
    usr/share/keytouch/doc/html/node6.html
    usr/share/keytouch/doc/html/node7.html
    usr/share/keytouch/doc/html/node8.html
    usr/share/keytouch/doc/html/node9.html
    usr/share/keytouch/doc/html/user_manual.css
    usr/share/keytouch/doc/html/user_manual.html
    usr/share/keytouch/keyboards/
    usr/share/keytouch/keyboards/Aspire 1300.Acer
    usr/share/keytouch/keyboards/Aspire 1350.Acer
    usr/share/keytouch/keyboards/Cordless Desktop Pro.Logitech
    usr/share/keytouch/keyboards/D47K.Promedion
    usr/share/keytouch/keyboards/Easy Access Keyboard (8 keys).Compaq
    usr/share/keytouch/keyboards/Internet Navigator.Logitech
    usr/share/keytouch/keyboards/Latitude D505.Dell
    usr/share/keytouch/keyboards/MultiMedia Keyboard 1.0.Microsoft
    usr/share/keytouch/keyboards/TravelMate 4100.Acer
    usr/share/keytouch/keyboards/Versa P550.Nec
    usr/share/keytouch/keyboards/Y-RK49.Logitech
    usr/share/keytouch/pixmaps/
    usr/share/keytouch/pixmaps/icon.png
    usr/share/keytouch/pixmaps/internet.png
    usr/share/keytouch/pixmaps/key.png
    usr/share/keytouch/pixmaps/key2.png
    usr/share/keytouch/pixmaps/keyboard.png
    usr/share/keytouch/pixmaps/keytouch.png
    usr/share/keytouch/plugins/
    usr/share/keytouch/plugins/amarok.so
    usr/share/keytouch/plugins/aumix.so
    usr/share/keytouch/plugins/browser.so
    usr/share/keytouch/plugins/chat.so
    usr/share/keytouch/plugins/common_actions.so
    usr/share/keytouch/plugins/email.so
    usr/share/keytouch/plugins/filemanager.so
    usr/share/keytouch/plugins/lock_screen.so
    usr/share/keytouch/plugins/xmms.so
    the file etc/rc.d/keytouch-init.sh contains:
    /usr/bin/keytouch-init
    So this won't work on arch.  Should the file be removed from the pkg?  And should it be replaced by another deamon file that does work?

  • I am trying to get the artwork for an album. "Artwork Not Modifiable" appears in the artwork box and it doesn't let me drag artwork.  What can I do to fix this?

    I am trying to get the artwork for an album. "Artwork Not Modifiable" appears in the artwork box and it doesn't let me drag artwork.  What can I do to fix this?

    Words simply can't describe what a kludge iTunes has become.  Every time Apple fixes one problem, a dozen more pop up.  It's like trying to hold a bunch of ping-pong balls under water simultaneously.
    The immediate problem is that Lion with iTunes buggers the artwork.  Some it loses, some it can't find, and some appears and disappears like the Flying Dutchman (look it up...).
    The bigger issue is that so MUCH of iTunes is bad, in general.  Apple trys to use iTunes as a Swiss Army knife, using it to synch iPhones, iPads, etc.  The app has become so generic that it is actually good at nothing.
    The interfrace is kludgy; moving the library from one location to another virtually guarantees a wasted day and usually lost art, music, or backups.
    In general, Apple's hardware and software is relatively ergonomically designed.  I-Tunes, however just plain SUUUUUUUUUUUUCKS!

  • Trying to modify two AD User attributes for multiple users?

    Hello,
    I'm a newbie to Powershell and need some help.
    I have a 2008 R2 AD and need to modify two attributes for multiple users.
    The attributes include "homeDirectory" and "unixhomedirectory".
    I have started to go through Powershell in a month of lunches but need this solution quickly.
    I have been trying  number of scripts that I cannot get to work in our test AD lab.
    Is there anyone who can help with a simple script with explanations of each line so I know how it works please?
    help

    Thanks clayman2,
    Here is what's in my .csv below
    samaccountName
    homdedirectory
    unixhomedirectory
    testuser1
    \\servername\oldhimedir\%username%
    \\servername\oldhimedir\%username%
    testuser2
    \\servername\oldhimedir\%username%
    \\servername\oldhimedir\%username%
    This is the code below I'm trying to use.
    Import-Module ActiveDirectory
    $USERS = Import-CSV c:\users.csv
    $USERS|Foreach{Set-ADUSer -Identity $_.samaccountname -homdedirectory $_.\\servername\oldhimedir\%username% -unixhomedirectory $_.\\servername\oldhimedir\%username%}
    Please let me know if I have to put the pathing in any special brackets to have PS read it. I have tried {} around the field but I get "Missing property name after reference operator"
    Thank you

  • New PKGBUILD for ricoh webcam

    Hello all,
    I was searching for a driver for my ricoh webcam (05ca:1870) in my hp pavilion dv1000.
    I know that here http://bitbucket.org/ahixon/r5u87x/ there's a user space tool manager cameras based on Ricoh R5U87x chipsets though uvcvideo, but my webcam did not work (no /dev/video0).
    But searching a bit more i found this http://www.palmix.org/r5u870-en.html, here there's an update for the old r4u870 driver to build with the 2.6.30 kernel (32 and 64 bits). I modified the PKGBUILD in http://aur.archlinux.org/packages.php?ID=15226.
    The package is builded and installed ok, but after I activate the module (with modprobe r5u870) and tested with gstreamer (gst-launch-0.10 v4l2 ! ffmpegcolorspace ! autovideosink) it only capture one image and then gst-launch-0.10 shows a bunch of:
    (gst-launch-0.10:31682): GStreamer-CRITICAL **: gst_util_uint64_scale_int: assertion `denom > 0' failed
    I want to know if someone has this type webcam and can try this packages, and of course modify the PKGBUILD to add support both i686 and x86_64.
    If someone made it work please send me how.
    # Contributor: Alessandro Sagratini <[email protected]>
    # Contributor: Matias De la Puente <[email protected]>
    _kernver=2.6.30-ARCH
    pkgname=r5u870
    pkgver=0.11.3
    pkgrel=1
    pkgdesc="Linux device driver for Ricoh R5U870 OEM cameras."
    arch=('i686')
    url="http://www.palmix.org/r5u870-en.html"
    license=('GPL2')
    install=r5u870.install
    depends=('kernel26>=${_kernver}')
    source=(http://www.palmix.org/download/r5u870_k2.6.30_i386.tar.bz2)
    md5sums=('8f285c1bc28a6dc32835d1973f2d7b6c')
    build() {
    cd $startdir/src/$pkgname
    sed -i -e 's/\/sbin\/depmod -a//g' Makefile
    make || return 1
    #Install kernel module
    install -D -m644 usbcam/usbcam.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/media/video/usbcam.ko
    install -D -m644 r5u870.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/media/video/r5u870.ko
    #Install firmwares
    for i in *.fw; do
    install -D -m 644 $i $startdir/pkg/lib/firmware/$i
    done
    sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" $startdir/r5u870.install

    I copied r5u870.install from the aur package, then tried your PKGBUILD, only modifying arch to x86_64. Got a make error....
    make[1]: Entering directory `/usr/src/linux-2.6.30-ARCH'
    CC [M] /home/firecat53/src/webcam/src/r5u870/r5u870.o
    CC [M] /home/firecat53/src/webcam/src/r5u870/usbcam/usbcam_dev.o
    CC [M] /home/firecat53/src/webcam/src/r5u870/usbcam/usbcam_fops.o
    /home/firecat53/src/webcam/src/r5u870/usbcam/usbcam_fops.c: In function 'usbcam_v4l_ioctl':
    /home/firecat53/src/webcam/src/r5u870/usbcam/usbcam_fops.c:1163: warning: unused variable 'udp'
    /home/firecat53/src/webcam/src/r5u870/usbcam/usbcam_fops.c: At top level:
    /home/firecat53/src/webcam/src/r5u870/usbcam/usbcam_fops.c:1199: error: unknown field 'compat_ioctl' specified in initializer
    /home/firecat53/src/webcam/src/r5u870/usbcam/usbcam_fops.c:1199: error: 'v4l_compat_ioctl32' undeclared here (not in a function)
    make[3]: *** [/home/firecat53/src/webcam/src/r5u870/usbcam/usbcam_fops.o] Error 1
    make[3]: *** Waiting for unfinished jobs....
    make[2]: *** [/home/firecat53/src/webcam/src/r5u870/usbcam] Error 2
    make[2]: *** Waiting for unfinished jobs....
    make[1]: *** [_module_/home/firecat53/src/webcam/src/r5u870] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.30-ARCH'
    make: *** [all] Error 2
    ==> ERROR: Build Failed.
    Aborting...
    Any ideas?
    Scott

  • Not able to modify the data for infotype 0008 using FM

    Hi All ,
    I have got a requirement for updating the infotype 0008 data  using FM : HR_MAINTAIN_MASTER_DATA.
    While trying to modify the wagetypes data which is of blank ..unable to upload the amount for that partcular field ..
    For this am herewith the link  of o/p :
    http://i55.tinypic.com/28jfw2c.jpg for this am also posting the code...
    Please suggest me furthur in what way i can upload..
          SELECT * FROM pa0008 INTO TABLE itab_pa0008
    FOR ALL ENTRIES IN itab
        WHERE pernr = wa_data-pernr
        AND begda = wa_data-begda_out
        AND endda = wa_data-endda_out.
        DESCRIBE TABLE itab_pa0008 LINES lin.
        IF lin EQ  0.
          c_action = 'INS'.
        ELSE.
          c_action = 'MOD'.
        ENDIF.
        LOOP AT itab INTO wa_itab WHERE pernr = wa_data-pernr.
          CLEAR: wa_bapireturn, wa_bapireturn1, wa_hr_return.
          REFRESH: it_pprop[],it_modified_keys[].
          it_pprop-infty = '0008'.
          it_pprop-fname  = 'P0008-TRFAR'.                 "1
          it_pprop-fval = wa_itab-trfar.
          APPEND it_pprop.
          CLEAR it_pprop.
          it_pprop-infty = '0008'.
          it_pprop-fname  = 'P0008-TRFGB'.                 "2
          it_pprop-fval = wa_itab-trfgb.
          APPEND it_pprop.
          CLEAR it_pprop.
          it_pprop-infty = '0008'.
          it_pprop-fname  = 'P0008-TRFGR'.                  "3
          it_pprop-fval = wa_itab-trfgr.
          APPEND it_pprop.
          CLEAR it_pprop.
          it_pprop-infty = '0008'.
          it_pprop-fname  = 'P0008-TRFST'.                  "4
          it_pprop-fval = wa_itab-trfst.
          APPEND it_pprop.
          CLEAR it_pprop.
          flag = flag + 1.
    *****************************************************************************************************5
          BREAK-POINT.
          IF NOT wa_itab-lga1 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-LGA01'.
            it_pprop-fval = wa_itab-lga1.
            APPEND it_pprop.
            CLEAR it_pprop.
            bet1 = wa_itab-bet1.
          ENDIF.
          IF NOT wa_itab-bet1 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET01'.
            it_pprop-fval = wa_itab-bet1.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************6
         IF NOT wa_itab-lga2 IS INITIAL.
           it_pprop-infty = '0008'.
           it_pprop-fname  = 'P0008-LGA02'.
           it_pprop-fval = wa_itab-lga2.
           APPEND it_pprop.
           CLEAR it_pprop.
           bet1 = wa_itab-bet2.
         ENDIF.
          IF NOT wa_itab-bet2 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET02'.
            it_pprop-fval = wa_itab-bet2.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************7
          IF NOT wa_itab-lga3 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-LGA03'.
            it_pprop-fval = wa_itab-lga3.
            APPEND it_pprop.
            CLEAR it_pprop.
            bet1 = wa_itab-bet2.
          ENDIF.
          IF NOT wa_itab-bet3 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET03'.
            it_pprop-fval = wa_itab-bet3.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************8
          IF NOT wa_itab-lga4 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-LGA04'.
            it_pprop-fval = wa_itab-lga4.
            APPEND it_pprop.
            CLEAR it_pprop.
            bet1 = wa_itab-bet2.
          ENDIF.
          IF NOT wa_itab-bet4 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET04'.
            it_pprop-fval = wa_itab-bet4.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************9
          IF NOT wa_itab-lga5 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-LGA05'.
            it_pprop-fval = wa_itab-lga5.
            APPEND it_pprop.
            CLEAR it_pprop.
            bet1 = wa_itab-bet2.
          ENDIF.
          IF NOT wa_itab-bet5 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET05'.
            it_pprop-fval = wa_itab-bet5.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************10
          IF NOT wa_itab-lga6 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-LGA06'.
            it_pprop-fval = wa_itab-lga6.
            APPEND it_pprop.
            CLEAR it_pprop.
            bet1 = wa_itab-bet2.
          ENDIF.
          IF NOT wa_itab-bet6 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET06'.
            it_pprop-fval = wa_itab-bet6.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************11
          IF NOT wa_itab-lga7 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-LGA07'.
            it_pprop-fval = wa_itab-lga7.
            APPEND it_pprop.
            CLEAR it_pprop.
            bet1 = wa_itab-bet2.
          ENDIF.
          IF NOT wa_itab-bet7 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET07'.
            it_pprop-fval = wa_itab-bet7.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************12
          IF NOT wa_itab-lga8 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-LGA08'.
            it_pprop-fval = wa_itab-lga8.
            APPEND it_pprop.
            CLEAR it_pprop.
            bet1 = wa_itab-bet2.
          ENDIF.
          IF NOT wa_itab-bet8 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET08'.
            it_pprop-fval = wa_itab-bet8.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************13
          IF NOT wa_itab-lga9 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-LGA09'.
            it_pprop-fval = wa_itab-lga9.
            APPEND it_pprop.
            CLEAR it_pprop.
            bet1 = wa_itab-bet2.
          ENDIF.
          IF NOT wa_itab-bet9 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET09'.
            it_pprop-fval = wa_itab-bet9.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************14
          IF NOT wa_itab-lga10 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-LGA010'.
            it_pprop-fval = wa_itab-lga10.
            APPEND it_pprop.
            CLEAR it_pprop.
            bet1 = wa_itab-bet2.
          ENDIF.
          IF NOT wa_itab-bet10 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET010'.
            it_pprop-fval = wa_itab-bet10.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************15
       it_pprop-infty = '0008'.
       it_pprop-fname  = 'P0008-LGA11'.
       it_pprop-fval = wa_itab-lga11.
       APPEND it_pprop.
       CLEAR it_pprop.
       bet1 = wa_itab-bet2.
       it_pprop-infty = '0008'.
       it_pprop-fname  = 'P0008-BET11'.
       it_pprop-fval = wa_itab-bet11.
       APPEND it_pprop.
       CLEAR it_pprop.
    ********************************************************************************************************16
       it_pprop-infty = '0008'.
       it_pprop-fname  = 'P0008-LGA12'.
       it_pprop-fval = wa_itab-lga12.
       APPEND it_pprop.
       CLEAR it_pprop.
       bet1 = wa_itab-bet2.
       it_pprop-infty = '0008'.
       it_pprop-fname  = 'P0008-BET12'.
       it_pprop-fval = wa_itab-bet12.
       APPEND it_pprop.
       CLEAR it_pprop.
    ********************************************************************************************************17
       it_pprop-infty = '0008'.
       it_pprop-fname  = 'P0008-LGA13'.
       it_pprop-fval = wa_itab-lga13.
       APPEND it_pprop.
       CLEAR it_pprop.
       bet1 = wa_itab-bet2.
       it_pprop-infty = '0008'.
       it_pprop-fname  = 'P0008-BET13'.
       it_pprop-fval = wa_itab-bet13.
       APPEND it_pprop.
       CLEAR it_pprop.
    ********************************************************************************************************18
       it_pprop-infty = '0008'.
       it_pprop-fname  = 'P0008-LGA14'.
       it_pprop-fval = wa_itab-lga14.
       APPEND it_pprop.
       CLEAR it_pprop.
       bet1 = wa_itab-bet2.
       it_pprop-infty = '0008'.
       it_pprop-fname  = 'P0008-BET14'.
       it_pprop-fval = wa_itab-bet14.
       APPEND it_pprop.
       CLEAR it_pprop.
    BREAK-POINT.
          CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
            EXPORTING
              number = wa_itab-pernr
            IMPORTING
              return = wa_bapireturn1.
          BREAK-POINT.
         IF c_action = 'INS'.
           CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
             EXPORTING
               pernr           = wa_itab-pernr
               actio           = 'INS'
             tclas           = 'A'
               begda           = wa_data-begda_out             "'20110401'
               endda           = wa_data-endda_out             "'99991231'
               dialog_mode     = '2'
             luw_mode        = '1'
             IMPORTING
               return          = wa_bapireturn
               return1         = wa_bapireturn1
               hr_return       = wa_hr_return
             TABLES
               proposed_values = it_pprop
               modified_keys   = it_modified_keys.
           IF NOT wa_bapireturn IS INITIAL.
             WRITE : / wa_bapireturn.
             CLEAR : wa_itab , wa_bapireturn.
           ENDIF.
         ELSEIF c_action = 'MOD'.
            CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
              EXPORTING
             infty         = '0008'
                pernr           = wa_itab-pernr
                actio           = 'MOD'
                begda           = wa_data-begda_out             "'20110401'
                endda           = wa_data-endda_out             "'99991231'
          record        =  p_record
             recordnumber  = wa_itab-SEQNR
             operation     = change
             nocommit      = nocommit
                dialog_mode     = '0'
             IMPORTING
                return          = wa_bapireturn
                return1         = wa_bapireturn1
                hr_return       = wa_hr_return
              TABLES
                proposed_values = it_pprop
                modified_keys   = it_modified_keys.
            IF NOT wa_bapireturn IS INITIAL.
              WRITE : / wa_bapireturn.
              CLEAR : wa_itab , wa_bapireturn.
            ENDIF.
         ENDIF.
          CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
            EXPORTING
              number = wa_itab-pernr
            IMPORTING
              return = wa_bapireturn1.
        ENDLOOP.
      ENDLOOP.

    Here is a sampe, and the logic you are using for wages goes in the internal table for wages (you already have the enqueue & dequeue so you don't have to worry about that, so you only have to add the BAPI_TRANSACTION_COMMIT):
    CALL FUNCTION 'BAPI_BASICPAY_CHANGE'
      EXPORTING
        employeenumber             = pa0008-pernr
        subtype                    = pa0008-subty
        objectid                   = pa0008-objps
        lockindicator              = pa0008-sprps
        validitybegin              = pa0008-begda
        validityend                = pa0008-endda
        recordnumber               = pa0008-seqnr
        payscaletype               = pa0008-trfar
        payscalearea               = pa0008-trfgb
        payscalegroup              = pa0008-trfgr
        payscalelevel              = pa0008-trfst
    *   NEXTINCREASE               =
    *   LOCALALLOWLEVEL            =
    *   PARTNERSHIP                =
    *   CURRENCY                   =
    *   COMPARISONPAYSCLTYPE       =
    *   COMPARISONPAYSCLAREA       =
    *   COMPARISONPAYSCLGRP        =
    *   COMPARISONPAYSCLLVL        =
    *   COMPNEXTINCREASE           =
    *   CAPACITYUTILLEVEL          =
    *   HOURSWORKEDPERPERIOD       =
    *   ANNUALSALARY               =
    *   CASEGROUPCATALOG           =
    *   CASEGROUP                  =
    *   CURRENCYANNUALSALARY       =
    *   REASON                     =
    *   NOCOMMIT                   =
    * importing
    *   return                     =
    TABLES
       wagetypes                  = wages.
    Regards,
    Ryan Crosby

  • Failure while trying to 'Modify Application'

    Dear all,
      Regarding the log messages i received below, I got a suggestion from SAP to remove the \3GB switch, and i performed "bcdedit /deletevalue IncreaseUserVa" in Command Prompt, LowMemoryLimit in Analysis Service stays at 65 (i.e. 65%) and then i restarted the server. But i still received the same error. Any suggestions?
      Due to the length of the error messages, i will paste the second part in 'Failure while trying to Modify Applicatin 2'
    Regards,
    Lip Chean
    ==============[System Error Tracing]==============
    [System  Name] : ReportManage
    [Message Type] : ErrorMessage
    [Job Name]     : ReportManage/SetPublish
    [Exception]
        DetailMsg  : {System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full 6.64.9.55:80
       at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
       at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
       --- End of inner exception stack trace ---
       at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
       at System.Net.HttpWebRequest.GetRequestStream()
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at ReportService.ListChildren(String Item, Boolean Recursive)
       at OSoft.Services.Application.ReportManage.ReportManage.SetPublish(String strAppSet, String strUserID, ArrayList aryParam)}
    ==============[System Error Tracing  End ]==============
    ==============[System Error Tracing]==============
    [System  Name] : AdminServerHandler
    [Message Type] : ErrorMessage
    [Job Name]     : AdminServerUtil : MakeReport
    [Exception]
        DetailMsg  : {System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full
       at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
       at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
       --- End of inner exception stack trace ---
    Server stack trace:
       at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
       at System.Net.HttpWebRequest.GetRequestStream()
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at ReportService.ListChildren(String Item, Boolean Recursive)
       at OSoft.Services.Application.ReportManage.ReportManage.SetPublish(String strAppSet, String strUserID, ArrayList aryParam)
       at System.Runtime.Remoting.Messaging.Message.Dispatch(Object target, Boolean fExecuteInContext)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
    Exception rethrown at [0]:
       at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)
       at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)
       at OSoft.Services.Application.Report.BPFRpt.CreateStatusReportDefinition(String strAppset, String strApp, String m_sUserID, String sRetMsg)
       at OSoft.Services.Application.Report.BPFRpt.CreateBPFReport(String strAppset, String strApp, String strUserID)
       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
    Exception rethrown at [1]:
       at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)
       at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)
       at OSoft.Services.Application.AdminMainServer.AdminUtil.MakeReport(String strAppsetName, String strApplicationName, String strUserid)}
    ==============[System Error Tracing  End ]==============
    ==============[System Error Tracing]==============
    [System  Name] : OLAPServerHandler
    [Message Type] : ErrorMessage
    [Job Name]     : Olap9Manager : ConnectToOlap
    [DateTime]     : 11/25/2010 11:26:01 AM
    [UserId]       :
    [Exception]
        DetailMsg  : {Microsoft.AnalysisServices.ConnectionException: A connection cannot be made to redirector. Ensure that 'SQL Browser' service is running. ---> System.Net.Sockets.SocketException: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full 127.0.0.1:2382
       at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port)
       at Microsoft.AnalysisServices.XmlaClient.GetTcpClient(ConnectionInfo connectionInfo)
       --- End of inner exception stack trace ---
       at Microsoft.AnalysisServices.XmlaClient.GetTcpClient(ConnectionInfo connectionInfo)
       at Microsoft.AnalysisServices.XmlaClient.OpenTcpConnection(ConnectionInfo connectionInfo)
       at Microsoft.AnalysisServices.XmlaClient.Connect(ConnectionInfo connectionInfo, Boolean beginSession)
       at Microsoft.AnalysisServices.XmlaClient.GetInstancePort(ConnectionInfo connectionInfo)
       at Microsoft.AnalysisServices.XmlaClient.GetTcpClient(ConnectionInfo connectionInfo)
       at Microsoft.AnalysisServices.XmlaClient.OpenTcpConnection(ConnectionInfo connectionInfo)
       at Microsoft.AnalysisServices.XmlaClient.Connect(ConnectionInfo connectionInfo, Boolean beginSession)
       at Microsoft.AnalysisServices.Server.Connect(String connectionString, String sessionId)
       at Osoft.Services.Platform.YukonAdmin.Olap9Manager.ConnectToOlap(String& strMsg)}
    ==============[System Error Tracing  End ]==============
    ==============[System Error Tracing]==============
    [System  Name] : AdminServerHandler
    [Message Type] : ErrorMessage
    [Job Name]     : AdminYukonProcessing : OLAPConnect
    [DateTime]     : 11/25/2010 11:26:01 AM
    [UserId]       : BPC-PROD\lcsoh
    [Exception]
        DetailMsg  : {System.Exception: OLAPConnect Error : Exception error has occurred; check the log ID = 994 for more details
       at OSoft.Services.Application.AdminMainServer.AdminYukonProcessing.OLAPConnect(String& strMsg)}
    ==============[System Error Tracing  End ]==============
    ==============[System Error Tracing]==============
    [System  Name] : AdminServerHandler
    [Message Type] : ErrorMessage
    [Job Name]     : AdminOlapSelector : GetPartitionInfo
    [DateTime]     : 11/25/2010 11:26:01 AM
    [UserId]       : BPC-PROD\lcsoh
    [Exception]
        DetailMsg  : {System.Exception: OLAPConnect Error : Exception error has occurred; check the log ID = 994 for more details
    Server stack trace:
       at OSoft.Services.Application.AdminMainServer.AdminYukonProcessing.OLAPConnect(String& strMsg)
       at System.Runtime.Remoting.Messaging.Message.Dispatch(Object target, Boolean fExecuteInContext)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
    Exception rethrown at [0]:
       at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)
       at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)
       at OSoft.Services.Application.AdminMainServer.AdminOlapSelector.GetPartitionInfo(String strDBName, String strCubeName, String strDestinationCubeName, String& strPartitionTables, String& strPartitionNames, String& strPartitionFilter, String& strPartitionMode, String strDelimiter, String& strSlice)}
    ==============[System Error Tracing  End ]==============
    ==============[System Error Tracing]==============
    [System  Name] : AdminServerHandler
    [Message Type] : ErrorMessage
    [Job Name]     : AdminApplicationHandler : GetPartitionInfo
    [DateTime]     : 11/25/2010 11:26:01 AM
    [UserId]       : BPC-PROD\lcsoh
    [Exception]
        DetailMsg  : {System.Exception: OLAPConnect Error : Exception error has occurred; check the log ID = 994 for more details
    Server stack trace:
       at OSoft.Services.Application.AdminMainServer.AdminYukonProcessing.OLAPConnect(String& strMsg)
       at System.Runtime.Remoting.Messaging.Message.Dispatch(Object target, Boolean fExecuteInContext)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
    Exception rethrown at [0]:
       at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)
       at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)
       at OSoft.Services.Application.AdminMainServer.AdminOlapSelector.GetPartitionInfo(String strDBName, String strCubeName, String strDestinationCubeName, String& strPartitionTables, String& strPartitionNames, String& strPartitionFilter, String& strPartitionMode, String strDelimiter, String& strSlice)
       at System.Runtime.Remoting.Messaging.Message.Dispatch(Object target, Boolean fExecuteInContext)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
    Exception rethrown at [1]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at OSoft.Services.Application.AdminMainServer.AdminOlapSelector.GetPartitionInfo(String strDBName, String strCubeName, String strDestinationCubeName, String& strPartitionTables, String& strPartitionNames, String& strPartitionFilter, String& strPartitionMode, String strDelimiter, String& strSlice)
       at OSoft.Services.Application.AdminMainServer.AdminApplicationHandler.GetPartitionInfo(String StrOLAPServerName, String strAppSet, String strApplicationName, String strDestinationApplicationName, String& strPartitionTables, String& strPartitionNames, String& strPartitionFilter, String& strPartitionMode, String& strPartitionSlice, Boolean IsInsight)}
    ==============[System Error Tracing  End ]==============
    ==============[System Error Tracing]==============
    [System  Name] : OLAPServerHandler
    [Message Type] : ErrorMessage
    [Job Name]     : Olap9Manager : ConnectToOlap
    [DateTime]     : 11/25/2010 11:26:02 AM
    [UserId]       :
    [Exception]
        DetailMsg  : {Microsoft.AnalysisServices.ConnectionException: A connection cannot be made to redirector. Ensure that 'SQL Browser' service is running. ---> System.Net.Sockets.SocketException: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full 127.0.0.1:2382
       at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port)
       at Microsoft.AnalysisServices.XmlaClient.GetTcpClient(ConnectionInfo connectionInfo)
       --- End of inner exception stack trace ---
       at Microsoft.AnalysisServices.XmlaClient.GetTcpClient(ConnectionInfo connectionInfo)
       at Microsoft.AnalysisServices.XmlaClient.OpenTcpConnection(ConnectionInfo connectionInfo)
       at Microsoft.AnalysisServices.XmlaClient.Connect(ConnectionInfo connectionInfo, Boolean beginSession)
       at Microsoft.AnalysisServices.XmlaClient.GetInstancePort(ConnectionInfo connectionInfo)
       at Microsoft.AnalysisServices.XmlaClient.GetTcpClient(ConnectionInfo connectionInfo)
       at Microsoft.AnalysisServices.XmlaClient.OpenTcpConnection(ConnectionInfo connectionInfo)
       at Microsoft.AnalysisServices.XmlaClient.Connect(ConnectionInfo connectionInfo, Boolean beginSession)
       at Microsoft.AnalysisServices.Server.Connect(String connectionString, String sessionId)
       at Osoft.Services.Platform.YukonAdmin.Olap9Manager.ConnectToOlap(String& strMsg)}
    ==============[System Error Tracing  End ]==============
    ==============[System Error Tracing]==============
    [System  Name] : AdminServerHandler
    [Message Type] : ErrorMessage
    [Job Name]     : AdminYukonProcessing : OLAPConnect
    [DateTime]     : 11/25/2010 11:26:02 AM
    [UserId]       : BPC-PROD\lcsoh
    [Exception]
        DetailMsg  : {System.Exception: OLAPConnect Error : Exception error has occurred; check the log ID = 998 for more details
       at OSoft.Services.Application.AdminMainServer.AdminYukonProcessing.OLAPConnect(String& strMsg)}
    ==============[System Error Tracing  End ]==============

    Hi Sorin,
      I changed the port number in SSAS to '2383', restarted the SSAS services, and tried to modify the problematic application again. The error is still happening, and it's only happening to 1 out of 4 applications.
      The error messages in the log are the same, but one stuck out, i.e.
    A connection cannot be made to redirector. Ensure that 'SQL Browser' service is running. ---> System.Net.Sockets.SocketException: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full 127.0.0.1:2382
      I have restarted the 'SQL Server Browser' service, and removed the \3GB switch, before running 'Modify Application'.
      Any suggestions?
    Regards,
    Lip Chean

  • Network Setup trying to modify your system settings...This box won't go away!

    OSX Version 10.8.1....Since I have updated, I get "networksetup is trying to modify your system settings. Type your password to allow this" Sometimes there are ten of these boxes on top of each other, so I'm constantly typing in my password or clicking cancel..cancel...cancel... Sometimes it's very difficult to make it go away, and is extremely annoying. Any suggestions?
    Thanks
    Chris

    Your key chain probably needs some attention, reset it for the same password thru out. Go to utilities, keychain access, and you might be able to find the offender, also read the following.
    http://support.apple.com/kb/HT1274
    http://support.apple.com/kb/HT1631
    http://support.apple.com/kb/TS1544
    http://support.apple.com/kb/HT1631
    Hope there is some hlp for you here.
    ATB

  • Finding a PKGBUILD for the 2.6.21.4 kernel (for Asus EEE )

    I'm trying to build a kernel that will support the Asus Eee's non-source drivers out of the box without ndiswrapper.  I also would like to install the whole thing using my pacman.  Is there any way to get a complete PKGBUILD for this kernel?  If possible, I'd also like to get the associated patches, etc if possible.
    I'm basing my hack on some things listed here:
    http://cliffhacks.blogspot.com
    I played with the CVS for awhile, but couldn't find a way to get the kernel 2.6.21.4 PKGBUILD, and I'm not sure if CVS would even do this.
    After this, I'll have to compare the PKGBUILD with the config that Asus used on their kernel.  We'll see how it goes.  Thanks for any help or tips.

    lilsirecho wrote:
    beniro;
    Normally PKGBUILDS for kernels are not provided in arch.
    However, one has been inserted into the aur mix by raymano and it is for kernel 2.6.23.9-1.
    What are you talking about - I thought the PKGBUILDs were publicly available. Atleast I can see them - and you could certainly create your own although with a little difficulty for such an early kernel - but It should be possible

  • Help to create a pkgbuild for harpia

    hi i want to create a pkgbuild for the harpia program http://s2i.das.ufsc.br/harpia/en/home.html
    searching in the aur and in the net i couldn't find something
    harpia exist for ubuntu and the .deb file is hosted here http://packages.ubuntu.com/oneiric/all/harpia
    can someone help me create a working pkgbuild for arch through the .deb file
    i tried to create a first approach by creating the following PKGBUILD:
    pkgname=harpia
    pkgver=1.1
    pkgrel=1
    pkgdesc="Image Processing/Computer Vision Automatic Prgm. Tool"
    arch=('any')
    url="http://s2i.das.ufsc.br/harpia/en/home.html"
    license=('GPL2')
    depends=('')
    source=("http://archive.ubuntu.com/ubuntu/pool/universe/h/harpia/${pkgname}_${pkgver}-0ubuntu1.1_all.deb")
    md5sums=('56c6cb146ea5652e41b77506ad8ec263')
    build() {
    bsdtar -C "$pkgdir" -xvf data.tar.gz
    however when i am running the program i am taking the following error:
    Traceback (most recent call last):
    File "/usr/bin/harpia", line 32, in <module>
    from harpia import harpiagcfrontend
    ImportError: No module named harpia
    i guess that the problem might have to do with some dependencies or with the python library, can you provide me with some tips
    thanks

    Well, I'm not going to tell you every little thing .
    I found a likely candidate for python-gnome2 in pacman using a judicious choice of search terms. As for the rest, I suggest you go to the Debian or Ubuntu package lists. The Debian ones are easy to find in Google. These lists contain lots of information about what packages contain and what they provide and where the source code is from.
    Do some detective work, you will figure it out.

  • Getting the error access denied trying to modify the workbook with identifier in Disocverer Admin

    Hi All,
    I have exported a workbook created by business user as an .eex file logging in as discoverer admin from a Production enviornment (transactional databse) and trying to import it to a different environment called reporting environment ( non transactional databse) and getting a warning 'WFS GTP REPORT SINAPORE.eex:Access denied trying to modify the workbook with identifier 'WFS_GTP_REPORT_SINGAPORE'.
    It says Files Partially Imported so clicked on Finish to complete the import.
    The report has been imported under the user account but the sharing to the different responsibilities/Users has not been imported. I need to import the report with the sharing of the responsibilities/users as well.
    I do not have an option login into discoverer administratore using the user account, i can only login using the administator account ( i know loging in as the business user it self will allow you to import the sharing). But our DBA's oppse this is a security threat for the users as you are logging in as the user in production environment.
    Please help with this issue.

    I have the same problem, and I figured out that my windows is installed in french, and every users groups are created in french also, groups like Everyone don't exists and i can't change by console.
    Regards, Roberto Borges please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • PKGBUILD for custom kernel issue

    Hi all,
    Last night I was putting together a PKGBUILD for a kernel I'd like to compile that has the ck patchset, grsecurity (latest testing), and had broadcom-wl on it already so I don't have to keep reinstalling it from AUR and doing depmod each time as it keeps making me have to find an ethernet cable. I used the kerne26 Arch PKGBUILD as a base and included parts of kernel-netbook for broadcom-wl, kernel26-grsecurity, and kernel26-ck and altered name variables and links etc so it all works and all sources are downloaded. I also got the two .patch files (semaphore and something else) from the kernel-netbook tarball to build the thing with, I don't know if it would work without them.
    However when I get into the build() a few patches are applied before I get messages about patches already applied or reversed, and then it says build failed because of an error, I can't tell which package is causing thins or why (it all goes by too fast, and the error says failed without reason, and the reversed patch messages are what is immediately previous to it). I have not yet gone all the way through the pkgbuild - especially towards the end, and I felt that the standard setup of init file system creation and such were ok, and if anything does need altering about it, I can deal with it once I get these first troubles solved.
    Below is my pkgbuild so far. Hopefully there are people out there who can aid me with this.
    Thanks,
    Ben.
    # Maintainer: Ben Ward <[email protected]>
    pkgbase="kernel26"
    # pkgname=('kernel26' 'kernel26-headers' 'kernel26-docs') # Build stock -ARCH kernel
    pkgname=kernel26-custom # Build kernel with a different name
    #Base kernel info
    _kernelname=${pkgname#kernel26}
    _basekernel=2.6.38
    pkgver=${_basekernel}.3
    pkgrel=1
    #ARCH patch info
    _archpatchver=1
    _archpatchname="patch-${pkgver}-${_archpatchver}-ARCH"
    #_archpatchname="patch-${pkgver}-1-ARCH"
    #grsecurity info
    _grsec=2.2.2
    _timestamp=201104182227
    #Broadcom-wl info
    _broadcom_ver=5.100.82.38
    _broadcom="hybrid-portsrc_x86_32-v${_broadcom_ver//./_}"
    #ck-patch info
    _ckpatchversion=3
    _ckpatchname="patch-${_basekernel}-ck${_ckpatchversion}"
    arch=(i686 x86_64)
    license=('GPL2')
    url="http://www.kernel.org"
    options=(!strip)
    source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2
    ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-${pkgver}.bz2
    ftp://ftp.archlinux.org/other/kernel26/${_archpatchname}.bz2
    http://grsecurity.net/test/grsecurity-${_grsec}-${pkgver}-${_timestamp}.patch
    http://www.broadcom.com/docs/linux_sta/${_broadcom}.tar.gz
    http://www.kernel.org/pub/linux/kernel/people/ck/patches/2.6/${_basekernel}/${_basekernel}-ck${_ckpatchversion}/${_ckpatchname}.bz2
    "semaphore.patch"
    "mutex-sema.patch"
    # the main kernel config files
    config config.x86_64
    # standard config files for mkinitcpio ramdisk
    kernel26.preset)
    md5sums=('7d471477bfa67546f902da62227fa976'
    'b3677121c4b5efcb8128c2000788d0aa'
    '5b14b6eb2cdcb074905d4974437c4df6'
    'a19024797f192fe21a468de80c101d8a'
    'c0074a1622c75916442e26763ddf47d0'
    '88d5b3e0622f8c48dad19ab9ac3c16f0'
    'aee89fe7f034aea2f2ca95322774c1b5'
    '21ce3f7967d7305064bf7eb60030ffea'
    'f66543886835ab8599b29cd0c48aa66d'
    'd866bcc06672fee17736bd5022f700fe'
    '25584700a0a679542929c4bed31433b6')
    build() {
    cd ${srcdir}/linux-$_basekernel
    # Apply kernel.org patch to basekernel
    msg "Checking basekernel is ip to date..."
    if [[ "${_basekernel}" != "${pkgver}" ]]; then
    msg "Patching source with upstream patch..."
    patch -Np1 -i "${srcdir}/patch-${pkgver}" || return 1
    fi
    # Add -ARCH patches
    # See http://projects.archlinux.org/linux-2.6-ARCH.git/
    msg "Patching Kernel with ARCH patches..."
    patch -Np1 -i ${srcdir}/${_archpatchname}
    # Add ck patch
    msg "Patching Kernel with ck patches..."
    patch -Np1 -i ${srcdir}/${_ckpatchname}
    # Add grsecurity patch
    msg "Patching kernel with grsecurity testing branch..."
    if [ "$CARCH" = "x86_64" ]; then
    cat ../config.x86_64 >./.config
    else
    cat ../config >./.config
    fi
    if [ "${_kernelname}" != "" ]; then
    sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
    fi
    # get kernel version
    make prepare
    # load configuration
    # Configure the kernel. Replace the line below with one of your choice.
    #make menuconfig # CLI menu for configuration
    make nconfig # new CLI menu for configuration
    #make xconfig # X-based configuration
    #make oldconfig # using old config from previous kernel version
    # ... or manually edit .config
    # stop here
    # this is useful to configure the kernel
    #msg "Stopping build"
    #return 1
    yes "" | make config
    # build!
    make ${MAKEFLAGS} bzImage modules
    package_kernel26() {
    pkgdesc="The Linux Kernel and modules"
    groups=('base')
    backup=(etc/mkinitcpio.d/${pkgname}.preset)
    depends=('coreutils' 'linux-firmware' 'module-init-tools>=3.12-2' 'mkinitcpio>=0.6.8-2')
    # 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' 'rt2500' 'nouveau-drm')
    install=kernel26.install
    optdepends=('crda: to set the correct wireless channels of your country')
    KARCH=x86
    cd ${srcdir}/linux-$_basekernel
    # get kernel version
    _kernver="$(make kernelrelease)"
    mkdir -p ${pkgdir}/{lib/modules,lib/firmware,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
    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
    # remove build and source links
    rm -f ${pkgdir}/lib/modules/${_kernver}/{source,build}
    # remove the firmware
    rm -rf ${pkgdir}/lib/firmware
    # gzip -9 all modules to safe 100MB of space
    find "$pkgdir" -name '*.ko' -exec gzip -9 {} \;
    ##Section: Broadcom-wl
    msg "Compiling broadcom-wl module:"
    cd ${srcdir}/
    #patching broadcom as broadcom-wl package on AUR
    patch -p1 < license.patch
    patch -p1 < semaphore.patch
    patch -p1 < mutex-sema.patch
    make -C ${srcdir}/linux-$_basekernel M=`pwd`
    install -D -m 755 wl.ko ${pkgdir}/lib/modules/$_kernver/kernel/drivers/net/wireless/wl.ko
    package_kernel26-headers() {
    pkgdesc="Header files and scripts for building modules for kernel26"
    mkdir -p ${pkgdir}/lib/modules/${_kernver}
    cd ${pkgdir}/lib/modules/${_kernver}
    ln -sf ../../../usr/src/linux-${_kernver} build
    cd ${srcdir}/linux-$_basekernel
    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 xen; 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; 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
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/staging/usbvideo/
    cp -a drivers/staging/usbvideo/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/staging/usbvideo/
    # 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/
    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 dvb headers
    # in reference to:
    # http://bugs.archlinux.org/task/20402
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-usb
    cp drivers/media/dvb/dvb-usb/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-usb/
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends
    cp drivers/media/dvb/frontends/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/common/tuners
    cp drivers/media/common/tuners/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/common/tuners/
    # 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 vor 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/
    # add headers for crypto modules
    # in reference to:
    # http://bugs.archlinux.org/task/22081
    cp -a include/crypto $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 {} \;
    # strip scripts directory
    find ${pkgdir}/usr/src/linux-${_kernver}/scripts -type f -perm -u+w 2>/dev/null | while read binary ; do
    case "$(file -bi "$binary")" in
    *application/x-sharedlib*) # Libraries (.so)
    /usr/bin/strip $STRIP_SHARED "$binary";;
    *application/x-archive*) # Libraries (.a)
    /usr/bin/strip $STRIP_STATIC "$binary";;
    *application/x-executable*) # Binaries
    /usr/bin/strip $STRIP_BINARIES "$binary";;
    esac
    done
    # 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}
    package_kernel26-docs() {
    pkgdesc="Kernel hackers manual - HTML documentation that comes with the Linux kernel."
    cd ${srcdir}/linux-$_basekernel
    mkdir -p $pkgdir/usr/src/linux-$_kernver
    mv Documentation $pkgdir/usr/src/linux-$_kernver
    find $pkgdir -type f -exec chmod 444 {} \;
    find $pkgdir -type d -exec chmod 755 {} \;
    # remove a file already in kernel26 package
    rm -f $pkgdir/usr/src/linux-$_kernver/Documentation/DocBook/Makefile
    I wonder if localyesconfig would take care of broadcom-wl for me...
    Last edited by Ben9250 (2011-04-20 00:12:44)

    Thank you. I guess trying the abs method wouldn't hurt. My main issue was configuration. I've only just skimmed the PKGBUILD so I'm not aware of how it handles it. I suppose I could write my own as described in the wiki as well. Thanks again.
    Edit: Further research has revealed to me that the kernel headers are merely there for when the full source tree isn't. Seeing as the full tree is present in my case, the headers are unnecessary. I may take graysky's advice though and use pacman to manage my kernel.
    Last edited by smithr.michael1997 (2011-03-31 02:17:29)

  • Can anyone make a PKGBUILD for Novel iFolder and Novel consoleone ?

    Like in subject. I tried install it from Novel homepage, but i have problem with make dependiences and this two package, can anyone make good PKGBUILD for new version ? In AUR i found PKGBUILD's but the mirror doesn't work and i can't find another mirror. Thanks Igor. Have a nice day !

    Yes, but i saw many rpm package, and source code. If you talk about license there is oportunity to get free license for 30 or 60 day's. Thanx for respone.

Maybe you are looking for