You are not logged in.
Pages: 1
Tomboy is a desktop note-taking application for Linux and Unix. Simple and easy to use, but with potential to help you organize the ideas and information you deal with every day.
The following files and a prebuild package can be found in incoming (ftp://ftp.archlinux.org/incoming/tomboy-0.2.2-2.tar.bz2). Let me know if run over some problems.
PKGBUILD:
# Contributor: Viktor Peters <viktor.peters@gmail.com>
pkgname=tomboy
pkgver=0.2.2
pkgrel=2
pkgdesc="Desktop note-taking application"
url="http://www.beatniksoftware.com/tomboy/"
license="LGPL"
depends=('gtk-sharp' 'gtkspell')
makedepends=('which' 'make' 'sed' 'mawk' 'intltool')
install=tomboy.install
source=(http://www.beatniksoftware.com/tomboy/releases/$pkgname-$pkgver.tar.gz)
md5sums=('be87c798d7f978c307433485cbd38f4e')
build() {
[ "$GNOMEDIR" = "" ] && source /etc/profile.d/gnome.sh
which mcs > /dev/null 2>&1 || source /etc/profile.d/mono.sh
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/opt/gnome --disable-install-schemas
make || return 1
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make DESTDIR=$startdir/pkg install
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
install -d -m755 $startdir/pkg/usr/lib
mv $startdir/pkg/opt/gnome/lib/dbus-1.0 $startdir/pkg/usr/lib
}
tomboy.install:
schemas=(
'opt/gnome/etc/gconf/schemas/tomboy.schemas'
)
# arg 1: the new package version
post_install() {
for schema in "${schemas[@]}" ; do
GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source`
opt/gnome/bin/gconftool-2 --makefile-install-rule "$schema" > /dev/null 2>&1
done
echo "updating scrollkeeper catalogue ..."
scrollkeeper-update -p /var/lib/scrollkeeper > /dev/null 2>&1
update-desktop-database > /dev/null 2>&1
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
post_install $1
}
# arg 1: the old package version
pre_remove() {
for schema in "${schemas[@]}" ; do
GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source`
opt/gnome/bin/gconftool-2 --makefile-uninstall-rule "$schema" > /dev/null 2>&1
done
echo "updating scrollkeeper catalogue ..."
scrollkeeper-update -p /var/lib/scrollkeeper > /dev/null 2>&1
update-desktop-database > /dev/null 2>&1
}
# arg 1: the old package version
post_remove() {
/bin/true
}
op=$1
shift
$op $*
WARNING: If you are using dbus this arch bug must be fixed before you can compile tomboy.
Offline
- compiles fine up to the dbus bug
- the latest version is 0.2.2, not 0.2.1
- consider adding gtkspell as a dep for automatic spell-checking
Offline
I run your package. did not show up. first I had an error. C-c.
then run and got something like an erorr [wouldn't show up]
then I saw this is a bug of Tomboy 0.20 and got fixed in 0.22. yours is 0.21 but anyways also tried 0.22 [after the fix you propose]
and have the same second problem [won't show up]
WTF?
I believe I also have some orphans in gconf now..
Offline
@dreas:
Thanks! Honestly, at build time, some hours ago, it was still 0.2.1.
I have updated the PKGBUILD now. Also the dbus service file is now moved to the right place, i hope. (Does someone know how it is used by dbus?)
@zeppelin:
Have you made a package yourself or have you downloaded the one from incoming? What window manager/desktop are you running? Are you still a GNOME lover? In my GNOME 2.8 an icon appears in the notification area applet.
As you can see the build procedure does not differ much from standard configure/make/make install steps. But perhaps I have overlooked something?
Offline
Mythoz it seems that my signature "I love GNOME does anybody have a problem with that" was too much to show my GNOME love but still eventhough I removed it, I 'm still a planet.gnome.org every 5 minutes reader
I did all [have now the latest version makepkg'd] I didn't know that I was supposed to use the notification area {which I never use}
Offline
i found a pygtk app that is also for notes
http://notemeister.sourceforge.net/
*UPDATE
http://bbs.archlinux.org/viewtopic.php? … highlight=
Offline
and btw, you forgot to add perlxml as a dependency
Uff, it's actually a dependency of intltool which is required at build time.
I have updated the makedepends field in PKGBUILD.
Offline
any idea why it refuses to work under a regular user and works only under root? i get the following error :
[ziggy@zeus tomboy]$ tomboy
-:19: error: unexpected character `{', expected character `}'
-:19: error: unexpected character `{', expected character `}'
Binding key '<Alt>F12' for '/apps/tomboy/global_keybindings/show_note_menu'
Binding key '<Alt>F11' for '/apps/tomboy/global_keybindings/open_start_here'
Tomboy remote control disabled: Unable to determine the address of the message bus
The program 'Tomboy' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAccess (attempt to access private resource denied)'.
(Details: serial 344 error_code 10 request_code 33 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Offline
There are .wabi-errors during compiling, you can prevent them by doing adding the following in the PKGBUILD-build()-part (O copied this from the dbus-pkgbuild):
* after the line "which mcs ..." add:
export MONO_SHARED_DIR=$startdir/src/.wabi
mkdir -p $MONO_SHARED_DIR
* at the end of the build()-script add:
rm -rf $MONO_SHARED_DIR
Michel
Thanks for the PKGBUILD!!!
Offline
Thanks, but there is a tomboy package in one of the trusted user repositories now. So I assume this thread is obsolet.
Offline
Pages: 1