Can't Submit package to AUR : Invalid name: only lowercase letters....

Hi.
I have created a PKGBUILD for kernel 2.6.35 with the desktop responsiveness patch included.
It builds,etc fine.
I have used
makepkg --source
And tried to upload the .src.tar.gz file - but I get the same message.
What do i have to do (I have tried just changing the file name)
Cheers

I believe falconindy is trying to say is that the packager can include the headers with the package, i.e. (from kernel26-ck, last line):
# Maintainer: Cray "MP2E" Elliott <MP2E { AT } archlinux.us>
# Maintainer: Tobias Powalowski <[email protected]>
# Maintainer: Thomas Baechler <[email protected]>
pkgbase="kernel26-ck"
pkgdesc="Linux Kernel built with Con Kolivas' patchset -ck"
pkgname="kernel26-ck"
# pkgname=kernel26-custom # Build kernel with a different name
_kernelname=-ck
_basekernel=2.6.35
pkgver=${_basekernel}.2
pkgrel=1
_archpatchversion=1
_patchname="patch-${pkgver}-${_archpatchversion}-ARCH"
_ckpatchversion=1
_ckpatchname="patch-${_basekernel}-ck${_ckpatchversion}"
arch=(i686 x86_64)
license=('GPL2')
groups=('base')
url="http://users.on.net/~ckolivas/kernel/"
depends=('coreutils' 'linux-firmware>=2.6.35' 'module-init-tools' 'mkinitcpio>=0.5.20')
conflicts=('kernel26-ck-headers')
install=kernel26.install
optdepends=('crda: to set the correct wireless channels of your country')
provides=('kernel26-ck-headers')
Last edited by ssri (2010-08-17 08:32:00)

