pi-address port (PalmPilot address database editor)

This commit is contained in:
jakob 1999-06-26 16:40:38 +00:00
parent e4a5bcfa48
commit 77b7cd612a
8 changed files with 237 additions and 0 deletions

17
misc/pi-address/Makefile Normal file
View File

@ -0,0 +1,17 @@
# $OpenBSD: Makefile,v 1.1.1.1 1999/06/26 16:40:38 jakob Exp $
DISTNAME= pi-address-0.3.1
PKGNAME= pi-address-0.3.1
CATEGORIES= misc x11
MAINTAINER= jakob@openbsd.org
MASTER_SITES= ftp://linux.in-berlin.de/pub/pilot/ \
ftp://pv915.pv.reshsg.uci.edu/pub/pilot/
LIB_DEPENDS= pisock:${PORTSDIR}/comms/pilot-link \
kde:${PORTSDIR}/x11/kdelibs
MAKE_ENV+= QTDIR=${X11BASE} PILOT_LINK=${LOCALBASE}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (pi-address-0.3.1.tar.gz) = de970dcc7bb30837af6d9afa996a2146
RMD160 (pi-address-0.3.1.tar.gz) = e421455c05a2395003f53c0bcabb0055d0a8452b
SHA1 (pi-address-0.3.1.tar.gz) = 274c5278ab61a79243a49d3c7f201bd11e69046c

View File

@ -0,0 +1,64 @@
*** Makefile.orig Wed Mar 31 19:11:01 1999
--- Makefile Sat Jun 26 18:05:44 1999
***************
*** 2,18 ****
XINCLUDE= /usr/X11R6/include
# for Solaris use this instead
# XINCLUDE=/usr/openwin/include
! INCDIRS= -I$(XINCLUDE) -I$(QTDIR)/include -I$(PILOT_LINK)/include
CFLAGS = -g -O2
# uncommment the following line if you have linking errors on Solaris
# LFLAGS_ADD = /usr/lib/libnsl.so /usr/lib/libsocket.so
# LFLAGS = $(LFLAGS_ADD) $(QTDIR)/lib/libqt.so $(PILOT_LINK)/lib/libpisock.a
! LFLAGS = $(LFLAGS_ADD) -L$(QTDIR)/lib -lqt $(PILOT_LINK)/lib/libpisock.a
# try this one if you want to link against the shared library from pilot-link
! # LFLAGS = $(LFLAGS_ADD) -L$(QTDIR)/lib -lqt -L$(PILOT_LINK)/lib -lpisock
# uncomment the following line on HP-UX
# LFLAGS += -lX11 -lXext
--- 2,18 ----
XINCLUDE= /usr/X11R6/include
# for Solaris use this instead
# XINCLUDE=/usr/openwin/include
! INCDIRS= -I$(XINCLUDE) -I$(QTDIR)/include/X11/qt -I$(PILOT_LINK)/include
CFLAGS = -g -O2
# uncommment the following line if you have linking errors on Solaris
# LFLAGS_ADD = /usr/lib/libnsl.so /usr/lib/libsocket.so
# LFLAGS = $(LFLAGS_ADD) $(QTDIR)/lib/libqt.so $(PILOT_LINK)/lib/libpisock.a
! # LFLAGS = $(LFLAGS_ADD) -L$(QTDIR)/lib -lqt $(PILOT_LINK)/lib/libpisock.a
# try this one if you want to link against the shared library from pilot-link
! LFLAGS = $(LFLAGS_ADD) -L$(QTDIR)/lib -lqt -L$(PILOT_LINK)/lib -lpisock
# uncomment the following line on HP-UX
# LFLAGS += -lX11 -lXext
***************
*** 31,41 ****
RM_OPT = -f
# Edited for Debian GNU/Linux
! DESTDIR =
! prefix = $(DESTDIR)/usr/X11R6
! doc_prefix = $(DESTDIR)/usr/doc
! conf_prefix = $(DESTDIR)/etc
####### Files
--- 31,41 ----
RM_OPT = -f
# Edited for Debian GNU/Linux
! DESTDIR = $(LOCALBASE)
! prefix = $(DESTDIR)
! doc_prefix = $(DESTDIR)/share/doc
! conf_prefix = $(doc_prefix)/$(TARGET)
####### Files

View File

@ -0,0 +1,13 @@
*** pilot.cpp.orig Wed Apr 28 21:36:46 1999
--- pilot.cpp Sat Jun 26 17:47:53 1999
***************
*** 27,32 ****
--- 27,34 ----
#include <sys/time.h>
+ #include <sys/types.h>
+ #include <unistd.h>
#include "pilot.h"

View File

