diff options
author | rh <rh@pkgsrc.org> | 2000-06-15 21:19:40 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2000-06-15 21:19:40 +0000 |
commit | ed6677deea2df99bee031c5cca09b1e6f6cf585b (patch) | |
tree | 987bdbe98abf895c09ac30cd3420226796da2923 /comms | |
parent | c0f5618eecde5c077d8e9c8320b85653b3e7ae62 (diff) | |
download | pkgsrc-ed6677deea2df99bee031c5cca09b1e6f6cf585b.tar.gz |
Initial import of jpilot-libplugin-0.98.1, a plugin library for jpilot.
Diffstat (limited to 'comms')
-rw-r--r-- | comms/jpilot-libplugin/Makefile | 9 | ||||
-rw-r--r-- | comms/jpilot-libplugin/files/md5 | 3 | ||||
-rw-r--r-- | comms/jpilot-libplugin/files/patch-sum | 6 | ||||
-rw-r--r-- | comms/jpilot-libplugin/patches/patch-aa | 24 | ||||
-rw-r--r-- | comms/jpilot-libplugin/patches/patch-ab | 12 | ||||
-rw-r--r-- | comms/jpilot-libplugin/patches/patch-ac | 17 | ||||
-rw-r--r-- | comms/jpilot-libplugin/patches/patch-ad | 35 | ||||
-rw-r--r-- | comms/jpilot-libplugin/pkg/COMMENT | 1 | ||||
-rw-r--r-- | comms/jpilot-libplugin/pkg/DESCR | 2 | ||||
-rw-r--r-- | comms/jpilot-libplugin/pkg/PLIST | 8 |
10 files changed, 117 insertions, 0 deletions
diff --git a/comms/jpilot-libplugin/Makefile b/comms/jpilot-libplugin/Makefile new file mode 100644 index 00000000000..e47ce8f306a --- /dev/null +++ b/comms/jpilot-libplugin/Makefile @@ -0,0 +1,9 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/06/15 21:19:40 rh Exp $ +# +.include "../../comms/jpilot/Makefile" + +PKGNAME= ${DISTNAME:S/-/-libplugin-/} +CATEGORIES+= devel + +ALL_TARGET= libplugin +INSTALL_TARGET= libplugin-install diff --git a/comms/jpilot-libplugin/files/md5 b/comms/jpilot-libplugin/files/md5 new file mode 100644 index 00000000000..69778820671 --- /dev/null +++ b/comms/jpilot-libplugin/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/06/15 21:19:40 rh Exp $ + +MD5 (jpilot-0.98.1.tar.gz) = a67a68a9e53757b34cbd2d3fc9c0e3bb diff --git a/comms/jpilot-libplugin/files/patch-sum b/comms/jpilot-libplugin/files/patch-sum new file mode 100644 index 00000000000..d0bc32245f5 --- /dev/null +++ b/comms/jpilot-libplugin/files/patch-sum @@ -0,0 +1,6 @@ +$NetBSD: patch-sum,v 1.1.1.1 2000/06/15 21:19:40 rh Exp $ + +MD5 (patch-aa) = 4dcaec486e80ee9e660a279a9a49f0fb +MD5 (patch-ab) = ec235201db3982423443a5a9a71ee5ca +MD5 (patch-ac) = 1b3630c10ab10b8ff76e1eadbecdcb06 +MD5 (patch-ad) = e3b0f9715570b5e4b78b2eb5e5cb77fd diff --git a/comms/jpilot-libplugin/patches/patch-aa b/comms/jpilot-libplugin/patches/patch-aa new file mode 100644 index 00000000000..e9d4d3b6fc7 --- /dev/null +++ b/comms/jpilot-libplugin/patches/patch-aa @@ -0,0 +1,24 @@ +$NetBSD: patch-aa,v 1.1.1.1 2000/06/15 21:19:40 rh Exp $ + +--- Makefile.in.orig Thu Mar 2 03:00:14 2000 ++++ Makefile.in Thu Jun 15 17:22:41 2000 +@@ -145,11 +145,15 @@ + libplugin: libplugin.o libplugin.h + ./libtool --mode=link \ + $(CC) $(OPTIONS) $(GTKFLAGS) -o libplugin.la libplugin.lo \ +- -static \ +- -rpath /home/mouse/jpilot; ++ -rpath ${PREFIX}/lib; ++ ++libplugin-install: + ./libtool --mode=install ./install-sh \ +- libplugin.la $(PWD) +-# ./libtool --mode=finish /home/mouse/jpilot/Expense; ++ libplugin.la ${PREFIX}/lib ++ ${BSD_INSTALL_DATA_DIR} ${PREFIX}/include/jpilot ++.for hdr in libplugin.h prefs.h utils.h ++ ${BSD_INSTALL_DATA} ${hdr} ${PREFIX}/include/jpilot ++.endfor + + jpilot-dump: jpilot-dump.o datebook.o log.o utils.o prefs.o todo.o plugins.o + $(CC) $(OPTIONS) $(GTKFLAGS) \ diff --git a/comms/jpilot-libplugin/patches/patch-ab b/comms/jpilot-libplugin/patches/patch-ab new file mode 100644 index 00000000000..981b2698098 --- /dev/null +++ b/comms/jpilot-libplugin/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1.1.1 2000/06/15 21:19:40 rh Exp $ + +--- configure.orig Mon Feb 28 23:30:09 2000 ++++ configure Thu Jun 15 18:05:22 2000 +@@ -3779,7 +3779,6 @@ + echo $ac_n "checking for dlopen""... $ac_c" 1>&6 + echo "configure:3781: checking for dlopen" >&5 + save_LIBS="$LIBS" +- LIBS="$LIBS -ldl" + cat > conftest.$ac_ext <<EOF + #line 3785 "configure" + #include "confdefs.h" diff --git a/comms/jpilot-libplugin/patches/patch-ac b/comms/jpilot-libplugin/patches/patch-ac new file mode 100644 index 00000000000..61458e4f018 --- /dev/null +++ b/comms/jpilot-libplugin/patches/patch-ac @@ -0,0 +1,17 @@ +$NetBSD: patch-ac,v 1.1.1.1 2000/06/15 21:19:40 rh Exp $ + +--- libplugin.h.orig Tue Feb 15 21:07:28 2000 ++++ libplugin.h Thu Jun 15 22:10:43 2000 +@@ -51,9 +51,9 @@ + #define LOG_GUI 1024 /*messages always go to the gui window */ + + int jpilot_logf(int level, char *format, ...); +-/* int (*jp_logf)(int level, char *format, ...); */ +-int jp_logf(int level, char *format, ...); +-/* void plugin_set_jpilot_logf(int (*Pjpilot_logf)(int level, char *format, ...));*/ ++extern int (*jp_logf)(int level, char *format, ...); ++/* int jp_logf(int level, char *format, ...); */ ++void plugin_set_jpilot_logf(int (*Pjpilot_logf)(int level, char *format, ...)); + + #define SPENT_PC_RECORD_BIT 256 + diff --git a/comms/jpilot-libplugin/patches/patch-ad b/comms/jpilot-libplugin/patches/patch-ad new file mode 100644 index 00000000000..93c1054bc55 --- /dev/null +++ b/comms/jpilot-libplugin/patches/patch-ad @@ -0,0 +1,35 @@ +$NetBSD: patch-ad,v 1.1.1.1 2000/06/15 21:19:40 rh Exp $ + +--- libplugin.c.orig Tue Feb 15 21:08:21 2000 ++++ libplugin.c Thu Jun 15 22:13:01 2000 +@@ -97,18 +97,21 @@ + static int get_next_unique_pc_id(unsigned int *next_unique_id); + static FILE *open_file(char *filename, char *mode); + ++#if 0 + int jp_logf(int level, char *format, ...) + { + jpilot_logf(level, format); + return 0; + } ++#endif + +-/* + int null_logf(int level, char *format, ...) + { + return 0; + } + ++int (*jp_logf)(int level, char *format, ...) = null_logf; ++ + void plugin_set_jpilot_logf(int (*Pjpilot_logf)(int level, char *format, ...)) + { + if (Pjpilot_logf==NULL) { +@@ -118,7 +121,6 @@ + jp_logf=Pjpilot_logf; + jp_logf(LOG_DEBUG, "I got the log function pointer\n"); + } +-*/ + + void plugin_version(int *major_version, int *minor_version) + { diff --git a/comms/jpilot-libplugin/pkg/COMMENT b/comms/jpilot-libplugin/pkg/COMMENT new file mode 100644 index 00000000000..26a99152dff --- /dev/null +++ b/comms/jpilot-libplugin/pkg/COMMENT @@ -0,0 +1 @@ +plugin library for the jpilot palm desktop organizer application diff --git a/comms/jpilot-libplugin/pkg/DESCR b/comms/jpilot-libplugin/pkg/DESCR new file mode 100644 index 00000000000..9ae362fe76b --- /dev/null +++ b/comms/jpilot-libplugin/pkg/DESCR @@ -0,0 +1,2 @@ + Libplugin is a plugin library for the J-Pilot palm desktop organizer +application. You can use this library for writing conduits for J-Pilot. diff --git a/comms/jpilot-libplugin/pkg/PLIST b/comms/jpilot-libplugin/pkg/PLIST new file mode 100644 index 00000000000..036494d6c05 --- /dev/null +++ b/comms/jpilot-libplugin/pkg/PLIST @@ -0,0 +1,8 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/06/15 21:19:40 rh Exp $ +lib/libplugin.a +lib/libplugin.la +lib/libplugin.so.0.0 +include/jpilot/libplugin.h +include/jpilot/prefs.h +include/jpilot/utils.h +@dirrm include/jpilot |