You are not logged in.

#1 2007-12-05 15:56:38

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Gnome do... launchy katapult thing for gnome

http://do.davebsd.com/

Gnome-Do ? anyone


Mr Green

Offline

#2 2007-12-05 16:59:09

Doehni
Member
From: Germany
Registered: 2007-05-19
Posts: 175

Re: Gnome do... launchy katapult thing for gnome

Wow, this looks great! Looks better than Katapult... wink

Offline

#3 2007-12-05 17:11:57

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: Gnome do... launchy katapult thing for gnome

Did have a go building it got.....

checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for pkg-config... /usr/bin/pkg-config
checking for a BSD-compatible install... /bin/install -c
checking for gmcs... /usr/bin/gmcs
checking pkg-config is at least version 0.9.0... yes
checking for GLADE_SHARP_20... yes
checking for NDESK_DBUS_GLIB_10... configure: error: Package requirements (ndesk-dbus-glib-1.0) were not met:

No package 'ndesk-dbus-glib-1.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables NDESK_DBUS_GLIB_10_CFLAGS
and NDESK_DBUS_GLIB_10_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Emmm


Mr Green

Offline

#4 2007-12-05 17:20:13

buttons
Member
From: NJ, USA
Registered: 2007-08-04
Posts: 620

Re: Gnome do... launchy katapult thing for gnome

ndesk-dbus-glib is in AUR...


Cthulhu For President!

Offline

#5 2007-12-05 17:41:45

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: Gnome do... launchy katapult thing for gnome

Sweet ...... thanks dude

Ok got it built ....

gnome-do is in /usr/local/bin [so may need to tweak pkgbuild a little!]

Going to text see how it works

Last edited by Mr Green (2007-12-05 18:17:08)


Mr Green

Offline

#6 2007-12-05 23:25:01

Doehni
Member
From: Germany
Registered: 2007-05-19
Posts: 175

Re: Gnome do... launchy katapult thing for gnome

Hi

First of all: I don't want to duplicate any efforts, I'm just doing this PKBUILD because I want to learn making a PKBUILD. And I have the time right now. wink
It's just for me, not for AUR!


That's the PKGBUILD:

# Contributor: me ;)
pkgname=gnome-do_
pkgver=0.0.2
pkgrel=1
pkgdesc="A launcher application for gnome (like Launchy or Katapult)"
arch=(i686)
url="http://do.davebsd.com/"
license=('GPL')
groups=()
depends=('tomboy')
makedepends=('ndesk-dbus-glib')
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=("http://do.davebsd.com/src/$pkgname$pkgver.orig.tar.gz")
noextract=()
md5sums=('4a5287dd85d920771e9c9c086b532a51') #generate with 'makepkg -g'

build() {
  cd "$startdir/src/do-0.1"
#  cd "$startdir/src/$pkgname$pkgver"

  ./configure --prefix=/usr
  make || return 1
  make DESTDIR="$startdir/pkg" install
}

# vim:set ts=2 sw=2 et:

With this file, makepkg brings this output:

==> Entering fakeroot environment
==> Making package: gnome-do_ 0.0.2-1 (Wed Dec  5 23:43:11 CET 2007)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
   -> Downloading gnome-do_0.0.2.orig.tar.gz
--23:43:11--  http://do.davebsd.com/src/gnome-do_0.0.2.orig.tar.gz
           => `gnome-do_0.0.2.orig.tar.gz'
Resolving do.davebsd.com... 208.97.189.214
Connecting to do.davebsd.com|208.97.189.214|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 100,992 (99K) [application/x-tar]

100%[=======================================================================================================================================>] 100,992       83.00K/s

23:43:13 (82.75 KB/s) - `gnome-do_0.0.2.orig.tar.gz' saved [100992/100992]

==> Validating source files with md5sums
    gnome-do_0.0.2.orig.tar.gz ... Passed
==> Extracting Sources...
   -> tar -xf gnome-do_0.0.2.orig.tar.gz
