the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: jpilot
Version: 1.8.1
Revision: 1
###
Depends: <<
x11, atk1-shlibs (>= 1.20.0-1), pango1-xft2-ft219-shlibs (>= 1.22.0-3),
gtk+2-shlibs (>= 2.12.0-1) , glib2-shlibs (>= 2.22.4-4), libgcrypt-shlibs,
pilot-link09-shlibs, libgettext8-shlibs, freetype219-shlibs (>= 2.3.7-4),
libgpg-error-shlibs, fontconfig2-shlibs (>= 2.8.0-4), cairo-shlibs(>= 1.8.10-3)
<<
BuildDepends: <<
glitz, cairo (>= 1.8.10-3), fontconfig2-dev (>= 2.8.0-4), freetype219 (>= 2.3.7-4),
atk1 (>= 1.20.0-1), pango1-xft2-ft219-dev (>= 1.22.0-3), pixman (>= 0.10.0-1), pilot-link09, gtk+2-dev (>= 2.12.0-1) , glib2-dev (>= 2.22.4-4),
readline5 (>= 5.0-1004), pkgconfig (>= 0.21-1), libgettext8-dev, libgcrypt,
system-openssl-dev, intltool40, fink (>= 0.24.12-1), libgpg-error, x11-dev, fink-package-precedence
<<
Replaces: <<
jpilot0, jpilot, jpilot-ssl0, jpilot-ssl-shlibs, jpilot-shlibs,
jpilot-ssl ( <= 0.99.7 )
<<
Conflicts: <<
jpilot0, jpilot, jpilot-ssl0, jpilot-ssl-shlibs, jpilot-shlibs,
jpilot-ssl ( <= 0.99.7 )
<<
###
Source: http://jpilot.org/jpilot-%v.tar.gz
Source-MD5: ac59a5708f37e30d39e85b1fcedd266f
###
PatchScript: <<
### Fix plugins
perl -pi.bak -e 's,libexpense_la_LIBADD =,libexpense_la_LIBADD = -module -avoid-version,g' Expense/Makefile.in
perl -pi.bak -e 's,libkeyring_la_LIBADD =,libkeyring_la_LIBADD = -module -avoid-version,g' KeyRing/Makefile.in
perl -pi.bak -e 's,libsynctime_la_LIBADD =,libsynctime_la_LIBADD = -module -avoid-version,g' SyncTime/Makefile.in
<<
###
DocFiles: ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO
###
SetCPPFLAGS: -I%p/lib/system-openssl/include
SetLDFLAGS: -L%p/lib/system-openssl/lib
SetLIBS: -lintl
###
ConfigureParams: <<
--with-libintl-prefix=%p \
--with-libiconv-prefix=%p \
--with-pilot-prefix=%p --with-pic --enable-shared \
--disable-static --mandir=%p/share/man --infodir=%p/share/info \
--libexecdir=%p/lib
<<
###
CompileScript: <<
#!/bin/sh -ev
export PKG_CONFIG_PATH="%p/lib/fontconfig2/lib/pkgconfig:%p/lib/glib-2.0/pkgconfig-strict:$PKG_CONFIG_PATH"
%{default_script}
fink-package-precedence .
<<
###
InstallScript: <<
make install DESTDIR=%d
<<
###
Description: Palm Desktop for X11
DescDetail: <<
J-Pilot is a full-featured desktop organizer application for the Palm Pilot
that runs under Linux and UNIX. It includes support for datebooks,
addresses, memos, todos, expenses, and has plugin support. It uses the
GTK+2 libraries.
J-Pilot uses the pilot-link libraries and executables.
<<
DescUsage: <<
If you are using a USB Palm device, you will need to set the Serial port
field under Preferences -> Settings to "usb:" (without the quotes)
The console window (within the Jpilot GUI) won't prompt you to hit the
HotSync button on your handheld (unlike the behavior in some other Unix-like
OSes) when you push either of the sync buttons in the GUI, so you'll have to
remember to do it.
Also, if a handheld isn't present, the GUI will lock up, rather than returning
gracefully.
Both of these issues are now in the upstream source release: the small loss of
functionality is offset by having the program actually work on OS X.
<<
DescPort: <<
Add -lintl to LIBS because of inheritance weirdness (probably via .la files)
The KeyRing, Expense, and SyncTime plugins apparently have to be built as .so
files to be useable, hence the PatchScript.
Previously patched jpilot.c to allow syncing under the GUI (OS X unhappiness with forking) as per
http://www.jpilot.org/pipermail/jpilot-devel/2007-November/001175.html--this is now
implemented in the upstream code.
<<
DescPackaging: <<
Uses system's OpenSSL.
<<
###
License: GPL
Maintainer: Alexander Hansen
Homepage: http://www.jpilot.org/
--- jpilot-1.6.0.orig/jpilot.c 2008-12-09 18:32:50.000000000 -0500
+++ jpilot-1.6.0/jpilot.c 2008-12-10 12:49:09.000000000 -0500
@@ -732,7 +732,7 @@
}
}
- setup_sync(flags);
+ setup_sync(flags|SYNC_NO_FORK);
return;
}