office/osmo: Updated for version 0.2.8

This commit is contained in:
Frank Caraballo 2010-05-13 00:39:24 +02:00 committed by Robby Workman
parent 4877b9e2ac
commit 78d31b3e0d
5 changed files with 26 additions and 40 deletions

View file

@ -1,7 +1,6 @@
Osmo is a handy personal organizer which includes calendar, tasks
manager and address book modules. It was designed to be a small,
easy to use and good looking PIM tool to help to manage personal
information.
Osmo is a handy personal organizer which includes calendar, task manager
and address book modules. It was designed to be a small, easy to use and
good looking PIM tool to help to manage personal information.
libnotify, libical, libsyncml (available at SBo), and libgringotts
(not available at SBo) are optional build time dependencies.
Optional build-time dependencies are libnotify, libsyncml, and libtar.
libgringotts, which is not available at SlackBuilds.org, is also optional.

View file

@ -7,3 +7,4 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
fi
fi

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=osmo
VERSION=${VERSION:-0.2.6}
VERSION=${VERSION:-0.2.8}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -35,18 +35,23 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* || exit 1
cd $PRGNAM-$VERSION || exit 1
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@ -54,24 +59,17 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
# Apply patch-libgringotts-2.diff patch found at
# http://sourceforge.net/mailarchive/forum.php?thread_name=49B43951.50203%40waitrose.com&forum_name=osmo-pim-friends
# In order for Osmo 0.2.6 to compile, this patch needs to be applied regardless of building with or without libgringotts.
( cd src
patch -p0 < $CWD/patch-libgringotts-2.diff || exit 1
)
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--build=$ARCH-slackware-linux \
|| exit 1
--build=$ARCH-slackware-linux
make || exit 1
make install-strip DESTDIR=$PKG || exit 1
make
make install-strip DESTDIR=$PKG
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
@ -88,4 +86,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -1,8 +1,10 @@
PRGNAM="osmo"
VERSION="0.2.6"
VERSION="0.2.8"
HOMEPAGE="http://clay.ll.pl/osmo"
DOWNLOAD="http://downloads.sourceforge.net/osmo-pim/osmo-0.2.6.tar.gz"
MD5SUM="0253bde2583c4299b1afcf2e29b134aa"
DOWNLOAD="http://downloads.sourceforge.net/osmo-pim/osmo-0.2.8.tar.gz"
MD5SUM="7fa83efd27cd3ecc54e73f0ec4e91d81"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Frank Caraballo"
EMAIL="fecaraballo{at}gmail{dot}com"
APPROVED="dsomero"
APPROVED="rworkman"

View file

@ -1,14 +0,0 @@
Index: notes_items.c
===================================================================
--- notes_items.c (revision 692)
+++ notes_items.c (working copy)
@@ -1038,7 +1037,7 @@ gchar *current_filename;
if (check_if_encrypted (current_filename, appGUI) == TRUE) {
g_snprintf (tmpbuf, BUFFER_SIZE, "%s\n\n(%s)", _("Cannot open the note."), _("encryption support is disabled"));
- gui_create_dialog (GTK_MESSAGE_ERROR, tmpbuf, GTK_WINDOW(appGUI->main_window));
+ utl_gui_create_dialog (GTK_MESSAGE_ERROR, tmpbuf, GTK_WINDOW(appGUI->main_window));
g_free (current_filename);
return;