You are not logged in.

#1 2004-10-15 17:34:35

Mythoz
Member
Registered: 2004-04-25
Posts: 58

[new] tomboy

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

#2 2004-10-16 05:58:51

dreas
Member
From: Germany
Registered: 2004-01-19
Posts: 15
Website

Re: [new] tomboy

- 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

#3 2004-10-16 09:20:24

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: [new] tomboy

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

#4 2004-10-16 10:22:11

Mythoz
Member
Registered: 2004-04-25
Posts: 58

Re: [new] tomboy

@dreas:
Thanks! Honestly, at build time, some hours ago, it was still 0.2.1. wink
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? wink  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

#5 2004-10-16 13:12:35

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: [new] tomboy

Mythoz it seems that my signature "I love GNOME does anybody have a problem with that" was too much to show my GNOME love wink but still eventhough I removed it, I 'm still a planet.gnome.org every 5 minutes reader smile

I did all [have now the latest version makepkg'd] I didn't know that I was supposed to use the notification area smile {which I never use}

Offline

#6 2004-10-17 15:05:31

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Offline

#7 2004-10-30 09:34:59

z4ziggy
Member
From: Israel
Registered: 2004-03-29
Posts: 573
Website

Re: [new] tomboy

tnx man, great job wink i was just thinking of making a package myself, but then i remembered the search link on the forums :oops:

and btw, you forgot to add perlxml as a dependency wink

Offline

#8 2004-10-30 11:59:12

Mythoz
Member
Registered: 2004-04-25
Posts: 58

Re: [new] tomboy

z4ziggy wrote:

and btw, you forgot to add perlxml as a dependency wink

Uff, it's actually a dependency of intltool which is required at build time.
I have updated the makedepends field in PKGBUILD.

Offline

#9 2004-10-30 12:09:24

z4ziggy
Member
From: Israel
Registered: 2004-03-29
Posts: 573
Website

Re: [new] tomboy

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

#10 2004-11-25 15:58:56

Michel
Member
From: Belgium
Registered: 2004-07-31
Posts: 286

Re: [new] tomboy

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

#11 2004-11-25 22:34:59

Mythoz
Member
Registered: 2004-04-25
Posts: 58

Re: [new] tomboy

Thanks, but there is a tomboy package in one of the trusted user repositories now. So I assume this thread is obsolet.

Offline

Board footer

Powered by FluxBB