Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Dec 1999 12:08:06 -0800 (PST)
From:      Alex Varju <varju@snapple.webct.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/15671: palm/jpilot port update
Message-ID:  <199912242008.MAA45817@snapple.webct.com>

next in thread | raw e-mail | index | archive | help

>Number:         15671
>Category:       ports
>Synopsis:       add plugin support to palm/jpilot port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 24 12:10:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Alex Varju
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
WebCT, Inc.
>Environment:

	

>Description:

Add support for building jpilot plugins for this port.  This will build
the libplugin.a and install it.  You can then manually build the plugin
shared objects and install them if you wish to use them.

>How-To-Repeat:

	

>Fix:

diff -ruN jpilot/patches/patch-ba jpilot.new/patches/patch-ba
--- jpilot/patches/patch-ba	Wed Dec 31 16:00:00 1969
+++ jpilot.new/patches/patch-ba	Fri Dec 24 11:56:49 1999
@@ -0,0 +1,22 @@
+--- Makefile.in.orig	Sun Dec 12 13:23:05 1999
++++ Makefile.in	Fri Dec 24 11:04:06 1999
+@@ -22,7 +22,7 @@
+ GTKLIBS = @GTK_LIBS@
+ 
+ # Targets
+-all: jpilot
++all: jpilot libplugin
+ 
+ jpilot: jpilot.o datebook.o address.o todo.o memo.o \
+ 	utils.o sync.o prefs.o log.o plugins.o \
+@@ -132,8 +132,10 @@
+ 	./install-sh -c -m 755 -g bin -o bin empty/AddressDB.pdb $(prefix)/share/jpilot/
+ 	./install-sh -c -m 755 -g bin -o bin empty/ToDoDB.pdb $(prefix)/share/jpilot/
+ 	./install-sh -c -m 755 -g bin -o bin empty/MemoDB.pdb $(prefix)/share/jpilot/
++	./install-sh -c -m 644 libplugin.a $(prefix)/lib/
+ 
+ uninstall:
+ 	rm $(prefix)/share/jpilot/*
+ 	rm $(prefix)/bin/jpilot
+ 	rm $(prefix)/jpilot
++	rm $(prefix)/lib/libplugin.a
diff -ruN jpilot/patches/patch-bb jpilot.new/patches/patch-bb
--- jpilot/patches/patch-bb	Wed Dec 31 16:00:00 1969
+++ jpilot.new/patches/patch-bb	Fri Dec 24 11:56:58 1999
@@ -0,0 +1,11 @@
+--- configure.orig	Wed Nov 10 09:59:25 1999
++++ configure	Fri Dec 24 10:58:01 1999
+@@ -951,7 +951,7 @@
+       echo $ac_n "checking for dlopen""... $ac_c" 1>&6
+ echo "configure:953: checking for dlopen" >&5
+    save_LIBS="$LIBS"
+-   LIBS="$LIBS -ldl"
++   LIBS="$LIBS"
+    cat > conftest.$ac_ext <<EOF
+ #line 957 "configure"
+ #include "confdefs.h"
diff -ruN jpilot/patches/patch-bc jpilot.new/patches/patch-bc
--- jpilot/patches/patch-bc	Wed Dec 31 16:00:00 1969
+++ jpilot.new/patches/patch-bc	Fri Dec 24 11:57:08 1999
@@ -0,0 +1,11 @@
+--- SyncTime/Makefile.in.orig	Fri Nov  5 08:35:11 1999
++++ SyncTime/Makefile.in	Fri Dec 24 11:01:26 1999
+@@ -27,7 +27,7 @@
+ 	echo; echo "WARNING - SyncTime is currently broken for PalmOS 3.3"; echo
+ 
+ libsynctime.so: synctime.o libplugin.a
+-	ld -shared -ldl -o libsynctime.so synctime.o -L. -lplugin
++	ld -shared -o libsynctime.so synctime.o -L. -lplugin
+ 
+ synctime.o: synctime.c libplugin.h
+ 	$(CC) $(OPTIONS) $(GTKFLAGS) $(PILOT_FLAGS) -c synctime.c
diff -ruN jpilot/patches/patch-bd jpilot.new/patches/patch-bd
--- jpilot/patches/patch-bd	Wed Dec 31 16:00:00 1969
+++ jpilot.new/patches/patch-bd	Fri Dec 24 11:57:23 1999
@@ -0,0 +1,11 @@
+--- Expense/Makefile.in.orig	Wed Nov  3 13:00:42 1999
++++ Expense/Makefile.in	Fri Dec 24 11:37:21 1999
+@@ -24,7 +24,7 @@
+ all: libexpense.so
+ 
+ libexpense.so: expense.o libplugin.a
+-	ld -shared -ldl -o libexpense.so expense.o -L. -lplugin
++	ld -shared -o libexpense.so expense.o -L. -lplugin
+ 
+ expense.o: expense.c libplugin.h
+ 	$(CC) $(OPTIONS) $(GTKFLAGS) $(PILOT_FLAGS) -c expense.c
diff -ruN jpilot/pkg/PLIST jpilot.new/pkg/PLIST
--- jpilot/pkg/PLIST	Thu Nov 11 14:40:41 1999
+++ jpilot.new/pkg/PLIST	Fri Dec 24 11:20:53 1999
@@ -9,5 +9,6 @@
 share/jpilot/ToDoDB.pdb
 share/jpilot/MemoDB.pdb
 share/doc/jpilot/plugin.html
+lib/libplugin.a
 @dirrm share/jpilot
 @dirrm share/doc/jpilot

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912242008.MAA45817>