Pkgbuild upstream updater

Hi, here is my first try coding script
code contribution are welcome.
Description:
Script to retrieve the latest upstream PKGBUILD file and if new changes it will build/install/(or upload to AUR) the package or whatever.
Todo:
Parse the PKGBUILD to retrieve extra files like $pkgnam.install, patch, ect
Allow manually adding PKGBUILD address upstream.
Allow to automatically update a bunch of PKGBUILD with a loop.
Write the source address PKGBUILD upstream in a separate file into the same folder or in a global file.
#!/bin/bash
#update-pkgbuild.sh
# Todo:
# Parse the PKGBUILD to retrieve extra files like $pkgnam.install, patch, ect
# Allow manually adding PKGBUILD address upstream.
# Allow to automatically update a bunch of PKGBUILD with a loop.
# Write the source address PKGBUILD upstream in a separate file into the same folder or in a global file.
set -x
old_md5="$(md5sum 'PKGBUILD' 2>/dev/null | cut -d ' ' -f 1 )"
# del old source packages
if [[ -d "src" ]]; then
rm -r "src"
fi
if [[ -d "pkg" ]]; then
rm -r "pkg"
fi
# check if tmp folder exist. If so then delete
if [[ -d "tmp" ]]; then
# Control will enter here if DIRECTORY exists.
rm -r "tmp"
fi
mkdir "tmp"
cd tmp || { echo 'failed to cd'; exit 1; }
curl -O https://raw.githubusercontent.com/felixonmars/aur-mirror/master/pamac-aur/PKGBUILD || { echo 'failed to curl'; exit 1; }
new_md5="$(md5sum 'PKGBUILD' | cut -d ' ' -f 1 )"
# check if file exist
if [ -f ../PKGBUILD ]; then
echo 'check if md5sum are equal'
# check if md5sum are equal
if [[ $old_md5 == $new_md5 ]]; then
# nothing to do
echo 'No update available'
else
# backup the old file
cp ../PKGBUILD ../PKGBUILD-"$(date +'%Y%m%d-%H%M%S')"
# replace old
mv PKGBUILD ../PKGBUILD
# Todo
# read the pkgbuild to list available extra files like patchs and then curl that needed files
# back to previous dir
cd -
# Build & Install the package
# makepkg -i -s -f --noconfirm
# Build only
echo 'makepkg -s -f --noconfirm'
fi
else
# move
mv PKGBUILD ../PKGBUILD
# Todo
# read the pkgbuild to list available extra files like patchs and then curl that needed files
# back to previous dir
cd -
# Build & Install the package
# makepkg -i -s -f --noconfirm
# Build only
echo 'makepkg -s -f --noconfirm'
fi
Edit: the code can be forked from this link https://gist.github.com/mawekuwe/38befce82878e83ab376
Updated the description.
Thanks for reading
Last edited by zegoti (2015-04-25 00:42:14)

fukawi2 wrote:
# del old source packages
if [[ -d "src" ]]; then
rm -r "src"
fi
if [[ -d "pkg" ]]; then
rm -r "pkg"
fi
You should look in /etc/makepkg.conf (and ~/.makepkg.conf) and take into account $BUILDDIR instead of assuming src/ and pkg/.
For example, my $BUILDDIR in ~/.makepkg.conf points to a path in /mnt that is a RAID-10 array of SSD's.
Great suggestion, I will look at it. Thanks