@ -0,0 +1,106 @@
*** pia.cpp.orig Mon Apr 26 20:10:54 1999
--- pia.cpp Sat Jun 26 17:27:43 1999
***************
*** 96,107 ****
fileMenu->insertSeparator();
QPopupMenu *exportMenu = new QPopupMenu;
! idExport = exportMenu->insertItem( "Export as CSV...", this, SLOT(export()));
idExportLDIF = exportMenu->insertItem( "Export as LDIF...", this, SLOT(exportLDIF()));
fileMenu->insertItem("Export", exportMenu);
QPopupMenu *importMenu = new QPopupMenu;
! importMenu->insertItem("Import as CSV...", this, SLOT(import()));
importMenu->insertItem("Import as PilotMgr CSV", this, SLOT(importPMgr()));
fileMenu->insertItem("Import", importMenu);
--- 96,107 ----
fileMenu->insertSeparator();
QPopupMenu *exportMenu = new QPopupMenu;
! idExport = exportMenu->insertItem( "Export as CSV...", this, SLOT(exportCSV()));
idExportLDIF = exportMenu->insertItem( "Export as LDIF...", this, SLOT(exportLDIF()));
fileMenu->insertItem("Export", exportMenu);
QPopupMenu *importMenu = new QPopupMenu;
! importMenu->insertItem("Import as CSV...", this, SLOT(importCSV()));
importMenu->insertItem("Import as PilotMgr CSV", this, SLOT(importPMgr()));
fileMenu->insertItem("Import", importMenu);
***************
*** 2350,2356 ****
// export the current Address DB as CSV-file
! void PiAddress::export()
{
QString msg;
int i, iCat = cat->currentItem();
--- 2350,2356 ----
// export the current Address DB as CSV-file
! void PiAddress::exportCSV()
{
QString msg;
int i, iCat = cat->currentItem();
***************
*** 2426,2432 ****
}
// import CSF-file into Address DB
! void PiAddress::import()
{
QString msg;
--- 2426,2432 ----
}
// import CSF-file into Address DB
! void PiAddress::importCSV()
{
QString msg;
***************
*** 3448,3455 ****
toolBar.EnableItem(idToolbarWrite, FALSE);
toolBar.InsertSeparator();
! toolBar.Insert(pImport, this, SLOT(import()), "Import as CSV");
! idToolbarExport = toolBar.Insert(pExport, this, SLOT(export()),
"Export as CSV");
toolBar.EnableItem(idToolbarExport, FALSE);
toolBar.InsertSeparator();
--- 3448,3455 ----
toolBar.EnableItem(idToolbarWrite, FALSE);
toolBar.InsertSeparator();
! toolBar.Insert(pImport, this, SLOT(importCSV()), "Import as CSV");
! idToolbarExport = toolBar.Insert(pExport, this, SLOT(exportCSV()),
"Export as CSV");
toolBar.EnableItem(idToolbarExport, FALSE);
toolBar.InsertSeparator();
*** pia.h.orig Mon Apr 26 19:29:18 1999
--- pia.h Sat Jun 26 17:28:48 1999
***************
*** 86,94 ****
void helpFAQ();
void info();
void aboutQt();
! void export();
void exportLDIF();
! void import();
void importPMgr();
void printer();
void readPilot();
--- 86,94 ----
void helpFAQ();
void info();
void aboutQt();
! void exportCSV();
void exportLDIF();
! void importCSV();
void importPMgr();
void printer();
void readPilot();

View File

@ -0,0 +1 @@
PalmPilot address database editor

11
misc/pi-address/pkg/DESCR Normal file
View File

@ -0,0 +1,11 @@
pi-address is a GUI frontend to address databases from a 3Com
PalmPilot. It can read/edit/save database files in PDB-format. Those
files can be read from or written to the pilot using "pilot-xfer" from
the pilot-link package.
The program can directly read/write the address data from/to the
Pilot.
The programm can also be used as a general address manager without a
3Com PalmPilot. Some of the record fields may be not very meaningful
in this case.

22
misc/pi-address/pkg/PLIST Normal file
View File

@ -0,0 +1,22 @@
bin/pi-address
share/doc/pi-address/html/pia-faq-1.html
share/doc/pi-address/html/pia-faq-2.html
share/doc/pi-address/html/pia-faq-3.html
share/doc/pi-address/html/pia-faq-4.html
share/doc/pi-address/html/pia-faq-5.html
share/doc/pi-address/html/pia-faq-6.html
share/doc/pi-address/html/pia-faq-7.html
share/doc/pi-address/html/pia-faq-8.html
share/doc/pi-address/html/pia-faq.html
share/doc/pi-address/html/pia-faq.ps.gz
share/doc/pi-address/html/pia-faq.txt
share/doc/pi-address/pi-address.lsm
share/doc/pi-address/NEWS
share/doc/pi-address/TODO
share/doc/pi-address/README
share/doc/pi-address/BUGS
share/doc/pi-address/THANKS
share/doc/pi-address/pia-faq.txt
share/doc/pi-address/pi-addressrc
@dirrm share/doc/pi-address/html
@dirrm share/doc/pi-address