Criticisms? First package for r5u870-svn

NOTE: see below for finished product
So I'm building a Pkgbuild for the fun of learning how to do so.
In particular this one is for the r5u870 webcam driver which downloads from the svn and not a static source.
Thus far I have this:
# contributor: orionfyre <OrionFyre on ARCH Forums>
pkgname=r5u870-svn
pkgver=88
pkgrel=1
pkgdesc="r5u870 webcam driver"
arch=('i686' 'x86_64')
url="http://wiki.mediati.org/R5u870"
license=('unknown')
depends=()
makedepends=()
provides=(r5u870)
conflicts=()
source=()
md5sums=()
_svntrunk="http://svn.mediati.org/svn/r5u870/trunk"
_svnmod=r5u870
build() {
cd $startdir/src
msg "Connecting to SVN server...."
if [ -d $_svnmod/.svn ]; then
(cd $_svnmod && svn up -r $pkgver)
else
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
fi
msg "SVN checkout done or server timeout"
msg "Starting make..."
svn export $_svnmod $_svnmod-build
cd $_svnmod-build
# BUILD
sed -i 's/\/lib\/firmware/$pkgdir\/lib\/firmware/g' $startdir/src/r5u870/Makefile
# NOTE: need to send "$pkgdir/lib/firmare" without messing up the
# regex line with a bunch of extra '/' reserved characters.
make || return 1
make DESTDIR=$pkgdir install || return 1
The Makefile has a section like this:
install::
install -m 0644 -o root -g root $(FWFILES) $(FWDIR)
/sbin/depmod -a
which installs all the firmware.
FWFILES= a list of the files
FWDIR = /lib/firmware
I of course want to change the variable from '/lib/firmware' to '$pkgdir/lib/firmware'
The first method that came to mind was to use sed to edit the text contained within the Makefile
the only problem is the regex:
sed -i 's/\/lib\/firmware/$pkgdir\/lib\/firmware/g' $startdir/src/r5u870/Makefile
however $pkgdir will contain the reserved / with no character escapes '\' before it.
I'm stumped and tired. here's the relevant parts from the Makefile:
V ?= 0
MDIR := extra
KVER ?= $(shell uname -r)
KDIR ?= /lib/modules/$(KVER)/build
DESTDIR ?= /lib/firmware ## Firmware location
FWFILES = r5u870_1830.fw r5u870_1832.fw r5u870_1833.fw r5u870_1834.fw r5u870_1835.fw r5u870_1836.fw r5u870_1870_1.fw r5u870_1870.fw r5u870_1810.fw r5u870_183a.fw r5u870_183b.fw r5u870_1839.fw r5u870_1841.fw
<BIG SNIP...>
install::
install -m 0644 -o root -g root $(FWFILES) $(FWDIR)
/sbin/depmod -a
<SNIPS...>
So if you could school me on some sed regex or point me in the direction of another way of achieving the same I would be grateful.
Last edited by OrionFyre (2008-06-16 15:19:23)

OK. here goes.
pkgbuild:
# contributor: orionfyre <OrionFyre on ARCH Forums>
pkgname=r5u870-svn
pkgver=88
pkgrel=1
pkgdesc="r5u870 webcam driver"
arch=('i686' 'x86_64')
url="http://wiki.mediati.org/R5u870"
license=('unknown')
depends=()
makedepends=()
provides=(r5u870)
conflicts=()
source=()
md5sums=()
install=$pkgname.install
_svntrunk="http://svn.mediati.org/svn/r5u870/trunk"
_svnmod=r5u870
build() {
cd $startdir/pkg
mkdir lib
cd lib
mkdir firmware
cd $startdir/src
msg "Connecting to SVN server...."
if [ -d $_svnmod/.svn ]; then
(cd $_svnmod && svn up -r $pkgver)
else
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
fi
msg "SVN checkout done or server timeout"
msg "Starting make..."
svn export $_svnmod $_svnmod-build
cd $startdir/src/r5u870
sed -i 's/\/sbin\/depmod\ \-a/ /g' Makefile
cd $_svnmod-build
# BUILD
make || return 1
make DESTDIR=$pkgdir FWDIR=$pkgdir/lib/firmware install || return 1
and the install:
# arg 1: the new package version
post_install() {
# updating module dependencies
echo ">>> Updating module dependencies. Please wait ..."
depmod -a > /dev/null 2>&1
modprobe r5u870
/bin/true
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
# updating module dependencies
echo ">>> Updating module dependencies. Please wait ..."
depmod -a > /dev/null 2>&1
modprobe r5u870
/bin/true
# arg 1: the old package version
post_remove() {
# updating module dependencies
echo ">>> Updating module dependencies. Please wait ..."
KERNEL_VERSION=2.6.25-ARCH
depmod -a > /dev/null 2>&1
/bin/true
op=$1
shift
$op $*
I know it's messy. my first real attempt. any help at cleaning up that mkdir at the top of build{ couldn't seem to get to work any other way, would be appreciated.
Kudos? praise? criticisms? lambastes?

Similar Messages

  • Does anyone have a gmpc-svn package for me?

    I'm trying to build gmpc-svn but the current configure script is broken.
    Who's got a recent package for gmpc-svn I can download? Thanks a lot in advance.

    Check the AUR for gmpc-plugins-svn!
    When I first ran gmpc-svn, I got a cool track listing of the current album under "Information" but that doesn't work anymore. Any ideas?
    [edit]
    Found it: gmpc shouldn't be in mini or playlist mode. Just regular gmpc.
    [/edit]

  • [svn:osmf:] 10556: Changed location of regions sprite to new package for media player project .

    Revision: 10556
    Author:   [email protected]
    Date:     2009-09-23 16:49:37 -0700 (Wed, 23 Sep 2009)
    Log Message:
    Changed location of regions sprite to new package for media player project.
    Modified Paths:
        osmf/trunk/apps/samples/framework/MediaPlayer/src/com/adobe/strobe/players/MediaPlayerWra pper.as

    PS: For the avoidance of doubt;
    var ur:URLResource = new URLResource("URL_TO_MEDIA_PACKAGED_IN_PROJECT_TO_ELIMINATE_CONCERNS_OF_WRONG_URL");
    Should be:
    var ur:URLResource = new URLResource(URL_TO_MEDIA_PACKAGED_IN_PROJECT_TO_ELIMINATE_CONCERNS_OF_WRONG_URL);
    But it still doesn't work!

  • Help needed: making a psptoolchain package for arch

    Hi....
    I'm very new to archlinux (now using it for 3 weeks), but I really like it
    Now I tried to make a archlinux package for the psptoolchain (PSP's are so nice )
    I already got a working package for the psp-gcc and the psp-binutils (wrote my own PKGBUILD's) which came with the psptoolchain.
    But now I got stuck with psp-newlib and pspsdk.
    At the moment I'm building all the packages separately, but later I'll try to make one package for the whole psptoolchain....
    So here comes my problem with psp-newlib and pspsdk...
    psp-gcc -march=i686 -O2 -pipe -G0 -Wall -I../../src/base -I../../src/kernel -c sceAtrac3plus.S
    sceAtrac3plus.S:0: error: bad value (i686) for -march
    Assembler messages:
    Error: Bad value (i686) for -march
    make[3]: *** [sceAtrac3plus.o] Error 1
    make[3]: Leaving directory `/mnt/data/archlinux/packages/psptoolchain/pspsdk/src/pspsdk/src/atrac3'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/mnt/data/archlinux/packages/psptoolchain/pspsdk/src/pspsdk/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/mnt/data/archlinux/packages/psptoolchain/pspsdk/src/pspsdk'
    make: *** [all] Error 2
    ==> ERROR: Build Failed. Aborting...
    And here comes my PKGBUILD for psp-newlib:
    # Contributor: [email protected]
    pkgname=newlib
    pkgver=1.13.0
    pkgrel=1
    pkgdesc="GCC for psp-devel"
    url="http://ps2dev.org/psp/Tools/Toolchain/"
    depends=()
    makedepends=()
    source=(ftp://sources.redhat.com/pub/newlib/$pkgname-$pkgver.tar.gz)
    md5sums=('3d07cc367a22b78c44227456b0d3b7dc')
    build() {
    export PSPDEV="/usr/local/pspdev"
    export PATH="$PATH:$PSPDEV/bin"
    cp $startdir/newlib-1.13.0.patch /$startdir/src/$pkgname-$pkgver
    cd $startdir/src/$pkgname-$pkgver
    cat newlib-1.13.0.patch | patch -p1
    cd /$startdir/src/$pkgname-$pkgver
    BUILDDIR="/tmp/pspdev" PSPDEV="/usr/local/pspdev" ./configure --prefix=/usr/local/pspdev --target=psp
    make || return 1
    make DESTDIR=$startdir/pkg install
    I know, using newlib as pkgname is bad, but later I'll change it to psp-newlib and I'll replace the $pkgname's with newlib (I hope this idea isn't too bad)
    One last thing: psp-binutils and psp-gcc are installed in "/usr/local/pspdev"
    I hope you can help me
    thanks, and have a nice day
    XazZ

    After a long break I decided to work on the PKGBUILD again.
    Now I got two PKGBUILD's: one for the psptoolchain and one for pspsdk (pspsdk gets updated very often, so I decided to create an extra PKGBUILD).
    I'm not sure if my PKGBUILD's fit the PKGBUILD-standard
    First thing before I post my PKGBUILD's: I'm not finished with adding all required fields (as license and so on)!
    Here comes the one for psptoolchain:
    pkgname=psptoolchain
    pkgver=2211
    pkgrel=1
    pkgdesc="A collection of tools to create executables for the Sony PSP"
    url="http://ps2dev.org/psp/Tools/Toolchain/"
    depends=('subversion' 'texinfo')
    makedepends=()
    license=('GPL')
    source=(ftp://ftp.gnu.org/pub/gnu/binutils/binutils-2.16.1.tar.bz2 ftp://ftp.gnu.org/pub/gnu/gcc/gcc-4.0.2/gcc-4.0.2.tar.bz2 ftp://sources.redhat.com/pub/newlib/newlib-1.15.0.tar.gz)
    md5sums=('6a9d529efb285071dad10e1f3d2b2967'
    'a659b8388cac9db2b13e056e574ceeb0'
    '4020004b1b7a56ca4cf7f6d35b40a4cb')
    sha1sums=('5c80fd5657da47efc16a63fdd93ef7395319fbbf'
    'f1b714c6398393d8f7f4ad5be933b462a95b075d'
    'f6860b36e48fb831a30bab491230bbc7ce2669a2')
    arch=('i686')
    _svntrunk=svn://svn.pspdev.org/psp/trunk/psptoolchain
    _svnmod=psptoolchain
    _svntrunk1=svn://svn.pspdev.org/psp/trunk/pspsdk
    _svnmod1=pspsdk
    build() {
    cd $startdir/src
    svn co $_svntrunk $_svnmod
    cd psptoolchain
    cp binutils-2.16.1.patch $startdir/src/binutils-2.16.1/
    cp gcc-4.0.2.patch $startdir/src/gcc-4.0.2/
    cp newlib-1.15.0.patch $startdir/src/newlib-1.15.0
    export PSPDEV="$startdir/pkg/usr/local/pspdev"
    export PATH="$PATH:$PSPDEV/bin"
    msg "patching and building binutils..."
    cd $startdir/src/binutils-2.16.1
    cat binutils-2.16.1.patch | patch -p1
    ./configure --prefix=/usr/local/pspdev --target=psp --enable-install-libbfd
    make clean || return 1
    make || return 1
    make DESTDIR=$startdir/pkg install
    msg "building and patching binutils finished"
    msg ""
    msg "patching and building gcc..."
    cd $startdir/src/gcc-4.0.2
    cat gcc-4.0.2.patch | patch -p1
    mkdir objdir
    cd $startdir/src/gcc-4.0.2/objdir
    ../configure --prefix=$startdir/pkg/usr/local/pspdev --target=psp --enable-languages="c" --with-newlib --without-headers
    make || return 1
    make DESTDIR=/ install
    msg "building and patching gcc finished"
    msg ""
    msg "building pspsdk-headers - we'll only need them temporary"
    cd $startdir/src/
    svn co $_svntrunk1 $_svnmod1
    cd $_svnmod1/
    ./bootstrap
    ./configure --prefix=/usr/local/pspdev -with-pspdev=/usr/local/pspdev
    make clean || return 1
    make DESTDIR=$startdir/pkg install-data
    msg "building pspsdk-headers finished"
    msg ""
    msg "patching and building newlib-psp"
    cd $startdir/src/newlib-1.15.0
    cat newlib-1.15.0.patch | patch -p1
    ./configure --prefix=$startdir/pkg/usr/local/pspdev --target=psp
    make || return 1
    make DESTDIR=/ install
    msg "building newlib-psp finished"
    msg ""
    msg "building gcc-c++"
    cd $startdir/src/gcc-4.0.2
    mkdir build-psp-c++
    cd $startdir/src/gcc-4.0.2/build-psp-c++
    ../configure --prefix=$startdir/pkg/usr/local/pspdev --target=psp --enable-languages="c,c++" --with-newlib --enable-cxx-flags="-G0"
    make clean || return 1
    make CFLAGS_FOR_TARGET="-G0"
    make || return 1
    make DESTDIR=/ install
    msg "building gcc-c++ finished"
    msg ""
    msg "removing unnecessary code"
    cd $startdir/pkg/usr/local/pspdev/psp
    rm -rf sdk
    msg "Now you need to build and install pspsdk!"
    And here the one for pspsdk:
    pkgname=pspsdk
    pkgver=2209
    pkgrel=1
    pkgdesc="A collection of Open Source tools and libraries written for the Sony Playstation Portable (PSP)."
    url="http://ps2dev.org/psp/Tools/Toolchain/"
    depends=('psptoolchain')
    makedepends=()
    arch=('i686')
    license="custom"
    _svntrunk=svn://svn.pspdev.org/psp/trunk/pspsdk
    _svnmod=pspsdk
    build() {
    export PSPDEV="/usr/local/pspdev"
    export PATH="$PATH:$PSPDEV/bin"
    cd $startdir/src
    svn co $_svntrunk $_svnmod
    cd $_svnmod/
    ./bootstrap
    ./configure --prefix=/usr/local/pspdev -with-pspdev=/usr/local/pspdev
    make clean || return 1
    make DESTDIR=$startdir/pkg install-data
    make clean || return 1
    ./configure --prefix=$startdir/pkg/usr/local/pspdev -with-pspdev=/usr/local/pspdev
    make || return 1
    make DESTDIR=$startdir/pkg install
    Some explanation: I've used this one very often: --prefix=$startdir/pkg/usr/local/pspdev
    Explanation: When I wanted to create only one PKGBUILD for the psptoolchain, some dependences were in $startdir/pkg. If you take  --prefix=/usr/local/pspdev he won't get some depencies (mostly header files), which means I had to create single PKGBUILD's for every part of the psptoolchain (that would be 6 single parts).
    Those --prefix-changes don't stop my psp environment from working! (tested it myself - I comiled almos all sample apps which were included in the pspsdk - and all compiled well)
    I hope we can find a better solution than mine.
    Thanks in advance
    XazZ

  • Acrobat XI Pro Install via CCP Packager for Enterprise unuseable - tips for the unitiated

    Well, after at least six weeks of trying to script and package Acrobat XI via the CCP packager for enterprise (Windows 7 X64) I have learnt many home truths which I thought I would share with the unitiated. This process, from the point of view of an IT admin who has to mass deploy this application to 680 PC's as part of an updated SOE has been the most painful scripting process I have ever found of any package (we successfully deploy Office, and Autodesk apps!). Not only that, but our entire State technical colleges have all purchased the same version. This will be affecting IT staff across a huge area, perhaps worldwide. Below are some some facts relating to this that I will share so others do not have to trawl the minefiled of dead-ends and confusion that is Adobe forums/official documentation. Apologies for not finding direct links to all of the below just yet but I've run out of time as we now have MANUALLY install Acrobat XI on all of these machines. When I get time I will post some of the links:
    Facts:
    Acrobat XI and Lightroom are NOT "CC" packages. Therefore they rely on a spearate serial numbers to install standalone without another major Adobe product (eg Photoshop) to be installed and then run first. Otherwise they will run in trial mode. If your organistaion is wanting to install these products I highly recommend seeing if Adobe can provide you with these.
    Without the use of serial number for Acrobat XI this almost renders the Customisation Wizard effectively useless, none of the silent install switch will work with "Offline Exception"
    Yes, one Adobe employee notes that you must install a major package before Acrobat but as the aoplogies for not fixing this were posted last August, we are still in the quandry of not having any useable fix except for the ridiculous "Exceptions" file and Exceptions installer.
    If you run the Build and/or execeptions msi's it installs Acrobat twice, gold Adobe, gold.
    http://forums.adobe.com/message/6039529#6039529 - look at this for a working script for Photoshop etc, it's great.Thanks to http://forums.adobe.com/people/PetriRiihikallio for posting this. However, alas, it cannot silently install Acrobat correctly (thus far).
    It appears that the msi builder for CCP for enterprise is fatally flawed. I have never had as much problem with installing msi's -  ever. For example, I have had to re-package the msi multiples times and many times simply running the msi will fail.
    The idea that all major installs have to install the 32 bit version AND the 64 bit version is riduclous, enough said.
    http://blogs.adobe.com/acrolaw/2013/02/acrobat-xi-deployment-guide-for-large-firms/ this guide may be useful for people who have been given a separate serial number.
    http://helpx.adobe.com/acrobat/kb/known-issues-acrobat-xi-reader.html another useful link
    I think for the time being I have now wasted enough time trying to tear my hair out with this. I will be waiting for Adobe to announce Acrobat and Lightroom CC. this will enable the correct deployment of a single app without having the bloat my SOE with unnecessary applications that most staff rarely use. Ahhh, I love a good manual install via VNC/RDP, don't you?

    Hi Waltpenner and others, yes it can be very confusing and writing script after script got me even more confused.
    Now, the story continues, after 6+ hours on the phone with Adobe Support...
    When you install Adobe Acrobat XI it asks you to install the C++ Redistributable package and this is where the msi will STOP INSTALLING. even though the MSI says "complete"
    Now you think to yourself, OK, I'll write a script to install this msi package no problems, solved.
    Nope, the msi for Acrobat Pro XI will Still Halt even if you write this into the script along with halt no err or something similar in your code.
    So what do you do?
    When you create your msi in Cloud Packager, even though this feels completely against your better judgement tick the box under conflicting Process entitled "Ignore Conflicts and Continue installations" This will (finally) allow you to run the msi. Please see the wonderful deployment script above, which you may still need to edit to your needs (I did) - which I post once it's working perfectly.
    You could then install the C++ redist from Microsoft at a later date ----> On that note however (thanks Microsoft for this gem) the Visual C++ redist is an msi for download, but it's actually a zip file calling an exe inside it. I suggest using the App Deploy Repackager  to help you change registry entries if you need to install this, but choose your favourite tool (and no I'm not talking about that work colleague you don't like
    Note: You will need to install this for certain features of Acro Pro XI to function, most of which relates to sever functions of Acrobat. I will post the exact reasons when I find them. Under pressure to get this deployed, I have not deployed this pckage as yet. Also, I'm unsure how Visual C++ will affect other major apps across my enterprise just yet.
    Things to still consider
    Acrobat still installs twice in the program directory (1.7GB nd 1.8GB respectively)
    As all of the other CC packages are quite easy to install, Adobe needs to provide better service to it's enterprise customers by creating a proper version of Acrobat and Lightroom which is Acrobat CC and Lightroom CC, not version numbers tacked onto their new Cloud Service.
    As for the above point I would still recommend creating the smallest msi packages you can, as large msi's that install a number of Apps (eg all of the web/image editing apps) take forever and quite often exhibit install errors
    The amount of time I've spent on this is ridiculous, and we've had to package everything from Office to Autocad.
    The amount of bandwidth I've chewed up is excessive, with package re-creation (download) of all the products probably about 100GB - however the ability to edit these packages with updates with the CCP is a good step forward.
    Using the CCP through a proxy is horrendous, and complicated with the amount of exception through the servers you have to prvide (even then it rarely works).
    The MSI packager still needs quite alot of work. As Petri states why he had to write a script like this when Adobe could have done the same thing is beyond him.
    Adobe needs to trawl it's forum posts and take out the many false leads and dead ends provided by it's experts.
    When I Think of anything else, or wite more scipts I'll let you all know.
    Cheers,

  • RE:Packages for Oracle 10g Release 2 in RHEL4

    Hi ,
    I am installing Oracle 10.2.0.1 in RHEL4 ? (its my first time,for learning)
    Where can i find packages for installing oracle 10.2.0.1 in lunix EL4?
    Am sorry i searched but couldnt find exact and dont know whether its a correct one or not ?
    plz provide me a link for downloading....
    I have searched a lot but am bit confused, since am new to this...
    binutils-2.15.92.0.2-10.EL4
    compat-db-4.1.25-9
    control-center-2.8.0-12
    gcc-3.4.3-9.EL4
    gcc-c++-3.4.3-9.EL4
    glibc-2.3.4-2
    glibc-common-2.3.4-2
    gnome-libs-1.4.1.2.90-44.1
    libstdc++-3.4.3-9.EL4
    libstdc++-devel-3.4.3-9.EL4
    make-3.80-5
    pdksh-5.2.14-30
    sysstat-5.0.5-1
    xscreensaver-4.18-5.rhel4.2
    TIA,

    Hi Alit,
    Thanks for reply...
    Ok but here is am confused...
    Plz see this ..
    http://rpm.pbone.net/index.php3?stat=26&dist=42&size=10619423&name=binutils-2.15.92.0.2-10.EL4.src.rpm
    TIA,

  • Dbms_crypto package for number and date data type

    Hi,
    I am using Oracle 10g 10.2.0.3 on Linux 64 bit
    I am tryiing to use dbms_crypto package for the first time to encypt my tables column
    Following are my table columns
    NAME1 VARCHAR2(2000),
    ID1 NUMBER,
    SCORE number
    This table is already populated
    i want to encrypt Name1 and Score column. Following are the functions i have created for Encryption and decryption.
    --For Encryption
    create or replace function get_enc_val
    p_in in varchar2,
    p_key in raw
    return raw is
    l_enc_val raw (2000);
    l_mod number := dbms_crypto.ENCRYPT_AES128
    + dbms_crypto.CHAIN_CBC
    + dbms_crypto.PAD_PKCS5;
    begin
    l_enc_val := dbms_crypto.encrypt
    UTL_I18N.STRING_TO_RAW
    (p_in, 'AL32UTF8'),
    l_mod,
    p_key
    return l_enc_val;
    end;
    --For Decryption
    create or replace function get_dec_val
    p_in in raw,
    p_key in raw
    return varchar2
    is
    l_ret varchar2 (2000);
    l_dec_val raw (2000);
    l_mod number := dbms_crypto.ENCRYPT_AES128
    + dbms_crypto.CHAIN_CBC
    + dbms_crypto.PAD_PKCS5;
    begin
    l_dec_val := dbms_crypto.decrypt
    p_in,
    l_mod,
    p_key
    l_ret:= UTL_I18N.RAW_TO_CHAR
    (l_dec_val, 'AL32UTF8');
    return l_ret;
    end;
    Key: I have stored a key in other schema and calling it by using function get_key().
    Following is my insert
    INSERT INTO Score_table VALUES
    (get_enc_val('John',get_key()),25,get_enc_val(79,get_key()))
    it is giving me following error
    ORA-00932:Inconsistent Datatypes:Expected number got binary.
    I checked, it is an error due to Score field, which is of number type. So do i need to change type of Score field to varchar or is there any other way to encrypt number and date field.
    If i need to change the type then what will happen to the data already in Table and how do i encrypt data already in table.

    Hi,
    Is there any one who can tell me that, do i need to change my table column data type as the encrypted value will be character.

  • 100 packages for 100 seperate files in SSIS 2012---------

    Hi,
    I am new to this Microsoft Forum.
    I have worked for last 3 years in MSBI(mainly SSIS and SSAS). Recently I have joined a new company and been assigned to new project. Here we have to first build Operational Data Stores from 50 source files (which is built-100 tables). then from this we need
    to pull data in Data Warehousing and later Cube.
    My question is: My architect telling me to create 100 separate packages for each source file from source to staging (one to one source to staging mapping) and connect it through master package. then when we pull data from staging to Dev. there would
    be 30 destination tables so 30 packages!!
    I have not designed any ETL in this way.
    the files can be segregated as per daily, monthly, weekly and quarterly, so I would have created daily, monthly and so on package. In each package I would have included source to staging and staging to development phase.
    His points are, testing team  can work separately on each package, multiple developers can work on separate files at the same time. can anyone tell me how feasible the design is.....advantage/disadvantage... But Would  it be good to handle
    100 odd packages for one database where I can achieve this by creating 6 packages.
    thanks, Rims

    Hi Rims,
    Personally, I agree with your architect's opinion from the perspective of "multi-developer" as well as "unit test your SSIS packages".
    If your main concern of creating dedicated SSIS packages is time consuming, I would recommend you to have a look at BIML / Mist. You can quickly get the idea from this YouTube video: https://www.youtube.com/watch?v=RKi2zIoFUAg
    Basically, BIML / Mist can help you to build a SSIS code generator to loop through your database objects and generate SSIS packages on the fly. If you take this approach, it would be faster to create 100 SSIS packages than 6 customized SSIS packages.
    Regards,
    George Qiao

  • Can i use the SAP standard package for lock object creation ?

    Dear Guru ,
    I want to create a new lock ojbect for my abap program .
    When i completed the creation , SAP required a new request and it said the object only can be imported to SAP standard package .
    But i saw the help from SAP said :
    >* Package begins with A-S or U-X:
    >These packages are for SAP standard objects. Customer objects cannot be created in them. Changes to objects of these packages are recorded by the Transport Organizer (Request management) and can be transported (see field transport layer.
    In this case ,  Can i use one of the SAP standard package for this creation ? Does it will affect the SAP system ( such as the system upgrade ) ?
    Thanks .
    Best Regards,
    Carlos Zhang
    Moderator message - Please do not use code tags to format text - it should only be used for code
    Edited by: Rob Burbank on May 25, 2010 11:12 AM

    Hi Carlos...
    First , You will never be able to use any standard SAP Package for your custom programs. So don't go for it.
    So in your case what you need to do is , when you save your Lock object , 
    - if you want Transport request to be created , then 
    in the screen shown you need to enter the Z package name (the same package as that of your ABAP Program)
    or
    -if you want it to be stored as local object , then
    specify package as $tmp
    Regards,
    Uma

  • Reports available in the Business Package for MSS and ESS

    Hi,
    I have searched sdn.sap.com throughout looking for a comprehensive list of reports available in the business packages for both MSS and ESS, i got a little bit of joy and found some of the MSS reports but not all on sdn.sap.com, can anyone please advise where i would find such information on both these packages, just to re-iterate, i am looking for a list of reports these business packages offer? any help much appreciated.
    Thanks
    John
    P.s any documents can be sent to [email protected]

    @John
    (1) ESS- We built our own custom PORTAL role/workset in which one of the worksets we created is called "Tools and Forms". Under that workset, we placed various pages/iViews that either are simple URL iViews that link to external documents and such (like vacation request forms since they do not do online leave requests yet) as well as a couple ot t-code iViews that run reports in ECC for the employee. Nothing very mind blowing there. Just some content creation on the portal side.....oh, and some config on the backend to create a Homepage Framework Area Page and all for it (I liked that part!)
    (2) Wow....talk about perfect timing...I just had to document the way MSS sees the MDT reports in it's "reporting" area yesterday! haha Here goes the quick explaination....in configuration for MDT, you have various "scenarios". These kinda determine which "groups" of reports will show in MDT. For MSS for the Reporting webdynpro/service, the scenario is RPT0 (in ECC 5.0, at least). Soooo if you look at the function CODES assigned to RPT0, you will see several for Training and one for Accounting (Cost Centers)...you can reference the function CODES listed back to the "pool"/library of function codes a bit up/previous in the same config area for MDT(I think it is called "Define Function Codes"). However, there is one more piece you will see listed under RPT0....it is a DIRECT call to function MODULE "HR_HIS_READ" (this was a bugger to find because I could not find the "Maternity" report listed in the function codes and had to figure out where the heck it was coming from! haha). Anyways....what the function MODULE actually does is call the HR Information System (HIS) passing it the RPT0/MSS scenario. This returns the particular reports for Employee Data and Time&Attendance. You can see this if you run the HR_HIS_READ function directly and enter RPT0 for the second input value (first and third are not needed or you can just enter "*". Sooooo that is how the "magic" happens. Hope that explained it. From there, you can simply config you own scenario/reports to add into MSS if you like.
    Hope this helped!

  • ULN oracle-validated, Note 761566.1 and database packages for OEL 5.5

    I purchased the ULN to simiplify installing the packages for an Oracle E-Business installation. I'm assuming the oracle-validated is not for E-Business installation because there were several required packages from note 761566.1 that were not installed The note also has a list of 11.1.0.7 required packages. Not all of these were installed with the oracle-validated update either. Maybe i'm not doing it correctly?
    If so, how do you use the oracle-validated to apply all the required packages. What channels do I subscribe to for the oracle-validated to work correctly.
    I am on OEL 5.5
    I am subscribed to two channels the latest for 5.5 and 5.5 x64 per a previous thread.
    Packages listed in note 761566.1 that I'm having trouble with:
    There are 3 parts to the package installation section.
    1. You have to go to http://oss.oracle.com/projects/compat-oracle/files/Enterprise_Linux to get a couple packages not on the OEL installation disk. Are these also on the ULN update someplace?
    •openmotif21-2.1.30-11.EL5.i3861
    •xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386
    2. A list of packages for release 5 and up
    There were more than this not updated from oracle-validated from the ULN but these are the trouble ones:
    This is on the list of required:
    •glibc-2.5-18.i686 (32-bit)
    •glibc-2.5-18.x86_64
    •glibc-common-2.5-18.x86_64
    •glibc-devel-2.5-18.i386 (32-bit)
    •glibc-devel-2.5-18.x86_64
    This is what is on the server after ULN update
    glibc-2.5-49.el5_5.7 (i686)
    glibc-2.5-49.el5_5.7 (x86_64)
    glibc-common-2.5-49 (x86_64)
    glibc-devel-2.5-49.el5_5.7 (i386)
    glibc-headers-2.5-49.el5_5.7 (i386)
    Is glibc-2.5-49.el5_5.7 (i686) a newer version of •glibc-2.5-18.i686 (32-bit) ? if so, then where do I get the same version that is synonymous with •glibc-devel-2.5-18.x86_64 ?
    If i try to apply •glibc-devel-2.5-18.x86_64 I get stuck in a loop.
    This is what is on the 5.5 linux disk:.
    glibc-2.5-49.i686.rpm
    glibc-devel-2.5-49.i386.rpm
    glibc-2.5-49.x86_64.rpm
    glibc-common-2.5-49.x86_64.rpm
    glibc-devel-2.5-49.x86_64.rpm
    glibc-utils-2.5-49.x86_64.rpm
    glibc-headers-2.5-49.x86_64.rpm
    3. Additionally, the following RPMs are required for an 11gR1
    I would have thought at least these packages would have installed from the oracle-validated update, but they weren't. Maybe I'm doing it wrong.
    The following are listed in the note to be installed: I get stuck in a loop with this one too. What do I do about this?
    •elfutils-libelf-devel-0.125-3.el5.x86_64
    •elfutils-libelf-devel-static-0.125-3.el5.x86_64
    What is installed is
    elfutils-libelf-devel-0.137-3.el5 (i386)
    elfutils-libelf-devel-static-0.137-3.el5 (i386)
    # rpm -ivh elfutils-libelf-devel-0.137-3.el5.x86_64.rpm
    error: Failed dependencies:
    elfutils-libelf-devel-static-x86_64 = 0.137-3.el5 is needed by elfutils-libelf-devel-0.137-3.el5.x86_64
    # rpm -ivh elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm
    error: Failed dependencies:
    elfutils-libelf-devel-x86_64 = 0.137-3.el5 is needed by elfutils-libelf-devel-static-0.137-3.el5.x86_6
    This is what is on the 5.5 disk:
    elfutils-libelf-devel-0.137-3.el5.x86_64.rpm
    elfutils-libelf-devel-static-0.137-3.el5.i386.rpm
    elfutils-libelf-0.137-3.el5.x86_64.rpm
    elfutils-libelf-devel-0.137-3.el5.i386.rpm
    elfutils-libelf-0.137-3.el5.i386.rpm
    elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm
    Edited by: jarymo on Jan 28, 2011 7:29 AM

    Now I really need glibc-devel-2.5-18.x86_64. My installation failed with the following which is what started this quest for what is missing in the first place.
    .end std out.
    sqlplus: error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory
    egrep: /u01/oracle/VIS/db/tech_st/11.1.0/appsutil/log/VIS_vicr410/adcrdb_VIS.txt: No such file or directory
    This failed on the database portion of the installation. ibclntsh.so.11.1 sh
    From DOC: 786995.1 Troubleshooting The Relink Errors When Missing RPMs on Linux x86-64
    Error :-
    /usr/bin/ld: cannot find /usr/lib64/libpthread_nonshared.a
    collect2: ld returned 1 exit status
    genclntsh: Failed to link libclntsh.so.11.1
    Affected Version :-
    11.1 RHEL5(x86-64)
    RPM missing :-
    glibc-devel (64-bit)
    ApplyDatabase_01281418.log
    This is on the list of required:
    •glibc-2.5-18.i686 (32-bit)
    •glibc-2.5-18.x86_64
    •glibc-common-2.5-18.x86_64
    •glibc-devel-2.5-18.i386 (32-bit)
    •glibc-devel-2.5-18.x86_64
    This is what is on the server after ULN update
    glibc-2.5-49.el5_5.7 (i686)
    glibc-2.5-49.el5_5.7 (x86_64)
    glibc-common-2.5-49 (x86_64)
    glibc-devel-2.5-49.el5_5.7 (i386)
    glibc-headers-2.5-49.el5_5.7 (i386)
    Is glibc-2.5-49.el5_5.7 (i686) a newer version of •glibc-2.5-18.i686 (32-bit) ? if so, then where do I get the same version that is synonymous with •glibc-devel-2.5-18.x86_64 so I don't have to remove all the UNL updates and apply what is on the installation disk?

  • BPC10 - Data manager package for dimension  data export and import

    Dear BPC Expers,
    Need your help.
    I am trying to set up a data manager package for first time to export dimension - master data from one application and import in another application ( both have same properties) .
    I created a test data manager package from Organize > add package > with  process chain /CPMB/EXPORT_MD_TO_FILE  and Add
    In the advance tab of each task there are some script logic already populated. please find attached the details of the script logic written under each of the tasks like MD_Source, concvert and target .
    I have not done any chnages in the script inside the task .
    But when i run the package , I have selected a dimension 'Entity' but in second prompt ,it ask for a transformation file , and syatem autometically add the file ... \ROOT\WEBFOLDERS\COLPAL\FINANCE\DATAMANAGER\TRANSFORMATIONFILES\Import.xls
    I have not changed anything there
    in the next prmpt , it ask for a output file ..and it won't allow me enter the file name .....i
    Not sure how to proceed further.
    I shall be greatfull if someone guide me from your experiance  how to set up a simple the data manager package for master data export from dimension . Should I update the transformation file in the script for import file and  output file in the advance tab. how and what  transformation file to be created and link to the data manager package for export / import .
    What are the steps to be executed to run the package for exporting master data from dimension and import it another application .
    Thanks in advance for your guidance.
    Thanks and Regards,
    Ramanuj
    =====================================================================================================
    Detals of the task
    Task : APPL_MD-SOURCE
    (DIMENSIONMEMBER, %DIMENSIONMEMBERS%, "Please select dimension", "Please select members", %DIMS%)
    (TRANSFORMATION,%TRANSFORMATION%,"Transformation file:",,,Import.xls)
    (OUTFILE,,"Please enter an output file",Data files (*.txt)|*.txt|All files(*.*)|*.*)
    (RADIOBUTTON,%ADDITIONINFO%,"Add other information(Environment,Model,User,Time)?",1,{"Yes","No"},{"1","0"})
    (%TEMPNO1%,%INCREASENO%)
    (%TEMPNO2%,%INCREASENO%)
    (/CPMB/APPL_MD_SOURCE,SELECTION,%DIMENSIONMEMBERS%)
    (/CPMB/APPL_MD_SOURCE,OUTPUTNO,%TEMPNO1%)
    (/CPMB/EXPORT_MD_CONVERT,INPUTNO,%TEMPNO1%)
    (/CPMB/EXPORT_MD_CONVERT,TRANSFORMATIONFILEPATH,%TRANSFORMATION%)
    (/CPMB/EXPORT_MD_CONVERT,SUSER,%USER%)
    (/CPMB/EXPORT_MD_CONVERT,SAPPSET,%APPSET%)
    (/CPMB/EXPORT_MD_CONVERT,SAPP,%APP%)
    (/CPMB/EXPORT_MD_CONVERT,OUTPUTNO,%TEMPNO2%)
    (/CPMB/FILE_TARGET,INPUTNO,%TEMPNO2%)
    (/CPMB/FILE_TARGET,FULLFILENAME,%FILE%))
    (/CPMB/FILE_TARGET,ADDITIONALINFO,%ADDITIONINFO%))
    Task : EXPORT_MD_CONVERT
    (DIMENSIONMEMBER, %DIMENSIONMEMBERS%, "Please select dimension", "Please select members", %DIMS%)
    (TRANSFORMATION,%TRANSFORMATION%,"Transformation file:",,,Import.xls)
    (OUTFILE,,"Please enter an output file",Data files (*.txt)|*.txt|All files(*.*)|*.*)
    (RADIOBUTTON,%ADDITIONINFO%,"Add other information(Environment,Model,User,Time)?",1,{"Yes","No"},{"1","0"})
    (%TEMPNO1%,%INCREASENO%)
    (%TEMPNO2%,%INCREASENO%)
    (/CPMB/APPL_MD_SOURCE,SELECTION,%DIMENSIONMEMBERS%)
    (/CPMB/APPL_MD_SOURCE,OUTPUTNO,%TEMPNO1%)
    (/CPMB/EXPORT_MD_CONVERT,INPUTNO,%TEMPNO1%)
    (/CPMB/EXPORT_MD_CONVERT,TRANSFORMATIONFILEPATH,%TRANSFORMATION%)
    (/CPMB/EXPORT_MD_CONVERT,SUSER,%USER%)
    (/CPMB/EXPORT_MD_CONVERT,SAPPSET,%APPSET%)
    (/CPMB/EXPORT_MD_CONVERT,SAPP,%APP%)
    (/CPMB/EXPORT_MD_CONVERT,OUTPUTNO,%TEMPNO2%)
    (/CPMB/FILE_TARGET,INPUTNO,%TEMPNO2%)
    (/CPMB/FILE_TARGET,FULLFILENAME,%FILE%))
    (/CPMB/FILE_TARGET,ADDITIONALINFO,%ADDITIONINFO%))
    Task : FILE_TARGET
    (DIMENSIONMEMBER, %DIMENSIONMEMBERS%, "Please select dimension", "Please select members", %DIMS%)
    (TRANSFORMATION,%TRANSFORMATION%,"Transformation file:",,,Import.xls)
    (OUTFILE,,"Please enter an output file",Data files (*.txt)|*.txt|All files(*.*)|*.*)
    (RADIOBUTTON,%ADDITIONINFO%,"Add other information(Environment,Model,User,Time)?",1,{"Yes","No"},{"1","0"})
    (%TEMPNO1%,%INCREASENO%)
    (%TEMPNO2%,%INCREASENO%)
    (/CPMB/APPL_MD_SOURCE,SELECTION,%DIMENSIONMEMBERS%)
    (/CPMB/APPL_MD_SOURCE,OUTPUTNO,%TEMPNO1%)
    (/CPMB/EXPORT_MD_CONVERT,INPUTNO,%TEMPNO1%)
    (/CPMB/EXPORT_MD_CONVERT,TRANSFORMATIONFILEPATH,%TRANSFORMATION%)
    (/CPMB/EXPORT_MD_CONVERT,SUSER,%USER%)
    (/CPMB/EXPORT_MD_CONVERT,SAPPSET,%APPSET%)
    (/CPMB/EXPORT_MD_CONVERT,SAPP,%APP%)
    (/CPMB/EXPORT_MD_CONVERT,OUTPUTNO,%TEMPNO2%)
    (/CPMB/FILE_TARGET,INPUTNO,%TEMPNO2%)
    (/CPMB/FILE_TARGET,FULLFILENAME,%FILE%))
    (/CPMB/FILE_TARGET,ADDITIONALINFO,%ADDITIONINFO%))
    ================================================================================

    1. Perhaps you want to consider a system copy to a "virtual system" for UAT?
    2. Changes in QAS (as with PROD as well) will give you the delta. They should ideally be clean... You need to check the source system.
    Another option is to generate the profiles in the target system. But for that your config has to be sqeaky clean and in sync, including very well maintained and sync'ed Su24 data.
    Cheers,
    Julius

  • Creating a package for proxy scenario?

    Hi friends,
    Can you give me some info regarding package creation while generating proxy? In which system we need to create package?
    Thanks in advance
    Bala

    Hi Bala,
    You can try this.
    How to create a Package For Proxy Generation in R/3
    For proxies you need to create a four level package. Goto the Transaction SPACKAGE and Give your own package name starting with Z and choose create.
    Then create SAI_SXMS and SAI_TOOLS Package interfaces in the use access tab page. Now include a new package name in Package included tab page.
    Double click on your new packge name continue the same steps 2 more times,
    now the four level package has been created, you can use 
    the first given pakage name as a package name for creating packages
    Regards
    Seshagiri

  • Where can i find Client software package for BOE XI 3.1

    Hi
    We have  BOE Xi 3.1 on a server . I am looking for the client software package for BOE XI 3.1 so that it could be installed on my laptop. I looked in Service. sap.com/SWDC /Business objects portfolio and could not find the same.  All i am finding in there is SBOP INTGR for SAP and i am assuming that this is the software for SAP integration kit.
    Could you please point me to exact location within SWDC where i can find the Client software package for BOEXI 3.1.
    Thanks & Regards
    HGS

    Did you download the BOEXI3.1 Server Client Tools when you installed the application? If you have, you can simply run the same install package, and select "client" tools during the installation.
    If you don't have the install package, you can download it from the SAP web site. You must have a login account in order to do so. The following are the steps...
    -- Go to: http://service.sap.com
    -- Click on SAP Support Portal
    -- Enter your S-number and password
    -- You will be redirected to the SAP Support Portal (NEVER ever bookmark this URL because it changes all the time, you should bookmark the first URL I gave you)
    -- Click on "Downloads" tab from the top menu bar
    -- Click on "BusinessObjects Downloads" from the secondary menu bar
    -- In the "Installations and Upgrades" section on the main pane, click on "click here"
    -- Click on "SBOP ENTERPRISE" from the list
    -- Click on "BOBJ ENTERPRISE XI 3.1" from the list
    -- Click on "Installation" from the list
    -- Click on "WINDOWS" (or other OS) from the list
    -- Select "BOE XI 3.1 (SERVER/CLIENT TOOLS) WIN 1 of 3, 2 of 3, and 3 of 3"
    Hope this helps.

  • Create a package for transport

    hi
    I work on a new project, and I wonder how I can create a package for transport  InfoObjects?
    best regard
    francoise

    Hello Francoise,
    When transporting for the first time a complete scenario is transported using the BW objects collector.
    After objects were transported for the first time they are assigned to a package and are recorded on requests automatically.
    Further changes are automatically transported into the target systems.
    You can find help on the BW objects collector here;
    http://help.sap.com/saphelp_nw2004s/helpdata/en/0b/5ee7377a98c17fe10000009b38f842/content.htm
    Best Regards,
    Vincent

Maybe you are looking for

  • Help with Pages / Word conversion, please

    I am trying to use iPad to take meeting notes. I've been using Word for a while, and storing notes in Google Drive for fast access. I ran into four problems so far: It appears Word Outline mode is not supported. Probably nothing I can do here. But if

  • Ipad 2 springboard cashing constantly, help!

    What causes these springboard crashes on an iPad 2, non jail broken, with updated iOS? No apps at all... Just the plain Jane ios5.1.1 So... I'm at my ropes end... Ready to bounce this thing off the wall at high velocity... This is my second iPad in 7

  • Why autocreate function confuse different PRs in one PO?

    I created PO using autocreate function from different PRs. It was not possible to select "requisition" grouping, only "default". The result is a totally confused PO with mixed distributions, prices, etc. The total amount is also different from the PR

  • Simplest of things driving me crazy

    I'm no spreadsheet power user but I have used them before. Would rather use Numbers than Excel. All I want to do is have the sum of anything in columns F to S placed in column C and have the sum Column C and Column D (UK VAT sales tax) appear in Colu

  • Macbook is becoming slower and slower. Possible to fix?

    Already turned it on and off a few times. Enough storage left. As far as I can see no other programms running in the background.