Similar Messages

  • Cant upload mlt++ to aur (invalid name)

    Hi there,
    today i tried to upload the mlt++ package to aur... i tried this before and failed but i had no time since to try it again and check why this happens, so i uploaded the package as mltplusplus...
    now i want to fix the package name so that users can find it better, and when i upload the package named "mlt++" to aur, i get an error message saying: Invalid name: only lowercase letters are allowed.
    so, here is the PKGBUILD:
    pkgname=mlt++
    pkgver=0.2.2
    pkgrel=2
    pkgdesc="MLT is an open source multimedia framework, designed and developed for television broadcasting."
    url="http://www.dennedy.org/mlt/twiki/bin/view/MLT/WebHome"
    depends=('libsamplerate' 'gtk2' 'libogg' 'libvorbis' 'sdl' 'libdv' 'ffmpeg' 'mlt')
    source=(http://dl.sourceforge.net/sourceforge/mlt/$pkgname-$pkgver.tar.gz)
    md5sums=('7f00c36c54d09d6159641e65955fcad7')
    build() {
    cd $startdir/src/$pkgname-$pkgver
    ./configure --prefix=/usr
    make || return 1
    make DESTDIR=$startdir/pkg install
    it is definitely the package name causing this... so, needs the aur to be fixed?
    -EDIT- I also tried it with pkgname="mlt++"

    Ultimately, yes, the AUR should accept non-alphanumeric characters. Post a bug report, if someone hasn't already done so.

  • AUR Submition: only lowercase letters are allowed.

    I'm getting this error when trying to submit a src tarball:
    Submit
    Invalid name: only lowercase letters are allowed.
    pkgname() is all lower-case, so I'm not sure why it's complaining....?
    Here's the PKGBUILD:
    # Maintainer: Phillip Smith <[email protected]>
    pkgname=('kernel26-fedora-pae' 'kernel26-fedora-devel-pae')
    pkgbase="kernel26-fedora-pae"
    pkgver=2.6.31
    _FEDORA_RELEASE=40.fc12
    pkgrel=1
    url="http://www.kernel.org/"
    pkgdesc="The Linux Kernel and modules, compiled by Fedora. PAE supported. (Memory >= 4GB)"
    arch=('i686' 'x86_64')
    license=('GPL2')
    depends=('coreutils' 'module-init-tools' 'mkinitcpio>=0.5.15')
    makedepends=('rpmextract')
    backup=('etc/mkinitcpio.d/kernel26.preset')
    provides=("kernel26=$pkgver" "kernel26-fedora-pae=$pkgver")
    conflicts=('kernel24' 'kernel24-scsi' 'kernel26-scsi' 'kernel26' 'kernel26-fedora')
    # We need to force the upgrade because the previous maintainer
    # used the Fedora release number as the pkgrel number so we could
    # never have more than one release of each PKGBUILD!
    options=(force)
    install="kernel26-fedora.install"
    source=("http://kojipkgs.fedoraproject.org/packages/kernel/${pkgver}/${_FEDORA_RELEASE}/${CARCH}/kernel-PAE-${pkgver}-${_FEDORA_RELEASE}.${CARCH}.rpm"
    "http://kojipkgs.fedoraproject.org/packages/kernel/${pkgver}/${_FEDORA_RELEASE}/${CARCH}/kernel-PAE-devel-${pkgver}-${_FEDORA_RELEASE}.${CARCH}.rpm"
    "kernel26-fedora.preset")
    md5sums=('cfc0310d8afbfdc42074029a2d6ae565'
    '2ade9257df9eaccff5a4ad8fbbbd0c7c'
    'c8f559ad29f3bce277ed054d85878c40')
    build() {
    msg "Nothing to compile for $pkgname"
    package_kernel26-fedora-pae() {
    cd $pkgdir
    rpmextract.sh $srcdir/kernel-PAE-${pkgver}-${_FEDORA_RELEASE}.${CARCH}.rpm
    rm -rf $pkgdir/etc/ld.so.conf.d || return 1
    rm -rf $pkgdir/usr || return 1
    msg "Generating kernel26-fedora.kver..."
    _kernver=${pkgver}-${_FEDORA_RELEASE}.${CARCH}.PAE
    mkdir -p $pkgdir/etc/mkinitcpio.d/kernel26-fedora.kver <<EOT
    cat > $pkgdir/etc/mkinitcpio.d/kernel26-fedora.kver <<EOT
    # DO NOT EDIT THIS FILE
    ALL_kver='$_kernver'"
    EOT
    # Install mkinitcpio files
    install -D -m644 $srcdir/kernel26-fedora.preset $pkgdir/etc/mkinitcpio.d/kernel26-fedora.preset || return 1
    package_kernel26-fedora-devel-pae() {
    replaces=('kernel-devel-pae')
    cd $pkgdir
    rpmextract.sh $srcdir/kernel-PAE-devel-${pkgver}-${_FEDORA_RELEASE}.${CARCH}.rpm
    # vim:set ts=2 sw=2 et:

    Oh... I thought I had other split packages in there. Obviously not!
    And I see there's already a feature request for it... Cool. I'll split the package back into individual PKGBUILD's for now
    http://bugs.archlinux.org/index.php?do= … k_id=16394

  • Hello and good day, can someone share me here in the Forum may, if they found a Adobe can put together package? Basically, I need only Photoshop and Adobe Premiere Pro! About a response I'd like Very much. Thank you very much and greetings Ralf PS. Accord

    Hello and good day,
    can someone share me here in the Forum may, if they found a Adobe can put together package? Basically, I need only Photoshop and Adobe Premiere Pro! About a response I'd like Very much. Thank you very much and greetings
    Ralf
    PS. According to Adobe, this should determine a Adobe ID be possible!

    You may buy two individual subscriptions
    Cloud Plans https://creative.adobe.com/plans
    -and subscription terms http://www.adobe.com/misc/subscription_terms.html

  • Can't connect to XP computer by name, only IP address

    Hello. I have a Windows XP Pro computer with a shared folder and a shared printer. When I try to connect using //smb:[computername] to view the shares, the Mac tries for about 30 sec and then says "connection failed. server may not exist etc etc." However, when I use the XP machine's IP address //smb:xxx.xxx.xxx.xxx, then it works - I get the login prompt, and I can then view the share.
    I used to be able to use the XP computer name when connecting in Tiger. Anyone know why this stopped working in Snow Leopard? I have 10.6.1
    Thanks
    David

    try installing Bonjour for windows
    Another workaround would be add the computer name to your host file.
    edit /etc/hosts
    add an entry such as
    192.x.x.x computername
    obviously replace the entries with actual IP address and hostname of the pc.

  • How do I create a specific packages for users where in only the admin has the access of which software the user can download?

    Is there any possibilities that the admin of the team can limit the packages of the user? Only the admin can add and remove software to be downloaded for specific users.

    You can include single app plans in team packages, but otherwise no. This will exclusively depend on the users' local permissions on the computer - if the can install one app, they can install all of them, be it only as a trial.
    Mylenium

  • "invalid name pattern"  when trying to user packaged TYPE

    Hi,
    I have problem with creating ArrayDescriptor instance of packaged DB TYPE.
    There is declared TYPE
       type OBJ_ARRAY_TYPE is table of number(30)
    in a DB package specification,
    when i try to create description through jdbc, it fails on "java.sql.SQLException: invalid name pattern: PKG_NAME.OBJ_ARRAY_TYPE":
       desc = ArrayDescriptor.createDescriptor ("PKG_NAME.OBJ_ARRAY_TYPE", conn);
    When OBJ_ARRAY_TYPE defined globally, outside the package, everything works fine. Is it limitation of JDBC(classes12.jar)/OracleDB9i not to allow using packaged types?
    Thx for any suggestion.

    I have same hiccup with 10g JDBC Driver (ojdbc14.jar) and 9i Database.
    Test Case: Create the package with the type and a procedure that use this type as OUT parameter. Create a java application to invoke this procedure and consume the type.
    Steps:
    Create following package.
    CREATE OR REPLACE PACKAGE test_type AS
      type avarchartabletype IS TABLE OF VARCHAR2(256) INDEX BY binary_integer;
      PROCEDURE getvcttdata(avcttdata OUT avarchartabletype,   irows IN OUT INTEGER);
    END test_type;
    CREATE OR REPLACE PACKAGE BODY test_type AS
      PROCEDURE getvcttdata(avcttdata OUT avarchartabletype,   irows IN OUT INTEGER) AS
      BEGIN
        FOR i IN 1 .. irows
        LOOP
          avcttdata(i) := 'Yo ' || i;
        END LOOP;
      END getvcttdata;
    END test_type;2. Try to execute the above procedure using following Java code:-
    public class TestType {
         public static void main(String[] args) throws Exception {
              java.sql.DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
              java.sql.Connection con = java.sql.DriverManager.getConnection(args[0],
                        args[1], args[2]);
              oracle.jdbc.driver.OracleCallableStatement stmt = (oracle.jdbc.driver.OracleCallableStatement) con
                        .prepareCall("call Test_Type.getVCTTData(?,?)");
               stmt.registerOutParameter(1, oracle.jdbc.driver.OracleTypes.ARRAY,
                        "test_type.avarchartabletype");
              stmt.registerOutParameter(2, oracle.jdbc.driver.OracleTypes.INTEGER);
              stmt.executeUpdate();
              // Get the ARRAY object and print the meta data assosiated with it
              oracle.sql.ARRAY simpleArray = stmt.getARRAY(1);
              System.out.println("SQLTypeName=" + simpleArray.getSQLTypeName());
              System.out.println("BaseType=" + simpleArray.getBaseType());
              System.out.println("length=" + simpleArray.length());
              String[] values = (String[]) simpleArray.getArray();
              for (int i = 0; i < values.length; i++) {
                   System.out.println("row[" + i + "]=" + values[i] + "<BR>");
              stmt.close();
              con.close();
    Result:
    Exception in thread "main" java.sql.SQLException: invalid name pattern: test_type.avarchartabletype
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
         at oracle.jdbc.oracore.OracleTypeADT.initMetadata(OracleTypeADT.java:463)
         at oracle.jdbc.oracore.OracleTypeADT.init(OracleTypeADT.java:362)
         at oracle.sql.ArrayDescriptor.initPickler(ArrayDescriptor.java:1756)
         at oracle.sql.ArrayDescriptor.<init>(ArrayDescriptor.java:272)
         at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:196)
         at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:165)
         at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:150)
         at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:115)
         at oracle.jdbc.driver.NamedTypeAccessor.otypeFromName(NamedTypeAccessor.java:71)
         at oracle.jdbc.driver.TypeAccessor.initMetadata(TypeAccessor.java:79)
         at oracle.jdbc.driver.T4CCallableStatement.allocateAccessor(T4CCallableStatement.java:630)
         at oracle.jdbc.driver.OracleCallableStatement.registerOutParameterInternal(OracleCallableStatement.java:133)
         at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:179)
         at TestType.main(TestType.java:32)
    This works fine when execute as PL/SQL using following snippet.
    declare
      thepage   Test_Type.aVarCharTableType;
      irows     integer       := 10;
      cl        clob;
      begin
      Test_Type.getVCTTData(thepage, irows);
       for i in 1 .. irows
       loop
         cl := thepage (i);
         dbms_output.PUT_LINE(cl);
       end loop;
    end;Message was edited by:
    bonjonbovi

  • Unable to submit a package to AUR

    I'm already maintaining 4 packages on AUR, but today when I was submitting a 5th package, all I got was this unhelpful error message:
    Use `makepkg --source` to generate source packages for submission!
    Error - No file uploaded
    If you'd like to help out, the source files are located at http://github.com/wh5a/arch/tree/master/archpkg/otags/

    roy_hu wrote:
    Runiq wrote:
    I uploaded and orphaned the package: http://aur.archlinux.org/packages.php?ID=35200
    Of course, there's still your original problem. I just d/l'ed the two files (PKGBUILD and patch), used makepkg --source, renamed the src.tar.gz file to otags.tar.gz and uploading worked without a hitch, so no problem there at all…
    Thanks. Do I have to rename the file? I don't remember I ever did that...
    I dunno, but whenever I download a package from the AUR, it's always called $pkgname.tar.gz, that's why I usually do it.
    Last edited by Runiq (2010-03-04 19:48:45)

  • Office 2013 with Visio and Project Error - Package manifest is invalid

    In July I successfully created an App-V install of Office 2013 VL using the ODT. This week I decided to try just doing Visio as we don't install it or Project on all systems. I used my same customconfig.xml and just changed the ProPlusVolume to VisioProVolume
    and changed the source path. Everything downloaded and packaged fine. I was able to import into SCCM just fine and create a deployment to my test collection. However when I run the install out of Software Center I get (as part of a much longer error) the message
    in AppEnforce.log that the package manifest is invalid. Thinking that maybe I had to include Office as long with Visio I tried packaing all three items but still get the same error. Has anyone else seen this behavior and/or ideas how to fix it? Can I sequence
    just Visio or just Project? I'm including my config.xml just in case I've got something wrong with it that I haven't caught. Thanks
     <Configuration>
      <Add SourcePath="<networkpath>\Microsoft\AppVOffice2013\Sept\" OfficeClientEdition="32" >
        <Product ID="ProPlusVolume">
        <Language ID="en-us" />
        </Product>
        <Product ID="VisioProVolume">
        <Language ID="en-us" />
        </Product>
        <Product ID="ProjectProVolume">
        <Language ID="en-us" />
        </Product>
      </Add>
      <Display Level="None" AcceptEULA="TRUE" />
      <Logging Name="OfficeSetup.txt" Path="%temp%" />
      <Property Name="AUTOACTIVATE" Value="1" />
    </Configuration>

    Hy. I'm having the same problema.
    I'm trying to create na app-v package (v.5 SP2) of Office 2013.
    I downloaded the Office Deployment Tool for Click-to-Run from here:
    http://www.microsoft.com/en-us/download/details.aspx?id=36778
    I installed it into C:\Office2013pck shared that folder as 
    \\APPVMANAGER\Office2013 and mapped as Z:\.
    I changed the configuration.xml file to:
    <Configuration>
    <Add OfficeClientEdition="32" >
    <Product ID="ProPlusVolume">
    <Language ID="en-us" />
    </Product>
    <Product ID="VisioProVolume">
    <Language ID="en-us" />
    </Product>
    </Add>
    </Configuration>
    Then I ran in na elevated cmd:
    >Z:
    >\\APPV-CL-WIN7DEF\Office2013\setup.exe /download
    \\APPV-CL-WIN7DEF\Office2013\configuration.xml
    and
    >\\APPV-CL-WIN7DEF\Office2013\setup.exe /packager
    \\APPV-CL-WIN7DEF\Office2013\configuration.xml
    \\APPV-CL-WIN7DEF\Office2013\Appv
    Everything seemed to work fine.
    The creted folder had Office\Data\15.0.4649.1001 folder (I guessed this is a version number)
    When I tried to add the package to App-V Server (in the Console) I get the following error:
    An unexpected error occurred while retrieving AppV package manifest. Windows error code: 1465 - Windows was unable to parse the requested XML data.
    I tryied to publish it from powershell, getting the same error message agalluci image post shows.
    From the Event Log I got this additional information:
    There was a problem retrieving the requested package \\APPVMANAGER\AppVpck\Office\VisioProVolume_ProPlusVolume_en-us_x86.appv for import. Error message: Unspecified error
    Element '{http://schemas.microsoft.com/appv/2010/manifest}UsedKnownFolders' is unexpected according to content model of parent element '{http://schemas.microsoft.com/appx/2010/manifest}Package'.
    I haven't found any indication of which file is the manifest app-v file.
    I also haven't found any .xml with the "UsedKnownFolders" tag (I changed the .appv package extension to .zip and explored some of the files).
    I tryied creating a package for 32 and 64 bits, only office, office and visio, and office visio and project running Windos 7 and Windows 2012.
    Thanks in advance for any help.

  • Invalid Name Pattern in SQL Developer Data Modeler

    I am using Data Modeler version 3.3.0.747, I have exported a couple of data models (logical and physical) to an Oracle 11.2.0.3 database. I used the Reporting_Schema_Permissions.sql file to define the ID that owns the repository. Each data model that I exported returned the successful export message.
    However when I use Oracle Data Modeler and connect (as a different user) to the repository to generate a report on one of the diagrams I immediately get an error returned. The error is (from the log file in datamodeler\log\datamodeler.log):
    2013-04-19 08:36:12,233 [Thread-18] ERROR ReportsGenerationDialog - Generating report from Reporting Schema exception - invalid name pattern: username.OBJECTS_LIST
    Where username is the name of the ID being used to generate the report (not the repository owner ID).
    I have created public synonyms on the repository tables and views (though I must have missed where that was a requirement) so the repository objects can be seen by other users.
    Has anyone encountered this and if so how did you resolve it. I have searched the web (and the Oracle forums) and so far had no hits on this issue. That seems to indicate that there is something I must have missed in the setup or such.
    Thanks

    Hi,
    I think you didn't grant EXECUTE to package and types. Here is full working script:
    DECLARE
    CURSOR cur IS SELECT table_name, owner FROM all_tables WHERE owner='<owner>';
    BEGIN
    FOR rec IN cur LOOP
    EXECUTE IMMEDIATE 'GRANT SELECT ON '||'<owner>'||'.'||rec.table_name||' to '||'<another_user>';
    EXECUTE IMMEDIATE 'CREATE SYNONYM '||'<another_user>'||'.'||rec.table_name||' FOR '||'<owner>'||'.'||rec.table_name;
    END LOOP;
    END;
    DECLARE
    CURSOR cur IS SELECT view_name FROM all_views WHERE owner='<owner>';
    BEGIN
    FOR rec IN cur LOOP
    EXECUTE IMMEDIATE 'GRANT SELECT ON '||'<owner>'||'.'||rec.view_name||' to '||'<another_user>';
    EXECUTE IMMEDIATE 'CREATE SYNONYM '||'<another_user>'||'.'||rec.view_name||' FOR '||'<owner>'||'.'||rec.view_name;
    END LOOP;
    END;
    DECLARE
    CURSOR cur IS SELECT type_name FROM all_types WHERE owner='<owner>';
    BEGIN
    FOR rec IN cur LOOP
    EXECUTE IMMEDIATE 'GRANT EXECUTE ON '||'<owner>'||'.'||rec.type_name||' to '||'<another_user>';
    EXECUTE IMMEDIATE 'CREATE SYNONYM '||'<another_user>'||'.'||rec.type_name||' FOR '||'<owner>'||'.'||rec.type_name;
    END LOOP;
    END;
    GRANT EXECUTE ON <owner>.pkg_osdm_utils to <another_user>;
    CREATE SYNONYM <another_user>.pkg_osdm_utils FOR <owner>.pkg_osdm_utils;
    There is no document for reporting repository install process. If you are exporting design for first time, the repository is automatically created for you.
    When you get new version of DM you can
    1. Use new repository
    2. Upgrade existing one. If so, the simplest variant is to run /datamodeler/reports/DMRS_Upgrade_Script_<latest_vesrion>. Eventually compile single stored procedure.
    Another variant for upgrade is with running osddm_upgr.sql, but there is some error, which is going to be fixed in the next release.

  • [SOLVED]How to search package name only when using yaourt

    I often install a AUR package by yaourt term, but it does not only search terms in package name but also package description, since there are so much packages in AUR, it produce many pages of items, and it can not support more to page one screenful at a time, It
    become difficult to get the right choice,
    Thank you in advance!
    Last edited by netawater (2013-06-14 00:47:06)

    Hey, that's one thing I actually know how to do with regexes! All package descriptions have some spaces at their beginning, the package names themselves have not, so you can just use inverted grepping like so:
    $ pacman -Ss test | grep -v '^ '
    core/perl 5.10.1-5 (base)
    extra/fprint_demo 0.4-2 (fprint)
    extra/ghc 6.12.1-2
    extra/haskell-hunit 1.2.2.1-1
    extra/haskell-quickcheck 2.1.0.3-1
    extra/junit 4.7-1
    extra/kdesdk-kpartloader 4.4.0-1 (kde kdesdk)
    extra/libxtst 1.1.0-1
    extra/memtest86+ 4.00-1
    extra/mono-tools 2.6.1-1
    extra/openoffice-base 3.2.0-1
    extra/openoffice-base-beta 3.2.0_ooo320_m12-1
    extra/perl-test-pod 1.41-1
    extra/python-nose 0.11.1-1
    extra/qemu-kvm 0.12.2-1
    extra/testdisk 6.11.3-2
    extra/unarj 2.63a-2
    extra/xbill 2.1-6
    xyne-any/reflector 5.0-2
    community/buildbot 0.7.11p3-1
    community/cppunit 1.12.1-1
    community/cxxtest 3.10.1-3
    community/dsniff 2.4b1-15
    community/gtk-aurora-engine 1.5.1-1
    community/gtkperf 0.40-3
    community/java-jdom 1.1.1-1
    community/lib32-libxtst 1.1.0-1 (lib32)
    community/perl-test-base 0.59-1
    community/perl-test-deep 0.106-1
    community/perl-test-differences 0.500-1
    community/perl-test-exception 0.29-1
    community/perl-test-manifest 1.23-1
    community/perl-test-mockobject 1.09-1
    community/perl-test-nowarnings 1.01-1
    community/perl-test-tester 0.107-1
    community/perl-test-warn 0.21-2
    community/phoronix-test-suite 2.4.0-1
    community/pmtools 20100123-1
    community/reflector 5.0-2
    community/stress 1.0.0-2
    community/typespeed 0.6.5-2
    arch-games/mangler-snapshot 1.1.20100116-3
    arch-games/ultimatestunts 0.7.5.1-1
    This still shows the repos and the versions (nothing cut wouldn't be able to handle though). It works fine with pacman as you just saw, I can't guarantee for yaourt as I don't have it installed.
    Edit: Hm… I just realized that this still displays the results where 'test' only occured in the package description. Give me some time to figure this out.
    Edit 2: Another grep for 'test' would solve it:
    $ pacman -Ss test | grep -v '^ ' | grep test
    extra/memtest86+ 4.00-1
    extra/perl-test-pod 1.41-1
    extra/testdisk 6.11.3-2
    community/cxxtest 3.10.1-3
    community/perl-test-base 0.59-1
    community/perl-test-deep 0.106-1
    community/perl-test-differences 0.500-1
    community/perl-test-exception 0.29-1
    community/perl-test-manifest 1.23-1
    community/perl-test-mockobject 1.09-1
    community/perl-test-nowarnings 1.01-1
    community/perl-test-tester 0.107-1
    community/perl-test-warn 0.21-2
    community/phoronix-test-suite 2.4.0-1
    arch-games/ultimatestunts 0.7.5.1-1
    Still, it's not that pretty to write the same thing twice. If you really want to do it like this, I suggest you make it a function in your ~/.${SHELL}rc.
    Last edited by Runiq (2010-02-27 08:36:11)

  • Script to grab packages from AUR

    The following python script can be used to semi-automate the install process for packages in AUR. It could use a little work, especially the part that grabs the version.
    To use it, first check in AUR to ensure the package exists, and that the PKGBUILD is not malicious or something you think will screw your system. AUR packages in unsupported CANNOT BE TRUSTED indiscriminantly.
    Then run:
    aurbuild packagename
    If you are root, this will download, build, and install the package. If you are a user, it will only be downloaded and built.  The script currently doesn't remove the build files and directory, which are created in the current directory.
    I've only tested this with one package, so its probably buggy.
    #!/usr/bin/env python
    import sys, os, urllib, tarfile, re
    def getsubstring(url, reg, prefix, suffix):
    page=urllib.urlopen(url)
    for line in page.readlines():
    if re.search(reg, line):
    break
    p1=line.find(prefix) + len(prefix)
    p2=line.find(suffix, p1)
    return line[p1:p2]
    if len(sys.argv) != 2:
    print "Usage: aurbuild.py <package>ntWhere <package> is the name of a valid package in AUR"
    sys.exit(1)
    name=sys.argv[1]
    page="http://aur.archlinux.org/packages.php?K=" + name
    reg="'/packages.php.*?><span class='black'>" + name
    ID=getsubstring(page, reg, "ID=", "&")
    page="http://aur.archlinux.org/packages.php?do_Details=1&ID=" + ID
    reg="<a href='.*?>Tarball</a> ::"
    tar="http://aur.archlinux.org" + getsubstring(page, reg, "<a href='", "'>")
    urllib.urlretrieve(tar, name + ".tar.gz")
    tar=tarfile.open(name + ".tar.gz", "r:gz")
    for member in tar.getmembers():
    tar.extract(member)
    os.chdir(name)
    os.spawnvp(os.P_WAIT, "makepkg", ["makepkg"])
    files = os.listdir(".")
    for name in files:
    if name.find(".pkg.tar.gz") >-1:
    pkgname=name
    break
    if os.getuid() == 0:
    os.spawnvp(os.P_WAIT, "pacman", ["pacman", "-U", pkgname])
    else:
    print "You must be root to install the package. cd into the " + name
    print " directory and run pacman -U " + pkgname + "."

    I thought you needed it for something else (to know which version you just made, but that info comes from the pkgbuild of course).
    But as I said before, most packages don't have a file with a version number in their name, but some have. E.g. look at the following urls:
    http://aur.archlinux.org/packages/ppracer/
    With version, and only build files in the ppraces subdir.
    http://aur.archlinux.org/packages/pptpclient/
    No version info, like most packages.
    http://aur.archlinux.org/packages/xerces-c/
    http://aur.archlinux.org/packages/acidrip/
    Version info, and the binary included in the tar.gz and the subdir.
    So it looks like there was a change in AUR at some point but existing packages weren't converted or something.

  • Can't access packaged object type in Java

    Hi
    I am getting the following error while accessing an oracle packaged object type. Can You please give me an advise..!!
    java.sql.SQLException: invalid name pattern: XXGW_RMA_CREATION_PKG.XXGW_RMA_RECRegards

    HI
    I am not asking how to search in google. If You know how to resolve my problem..then help me. I don't what this kind of answers.
    This is my problem
    Error in java.
    java.sql.SQLException: invalid name pattern: XXGW_RMA_CREATION_PKG.XXGW_RMA_REC
    This is my package
    create or replace package xxgw_rma_creation_pkg
    is
    type xxgw_rma_rec is record (dealer_name varchar2(40), dealer_desc varchar2(300));
    type xxgw_rma_line is table of xxgw_rma_rec; --(item_name varchar2(40), item_desc varchar2(300)) index by binary_integer;
    xx_rma_rec  xxgw_rma_rec;
    xx_rma_line xxgw_rma_line
    procedure xxgw_rma_creation (p_rma_rec in xxgw_rma_rec ,p_rma_line in xxgw_rma_line,p_rma_no out varchar2);
    end;
    create or replace package body xxgw_rma_creation_pkg
    is
    procedure xxgw_rma_creation (p_rma_rec in xxgw_rma_rec ,p_rma_line in xxgw_rma_line,p_rma_no out varchar2)
    is
    l_rma_rec xxgw_rma_rec := p_rma_rec;
    l_rma_line xxgw_rma_line := p_rma_line;
    begin
    dbms_output.put_line(l_rma_rec.dealer_name||'  '||l_rma_rec.dealer_desc);
    for i in  l_rma_line.first..l_rma_line.last loop
    dbms_output.put_line(l_rma_line(i).dealer_name||'  '||l_rma_line(i).dealer_desc);
    end loop;
    p_rma_no := '20';
    end;
    end;Rekha

  • I can't submit (button is gray)

    Everything is all right, (I think) Settings destination, targets, ... But I simply can not submit.

    Hi there,
    My first post. I had the same problem - when I clicked on submit in Compressor the drop down box appeared and in the Cluster box it said "none" and the submit button was greyed out. I've fixed mine and it works perfectly now. Here's how:
    Go to System Preferences and select Sharing. A box appears with your computer's name at the top and a list of things you can share. Select File Sharing and to the right, it will say something like: FTP Access:On with a message underneath which contains your computer's IP address e.g 10.6.4.3. Make a note of this number.
    Open Compressor and go to Compressor > Preferences. The Preferences Dialogue Box appears and at the bottom it says: Enter IP addresses or ranges for manually selected computers. Click on the + button at bottom left and then enter your computer's name and the IP address you noted earlier. Online will probably appear under status.
    Next time you start a job in Compressor and click on submit the drop down box will now say This computer in the Cluster box and the submit button will no longer be greyed out - BINGO
    this is what I did and it worked for me. Good luck.
    Fingers Lee

  • Java.sql.SQLException: invalid name pattern:schema.file_import_nestedtable

    Hi all,
    I am trying to insert an array in nested table to another table. I have a nested table by the name 'file_import_nestedTable'.
    code for object 'file_import_obj'
    CREATE OR REPLACE TYPE file_import_obj AS OBJECT
    column_1 datatype,
    column_2 datatype,
    column_n datatype
    and for nested table 'file_import_nestedTable'
    CREATE OR REPLACE TYPE file_import_nestedTable as TABLE OF file_import_obj
    I have a package in place and it is valid.
    The problem started when I tried to use the weblogic pool connection to call the procedure. But this was overcome by using the Oracle connection i.e another pool and not the weblogic's own connection pool.
    But now I'm facing this exception when I try to use the ArrayDescriptor.
    java.sql.SQLException: invalid name pattern: PFEP.file_import_nestedTable
    Here is my code...
    Class.forName("oracle.jdbc.driver.OracleDriver");
    connection = DriverManager.getConnection("jdbc:oracle:thin:@myserver:1521:ANSD","user","password");
    // its throwing exception here.
    ArrayDescriptor desc = ArrayDescriptor.createDescriptor("file_import_nestedTable",connection);
    ARRAY arr1 = new ARRAY(desc,connection,strArrHeaderBodyData);
    OracleCallableStatement call[i]Long postings are being truncated to ~1 kB at this time.

    Hi all,
    I am trying to insert an array in nested table to another table. I have a nested table by the name 'file_import_nestedTable'.
    code for object 'file_import_obj'
    CREATE OR REPLACE TYPE file_import_obj AS OBJECT
    column_1 datatype,
    column_2 datatype,
    column_n datatype
    and for nested table 'file_import_nestedTable'
    CREATE OR REPLACE TYPE file_import_nestedTable as TABLE OF file_import_obj
    I have a package in place and it is valid.
    The problem started when I tried to use the weblogic pool connection to call the procedure. But this was overcome by using the Oracle connection i.e another pool and not the weblogic's own connection pool.
    But now I'm facing this exception when I try to use the ArrayDescriptor.
    java.sql.SQLException: invalid name pattern: PFEP.file_import_nestedTable
    Here is my code...
    Class.forName("oracle.jdbc.driver.OracleDriver");
    connection = DriverManager.getConnection("jdbc:oracle:thin:@myserver:1521:ANSD","user","password");
    // its throwing exception here.
    ArrayDescriptor desc = ArrayDescriptor.createDescriptor("file_import_nestedTable",connection);
    ARRAY arr1 = new ARRAY(desc,connection,strArrHeaderBodyData);
    OracleCallableStatement call[i]Long postings are being truncated to ~1 kB at this time.

Maybe you are looking for

  • Update/insert/delete data from xcelsius to Database via web service

    Hi, I need to create dashboard that go function can <b>update/insert/delete</b> data send to <u>Database</u> thru <u>web services</u>, as i know got 2 xcelsius add-on software which support those of function <b>InfoBurst</b> and <b>flynet </b> <b>Inf

  • Error while exporting the database - using expdp

    Hello, I am trying to export the roger's schema ('scoala' database). I'm using: D:\oracle\product\10.2.0\db_1\BIN>expdp roger/mypass@scoala directory=D:\EXP ORTSCOALA dumpfile=scoala.dmp logfile=scoala.log Export: Release 10.2.0.1.0 - Production on W

  • F110 payment run scheduling

    Hi, Can someone tell me if I can schedule a A/R payment run via the F110 process? Currently we have the payment proposal scheduled via F110s at night. But the payment run is manually kicked off in the morning. What happens is that in between the prop

  • F110 Printing issue

    Dear expert, i have a problem when running the payment advice for vendor using F110. The payment advice can't print since encounter the erro messsage 'Cannot process message, no route from XXX to 028249'. Any one can give sgguestion on this, or had m

  • BOOTCAMP partition not visible in Finder, not Mountable in Disk Utility

    Did a fresh Bootcamp install of Windows 7 on my MBA running 10.9.4, switched back and forth a few times and now the BOOTCAMP partition doesn't show up in the left pane in Finder. I hopped into Disk Utility to see what was going on and it was there, j