Update to latest stable release. It needs the updated pilot-link version I
just sent.
Been using this a long time, no issue.
Enjoy!
--
Antoine
diff -ruN --exclude CVS /usr/ports/comms/jpilot/Makefile jpilot/Makefile
--- /usr/ports/comms/jpilot/Makefile Mon Sep 18 13:40:07 2006
+++ jpilot/Makefile Tue Oct 17 15:05:34 2006
@@ -2,15 +2,14 @@
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}
HOMEPAGE= http://www.jpilot.org/
-MAINTAINER= Antoine Jacoutot <[EMAIL PROTECTED]>
+MAINTAINER= Antoine Jacoutot <[EMAIL PROTECTED]>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
@@ -18,14 +17,14 @@
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 fontconfig freetype png.>=5 \
+ atk-1.0.>=800.0 gdk_pixbuf-2.0.>=400.14 cairo glitz z \
+ glib-2.0.>=400.8 gmodule-2.0.>=400.8 pangocairo-1.0 \
+ gobject-2.0.>=400.8 pango-1.0.>=600.0 \
+ pangoft2-1.0.>=600.0
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
-LIB_DEPENDS= pisock.>=8::comms/pilot-link \
+LIB_DEPENDS= pisock.>=9::comms/pilot-link \
gtk-x11-2.0.>=400.13,gdk-x11-2.0.>=400.13,gdk_pixbuf-2.0.>=400.13::x11/gtk+2
MODULES= devel/gettext
@@ -37,11 +36,10 @@
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
- --enable-gtk2 \
--with-pilot-prefix=${LOCALBASE} \
--with-gtk-prefix=${LOCALBASE}
-MAN1= jpilot-dump.1 jpilot-sync.1 jpilot-upgrade-99.1 jpilot.1
+MAN1= jpilot-dump.1 jpilot-sync.1 jpilot.1
pre-build:
.for i in ${MAN1}
diff -ruN --exclude CVS /usr/ports/comms/jpilot/distinfo jpilot/distinfo
--- /usr/ports/comms/jpilot/distinfo Mon Oct 31 22:08:14 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
22:08:15 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
22:08:15 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
22:08:15 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
22:08:15 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
22:08:15 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 Wed Sep 27 09:30:30 2006
@@ -1,19 +1,69 @@
-$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 Fri Jun 9 22:42:57 2006
++++ jpilot.c Wed Sep 27 09:30:26 2006
+@@ -1,4 +1,4 @@
+-/* $Id: jpilot.c,v 1.140 2006/06/09 20:42:57 judd Exp $ */
++/* $Id: jpilot.c,v 1.141 2006/09/26 21:03:40 rikster5 Exp $ */
-- g_free(pixbuf);
-+ g_object_unref(pixbuf);
- g_free(pixdata);
+
/*******************************************************************************
+ * jpilot.c
+@@ -1953,11 +1953,21 @@ int main(int argc, char *argv[])
+ GtkWidget *menubar;
+ #ifdef ENABLE_GTK2
+ GtkWidget *scrolled_window;
+- char *week_start;
+- int pref_fdow = 0;
+ #else
+ GtkWidget *vscrollbar;
+ #endif
++/* Extract first day of week preference from locale in GTK2 */
++#ifdef ENABLE_GTK2
++ int pref_fdow = 0;
++# ifdef HAVE__NL_TIME_FIRST_WEEKDAY
++ char *langinfo;
++ int week_1stday = 0;
++ int first_weekday = 1;
++ unsigned int week_origin;
++# else
++ char *week_start;
++# endif
++#endif
+ unsigned char skip_past_alarms;
+ unsigned char skip_all_alarms;
+ int filedesc[2];
+@@ -2179,18 +2189,31 @@ char * xpm_backup[] = {
+ pref_read_rc_file();
- return data;
+ /* Extract first day of week preference from locale in GTK2 */
++
+ # ifdef ENABLE_GTK2
+-# ifdef HAVE_LANGINFO_H
++# ifdef HAVE__NL_TIME_FIRST_WEEKDAY
+ /* GTK 2.8 libraries */
+- week_start = nl_langinfo (_NL_TIME_FIRST_WEEKDAY);
+- pref_fdow = *((unsigned char *) week_start) - 1;
++ langinfo = nl_langinfo(_NL_TIME_FIRST_WEEKDAY);
++ first_weekday = langinfo[0];
++ langinfo = nl_langinfo(_NL_TIME_WEEK_1STDAY);
++ week_origin = GPOINTER_TO_INT(langinfo);
++ if (week_origin == 19971130) /* Sunday */
++ week_1stday = 0;
++ else if (week_origin == 19971201) /* Monday */
++ week_1stday = 1;
++ else
++ g_warning ("Unknown value of _NL_TIME_WEEK_1STDAY.\n");
++
++ pref_fdow = (week_1stday + first_weekday - 1) % 7;
+ # 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';
+- }
++ } else {
++ pref_fdow = -1;
++ }
+ # endif
+ # endif
+ if (pref_fdow > 1)
diff -ruN --exclude CVS /usr/ports/comms/jpilot/pkg/PLIST jpilot/pkg/PLIST
--- /usr/ports/comms/jpilot/pkg/PLIST Sun Dec 4 23:19:24 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