==> Starting build()...
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for pkg-config... /usr/bin/pkg-config
checking for a BSD-compatible install... /bin/install -c
checking for gmcs... /usr/bin/gmcs
checking pkg-config is at least version 0.9.0... yes
checking for GLADE_SHARP_20... yes
checking for NDESK_DBUS_GLIB_10... yes
checking for NDESK_DBUS_10... yes
checking for GTK_SHARP_20... yes
checking for GLIB_SHARP_20... yes
checking for GCONF_SHARP_20... yes
checking for GNOME_VFS_SHARP_20... yes
checking for GNOME_SHARP_20... yes
configure: creating ./config.status
config.status: creating Do.Addins/Makefile
config.status: creating Makefile
config.status: creating Do/Makefile
config.status: creating Do/gnome-do
config.status: creating Do.Addins/do.addins.pc
config.status: creating Do.DBus/Makefile
config.status: creating Do.DBus/do.dbus.pc
Making all in Do.Addins
make[1]: Entering directory `/home/doehni/Desktop/Gnome-Do/src/do-0.1/Do.Addins'
mkdir -p bin/Debug/
gmcs -noconfig -codepage:utf8 -warn:4 -optimize+ -debug -define:DEBUG -out:bin/Debug/Do.Addins.dll -target:library './AssemblyInfo.cs' './src/Do.Addins/Util.cs' './src/Do.Universe/ApplicationItem.cs' './src/Do.Universe/ApplicationItemSource.cs' './src/Do.Universe/BookmarkItem.cs' './src/Do.Universe/DefineWordCommand.cs' './src/Do.Universe/FileItemSource.cs' './src/Do.Universe/FileItem.cs' './src/Do.Universe/FirefoxBookmarkItemSource.cs' './src/Do.Universe/ICommand.cs' './src/Do.Universe/IItem.cs' './src/Do.Universe/IItemSource.cs' './src/Do.Universe/IObject.cs' './src/Do.Universe/ImageFileItem.cs' './src/Do.Universe/OpenCommand.cs' './src/Do.Universe/OpenURLCommand.cs' './src/Do.Universe/RecentFileItemSource.cs' './src/Do.Universe/RunCommand.cs' './src/Do.Universe/RunInShellCommand.cs' './src/Do.Universe/TextItem.cs' './src/Do.Universe/VoidCommand.cs' './src/Do.Universe/GNOMESpecialLocationsItemSource.cs' './src/Do.Universe/ContactItem.cs' './src/Do.Addins/ContactItemStore.cs' './src/Do.Universe/MailtoCommand.cs' './src/Do.Universe/OpenTerminalHereCommand.cs'      -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-sharp.dll    -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/pango-sharp.dll    -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/atk-sharp.dll    -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gdk-sharp.dll    -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gtk-sharp.dll    -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/art-sharp.dll    -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-vfs-sharp.dll    -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll    -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-vfs-sharp.dll    -r:System    -r:Mono.Posix    -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gconf-sharp.dll    -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gconf-sharp-peditors.dll    -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-sharp.dll    -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/pango-sharp.dll    -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/atk-sharp.dll    -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gdk-sharp.dll    -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gtk-sharp.dll    -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/art-sharp.dll    -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-vfs-sharp.dll    -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll

** (/usr/lib/mono/2.0/gmcs.exe:4187): CRITICAL **: _wapi_shm_file_open: shared file [/root/.wapi/shared_data-firefly-Linux-i686-312-11-0] open error: Permission denied

** (/usr/lib/mono/2.0/gmcs.exe:4187): CRITICAL **: _wapi_shm_attach: shared file [/root/.wapi/shared_data-firefly-Linux-i686-312-11-0] open error

** ERROR **: file shared.c: line 337 (shm_semaphores_init): assertion failed: (tmp_shared != NULL)
aborting...
Stacktrace:


Native stacktrace:

        /usr/bin/mono [0x81616d4]
        [0x4001c440]
        /lib/libc.so.6(abort+0x101) [0x4015d6a1]
        /usr/lib/libglib-2.0.so.0 [0x40087f51]
        /usr/lib/libglib-2.0.so.0(g_log+0x29) [0x40087f89]
        /usr/lib/libglib-2.0.so.0(g_assert_warning+0x78) [0x40088008]
        /usr/bin/mono [0x810d03c]
        /usr/bin/mono [0x81146c2]
        /usr/bin/mono(mono_once+0x96) [0x810b166]
        /usr/bin/mono [0x811443c]
        /usr/bin/mono [0x810dfde]
        /usr/bin/mono [0x810e3b5]
        /usr/bin/mono [0x80d5327]
        /usr/bin/mono(mono_runtime_init+0x21) [0x80c4cc1]
        /usr/bin/mono [0x812ca3b]
        /usr/bin/mono(mono_main+0x39b) [0x805a10b]
        /usr/bin/mono [0x8059862]
        /lib/libc.so.6(__libc_start_main+0xe0) [0x40148390]
        /usr/bin/mono [0x80597d1]

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

make[1]: *** [bin/Debug/Do.Addins.dll] Aborted
make[1]: Leaving directory `/home/doehni/Desktop/Gnome-Do/src/do-0.1/Do.Addins'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed.  Aborting...

But when just typing make to the console, everything compiles fine! And after compiling in console, makepkg finishes successfully.

So, here my question: what's wrong in the PKBUILD? And: How can I bring the _ between $pkgname and $pkgver in the source without naming the package 'gnome-do_'?

Offline

#7 2007-12-06 06:47:40

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: Gnome do... launchy katapult thing for gnome

Just tried it got the same thing like you it builds from cli fine... running makepkg as sudo [NOT A GOOD IDEA!!!!] it builds there is a permissions problem

 open error: Permission denied

must sort that before pkgbuild will work

