You are not logged in.
Offline
Wow, this looks great! Looks better than Katapult...
Offline
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
ndesk-dbus-glib is in AUR...
Cthulhu For President!
Offline
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
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.
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
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
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
Great!! Everything works great now! Thanks for your help!!
I could post my PKBUILD here of in AUR, if anybody wants to...
Greetings
Offline
Great!! Everything works great now! Thanks for your help!!
I could post my PKBUILD here of in AUR, if anybody wants to...
Greetings
This thing looks nice, I'd like to try it.
Offline
Great!! Everything works great now! Thanks for your help!!
I could post my PKBUILD here of in AUR, if anybody wants to...
Greetings
Please, can you spread it trough pastebin.com ?
Thanks
Offline
Snowman thanks man :-)
Last edited by Mr Green (2007-12-06 18:02:31)
Mr Green
Offline
OK, I've added my very first package to the AUR!
Here it is: http://aur.archlinux.org/packages.php?d … 1&ID=14142
Offline
Wow well done :-)
/me goes to vote......
Mr Green
Offline
Thank you very much!
Offline
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?
Offline
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
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 !
Offline
Anyone having luck with GNOME-Session plugin? It tells me that it couldn't find PowerManagement on Dbus, although everything else runs fine.
Offline