Hi. This is an update to bring jpilot to the latest stable version.This port was made against pilot-link-0.12.1 which I sent an updated port for yesterday (or a couple days ago).
Please test both ports. I'm been using this on my macppc and my LifeDrive without any issue. Thanks! -- Antoine
diff -ruN --exclude=CVS /usr/ports/comms/jpilot/Makefile jpilot/Makefile --- /usr/ports/comms/jpilot/Makefile Mon Sep 18 19:07:31 2006 +++ jpilot/Makefile Tue Sep 19 16:28:40 2006 @@ -1,9 +1,8 @@ -# $OpenBSD: Makefile,v 1.36 2006/09/18 11:40:07 espie Exp $ +# $OpenBSD: Makefile,v 1.35 2006/08/01 22:19:46 espie Exp $ COMMENT= "desktop organizer software for the palm pilot" -DISTNAME= jpilot-0.99.8 -PKGNAME= ${DISTNAME}p3 +DISTNAME= jpilot-0.99.9 CATEGORIES= comms palm MASTER_SITES= ${HOMEPAGE} @@ -18,11 +17,11 @@ PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -WANTLIB= c readline crypto m ncurses X11 Xext \ - Xrender fontconfig freetype atk-1.0.>=800.0 \ - gdk_pixbuf-2.0.>=400.14 glib-2.0.>=400.8 gmodule-2.0.>=400.8 \ - gobject-2.0.>=400.8 pango-1.0.>=600.0 pangoft2-1.0.>=600.0 \ - pangocairo-1.0 cairo glitz png z +WANTLIB= c crypto m X11 Xext Xrender pthread fontconfig \ + freetype atk-1.0.>=800.0 gdk_pixbuf-2.0.>=400.14 \ + glib-2.0.>=400.8 gmodule-2.0.>=400.8 usb.>=8 \ + gobject-2.0.>=400.8 pango-1.0.>=600.0 \ + pangoft2-1.0.>=600.0 pangocairo-1.0 cairo glitz png z BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig LIB_DEPENDS= pisock.>=8::comms/pilot-link \ @@ -37,7 +36,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \ - --enable-gtk2 \ --with-pilot-prefix=${LOCALBASE} \ --with-gtk-prefix=${LOCALBASE} diff -ruN --exclude=CVS /usr/ports/comms/jpilot/distinfo jpilot/distinfo --- /usr/ports/comms/jpilot/distinfo Mon Oct 31 23:47:22 2005 +++ jpilot/distinfo Mon Aug 28 11:13:17 2006 @@ -1,4 +1,4 @@ -MD5 (jpilot-0.99.8.tar.gz) = 4bdb200367e691e64d02bd6dfcdec604 -RMD160 (jpilot-0.99.8.tar.gz) = 9d19e41a8d73f1dbfc5107e0ee1657ac09b55189 -SHA1 (jpilot-0.99.8.tar.gz) = 5ad7c15f4583a15afb7acd96db2c4e8e58311b29 -SIZE (jpilot-0.99.8.tar.gz) = 1589217 +MD5 (jpilot-0.99.9.tar.gz) = c39df29aeed57b84a674524856ebc290 +RMD160 (jpilot-0.99.9.tar.gz) = 0286b9f9579dbbdb8e9bd207384561814bab5114 +SHA1 (jpilot-0.99.9.tar.gz) = 19a76f8815188a1b7993fbff81624e852a3bbc5c +SIZE (jpilot-0.99.9.tar.gz) = 1671351 diff -ruN --exclude=CVS /usr/ports/comms/jpilot/patches/patch-Expense_Makefile_in jpilot/patches/patch-Expense_Makefile_in --- /usr/ports/comms/jpilot/patches/patch-Expense_Makefile_in Mon Oct 31 23:47:22 2005 +++ jpilot/patches/patch-Expense_Makefile_in Mon Aug 28 11:21:12 2006 @@ -1,7 +1,7 @@ $OpenBSD: patch-Expense_Makefile_in,v 1.7 2005/10/31 21:08:15 naddy Exp $ ---- Expense/Makefile.in.orig Mon Oct 31 19:48:02 2005 -+++ Expense/Makefile.in Mon Oct 31 19:48:19 2005 -@@ -247,7 +247,7 @@ target_alias = @target_alias@ +--- Expense/Makefile.in.orig Thu Aug 24 01:22:09 2006 ++++ Expense/Makefile.in Mon Aug 28 11:19:49 2006 +@@ -248,7 +248,7 @@ target_alias = @target_alias@ @[EMAIL PROTECTED] = libexpense.la @[EMAIL PROTECTED] = expense.c @[EMAIL PROTECTED] = -Wall @PILOT_FLAGS@ @GTK_CFLAGS@ -I$(top_srcdir) diff -ruN --exclude=CVS /usr/ports/comms/jpilot/patches/patch-KeyRing_Makefile_in jpilot/patches/patch-KeyRing_Makefile_in --- /usr/ports/comms/jpilot/patches/patch-KeyRing_Makefile_in Mon Oct 31 23:47:22 2005 +++ jpilot/patches/patch-KeyRing_Makefile_in Mon Aug 28 11:21:12 2006 @@ -1,7 +1,7 @@ $OpenBSD: patch-KeyRing_Makefile_in,v 1.3 2005/10/31 21:08:15 naddy Exp $ ---- KeyRing/Makefile.in.orig Mon Oct 31 19:47:32 2005 -+++ KeyRing/Makefile.in Mon Oct 31 19:47:50 2005 -@@ -248,7 +248,7 @@ EXTRA_DIST = README.txt +--- KeyRing/Makefile.in.orig Thu Aug 24 01:22:09 2006 ++++ KeyRing/Makefile.in Mon Aug 28 11:19:49 2006 +@@ -249,7 +249,7 @@ EXTRA_DIST = README.txt @[EMAIL PROTECTED] = libkeyring.la @[EMAIL PROTECTED] = keyring.c @[EMAIL PROTECTED] = -Wall @PILOT_FLAGS@ @GTK_CFLAGS@ -I$(top_srcdir) diff -ruN --exclude=CVS /usr/ports/comms/jpilot/patches/patch-SyncTime_Makefile_in jpilot/patches/patch-SyncTime_Makefile_in --- /usr/ports/comms/jpilot/patches/patch-SyncTime_Makefile_in Mon Oct 31 23:47:22 2005 +++ jpilot/patches/patch-SyncTime_Makefile_in Mon Aug 28 11:21:12 2006 @@ -1,7 +1,7 @@ $OpenBSD: patch-SyncTime_Makefile_in,v 1.7 2005/10/31 21:08:15 naddy Exp $ ---- SyncTime/Makefile.in.orig Mon Oct 31 19:46:59 2005 -+++ SyncTime/Makefile.in Mon Oct 31 19:47:17 2005 -@@ -247,7 +247,7 @@ target_alias = @target_alias@ +--- SyncTime/Makefile.in.orig Thu Aug 24 01:22:10 2006 ++++ SyncTime/Makefile.in Mon Aug 28 11:19:49 2006 +@@ -248,7 +248,7 @@ target_alias = @target_alias@ @[EMAIL PROTECTED] = libsynctime.la @[EMAIL PROTECTED] = synctime.c @[EMAIL PROTECTED] = -Wall @PILOT_FLAGS@ @GTK_CFLAGS@ -I$(top_srcdir) diff -ruN --exclude=CVS /usr/ports/comms/jpilot/patches/patch-docs_Makefile_in jpilot/patches/patch-docs_Makefile_in --- /usr/ports/comms/jpilot/patches/patch-docs_Makefile_in Mon Oct 31 23:47:22 2005 +++ jpilot/patches/patch-docs_Makefile_in Mon Aug 28 11:21:12 2006 @@ -1,7 +1,7 @@ $OpenBSD: patch-docs_Makefile_in,v 1.2 2005/10/31 21:08:15 naddy Exp $ ---- docs/Makefile.in.orig Mon Oct 31 18:58:28 2005 -+++ docs/Makefile.in Mon Oct 31 19:05:36 2005 -@@ -231,7 +231,7 @@ target_alias = @target_alias@ +--- docs/Makefile.in.orig Thu Aug 24 01:22:10 2006 ++++ docs/Makefile.in Mon Aug 28 11:19:49 2006 +@@ -232,7 +232,7 @@ target_alias = @target_alias@ # install the man pages man_MANS = jpilot.1 jpilot-dial.1 jpilot-sync.1 jpilot-dump.1 diff -ruN --exclude=CVS /usr/ports/comms/jpilot/patches/patch-icons_Makefile_in jpilot/patches/patch-icons_Makefile_in --- /usr/ports/comms/jpilot/patches/patch-icons_Makefile_in Mon Oct 31 23:47:22 2005 +++ jpilot/patches/patch-icons_Makefile_in Mon Aug 28 11:21:12 2006 @@ -1,7 +1,7 @@ $OpenBSD: patch-icons_Makefile_in,v 1.2 2005/10/31 21:08:15 naddy Exp $ ---- icons/Makefile.in.orig Mon Oct 31 19:27:50 2005 -+++ icons/Makefile.in Mon Oct 31 19:28:04 2005 -@@ -223,7 +223,7 @@ sbindir = @sbindir@ +--- icons/Makefile.in.orig Thu Aug 24 01:22:10 2006 ++++ icons/Makefile.in Mon Aug 28 11:19:49 2006 +@@ -224,7 +224,7 @@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ diff -ruN --exclude=CVS /usr/ports/comms/jpilot/patches/patch-jpilot-sync_c jpilot/patches/patch-jpilot-sync_c --- /usr/ports/comms/jpilot/patches/patch-jpilot-sync_c Sun Dec 4 23:19:24 2005 +++ jpilot/patches/patch-jpilot-sync_c Thu Jan 1 01:00:00 1970 @@ -1,11 +0,0 @@ -$OpenBSD: patch-jpilot-sync_c,v 1.1 2005/12/04 22:19:24 steven Exp $ ---- jpilot-sync.c.orig Sun Dec 4 16:09:12 2005 -+++ jpilot-sync.c Sun Dec 4 16:09:31 2005 -@@ -44,6 +44,7 @@ int pipe_to_parent, pipe_from_parent; - pid_t glob_child_pid; - GtkWidget *glob_dialog; - pid_t glob_child_pid; -+GtkTooltips *glob_tooltips; - - unsigned char skip_plugins; - diff -ruN --exclude=CVS /usr/ports/comms/jpilot/patches/patch-jpilot_c jpilot/patches/patch-jpilot_c --- /usr/ports/comms/jpilot/patches/patch-jpilot_c Tue Jun 13 09:38:01 2006 +++ jpilot/patches/patch-jpilot_c Mon Sep 18 08:36:16 2006 @@ -1,19 +1,28 @@ -$OpenBSD: patch-jpilot_c,v 1.1 2006/06/13 07:38:01 bernd Exp $ - -Fixes a startup crash. From jpilot CVS. Will be fixed in 0.99.9. - -Log Message: -get_inline_pixbuf_data(): use g_object_unref() instead of g_free() since -gdk_pixbuf_new_from_xpm_data() returns an object. - ---- jpilot.c.orig Tue Jun 13 08:51:31 2006 -+++ jpilot.c Tue Jun 13 08:51:51 2006 -@@ -1371,7 +1371,7 @@ guint8 *get_inline_pixbuf_data(const cha - gdk_pixdata_from_pixbuf(pixdata, pixbuf, FALSE); - data = gdk_pixdata_serialize(pixdata, &len); +$OpenBSD$ +--- jpilot.c.orig Mon Sep 18 08:31:33 2006 ++++ jpilot.c Mon Sep 18 08:35:34 2006 +@@ -2180,18 +2180,19 @@ char * xpm_backup[] = { -- g_free(pixbuf); -+ g_object_unref(pixbuf); - g_free(pixdata); - - return data; + /* Extract first day of week preference from locale in GTK2 */ + # ifdef ENABLE_GTK2 +-# ifdef HAVE_LANGINFO_H ++/* OpenBSD does not have _NL_TIME_FIRST_WEEKDAY in /usr/include/langinfo.h */ ++/*# ifdef HAVE_LANGINFO_H*/ + /* GTK 2.8 libraries */ +- week_start = nl_langinfo (_NL_TIME_FIRST_WEEKDAY); +- pref_fdow = *((unsigned char *) week_start) - 1; +-# else ++ /*week_start = nl_langinfo (_NL_TIME_FIRST_WEEKDAY);*/ ++ /*pref_fdow = *((unsigned char *) week_start) - 1;*/ ++/*# else*/ + /* GTK 2.6 libraries */ + # if defined(ENABLE_NLS) + week_start = dgettext("gtk20", "calendar:week_start:0"); + if (strncmp("calendar:week_start:", week_start, 20) == 0) { + pref_fdow = *(week_start + 20) - '0'; + } +-# endif ++/*# endif*/ + # endif + if (pref_fdow > 1) + pref_fdow = 1; diff -ruN --exclude=CVS /usr/ports/comms/jpilot/pkg/PLIST jpilot/pkg/PLIST --- /usr/ports/comms/jpilot/pkg/PLIST Wed Dec 7 20:03:48 2005 +++ jpilot/pkg/PLIST Mon Aug 28 11:49:31 2006 @@ -25,7 +25,6 @@ share/doc/jpilot/INSTALL share/doc/jpilot/README share/doc/jpilot/TODO -share/doc/jpilot/UPGRADING share/doc/jpilot/icons/ share/doc/jpilot/icons/README share/doc/jpilot/icons/jpilot-icon1.xpm @@ -72,6 +71,7 @@ share/locale/fr/LC_MESSAGES/jpilot.mo share/locale/it/LC_MESSAGES/jpilot.mo share/locale/ja/LC_MESSAGES/jpilot.mo +share/locale/ko/LC_MESSAGES/jpilot.mo share/locale/nl/LC_MESSAGES/jpilot.mo share/locale/no/LC_MESSAGES/jpilot.mo share/locale/ru/LC_MESSAGES/jpilot.mo @@ -80,6 +80,7 @@ share/locale/rw/LC_MESSAGES/jpilot.mo share/locale/sv/LC_MESSAGES/jpilot.mo share/locale/tr/LC_MESSAGES/jpilot.mo +share/locale/uk/LC_MESSAGES/jpilot.mo share/locale/vi/LC_MESSAGES/jpilot.mo share/locale/zh_CN/LC_MESSAGES/jpilot.mo share/locale/zh_TW/LC_MESSAGES/jpilot.mo