You are not logged in.
Hello, the Elementary team which makes a lot of programs lately has started working on plank. It's docky, simplified, and written in vala. As I've seen their slingshot-bzr launcher on the AUR, but not plank, I was hoping someone could put Plank in the AUR. If anyone can do this, you have my gratitude!
The launchpad area for it (not in a Ubuntu ppa yet since it's in development) is: https://code.launchpad.net/~docky-core/plank/trunk
Offline
Here's the PKGBUILD for the latest bzr revision. Note that this DOES NOT work! This latest revision is broken, and even if it were fixed, the PKBUILD still needs some sed magic to make the Makefile Arch-compatible. I've started it and I'd like to complete it, but first we need a bzr revision that actually compiles.
AUR page: http://aur.archlinux.org/packages.php?ID=46610
pkgname=plank-bzr
_name=plank
pkgver=235
pkgrel=1
pkgdesc="Stupidly simple dock."
arch=('i686' 'x86_64')
url="https://launchpad.net/nautilus-elementary"
license=('GPL')
groups=('gnome')
depends=('vala')
makedepends=('bzr')
provides=(${_name}=0.1)
conflicts=(${_name})
replaces=(${_name})
options=('!libtool' '!emptydirs')
install=${pkgname}.install
_bzrtrunk=lp:${_name}
_bzrmod=${_name}
build() {
cd ${srcdir}
msg "Connecting to the server...."
if [ -d ${_bzrmod} ]; then
bzr up ${_bzrmod}
msg "The local files are updated."
else
bzr co ${_bzrtrunk} ${_bzrmod}
fi
msg "BZR checkout done or server timeout"
msg "Starting make..."
cd ${_name}
./autogen.sh
./configure
sed -i 's|prefix = /usr/local|prefix = /usr|' Makefile
make
}
package() {
make install DESTDIR=$pkgdir
}
Last edited by dcc24 (2011-02-17 23:29:40)
It is better to keep your mouth shut and be thought a fool than to open it and remove all doubt. (Mark Twain)
Offline
Interesting. What is it that stops if from working? Is there some porting-related issue in trying to get it to work like docky sans mono?
Offline
First of all the makefile doesn't support standard parameters like "--prefix" or "DESTDIR" so the only way to make it obey the Arch directory structure is some sed magic.
Even if we ignore that for now, the build still fails with:
plank-0.1.0
Build Environment
Install Prefix: /usr/local
Use GTK+ API: 2.0
Build/Development
Release Build: no
Making all in Plank
VALAC DockItems.c
Drawing/DrawingService.vala:141.6-141.62: error: Invalid assignment from owned expression to unowned variable
pbuf = IconTheme.get_default ().load_icon (icon, size, 0);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Drawing/DrawingService.vala:145.7-145.68: error: Invalid assignment from owned expression to unowned variable
pbuf = IconTheme.get_default ().load_icon (parts [0], size, 0);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 2 error(s), 0 warning(s)
make[2]: *** [plank_vala.stamp] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Aborting...
Either I'm missing something so obvious, or r235 is broken.
It is better to keep your mouth shut and be thought a fool than to open it and remove all doubt. (Mark Twain)
Offline
Offline
I think you need vala-0.10
Offline
I have vala installed
[tydell@myhost ~]$ yaourt -Ss vala
extra/vala 0.12.1-1 [installed]
Compiler for the GObject type system
Offline
pkgbuild works now although at the moment it's not a very useful application in my view. You have to edit text files to get new launchers and it will launch a new instance of a running application instead of bringing up the running one.
Linux makes you a better person
Offline