prefix in configure is set to /usr/local so that may needing to fixed too

$pkgname can be fixed once pkgbuild works

Last edited by Mr Green (2007-12-06 06:52:06)


Mr Green

Offline

#8 2007-12-06 07:12:01

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Gnome do... launchy katapult thing for gnome

mono apps are tricky to build. In the build function add:
build() {
  export MONO_SHARED_DIR=${startdir}/src/.wabi
  mkdir -p "${MONO_SHARED_DIR}"

etc, etc,
}

That will take care of the permission issue.

For the source problem use braces:
source=("http://do.davebsd.com/src/${pkgname}_$pkgver.orig.tar.gz")

Offline

#9 2007-12-06 17:30:14

Doehni
Member
From: Germany
Registered: 2007-05-19
Posts: 175

Re: Gnome do... launchy katapult thing for gnome

Great!! Everything works great now! Thanks for your help!! big_smile

I could post my PKBUILD here of in AUR, if anybody wants to... wink

Greetings

Offline

#10 2007-12-06 17:44:59

sunn
Member
From: Norway
Registered: 2007-10-24
Posts: 41

Re: Gnome do... launchy katapult thing for gnome

Doehni wrote:

Great!! Everything works great now! Thanks for your help!! big_smile

I could post my PKBUILD here of in AUR, if anybody wants to... wink

Greetings

This thing looks nice, I'd like to try it. smile

Offline

#11 2007-12-06 18:01:01

uastasi
Member
From: Salento - Italy
Registered: 2007-11-27
Posts: 247

Re: Gnome do... launchy katapult thing for gnome

Doehni wrote:

Great!! Everything works great now! Thanks for your help!! big_smile

I could post my PKBUILD here of in AUR, if anybody wants to... wink

Greetings

Please, can you spread it trough pastebin.com ?
Thanks


Till the last battle, till the last bottle.
aur - twitter

Offline

#12 2007-12-06 18:02:04

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: Gnome do... launchy katapult thing for gnome

Snowman thanks man :-)

Last edited by Mr Green (2007-12-06 18:02:31)


Mr Green

Offline

#13 2007-12-06 18:53:06

Doehni
Member
From: Germany
Registered: 2007-05-19
Posts: 175

Re: Gnome do... launchy katapult thing for gnome

OK, I've added my very first package to the AUR! cool
Here it is: http://aur.archlinux.org/packages.php?d … 1&ID=14142

Offline

#14 2007-12-06 18:58:03

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: Gnome do... launchy katapult thing for gnome

Wow well done :-)

/me goes to vote......


Mr Green

Offline

#15 2007-12-06 19:39:46

Doehni
Member
From: Germany
Registered: 2007-05-19
Posts: 175

Re: Gnome do... launchy katapult thing for gnome

Thank you very much! big_smile

Offline

#16 2008-01-07 19:11:03

uastasi
Member
From: Salento - Italy
Registered: 2007-11-27
Posts: 247

Re: Gnome do... launchy katapult thing for gnome

As I read from Gnome-Do project page

The Evolution plugin requires libevolution3.0-cil to read your Evolution address book.

I've made a search but it seems not to exist in Arch / AUR repositories...
Did anyone else experience this?


Till the last battle, till the last bottle.
aur - twitter

Offline

#17 2008-01-20 23:24:45

gummibaerchen
Member
Registered: 2007-07-20
Posts: 109

Re: Gnome do... launchy katapult thing for gnome

uastasi wrote:

As I read from Gnome-Do project page

The Evolution plugin requires libevolution3.0-cil to read your Evolution address book.

I've made a search but it seems not to exist in Arch / AUR repositories...
Did anyone else experience this?

You probably mean libevolution3.0-cli, which is probably in evolution-sharp.

Not sure, but that's the best I can think of.

Offline

#18 2008-01-21 09:33:58

uastasi
Member
From: Salento - Italy
Registered: 2007-11-27
Posts: 247

Re: Gnome do... launchy katapult thing for gnome

gummibaerchen wrote:
uastasi wrote:

As I read from Gnome-Do project page

The Evolution plugin requires libevolution3.0-cil to read your Evolution address book.

I've made a search but it seems not to exist in Arch / AUR repositories...
Did anyone else experience this?

You probably mean libevolution3.0-cli, which is probably in evolution-sharp.

Not sure, but that's the best I can think of.

evolution-sharp was just what I was looking for. Now I can use Do to send email quickly.
Thank you gummibaerchen !


Till the last battle, till the last bottle.
aur - twitter

Offline

#19 2008-03-13 17:33:39

bwalk
Member
Registered: 2007-03-21
Posts: 177

Re: Gnome do... launchy katapult thing for gnome

Anyone having luck with GNOME-Session plugin? It tells me that it couldn't find PowerManagement on Dbus, although everything else runs fine.

Offline

Board footer

Powered by FluxBB