Similar Messages

  • Check for source updates

    Hi,
    I mantain a couple of PKGBUILDs and I was wandering if there is a (simple) way to automatically check for upstream updates.
    P.S.: Happy new year. ^^

    I've been using websec for years - it emails you the page if it changed, and *highlights* the changes.
    Here are the 2 programs - websec and webdiff, tweaked to remove the useless progress messages, so websec can be conveniently run by cron.

  • Problem with pkgbuild of blitz

    Hi,
      I get the following error when I try to compile blitz from aur.
                                               ==> ERROR: blitz is not available for the '' architecture.
        Note that many packages may need a line added to their ./PKGBUILD
        such as arch=('').
    Error: Makepkg was unable to build blitz package.
    The arch variable seems to be set in the pkgbuild file. I dont know what seems to be the problem!
    # Contributor: Gleidson <[email protected]>
    pkgname=blitz
    pkgver=0.9
    pkgrel=2
    pkgdesc="C++ Class library for scientific computing"
    arch=('i686' 'x86_64')
    url="http://www.oonumerics.org/blitz/"
    license=('GPL''custom')
    depends=('gcc')
    options=('!libtool')
    source=(http://downloads.sourceforge.net/sourceforge/blitz/blitz-$pkgver.tar.gz)md5sums=('031df2816c73e2d3bd6d667bbac19eca')
    build() {
      cd $startdir/src/blitz-$pkgver
      # Install license
      install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
      ./configure CXX=g++ --prefix=/usr --enable-64bit
      make DESTDIR=$startdir/pkg install || return 1
    ~

    This package is orphaned and does not compile.  Even the source-url is wrong.
    if /bin/sh ../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I.. -I.. -MT globals.lo -MD -MP -MF ".deps/globals.Tpo" -c -o globals.lo `test -f '../src/globals.cpp' || echo './'`../src/globals.cpp; \
    then mv -f ".deps/globals.Tpo" ".deps/globals.Plo"; else rm -f ".deps/globals.Tpo"; exit 1; fi
    g++ -DHAVE_CONFIG_H -I.. -I.. -MT globals.lo -MD -MP -MF .deps/globals.Tpo -c ../src/globals.cpp -o globals.o
    In file included from ../blitz/applics.h:400,
    from ../blitz/vecexpr.h:32,
    from ../blitz/vecpick.cc:16,
    from ../blitz/vecpick.h:293,
    from ../blitz/vector.h:449,
    from ../blitz/tinyvec.h:430,
    from ../blitz/indexexpr.h:30,
    from ../src/globals.cpp:11:
    ../blitz/mathfunc.h: In static member function 'static long int blitz::_bz_abs<long int>::apply(long int)':
    ../blitz/mathfunc.h:45: error: 'labs' is not a member of 'std'
    In file included from ../blitz/array/funcs.h:29,
    from ../blitz/array/newet.h:29,
    from ../blitz/array/et.h:27,
    from ../blitz/array-impl.h:2515,
    from ../blitz/array.h:32,
    from ../src/globals.cpp:13:
    ../blitz/funcs.h: In static member function 'static int blitz::Fn_abs<int>::apply(int)':
    ../blitz/funcs.h:509: error: call of overloaded 'abs(int&)' is ambiguous
    /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../../include/c++/4.3.1/cmath:99: note: candidates are: double std::abs(double)
    /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../../include/c++/4.3.1/cmath:103: note: float std::abs(float)
    /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../../include/c++/4.3.1/cmath:107: note: long double std::abs(long double)
    ../blitz/funcs.h: In static member function 'static long int blitz::Fn_abs<long int>::apply(long int)':
    ../blitz/funcs.h:530: error: 'labs' is not a member of 'std'
    Last upstream update was 2005. I think this PKGBUILD should be removed.
    Last edited by Stefan Husmann (2008-08-09 19:50:04)

  • Input on a PKGBUILD appreciated

    I found myself in need of a software package that were not in the repos nor in aur, but instead of
    just compile and be done with it I made it into a package, as practice.
    There are some issues that made it harder to package, for me:
    The source archive is a tarbomb, the template PKGBUILD recommends cd $srcdir/$pkgname-$pkgver
    and I assume it should be created by the source package? ...anyway it is not created in this instance.
    The makefile has no install option, copying has to be done by hand.
    There are some files provided for the user's benefit that do not fall into the bin/conf/doc categories (I put them in /usr/share/$pkgname)
    I've tried to adhere to the building standards etc, but in the above cases I am not sure I've made the correct choices,
    (in some cases the documentation was for cases not similar enough for this package, in some it was unclear if the statement was a suggestion
    or a requirement)
    The package is quite specialized, so I doubt I'll submit it to aur, but input would be welcome anyway.
    # Maintainer: Leo Bärring <[email protected]>
    pkgname=lifutils
    pkgver=1.4
    pkgrel=1
    pkgdesc="LIF Utilities"
    arch=(any)
    url="http://www.hpcc.org/datafile/hpil/lif_utils.html"
    license=('GPL')
    depends=(glibc)
    source=('http://www.hpcc.org/datafile/hpil/lifutils.tar.gz')
    md5sums=('c70ecf3f059e10333c8d79ec8bea14bd')
    build() {
    cd $srcdir
    make
    package() {
    cd $srcdir
    install -dm755 $pkgdir/usr/{bin,share/{$pkgname/{hardware,xroms},man/man{1,5}}}
    install -m755 -t $pkgdir/usr/bin \
    lifimage lifdump lifdir lifget lifaddhdr lifrmhdr \
    hptext sdata prog41 text75 regs41 stat41 key41 outp41\
    inp41 wall41 wcat41 in71 out71 lifstat sdatabar \
    barprt barps rom41 rom41cat prog41bar
    install -m644 hardware/* $pkgdir/usr/share/$pkgname/hardware
    install -m644 xroms/* $pkgdir/usr/share/$pkgname/xroms
    install -m644 manpages/*.1 $pkgdir/usr/share/man/man1
    install -m644 manpages/*.5 $pkgdir/usr/share/man/man5
    Last edited by tlvb (2011-01-30 06:58:07)

    [...editing...]
    Done and done. PKGBUILD above updated.
    I thought I should be able to use the -D flag to create the directories on the go as the files were copied, but no cigar.

  • [Solved] redeclipse 1.5

    Solved 2015-04-06
    All issues (for me at least) are now resolved; the AUR package can now be built, installed and run 'as-is' without any difficulties.
    Red Eclipse has been updated to 1.5. The redeclipse AUR package is flagged as out-of-date; pending maintainer action, I had an interest in getting this to work on my computer, and was able to do so after some trial-and-error.
    Update 2015-04-05: The redeclipse AUR package has been updated by the new maintainer (and upstream has tagged v1.5.1, so it is updated to that); however, I still had some issues with it locally, so have updated this thread to document them rather than clutter up the AUR comments.
    I note below the changes I made locally, for the benefit of anyone interested. It is likely that some of these should be reported upstream as well. Feedback on either of these points is most welcome!
    (1) Patch system-install.mk
    Created the file system-install.diff with the following contents (revised 2015-04-05 to match state of the file at upstream commit 38ba0f8 [2015-04-04 13:30 UTC]):
    --- src/system-install.mk 2015-04-03 06:00:37.000000000 +0000
    +++ src/system-install.mk 2015-04-04 13:30:00.000000000 +0000
    @@ -55,6 +55,7 @@
    system-install-client: client
    $(MKDIR) $(libexecdir)/$(appname)
    $(MKDIR) $(gamesbindir)
    + $(MKDIR) $(datadir)/$(appname)
    install -m755 $(appclient) $(libexecdir)/$(appname)/$(appname)
    install -m755 install/nix/$(appsrcname).am \
    $(gamesbindir)/$(appname)
    @@ -89,14 +90,17 @@
    g,@APPNAME@,\
    s,@APPNAME@,$(appname),g\n\
    w\n" | ed -s $(gamesbindir)/$(appname)-server
    - install -m644 ../config/version.cfg \
    - $(datadir)/$(appname)/version.cfg
    - ln -s $(patsubst $(DESTDIR)%,%,$(datadir))/$(appname)/version.cfg \
    - $(libexecdir)/$(appname)/version.cfg
    +
    +system-install-common:
    + $(MKDIR) $(libexecdir)/$(appname)
    + $(MKDIR) $(datadir)/$(appname)
    + cp -r ../config $(datadir)/$(appname)/config
    + ln -s $(patsubst $(DESTDIR)%,%,$(datadir))/$(appname)/config \
    + $(libexecdir)/$(appname)/config
    system-install-data:
    + $(MKDIR) $(datadir)/$(appname)
    cp -r ../data $(datadir)/$(appname)/data
    - rm -f $(datadir)/$(appname)/data/misc/largeandincharge.png
    system-install-docs: $(MANPAGES)
    $(MKDIR) $(mandir)/man6
    @@ -154,12 +158,15 @@
    gzip -9 -n -c < ../doc/man/cube2font.1 \
    > $(mandir)/man1/cube2font.1.gz
    -system-install: system-install-client system-install-server system-install-data system-install-docs system-install-menus
    +system-install: system-install-client system-install-server system-install-common system-install-data system-install-docs system-install-menus
    +
    +system-uninstall-common:
    + rm -rf $(datadir)/$(appname)/config
    + @rm -fv $(libexecdir)/$(appname)/config
    system-uninstall-client:
    @rm -fv $(libexecdir)/$(appname)/$(appname)
    @rm -fv $(libexecdir)/$(appname)/data
    - @rm -fv $(libexecdir)/$(appname)/version.cfg
    @rm -fv $(gamesbindir)/$(appname)
    system-uninstall-server:
    @@ -168,7 +175,6 @@
    system-uninstall-data:
    rm -rf $(datadir)/$(appname)/data
    - rm -fv $(datadir)/$(appname)/version.cfg
    system-uninstall-docs:
    @rm -rfv $(docdir)/$(appname)/examples
    @@ -185,7 +191,7 @@
    @rm -fv $(icondir)/128x128/apps/$(appname).png
    @rm -fv $(pixmapdir)/$(appname).xpm
    -system-uninstall: system-uninstall-client system-uninstall-server system-uninstall-data system-uninstall-docs system-uninstall-menus
    +system-uninstall: system-uninstall-client system-uninstall-server system-uninstall-common system-uninstall-data system-uninstall-docs system-uninstall-menus
    -@rmdir -v $(libexecdir)/$(appname)
    -@rmdir -v $(datadir)/$(appname)
    -@rmdir -v $(docdir)/$(appname)
    (2) Update PKGBUILD
    Updated the PKGBUILD to be equivalent to the following (revised 2015-04-05):
    pkgname="redeclipse"
    pkgver="1.5.1"
    pkgrel="1"
    pkgdesc="free, casual arena shooter"
    arch=("i686" "x86_64")
    url="http://redeclipse.net"
    license=("custom" "CC0" "CCPL:by" "CCPL:by-sa" "ZLIB" "MIT")
    makedepends=("ed")
    depends=("sdl_image" "libgl" "sdl_mixer" "hicolor-icon-theme" "glu")
    install="redeclipse.install"
    source=("base-${pkgver}.tar.gz::https://github.com/red-eclipse/base/archive/v${pkgver}.tar.gz"
    "data-${pkgver}.tar.gz::https://github.com/red-eclipse/data/archive/v${pkgver}.tar.gz"
    "system-install.diff")
    sha256sums=('2982c4337f4b344c6d77def6b2baec3a2b99b70a88752137475845f95c4d5193'
    'eba632f57b4fa76d6701950907231b354398883613da36c17dbc062c1758dd37'
    '226ab99b5a567cac7e8a941f864e990250522a44c64a31561ee3e4386360af7d')
    prepare() {
    cd "${srcdir}/base-${pkgver}"
    rmdir data
    mv "${srcdir}/data-${pkgver}" data
    build() {
    cd "${srcdir}/base-${pkgver}"
    make -C src/ client server
    package() {
    cd "${srcdir}/base-${pkgver}"
    patch src/system-install.mk ../../system-install.diff
    make -C src/ DESTDIR="${pkgdir}" prefix=/usr system-install
    install -Dm 0644 "${srcdir}/base-${pkgver}/doc/license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
    install -Dm 0644 "${srcdir}/base-${pkgver}/doc/all-licenses.txt" "${pkgdir}/usr/share/licenses/${pkgname}/all-licenses.txt"
    You will need to update the "<!--redacted-->" part in the source array, since I'm not sure I got a suitable server in the rotation to add here. You can determine a more suitable one from the AUR package comments, or from upstream's download page; the md5sum is the one published by upstream.
    Update 2015-04-03: Resolved by the new maintainer using source archives straight from GitHub.
    (3) Compile, package, install and run successfully.
    All other files in the package remained untouched.
    The changes made above accomplish two things:
    Prevent the 'make system-install' command from failing, either due to a missing directory (the patch file), missing makedepend (it requires ed now), or not finding the "_linux" suffix that now appears on the binaries after compilation.
    Prevent Red Eclipse from erroring on launch with "could not find config directory"; the directory in question is included in the source, but is outside of the "src/" directory and is not installed/linked to by 'make system-install' directly for some reason.
    Update 2015-04-05: Most issues no longer occur per PKGBUILD and upstream updates.
    I hope this is useful to someone; as before, any feedback is welcome.
    Last edited by aexoxea (2015-05-13 13:35:39)

    My thanks to @carl.george for picking up maintainership of this package .
    Unfortunately, I still had some issues locally with the now-updated PKGBUILD, and have updated the original post to again reflect those changes made to get it working locally. I also wanted to illustrate the exact errors seen here that prompted these changes originally.
    I will of course live with it if no-one else sees these (i.e. if they turn out to be peculiarities of the setup here).
    (1) Without 'ed' as a makedepend...
    ('ed' is not part of either the 'base' or 'base-devel' groups.)
    <!--redacted-->
    Update 2015-04-04: No longer an issue per PKGBUILD update.
    (2) Without system-install.diff...
    (redeclipse builds and installs OK, but then exits immediately at launch.)
    % redeclipse
    could not find config directory
    [Exit code 1]
    (3) Without the APPCLIENT and APPSERVER parameters on the 'make system-install' line...
    <!--redacted-->
    Update 2015-04-05: No longer an issue per upstream changes.
    (4) Without copy and link of config directory...
    (redeclipse builds and installs OK, but then exits immediately at launch.)
    <!--redacted-->
    Update 2015-04-05: Now irrelevant as this is the subject of an upstream patch.
    Last edited by aexoxea (2015-04-05 15:03:47)

  • I keep getting "pkg-config: could not find or read package"

    trying to install firefox-branded using yaourt
    [anthony@arch yaourt]$ yaourt -S firefox-branded
    ==> Downloading firefox-branded PKGBUILD from AUR...
    bsdtar: Removing leading '/' from member names
    x firefox-safe.desktop
    x browser-defaulturls.patch
    x PKGBUILD
    x firefox.install
    x mozilla-firefox-1.0-lang.patch
    x firefox.desktop
    x firefox-version.patch
    x firefox-agent.patch
    x mozconfig
    Comment by: wantilles on Wed, 21 Jul 2010 12:34:35 +0000
    Upstrem update to 3.6.7.
    Comment by: geo on Wed, 21 Jul 2010 12:46:53 +0000
    As reliable as ever, thanks wantilles :)
    Comment by: wantilles on Wed, 21 Jul 2010 16:27:56 +0000
    @ ropez fzerorubigd tschertel
    I won't answer the same questions twice.
    See my comment on Mon, 28 Jun 2010 15:51:20 +0000.
    Comment by: fzerorubigd on Wed, 21 Jul 2010 18:18:22 +0000
    :) I just want to report this is out of date and why I flag this as out of date. nothing else.
    Comment by: wantilles on Sat, 24 Jul 2010 11:36:22 +0000
    Upstream update to 3.6.8.
    Comment by: fzerorubigd on Wed, 11 Aug 2010 17:56:44 +0000
    Its a good work, but can you add default dictionary to this too? I mean just add a dictionaries folder inside installation folder and copy to en-US.dic and en-US.aff from mozilla-1.9.2/extensions/spellcheck/locales/en-US/hunspell folder?
    Thanks for your great work.
    First Submitted: Wed, 25 Jun 2008 06:41:54 +0000
    firefox-branded 3.6.8-1 : Standalone web browser from mozilla.org
    ( Unsupported package: Potentially dangerous ! )
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    ==> firefox-branded dependencies:
    - desktop-file-utils (already installed)
    - zip (already installed)
    - diffutils (already installed)
    - libgnomeui>=2.24.1 (already installed)
    - python (already installed)
    - wireless_tools (already installed)
    - xulrunner=1.9.2.8 (building from AUR)
    - pkg-config (building from AUR)
    ==> Edit firefox.install ? [Y/n] ("A" to abort)
    ==> -------------------------------------------
    ==> n
    ==> Continue building firefox-branded ? [Y/n]
    ==> -----------------------------------------
    ==>
    ==> Building and installing package
    ==> Install or build missing dependencies for firefox-branded:
    Password:
    error: 'pkg-config': could not find or read package
    ==> WARNING: Dependencies have been installed before the failure
    ==> Restart building firefox-branded ? [y/N]
    ==> ----------------------------------------
    ==>
    ==> WARNING: Following packages have not been installed:
    firefox-branded
    I have pkg-config installed (pacman -S base-devel) and ran pacman -Syyu after.

    ==> Making package: firefox-branded 3.6.8-1 (Tue Aug 24 03:59:02 PDT 2010)
    ==> Checking Runtime Dependencies...
    ==> Missing Dependencies:
    -> xulrunner=1.9.2.8
    ==> Checking Buildtime Dependencies...
    ==> Missing Dependencies:
    -> pkg-config
    ==> ERROR: Could not resolve all dependencies.
    thats what I get with makepkg -i

  • Iwlist scanning gives: Interface doesn't support sc [solved]

    When I'm trying to scan for all available networks I get:
    # iwlist eth1 scanning
    eth1 Interface doesn't support scanning : Operation not supported
    My wireless card works fine if I set every parameter manually. I'm currently using the orinoco drivers that came along with ArchLinux.
    It seems like that the version of the orinoco drivers installed doesn't support the scan stuff. But building the new orinoco drivers failed with
    /usr/local/download/orinoco/orinoco-0.15rc2/orinoco_pci.c: In function `orinoco_ pci_suspend':
    /usr/local/download/orinoco/orinoco-0.15rc2/orinoco_pci.c:330: error: too many a rguments to function `pci_save_state'
    /usr/local/download/orinoco/orinoco-0.15rc2/orinoco_pci.c: In function `orinoco_ pci_resume':
    /usr/local/download/orinoco/orinoco-0.15rc2/orinoco_pci.c:347: error: too many a rguments to function `pci_restore_state'
    make[2]: *** [/usr/local/download/orinoco/orinoco-0.15rc2/orinoco_pci.o] Error 1
    make[1]: *** [_module_/usr/local/download/orinoco/orinoco-0.15rc2] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.11.3-ARCH'
    make: *** [modules] Error 2
    So I did try the wlan-ng26 driver downloaded and installed with pacman.
    I remove the orinoco modules with
    [root@ArchThinkpad orjanp]# modprobe -r orinoco_pci
    But when I try to insert the prism2_pci module, it doesn't exist. Why?
    [root@ArchThinkpad orjanp]# modprobe prism2_pci
    FATAL: Module prism2_pci not found.
    Any heads up on what to do?
    This is iwconfig before removing the orinoco modules.
    [root@ArchThinkpad orjanp]# iwconfig
    lo no wireless extensions.
    sit0 no wireless extensions.
    eth0 no wireless extensions.
    eth1 IEEE 802.11-DS ESSID:"" Nickname:"Prism I"
    Mode:Managed Access Point: 00:00:00:00:00:00 Bit Rate:11 Mb/s
    Tx-Power=15 dBm Sensitivity:1/3
    Retry min limit:8 RTS thr:off Fragment thr:off
    Encryption key:off
    Power Management:off
    Link Quality=0/92 Signal level=-68 dBm Noise level=-122 dBm
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:0 Invalid misc:0 Missed beacon:0
    This is lspci
    [root@ArchThinkpad orjanp]# lspci
    00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 04)
    00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 04)
    00:1d.0 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #1) (rev 02)
    00:1d.1 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #2) (rev 02)
    00:1d.2 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #3) (rev 02)
    00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 42)
    00:1f.0 ISA bridge: Intel Corp. 82801CAM ISA Bridge (LPC) (rev 02)
    00:1f.1 IDE interface: Intel Corp. 82801CAM IDE U100 (rev 02)
    00:1f.3 SMBus: Intel Corp. 82801CA/CAM SMBus (rev 02)
    00:1f.5 Multimedia audio controller: Intel Corp. 82801CA/CAM AC'97 Audio (rev 02)
    00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem (rev 02)
    01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]
    02:00.0 CardBus bridge: Texas Instruments PCI1250 PC card Cardbus Controller (rev 01)
    02:00.1 CardBus bridge: Texas Instruments PCI1250 PC card Cardbus Controller (rev 01)
    02:02.0 Network controller: Harris Semiconductor Prism 2.5 Wavelan chipset (rev 01)
    02:08.0 Ethernet controller: Intel Corp. 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller (rev 42)
    This is lsmod before removing orinoco.
    [root@ArchThinkpad orjanp]# lsmod
    Module Size Used by
    radeon 78336 1
    ohci_hcd 23048 0
    ehci_hcd 36488 0
    irtty_sir 7552 0
    sir_dev 18636 1 irtty_sir
    irda 144184 1 sir_dev
    crc_ccitt 2432 1 irda
    parport_pc 29252 0
    parport 38600 1 parport_pc
    rtc 13260 0
    pcspkr 4044 0
    eepro100 32528 0
    orinoco_pci 7552 0
    orinoco 44172 1 orinoco_pci
    hermes 9472 2 orinoco_pci,orinoco
    yenta_socket 23560 0
    rsrc_nonstatic 11648 1 yenta_socket
    pcmcia_core 51488 2 yenta_socket,rsrc_nonstatic
    snd_intel8x0m 19396 0
    snd_intel8x0 34624 0
    snd_ac97_codec 79224 2 snd_intel8x0m,snd_intel8x0
    snd_pcm_oss 56224 0
    snd_mixer_oss 21120 1 snd_pcm_oss
    snd_pcm 98564 4 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
    snd_timer 27268 1 snd_pcm
    snd 59492 7 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
    soundcore 10848 1 snd
    snd_page_alloc 10244 3 snd_intel8x0m,snd_intel8x0,snd_pcm
    i2c_i801 8972 0
    i2c_core 23296 1 i2c_i801
    usbhid 47744 0
    uhci_hcd 33424 0
    usbcore 125560 5 ohci_hcd,ehci_hcd,usbhid,uhci_hcd
    shpchp 100996 0
    pci_hotplug 34760 1 shpchp
    tsdev 8256 0
    joydev 10560 0
    evdev 9984 0
    cpufreq_powersave 2176 0
    cpufreq_userspace 5680 0
    p4_clockmod 6164 0
    speedstep_lib 4868 1 p4_clockmod
    freq_table 5008 1 p4_clockmod
    e100 37760 0
    mii 5760 2 eepro100,e100
    nls_cp437 6144 1
    vfat 14976 1
    fat 41884 1 vfat

    orjanp wrote:
    Thanks.
    I installed the 0.15RC1 version of the Orinoco drivers found here.
    I rebooted but I still had the 0.13 version. I did a make and make install as the readme file said.
    What do I have to do to update the driver?
    do you use a PKGBUILD?
    update the driver: if it was copied to the right place and the kernel knows about it (depmod -a) it should work
    for a start, check under
    ls -la /lib/modules/`uname -r`/kernel/drivers/net/wireless/
    that your module is installed under the correct location (the orinoco files should be newer than the other ones)
    if this is so, make sure you are depmod -a (as root) ... and if even this is ok, then either you are running the new modules or something strange happened

  • Unable to install breqn and cadabra on Arch Linux

    Hi,
    I am running Arch Linux (64-bit) on my Dell XPS 15 laptop. I use LaTeX for all my scientific typesetting. When I was running Fedora on this system earlier, I used Cadabra, an open source symbolic manipulation program suited to calculations in quantum field theory. I tried to install cadabra in Arch using yaourt, but I get the following error message:
    [root@krypton ~]# yaourt cadabra
    1 aur/cadabra 1.29-1 (2)
    Cadabra is a computer algebra system (CAS)
    2 aur/modglue 1.16-2 (1)
    Modglue library for Cadabra computer algebra system (CAS)
    ==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
    ==> -------------------------------------------------------
    ==> 1
    ==> Downloading cadabra PKGBUILD from AUR...
    x PKGBUILD
    x cadabra.install
    First Submitted: Wed, 16 Sep 2009 08:01:06 +0000
    cadabra 1.29-1
    ( Unsupported package: Potentially dangerous ! )
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    ==> cadabra dependencies:
    - conlie (building from AUR)
    - modglue>=1.16 (building from AUR)
    - breqn (building from AUR)
    ==> Edit cadabra.install ? [Y/n] ("A" to abort)
    ==> -------------------------------------------
    ==> n
    ==> Continue building cadabra ? [Y/n]
    ==> ---------------------------------
    ==>
    ==> Building and installing package
    ==> Install or build missing dependencies for cadabra:
    ==> Downloading breqn PKGBUILD from AUR...
    x breqn.install
    x PKGBUILD
    First Submitted: Wed, 16 Sep 2009 08:00:09 +0000
    breqn 1.2b-2
    ( Unsupported package: Potentially dangerous ! )
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    ==> breqn dependencies:
    - texlive-bin (already installed)
    - texlive-core (already installed)
    ==> Edit breqn.install ? [Y/n] ("A" to abort)
    ==> -----------------------------------------
    ==> n
    ==> Continue building breqn ? [Y/n]
    ==> -------------------------------
    ==>
    ==> Building and installing package
    ==> WARNING: Building package as root is dangerous.
    Please run yaourt as a non-privileged user.
    ==> Making package: breqn 1.2b-2 (Thu May 31 20:10:59 IST 2012)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    -> Downloading mh.zip...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 2196k 100 2196k 0 0 74677 0 0:00:30 0:00:30 --:--:-- 73748
    ==> Validating source files with md5sums...
    mh.zip ... FAILED
    ==> ERROR: One or more files did not pass the validity check!
    ==> ERROR: Makepkg was unable to build breqn.
    ==> Restart building breqn ? [y/N]
    ==> ------------------------------
    ==>
    Surprisingly, a search on google did not reveal anything useful. Apparently the problem is validating the package 'breqn' which is a prerequisite for cadabra, but fails to install through yaourt because of some md5 checksum validation error (as I understand). And it seems there is no override for this in yaourt.
    Any suggestions to help me get cadabra to work will be greatly appreciated.
    Thanks in advance!
    References:
    1. http://aur.archlinux.org/packages.php?ID=30207
    2. http://cadabra.phi-sci.com/
    Last edited by darkmav (2012-05-31 14:41:57)

    Your problem is that the file the PKGBUILD is downloading is not the same one that the creator of the PKGBUILD was working with.
    an md5sum is a hash (a fingerprint, if you will) of the file.  When the PKGBUILD was created, that fingerprint was included in the file.  That yours does not match means one of two things:
    1. The file you downloaded was either corrupt, or has been tampered with, or
    2. The file you downloaded has been updated by the author, but the PKGBUILD has not been updated.
    If it is case 1, stop.  If it is case 2, you can do the following:
    The Cadabra PKGBUILD was updated last June (almost a year ago).  You can either post a comment to the AUR and see if the maintainer will fix it, or you can fix the PKGBUILD yourself and (hopefully) post the changes back to the AUR as a comment.
    # Contributor: Dariusz 'quasi' Panchyrz <[email protected]>
    pkgname=cadabra
    pkgver=1.29
    pkgrel=1
    pkgdesc="Cadabra is a computer algebra system (CAS)"
    arch=('i686' 'x86_64')
    url="http://cadabra.phi-sci.com/"
    license=('GPL')
    depends=('conlie' 'modglue>=1.16' 'breqn')
    install=$pkgname.install
    source=(http://cadabra.phi-sci.com/$pkgname-$pkgver.tar.gz)
    md5sums=('ea6e64535e6a9abe8810e5baa6a579a8')
    build() {
    cd $startdir/src/$pkgname-$pkgver/
    ./configure --prefix=$startdir/pkg/usr/
    make || return 1
    make install || return 1
    Notice the md5sums entry in the PKGBUILD above.  It needs to be updated in accordance with this article and then built on your machine using makepkg.  I strongly suggest you not user a helper for this, but rather use the methods described here
    Last edited by ewaller (2012-05-31 15:09:09)

  • [SOLVED] lib32-printproto on AUR

    Hi,
    I'm trying to install lib32-libxp from AUR, and I can't because its depency (lib32-printproto) gives me an error:
    └─>$ yaourt -S lib32-libxp
    ==> Resuming previous build
    ==> Downloading lib32-libxp PKGBUILD from AUR...
    tar: Record size = 6 blocks
    ==> Last 5 comments ordered by date (asc):
    Comment by: Janax on Thu, 01 Nov 2007 15:51:18 +0000
    Had to change the link from "core" to "extra" repository... otherwise worked perfectly!
    Comment by: Synthead on Tue, 21 Oct 2008 13:01:30 +0000
    Had problems with this package. I made a new PKGBUILD:
    pkgname=lib32-libxp
    pkgname32=${pkgname/lib32-/}
    pkgver=1.0.0
    pkgrel=1
    pkgrel32=2
    pkgdesc="X11 X Print Library"
    arch=(x86_64)
    url="http://xorg.freedesktop.org/"
    license=('GPL')
    groups=()
    depends=(lib32-libxext lib32-printproto)
    makedepends=()
    provides=()
    conflicts=()
    replaces=()
    backup=()
    options=()
    install=
    source=(ftp://ftp.archlinux.org/extra/os/i686/${pkgname32}-${pkgver}-${pkgrel32}-i686.pkg.tar.gz)
    noextract=()
    md5sums=(d1ba7ca5620ec0a03806cba518af8acf)
    build() {
    mkdir -p $startdir/pkg/opt/lib32/usr/
    cp -rPf $startdir/src/usr/lib $startdir/pkg/opt/lib32/usr/lib
    Comment by: ataraxia on Sun, 14 Jun 2009 22:47:56 +0000
    Adopted and updated. New PKGBUILD based on Synthead's, from previous comment.
    Comment by: Kray on Fri, 21 Aug 2009 16:19:31 +0000
    PKGBUILD is broken, pkgrel32 should be 3, not 2
    Comment by: bchurchill on Thu, 24 Dec 2009 05:24:43 +0000
    lib32-printproto should be listed as a dependency.
    Everything else works! The PKGBUILD was updated to include Kray's comment that pkgre132 needed to be changed.
    First Submitted: Fri, 23 Mar 2007 22:38:51 +0000
    lib32-libxp 1.0.0-4 : X11 X Print Library
    ( Unsupported package: Potentally dangerous ! )
    ==> Edit the PKGBUILD (highly recommended for security reasons) ? [Y/n]("A" to abort)
    ==> ----------------------------------------------
    ==>n
    ==> lib32-libxp dependencies:
    - lib32-libxext (already installed)
    - lib32-printproto (building from AUR)
    ==> Continue the building of lib32-libxp ? [Y/n]
    ==> ----------------------------------------------
    ==>y
    ==> Building missing dependencies from AUR:
    ==> Resuming previous build
    ==> Downloading lib32-printproto PKGBUILD from AUR...
    tar: Record size = 6 blocks
    First Submitted: Tue, 21 Oct 2008 12:56:55 +0000
    lib32-printproto 1.0.4-1 : X11 print extension wire protocol
    ( Unsupported package: Potentally dangerous ! )
    ==> Edit the PKGBUILD (highly recommended for security reasons) ? [Y/n]("A" to abort)
    ==> ----------------------------------------------
    ==>n
    ==> Continue the building of lib32-printproto ? [Y/n]
    ==> ----------------------------------------------
    ==>y
    ==> Install or build missing dependencies for lib32-printproto:
    ==> Building and installing package
    ==> Making package: lib32-printproto 1.0.4-1 x86_64 (Sat Mar 13 11:11:31 CET 2010)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    -> Downloading printproto-1.0.4-1-i686.pkg.tar.gz...
    --2010-03-13 11:11:31-- ftp://ftp.archlinux.org/extra/os/i686/printproto-1.0.4-1-i686.pkg.tar.gz
    => "printproto-1.0.4-1-i686.pkg.tar.gz.part"
    Resolving ftp.archlinux.org... 209.85.41.143, 209.85.41.144
    Connecting to ftp.archlinux.org|209.85.41.143|:21... connected.
    Logging in as anonymous ... Logged in!
    ==> SYST ... done. ==> PWD ... done.
    ==> TYPE I ... done. ==> CWD (1) /extra/os/i686 ... done.
    ==> SIZE printproto-1.0.4-1-i686.pkg.tar.gz ... done.
    ==> PASV ... done. ==> RETR printproto-1.0.4-1-i686.pkg.tar.gz ...
    No such file "printproto-1.0.4-1-i686.pkg.tar.gz".
    ==> ERROR: Failure while downloading printproto-1.0.4-1-i686.pkg.tar.gz
    Aborting...
    Error: Makepkg was unable to build lib32-printproto package.
    ==> Install or build missing dependencies for lib32-libxp:
    Looks like the file is not found, but where else can I find it ?
    Last edited by spiridow (2010-03-13 12:56:04)

    jelly wrote:you should check the i686 version of i686 and change it in the PKGBUILD.
    Thanks, that worked. I had to change the md5sum too, though.

  • GDM not starting

    I just upgraded to GNOME 3.8 through the gnome-unstable repo, but GDM doesn't seem to be starting. The main problems seem to be that it's "unable to create drawable", that the gnome-settings-daemon is unavailable, and there are some font-config issues.
    Here is the log:
    /etc/gdm/Xsession: Beginning session setup...
    localuser:mmcmillan being added to access control list
    /etc/gdm/Xsession: Setup done, will execute: /usr/bin/ssh-agent -- gnome-session
    GNOME_KEYRING_CONTROL=/run/user/1000/keyring-8uogYL
    SSH_AUTH_SOCK=/run/user/1000/keyring-8uogYL/ssh
    GPG_AGENT_INFO=/run/user/1000/keyring-8uogYL/gpg:0:1
    GNOME_KEYRING_CONTROL=/run/user/1000/keyring-8uogYL
    SSH_AUTH_SOCK=/run/user/1000/keyring-8uogYL/ssh
    GNOME_KEYRING_CONTROL=/run/user/1000/keyring-8uogYL
    SSH_AUTH_SOCK=/run/user/1000/keyring-8uogYL/ssh
    GPG_AGENT_INFO=/run/user/1000/keyring-8uogYL/gpg:0:1
    GNOME_KEYRING_CONTROL=/run/user/1000/keyring-8uogYL
    SSH_AUTH_SOCK=/run/user/1000/keyring-8uogYL/ssh
    GPG_AGENT_INFO=/run/user/1000/keyring-8uogYL/gpg:0:1
    (gnome-settings-daemon:20052): color-plugin-WARNING **: failed to reset xrandr-Acer Technologies-V173-LBN0C0324001 gamma tables: gamma size is zero
    ** Message: applet now removed from the notification area
    Failed to play sound: File or data not found
    (empathy:20099): libnotify-WARNING **: Failed to connect to proxy
    JS LOG: GNOME Shell started at Sun Apr 07 2013 14:06:52 GMT-0400 (EDT)
    JS LOG: Extension "[email protected]" had error: Error: extension is not compatible with current GNOME Shell and/or GJS version
    JS LOG: Extension "[email protected]" had error: Error: Strange version number (extension.js:8).
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    ** Message: applet now embedded in the notification area
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
    Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0. This shouldn't happen!
    [20242:20270:0407/140738:ERROR:object_proxy.cc(624)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
    [20242:20270:0407/140738:ERROR:object_proxy.cc(624)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
    [20242:20242:0407/140738:ERROR:object_proxy.cc(529)] Failed to call method: org.chromium.Mtpd.EnumerateStorages: object_path= /org/chromium/Mtpd: org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.Mtpd was not provided by any .service files
    [20242:20301:0407/140738:ERROR:connection.cc(730)] sqlite error 19, errno -2: PRIMARY KEY must be unique
    [20242:20242:0407/140738:ERROR:omnibox_view_gtk.cc(431)] Not implemented reached in virtual void OmniboxViewGtk::ApplyCaretVisibility()
    No bp log location saved, using default.
    [000:000] Browser XEmbed support present: 1
    [000:000] Browser toolkit is Gtk2.
    [000:000] Using Gtk2 toolkit
    [000:004] Starting client channel.
    [000:005] Warning(clientchannel.cc:436): Unreadable or no port file. Could not initiate GoogleTalkPlugin connection
    [000:005] Warning(clientchannel.cc:411): Could not initiate GoogleTalkPlugin connection
    [000:005] GoogleTalkPlugin not running. Starting new process...
    [000:005] Warning(pluginutils.cc:251): Failed to get GoogleTalkPlugin path. Trying default.
    [000:006] Started GoogleTalkPlugin, path=/opt/google/talkplugin/GoogleTalkPlugin
    [000:007] Waiting for GoogleTalkPlugin to start...
    sh: lsb_release: command not found
    [001:102] Attempting to connect to GoogleTalkPlugin...
    [001:103] Read port file, port=46498
    [001:107] Initiated connection to GoogleTalkPlugin
    [001:203] Socket connection established
    [001:203] ScheduleOnlineCheck: Online check in 5000ms
    [001:303] Got cookie response, socket is authorized
    [001:303] AUTHORIZED; socket handshake complete
    [001:305] F->C: ["fs",{"pr":"a"}]
    [001:404] F->C: ["mf","mf3.17","3.17.0.0",2,{"audioCodecs":[[103,"ISAC",1,0,16000],[104,"ISAC",1,0,32000],[9,"G722",1,64000,16000],[102,"ILBC",1,13300,8000],[0,"PCMU",1,64000,8000],[8,"PCMA",1,64000,8000],[107,"CN",1,0,48000],[106,"CN",1,0,32000],[105,"CN",1,0,16000],[13,"CN",1,0,8000],[127,"red",1,0,8000],[126,"telephone-event",1,0,8000]],"audioRtpHdrExts":[{"id":1,"uri":"urn:ietf:params:rtp-hdrext:ssrc-audio-level"}],"camDeviceName":"Unknown Camera","caps":7,"cpuArchitecture":1,"cpuCacheSize":6291456,"cpuFamily":6,"cpuFlags":["sse2","ssse3","sse4_1","sse4_2","avx"],"cpuHasSSE2":true,"cpuModel":42,"cpuSpeed":3101,"cpuStepping":7,"cpuVendor":"GenuineIntel","cpus":4,"cpusPhysical":4,"cryptoSuites":["AES_CM_128_HMAC_SHA1_80","AES_CM_128_HMAC_SHA1_32"],"dataChannelVersion":1,"effectsVersion":9,"gpuDescription":"","gpuDeviceId":0,"gpuDeviceName":"","gpuDriver":"","gpuDriverVersion":"","gpuVendorId":0,"machineModel":"Not available","remotingAssistanceAllowed":0,"remotingVersion":1,"renderer":2,"rtcpMux":true,"screencast":2,"screencastLocalPreview":1,"supportsConcurrentSessions":true,"transports":["i","gice"],"videoCodecs":[[99,"H264-SVC",640,360,30],[97,"H264",640,360,30],[98,"H263",640,360,30]],"videoRtpHdrExts":[{"id":2,"uri":"urn:ietf:params:rtp-hdrext:toffset"}]}]
    [001:505] F->C: ["getdevicestate","15","0",["__default_device","Built-in Audio Analog Stereo"],"0",["__default_device","Built-in Audio Analog Stereo"],"-1",[]]
    [006:217] HandleOnlineCheck: Starting check
    [006:217] HandleOnlineCheck: OK; current state: 3
    [20242:20242:0407/140825:ERROR:omnibox_view_gtk.cc(431)] Not implemented reached in virtual void OmniboxViewGtk::ApplyCaretVisibility()
    ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
    ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
    ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
    ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
    Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
    Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0. This shouldn't happen!
    [21561:21589:0407/144922:ERROR:object_proxy.cc(624)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
    [21561:21589:0407/144922:ERROR:object_proxy.cc(624)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
    [21561:21561:0407/144923:ERROR:object_proxy.cc(529)] Failed to call method: org.chromium.Mtpd.EnumerateStorages: object_path= /org/chromium/Mtpd: org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.Mtpd was not provided by any .service files
    [21561:21620:0407/144923:ERROR:connection.cc(730)] sqlite error 19, errno -2: PRIMARY KEY must be unique
    [21561:21561:0407/144923:ERROR:omnibox_view_gtk.cc(431)] Not implemented reached in virtual void OmniboxViewGtk::ApplyCaretVisibility()
    [21561:21561:0407/144953:ERROR:omnibox_view_gtk.cc(431)] Not implemented reached in virtual void OmniboxViewGtk::ApplyCaretVisibility()
    [21561:21561:0407/145013:ERROR:omnibox_view_gtk.cc(431)] Not implemented reached in virtual void OmniboxViewGtk::ApplyCaretVisibility()
    Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
    Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0. This shouldn't happen!
    Window manager warning: Treating resize request of legacy application 0x1e00020 (Guake!) as a fullscreen request
    JS LOG: pushModal: invocation of begin_modal failed
    Window manager warning: Treating resize request of legacy application 0x1e00020 (Guake!) as a fullscreen request
    JS LOG: pushModal: invocation of begin_modal failed
    [21968:21994:0407/145044:ERROR:object_proxy.cc(624)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
    [21968:21994:0407/145044:ERROR:object_proxy.cc(624)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
    [21968:22025:0407/145044:ERROR:connection.cc(730)] sqlite error 19, errno -2: PRIMARY KEY must be unique
    [21968:21968:0407/145044:ERROR:object_proxy.cc(529)] Failed to call method: org.chromium.Mtpd.EnumerateStorages: object_path= /org/chromium/Mtpd: org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.Mtpd was not provided by any .service files
    [21968:21968:0407/145044:ERROR:omnibox_view_gtk.cc(431)] Not implemented reached in virtual void OmniboxViewGtk::ApplyCaretVisibility()
    Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
    Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0. This shouldn't happen!
    Window manager warning: Treating resize request of legacy application 0x1e00020 (Guake!) as a fullscreen request
    [22418:22445:0407/145440:ERROR:object_proxy.cc(624)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
    [22418:22445:0407/145440:ERROR:object_proxy.cc(624)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
    [22418:22418:0407/145440:ERROR:object_proxy.cc(529)] Failed to call method: org.chromium.Mtpd.EnumerateStorages: object_path= /org/chromium/Mtpd: org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.Mtpd was not provided by any .service files
    [22418:22477:0407/145440:ERROR:connection.cc(730)] sqlite error 19, errno -2: PRIMARY KEY must be unique
    [22418:22418:0407/145441:ERROR:omnibox_view_gtk.cc(431)] Not implemented reached in virtual void OmniboxViewGtk::ApplyCaretVisibility()
    [22418:22418:0407/145548:ERROR:omnibox_view_gtk.cc(431)] Not implemented reached in virtual void OmniboxViewGtk::ApplyCaretVisibility()
    [22418:22418:0407/145607:ERROR:omnibox_view_gtk.cc(431)] Not implemented reached in virtual void OmniboxViewGtk::ApplyCaretVisibility()
    Window manager warning: Treating resize request of legacy application 0x1e00020 (Guake!) as a fullscreen request
    [22418:22418:0407/145727:ERROR:omnibox_view_gtk.cc(431)] Not implemented reached in virtual void OmniboxViewGtk::ApplyCaretVisibility()
    No bp log location saved, using default.
    [000:000] Browser XEmbed support present: 1
    [000:000] Browser toolkit is Gtk2.
    [000:000] Using Gtk2 toolkit
    [000:005] Starting client channel.
    [000:005] Warning(clientchannel.cc:436): Unreadable or no port file. Could not initiate GoogleTalkPlugin connection
    [000:006] Warning(clientchannel.cc:411): Could not initiate GoogleTalkPlugin connection
    [000:006] GoogleTalkPlugin not running. Starting new process...
    [000:006] Warning(pluginutils.cc:251): Failed to get GoogleTalkPlugin path. Trying default.
    [000:007] Started GoogleTalkPlugin, path=/opt/google/talkplugin/GoogleTalkPlugin
    [000:008] Waiting for GoogleTalkPlugin to start...
    sh: lsb_release: command not found
    [001:102] Attempting to connect to GoogleTalkPlugin...
    [001:102] Read port file, port=48370
    [001:103] Initiated connection to GoogleTalkPlugin
    [001:210] Socket connection established
    [001:210] ScheduleOnlineCheck: Online check in 5000ms
    [001:304] Got cookie response, socket is authorized
    [001:304] AUTHORIZED; socket handshake complete
    [001:306] F->C: ["fs",{"pr":"a"}]
    [001:405] F->C: ["mf","mf3.17","3.17.0.0",2,{"audioCodecs":[[103,"ISAC",1,0,16000],[104,"ISAC",1,0,32000],[9,"G722",1,64000,16000],[102,"ILBC",1,13300,8000],[0,"PCMU",1,64000,8000],[8,"PCMA",1,64000,8000],[107,"CN",1,0,48000],[106,"CN",1,0,32000],[105,"CN",1,0,16000],[13,"CN",1,0,8000],[127,"red",1,0,8000],[126,"telephone-event",1,0,8000]],"audioRtpHdrExts":[{"id":1,"uri":"urn:ietf:params:rtp-hdrext:ssrc-audio-level"}],"camDeviceName":"Unknown Camera","caps":7,"cpuArchitecture":1,"cpuCacheSize":6291456,"cpuFamily":6,"cpuFlags":["sse2","ssse3","sse4_1","sse4_2","avx"],"cpuHasSSE2":true,"cpuModel":42,"cpuSpeed":3101,"cpuStepping":7,"cpuVendor":"GenuineIntel","cpus":4,"cpusPhysical":4,"cryptoSuites":["AES_CM_128_HMAC_SHA1_80","AES_CM_128_HMAC_SHA1_32"],"dataChannelVersion":1,"effectsVersion":9,"gpuDescription":"","gpuDeviceId":0,"gpuDeviceName":"","gpuDriver":"","gpuDriverVersion":"","gpuVendorId":0,"machineModel":"Not available","remotingAssistanceAllowed":0,"remotingVersion":1,"renderer":2,"rtcpMux":true,"screencast":2,"screencastLocalPreview":1,"supportsConcurrentSessions":true,"transports":["i","gice"],"videoCodecs":[[99,"H264-SVC",640,360,30],[97,"H264",640,360,30],[98,"H263",640,360,30]],"videoRtpHdrExts":[{"id":2,"uri":"urn:ietf:params:rtp-hdrext:toffset"}]}]
    [001:506] F->C: ["getdevicestate","15","0",["__default_device","Built-in Audio Analog Stereo"],"0",["__default_device","Built-in Audio Analog Stereo"],"-1",[]]
    [005:311] Starting client channel.
    [005:311] Warning(clientchannel.cc:436): Unreadable or no port file. Could not initiate GoogleTalkPlugin connection
    [005:312] Warning(clientchannel.cc:411): Could not initiate GoogleTalkPlugin connection
    [005:312] GoogleTalkPlugin not running. Starting new process...
    [005:312] Warning(pluginutils.cc:251): Failed to get GoogleTalkPlugin path. Trying default.
    [005:313] Started GoogleTalkPlugin, path=/opt/google/talkplugin/GoogleTalkPlugin
    [005:313] Waiting for GoogleTalkPlugin to start...
    sh: lsb_release: command not found
    [006:411] Attempting to connect to GoogleTalkPlugin...
    [006:411] Read port file, port=45084
    [006:424] Initiated connection to GoogleTalkPlugin
    [006:512] Socket connection established
    [006:512] ScheduleOnlineCheck: Online check in 5000ms
    [006:613] Got cookie response, socket is authorized
    [006:613] AUTHORIZED; socket handshake complete
    [006:620] F->C: ["fs",{"pr":"a"}]
    [006:713] F->C: ["mf","mf3.17","3.17.0.0",2,{"audioCodecs":[[103,"ISAC",1,0,16000],[104,"ISAC",1,0,32000],[9,"G722",1,64000,16000],[102,"ILBC",1,13300,8000],[0,"PCMU",1,64000,8000],[8,"PCMA",1,64000,8000],[107,"CN",1,0,48000],[106,"CN",1,0,32000],[105,"CN",1,0,16000],[13,"CN",1,0,8000],[127,"red",1,0,8000],[126,"telephone-event",1,0,8000]],"audioRtpHdrExts":[{"id":1,"uri":"urn:ietf:params:rtp-hdrext:ssrc-audio-level"}],"camDeviceName":"Unknown Camera","caps":7,"cpuArchitecture":1,"cpuCacheSize":6291456,"cpuFamily":6,"cpuFlags":["sse2","ssse3","sse4_1","sse4_2","avx"],"cpuHasSSE2":true,"cpuModel":42,"cpuSpeed":3101,"cpuStepping":7,"cpuVendor":"GenuineIntel","cpus":4,"cpusPhysical":4,"cryptoSuites":["AES_CM_128_HMAC_SHA1_80","AES_CM_128_HMAC_SHA1_32"],"dataChannelVersion":1,"effectsVersion":9,"gpuDescription":"","gpuDeviceId":0,"gpuDeviceName":"","gpuDriver":"","gpuDriverVersion":"","gpuVendorId":0,"machineModel":"Not available","remotingAssistanceAllowed":0,"remotingVersion":1,"renderer":2,"rtcpMux":true,"screencast":2,"screencastLocalPreview":1,"supportsConcurrentSessions":true,"transports":["i","gice"],"videoCodecs":[[99,"H264-SVC",640,360,30],[97,"H264",640,360,30],[98,"H263",640,360,30]],"videoRtpHdrExts":[{"id":2,"uri":"urn:ietf:params:rtp-hdrext:toffset"}]}]
    [006:814] F->C: ["getdevicestate","15","0",["__default_device","Built-in Audio Analog Stereo"],"0",["__default_device","Built-in Audio Analog Stereo"],"-1",[]]
    [011:521] HandleOnlineCheck: Starting check
    [011:521] HandleOnlineCheck: OK; current state: 3
    [22418:22418:0407/145831:ERROR:omnibox_view_gtk.cc(431)] Not implemented reached in virtual void OmniboxViewGtk::ApplyCaretVisibility()
    Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
    Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0. This shouldn't happen!
    Window manager warning: Treating resize request of legacy application 0x1e00020 (Guake!) as a fullscreen request
    [23140:23167:0407/150336:ERROR:object_proxy.cc(624)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
    [23140:23167:0407/150336:ERROR:object_proxy.cc(624)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
    [23140:23197:0407/150336:ERROR:connection.cc(730)] sqlite error 19, errno -2: PRIMARY KEY must be unique
    [23140:23140:0407/150336:ERROR:object_proxy.cc(529)] Failed to call method: org.chromium.Mtpd.EnumerateStorages: object_path= /org/chromium/Mtpd: org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.Mtpd was not provided by any .service files
    [23140:23140:0407/150337:ERROR:omnibox_view_gtk.cc(431)] Not implemented reached in virtual void OmniboxViewGtk::ApplyCaretVisibility()
    Window manager warning: Treating resize request of legacy application 0x1e00020 (Guake!) as a fullscreen request
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
    Window manager warning: Log level 16: Failed to load apps: Failed to look up menu_file for "gnomecc.menu"
    Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
    Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0. This shouldn't happen!
    Window manager warning: Treating resize request of legacy application 0x1e00020 (Guake!) as a fullscreen request
    g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
    ** Message: applet now removed from the notification area
    gnome-session[20009]: Gdk-WARNING: gnome-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
    Window manager warning: Log level 16: gnome-shell: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
    applet.py: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
    (gnome-settings-daemon:20052): Gdk-WARNING **: gnome-settings-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
    g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
    ** Message: NM disappeared
    guake: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
    WARNING: could not use popup notification
    (nm-applet:20096): Gdk-WARNING **: nm-applet: Fatal IO error 104 (Connection reset by peer) on X server :0.
    What can I do to resolve this?
      Thank you very much!
    Last edited by UnsolvedCypher (2013-04-07 20:09:28)

    aliencam wrote:
    This has been happening to a lot of people lately (since the upgrade to gnome 3.8 from 3.6).  Many people haven't been able to find a solution, so they have installed the SLiM login manager and another desktop environment like xfce, enlightenment, or fluxbox for the time being.
    check out these other topics:
    https://bbs.archlinux.org/viewtopic.php?id=161900
    https://bbs.archlinux.org/viewtopic.php?id=161961
    https://bugs.archlinux.org/task/34893
    I still haven't been able to fix it on my computer, so I'm using SLiM and xfce while I wait for an upstream update.
    I'm currently using SLiM and Cinnamon since GDM won't work, but I was asking because I wanted my laptop to lock when I suspended it, which SLiM didn't do as far as I knew. Well, I guess I'll wait for an update. Thanks.
    Last edited by kkeller (2013-05-04 18:13:24)

  • Virtualbox wants Xorg 1.12, but Linux = 3.6?

    Hi,
    I'm attempting to install Arch Linux under Virtualbox 4.2.0.
    I'm also using the [testing] repository, in order to use [kde-unstable].
    Anyhow, I've installed Xorg 1.13, and this of course doesn't work with the Virtualbox drivers:
    When I attempt to start X, I get the error message about ABI mismatch - server is 13, but one of the drivers expects 12:
    Loading extension GLX
    (EE) module ABI major version (12) doesn't match the server's version (13)
    This is apparently a known issue, while we wait for upstream updates:
    https://bbs.archlinux.org/viewtopic.php?id=150418
    So I thought, fair enough, I'll downgrade Xorg from 1.13 to 1.12
    I commented out [testing] in my pacman.conf, and then ran:
    pacman -Suu
    This also includes downgrading the Linux kernel from 3.6 to 3.5.
    However, then virtualbox complains:
    :: vitualbox-guest-modules: requires linux>=3.6
    So it seems I'm stuck in a bit of a bind - I need to downgrade Xorg in order to get Virtualbox drivers to work, but Virtualbox wants a Linux kernel from testing?
    Cheers,
    Victor

    Scimmia wrote:zebulon, your repos are just out of date. The guest modules were pushed to the main repos within an hour or so of the kernel update.
    Yes, this appeared on my mirror a few minutes after I reported this. But for the original poster, his problem was probably the lack of community-testing. Thanks.

  • What's the difference between reguler KDE and KDEmod?

    Hello all,
    In two weeks I get my new laptop, which will be capable of running Arch and KDE ( as my current computer isn't, somehow it only runs Fedora w/ Gnome)
    Since I really like Arch and already got it working on Virtualbox, I want to install it on my new laptop. I'd like to get it working with KDE, but I noticed Arch also has KDEmod. I already searched the forums but couldn't really find an answer to my question: What is the difference between regular KDE and KDEmod and which one is better for me to use?
    Thanks in advance!

    Allan, i forgive you for your poor paragraph construction and sorry for me being a bit peeved
    However, i know you have read more from the IRC log than just that one sentence by me...
    Allan wrote:
    From the IRC log, I do not think that conclusion is too far off, especially if you are considering Arch-Stable as your base...  So saying "plain wrong" seems... well...  plain wrong. Especially given the irc log:
    <funkyou> in one sentence: to do what we really want to do, we need a stable platform.
    So why not showing the whole picture and clear this up:
    <funkyou> ok, to start: i think at least some of you have noticed that arch linux is a fine platform for what we want to deliver, but there are some little "annoyances"
    <funkyou> mainly:
    <funkyou> -.so bumps every few weeks
    <funkyou> -the general "freshness"
    <funkyou> -a lot of manual interaction needed (sometimes)
    <funkyou> everyone can see these problems when looking at the forums, _most_ of them are related to updates
    <funkyou> in one sentence: to do what we really want to do, we need a stable platform.
    Makes more sense now? Its not that Arch is too unstable, its just that we cant keep up will all the changes... And this is not Archs "fault" nor anyone elses fault, its just going too fast for us. Most annoying or severe bugs in our tools are there due to upstream updates. And the reasons are not really the .so bumps (which are mostly solved by a simple rebuild) but also constantly changing apis and stuff. This is not a big problem in KDE (they keep their apis clean), but a big one when it comes to other stuff like parted, to give an example. And this is our main problem, we need to constantly adapt our code to upstream changes.
    This even resulted in a repo with modified or "frozen" Arch packages just to keep our liveCD going, and now we are looking for solutions for this problem, and "stable" snapshots seem to be one way... Oh, and if we would do this (there is nothing announced yet), we would do our own snapshot every X months because ArchStable seems to be a dead project. We also considered cooperating with the ArchServer guys, but their stuff is really made for servers, so even while their project is really nice its not really an option for us.
    Well, we'll see what we will do during the next months, now we are still testing and evaluating some solutions... Oh, and people, please stop any "we dont need another ubuntu" complaints...

  • [Solved] Problem building cal3d

    In building cal3d, the pkg subdirectory is populated, but the resulting package xz doesn't have any files.  I've tried this on 2 computers with the same result and haven't had any trouble building other packages.  I'm still a newbie with Arch and am not sure what to look for to fix it.  Here's the PKGBUILD in case there's an obvious problem with it.
    # Contributor: Hussam Al-Tayeb <...>
    pkgname=cal3d
    pkgver=0.11.0
    pkgrel=5
    pkgdesc="A skeletal-based 3D character animation library"
    arch=(i686 x86_64)
    url="https://gna.org/projects/cal3d"
    options=(!libtool)
    license=(GPL2)
    depends=('gcc-libs')
    makedepends=('patch')
    source=(http://download.gna.org/cal3d/sources/cal3d-$pkgver.tar.gz cal3d-gcc43.diff)
    md5sums=('82ad09c1c28e73bc9596aec47237bfba'
    'f290fb54f844e044ae80165f083cf58f')
    build() {
    cd ${pkgname}-$pkgver
    patch -p0 < ../cal3d-gcc43.diff
    ./configure --prefix=/usr
    make
    package() {
    cd ${pkgname}-$pkgver
    make DESTDIR=$startdir/pkg install
    Last edited by Myshkin (2013-06-29 13:42:58)

    That PKGBUILD needs updating - it doesn't install to the proper directory so makepkg has nothing to make a package out of.  This works:
    pkgname=cal3d
    pkgver=0.11.0
    pkgrel=5
    pkgdesc="A skeletal-based 3D character animation library"
    arch=(i686 x86_64)
    url="https://gna.org/projects/cal3d"
    options=(!libtool)
    license=(GPL2)
    depends=('gcc-libs')
    makedepends=('patch')
    source=(http://download.gna.org/cal3d/sources/cal3d-$pkgver.tar.gz cal3d-gcc43.diff)
    md5sums=('82ad09c1c28e73bc9596aec47237bfba'
    'f290fb54f844e044ae80165f083cf58f')
    build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    patch -p0 < ../cal3d-gcc43.diff
    ./configure --prefix=/usr
    make
    package() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    make DESTDIR=${pkgdir} install
    Be sure to report this to the package maintainer

  • After KDE 4.4 upgrade screen artifacts on widgets.

    Hi all,
    I notice that after the upgrade I get various artifacts on the desktop.
    For example: I get a white rectangle behind part of the Quicklaunch  widget. I also get a white rectangle behind part of the CPU monitor widget.
    Also every now and then the clock widget will get a orange square around it like it was "selected" .. all very weid stuff.
    This happens with or without KMS enabled.
    Anyone seen these and knows how to fix them?
    Thanks.

    Yes, I can confirm this, some random and some persistent. The persistent ones go away after you've done the action once after starting the graphical server - until you rexorg/reboot. The random ones are just annoying and can range from dragging plasmas to opening a new dolphin window. Here are some common reproduction steps (with compositing enabled):
    1) Arrange menu to be just beside taskbar. Open a dolphin instance. Hover on menu until tooltip is shown, then go on to hover over the dolphin task to bring up the thumbtip (thumbnail-tooltip). There is a noticeable black artifact while doing this.
    2) After a rexorg/reboot, click on the powermanager, devicenotifier, notifier, trash or calender (or anything else in the panel), notice the canvas artifact while the animation is in progress. This is like showing you the canvas outline of the final render when it hasn't even finished drawing.
    3) Open any window with default decoration. The decoration is either a different colour from the canvas of the window, or it is drawn too early. This leaves an inconsistency and visually it appears like a glitch.
    All relative to KDE 4.3 and with clean config (so don't try to clear .kde*), which had none of these.
    Now, this may be a xorg or graphics driver issue. I'm sure it's not related to DRI or compositing, because without desktop effects, things are way more horrible. I have an Intel with the latest driver and (obviously) KMS. If not, it's the usual glitching which we free software users have to deal with upon semi-major upstream updates.
    Last edited by schivmeister (2010-02-17 18:42:01)

  • Pitivi:Attribute error Pipeline has not attribute add_timeline

    Hi there,
    I cannot launch pitivi. It always crashes with the following error:
    ~ pitivi
    Traceback (most recent call last):
    File "/usr/bin/pitivi", line 142, in <module>
    _run_pitivi()
    File "/usr/bin/pitivi", line 131, in _run_pitivi
    sys.exit(ptv.main(sys.argv))
    File "/usr/lib/pitivi/python/pitivi/application.py", line 449, in main
    ptv = StartupWizardGuiPitivi(debug=options.debug)
    File "/usr/lib/pitivi/python/pitivi/application.py", line 392, in __init__
    self.projectManager.newBlankProject(emission=False)
    File "/usr/lib/pitivi/python/pitivi/project.py", line 426, in newBlankProject
    project.createTimeline()
    File "/usr/lib/pitivi/python/pitivi/project.py", line 881, in createTimeline
    self.pipeline.add_timeline(self.timeline)
    File "/usr/lib/pitivi/python/pitivi/utils/pipeline.py", line 537, in add_timeline
    if GES.Pipeline.add_timeline(self, timeline):
    AttributeError: type object 'Pipeline' has no attribute 'add_timeline'
    Do I miss a dependency that is not installed automatically?
    Last edited by orschiro (2014-03-22 08:53:50)

    While waiting for the updated package. You can install clutter-gst dependency manually and package 1.2.0 of gnonlin. Here is the PKGBUILD for updated gnonlin.
    # $Id$
    # Maintainer: Alexander Rødseth <[email protected]>
    # Contributor: Ionut Biru <[email protected]>
    # Contributor: Abhishek Dasgupta <[email protected]>
    # Contributor: William Rea <[email protected]>
    pkgname=gnonlin
    pkgver=1.2.0
    pkgrel=1
    pkgdesc='Library for creating non-linear video editors'
    arch=('x86_64' 'i686')
    url='http://gnonlin.sourceforge.net/'
    depends=('gstreamer')
    makedepends=('python' 'gst-plugins-base' 'pkgconfig')
    license=('LGPL')
    source=("http://gstreamer.freedesktop.org/src/$pkgname/$pkgname-$pkgver.tar.xz")
    sha256sums=('876e225c250b95b1a0632c284afc472b08a5072539b233e414a96af426581e96')
    build() {
    cd "$srcdir/$pkgname-$pkgver"
    ./configure --prefix=/usr
    make
    package() {
    cd "$srcdir/$pkgname-$pkgver"
    make DESTDIR="$pkgdir" install
    # vim:set ts=2 sw=2 et:

Maybe you are looking for