Date: Thu, 4 Oct 2001 11:01:28 +1200 (NZST) From: Jonathan Chen <jonathan.chen@itouch.co.nz> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/31024: update of deskutils/kdepim to build kpilot Message-ID: <200110032301.f93N1SZ87952@jonc.itouch>
next in thread | raw e-mail | index | archive | help
>Number: 31024 >Category: ports >Synopsis: update of deskutils/kdepim to build kpilot >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Oct 03 16:40:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Jonathan Chen >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD jonc.itouch 4.4-STABLE FreeBSD 4.4-STABLE #3: Thu Sep 20 12:35:18 NZST 2001 root@jonc.itouch:/usr/obj/usr/src/sys/JONC i386 >Description: The current desktuils/kdepim port doesn't build kpilot. >How-To-Repeat: # cd /usr/ports/deskutils/kdepim # make && make install # ls -l /usr/local/bin/kpilot >Fix: The following patch will modify the port to allow kpilot to build and install. Unsure of kpilot's working status. Note that it creates a patch to the configure.in file. diff -ur --new-file /usr/ports/deskutils/kdepim/Makefile ./Makefile --- /usr/ports/deskutils/kdepim/Makefile Wed Sep 12 11:38:32 2001 +++ ./Makefile Wed Oct 3 22:19:20 2001 @@ -21,6 +21,25 @@ USE_AUTOCONF= yes USE_GMAKE= yes +LIB_DEPENDS= pisock.4:${PORTSDIR}/palm/pilot-link + +QT_NONSTANDARD= yes + +CONFIGURE_ARGS= \ + --with-qt-includes=${X11BASE}/include/qt2 \ + --with-qt-libraries=${X11BASE}/lib \ + --with-extra-libs=${LOCALBASE}/lib:/usr/local/pilot/lib + +CONFIGURE_ENV= \ + MOC="${X11BASE}/bin/moc2" LIBQT="-l${QTNAME}" \ + CPPFLAGS="${QTCPPFLAGS} -I/usr/local/pilot/include" \ + LIBS="${QTCFGLIBS} -L/usr/local/pilot/lib -lpisock" + +MAKE_ENV= \ + MOC="${X11BASE}/bin/moc2" LIBQT="-l${QTNAME}" \ + CPPFLAGS="${QTCPPFLAGS} -I/usr/local/pilot/include" \ + LIBS="${QTCFGLIBS} -L/usr/local/pilot/lib -lpisock" + pre-configure: find ${WRKSRC}/libical -name Makefile.in | xargs ${PERL} -pi -e \ "s|INSTALL = \@INSTALL\@|INSTALL=${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP}|g" diff -ur --new-file /usr/ports/deskutils/kdepim/files/patch-aa ./files/patch-aa --- /usr/ports/deskutils/kdepim/files/patch-aa Thu Jan 1 12:00:00 1970 +++ ./files/patch-aa Wed Oct 3 21:08:31 2001 @@ -0,0 +1,41 @@ +--- configure.in.orig Mon Aug 6 13:42:39 2001 ++++ configure.in Wed Oct 3 21:05:55 2001 +@@ -149,17 +149,6 @@ + AC_CHECK_HEADER(pi-file.h,[HAVE_PISOCK=1 + AC_MSG_RESULT(found)], ) + +-if test "$HAVE_PISOCK" = "0" ; then +- for i in $include_dirs ; do +- if test -r $i/pi-file.h; then +- HAVE_PISOCK=1 +- LIBPISOCK_PATH="$i" +- AC_MSG_RESULT(found) +- break +- fi +- done +-fi +- + dnl warn if no headers found + dnl + if test "$HAVE_PISOCK" = "0" ; then +@@ -167,18 +156,8 @@ + fi + + if test "$HAVE_PISOCK" = "1" ; then +- HAVE_PISOCK=0 +- ac_save_cppflags="$CPPFLAGS" +- for pisock_libs in "pisock" "socket" "xnet" "socket -lxnet" ; do +- AC_CHECK_LIB("$pisock_libs", +- pi_accept, +- [LIBPISOCK="-l$pisock_libs" +- HAVE_PISOCK=1 +- break +- ], +- []) +- done +- CPPFLAGS="$ac_save_cppflags" ++ LIBPISOCK_PATH="/usr/local/pilot/lib" ++ LIBPISOCK="-lpisock" + fi + + if test "$HAVE_PISOCK" = "0" ; then diff -ur --new-file /usr/ports/deskutils/kdepim/pkg-plist ./pkg-plist --- /usr/ports/deskutils/kdepim/pkg-plist Thu Aug 16 09:57:34 2001 +++ ./pkg-plist Thu Oct 4 10:46:20 2001 @@ -1,8 +1,18 @@ +bin/abbrowser_conduit bin/alarmd +bin/conduitExpense +bin/conduitKNotes bin/ical2vcal bin/kandy bin/kandy_client bin/korganizer +bin/kpilot +bin/kpilotDaemon +bin/null_conduit +bin/pilotListener +bin/popmail_conduit +bin/todoconduit +bin/vcalconduit include/ical.h include/icalss.h include/kgantt/KGantt.h @@ -93,6 +103,8 @@ lib/libvcard.so.0 share/applnk/Applications/korganizer.desktop share/applnk/Utilities/kandy.desktop +share/applnk/Utilities/kpilot.desktop +share/applnk/Utilities/kpilotdaemon.desktop share/apps/kandy/default.kandy share/apps/kandy/kandymobileui.rc share/apps/kandy/kandyui.rc @@ -208,6 +220,11 @@ share/apps/korganizer/sounds/onscreen.wav share/apps/korganizer/sounds/spinout.wav share/apps/korganizer/tips +share/apps/kpilot/icons/hicolor/16x16/actions/backup.png +share/apps/kpilot/icons/hicolor/16x16/actions/fastsync.png +share/apps/kpilot/icons/hicolor/16x16/actions/hotsync.png +share/apps/kpilot/icons/hicolor/16x16/actions/restore.png +share/apps/kpilot/kpilotui.rc share/autostart/alarmd.desktop share/config/korganizerrc share/doc/HTML/en/kandy/common @@ -270,9 +287,20 @@ share/doc/HTML/en/kpilot/toolbar_hotsync.png share/icons/hicolor/16x16/apps/kandy.png share/icons/hicolor/16x16/apps/korganizer.png +share/icons/hicolor/16x16/apps/kpilot.png share/icons/hicolor/32x32/apps/kandy.png share/icons/hicolor/32x32/apps/korganizer.png +share/icons/hicolor/32x32/apps/kpilot.png share/icons/hicolor/48x48/apps/korganizer.png +share/icons/locolor/16x16/apps/kpilot.xpm +share/services/abbrowser_conduit.desktop +share/services/expense-conduit.desktop +share/services/knotes-conduit.desktop +share/services/null-conduit.desktop +share/services/popmail-conduit.desktop +share/services/todo-conduit.desktop +share/services/vcal-conduit.desktop +share/servicetypes/kpilotconduit.desktop @dirrm share/icons/hicolor/48x48/apps @dirrm share/icons/hicolor/32x32/apps @dirrm share/icons/hicolor/16x16/apps @@ -281,18 +309,32 @@ @dirrm share/doc/HTML/en/kandy @dirrm share/config @dirrm share/autostart +@dirrm share/apps/kpilot/icons/hicolor/16x16/actions +@dirrm share/apps/kpilot/icons/hicolor/16x16 +@dirrm share/apps/kpilot/icons/hicolor +@dirrm share/apps/kpilot/icons +@dirrm share/apps/kpilot @dirrm share/apps/korganizer/sounds @dirrm share/apps/korganizer/icons/hicolor/32x32/actions @dirrm share/apps/korganizer/icons/hicolor/32x32 @dirrm share/apps/korganizer/icons/hicolor/22x22/actions/emptybox @dirrm share/apps/korganizer/icons/hicolor/22x22/actions/checkedbox @dirrm share/apps/korganizer/icons/hicolor/22x22/actions +@dirrm share/apps/korganizer/icons/hicolor/22x22 @dirrm share/apps/korganizer/icons/hicolor/16x16/actions +@dirrm share/apps/korganizer/icons/hicolor/16x16 @dirrm share/apps/korganizer/icons/hicolor +@dirrm share/apps/korganizer/icons @dirrm share/apps/korganizer @dirrm share/apps/kgantt/icons/hicolor/32x32/actions +@dirrm share/apps/kgantt/icons/hicolor/32x32 @dirrm share/apps/kgantt/icons/hicolor/22x22/actions +@dirrm share/apps/kgantt/icons/hicolor/22x22 @dirrm share/apps/kgantt/icons/hicolor/16x16/actions +@dirrm share/apps/kgantt/icons/hicolor/16x16 +@dirrm share/apps/kgantt/icons/hicolor +@dirrm share/apps/kgantt/icons +@dirrm share/apps/kgantt @dirrm share/apps/kandy @dirrm share/applnk/Utilities @dirrm share/applnk/Applications >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?200110032301.f93N1SZ87952>