Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Feb 1998 00:51:28 +0100
From:      Stefan Esser <se@FreeBSD.ORG>
To:        Doug White <dwhite@resnet.uoregon.edu>, Cowan Bowman <cowan@mirageport.com>
Cc:        FreeBSD Ports <freebsd-ports@FreeBSD.ORG>, FreeBSD Questions <freebsd-questions@FreeBSD.ORG>, Stefan Esser <se@FreeBSD.ORG>
Subject:   Re: Have KDE ports been updated to Beta3?
Message-ID:  <19980221005128.37158@mi.uni-koeln.de>
In-Reply-To: <Pine.BSF.3.96.980220142629.17705D-100000@gdi.uoregon.edu>; from Doug White on Fri, Feb 20, 1998 at 02:28:46PM -0800
References:  <010201bd3dab$860ad240$235e86cc@hercules.mirageport.com> <Pine.BSF.3.96.980220142629.17705D-100000@gdi.uoregon.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1998-02-20 14:28 -0800, Doug White <dwhite@gdi.uoregon.edu> wrote:
> On Thu, 19 Feb 1998, Cowan Bowman wrote:
> 
> > Doug White wrote:
> > >Most of the ports have been updated; kdenetwork is currently marked BROKEN
> > >until it's updated.
> > 
> > 
> > What part of it is broken, I was able to get the source from kde.org to
> > compile just fine on my 2.2.5 machine.  Although I haven't tested everything
> > about KDE yet to see anything broken.
> 
> Hm, you must have gotten the mimelib stuff along the way -- that's what
> I'm missing. Do you know if it came through kdesupport?  

We've got MIMELIB, which is identical to MIMEPP, except 
for the names ...
(I worked around this by creating two symbolic links from
within the port's Makefile, see appended Makefile.)

> The kdenetwork maintainer contacted me privately and I've been trying to
> sort the mimelib out, hopefully it'll come though in the port.  

See the appended patches, which make kdenetwork compile,
except for the private member problem in nntp.ccp ...

> The major problem I had with kde (actually configure) was that it didn't
> search /usr/local/include & /usr/local/lib.

That's taken care of in the CONFIGURE_ARGS which I pass
from the port Makefile. Same as in kdebase, for example.

The following is a concatenation of all the patches for
the kdenetwork port:

*** ltconfig~	Fri Oct 10 01:06:48 1997
--- ltconfig	Sat Nov  1 23:02:29 1997
***************
*** 982,986 ****
  freebsd2* | freebsd3*)
    version_type=sunos
!   library_names_spec='$libname.so.$versuffix $libname.so'
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    shlibpath_var=LD_LIBRARY_PATH
--- 982,986 ----
  freebsd2* | freebsd3*)
    version_type=sunos
!   library_names_spec='$libname.so.$versuffix'
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    shlibpath_var=LD_LIBRARY_PATH
*** configure~	Sun Oct 26 01:04:56 1997
--- configure	Sat Nov  1 23:03:17 1997
***************
*** 2039,2043 ****
  do
    for ac_extension in a so sl; do
!     if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
        ac_x_libraries=$ac_dir
        break 2
--- 2039,2043 ----
  do
    for ac_extension in a so sl; do
!     if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension*; then
        ac_x_libraries=$ac_dir
        break 2
*** kmail/Makefile~	Sun Feb 15 19:16:08 1998
--- kmail/Makefile	Sun Feb 15 19:16:12 1998
***************
*** 123,127 ****
  SUBDIRS = pics doc
  INCLUDES = $(all_includes)
! LDADD	= $(all_libraries) -lkhtmlw -ljscript -lkdeui -lkdecore -lqt -lXext -lX11 -lgif  $(LIBJPEG) -lmimelib $(LIBSOCKET)
  
  bin_PROGRAMS = kmail
--- 123,127 ----
  SUBDIRS = pics doc
  INCLUDES = $(all_includes)
! LDADD	= $(all_libraries) -lkhtmlw -ljscript -lkdeui -lkdecore -lqt -lXext -lX11 -lgif  $(LIBJPEG) -lmimepp $(LIBSOCKET)
  
  bin_PROGRAMS = kmail
*** krn/Makefile~	Sun Feb 15 19:17:51 1998
--- krn/Makefile	Sun Feb 15 19:04:11 1998
***************
*** 123,127 ****
  INCLUDES = $(all_includes)
  
! LDADD = $(LIBCOMPAT) $(LIBSOCKET) $(all_libraries) -lkfm -lkhtmlw -ljscript -lkdeui -lkdecore $(LIBJPEG) -lgif -lqt -lXext -lX11 -lmimepp -luulib -lgdbm $(KDE_RPATH)
  
  ICONDIR = $(kde_icondir)
--- 123,127 ----
  INCLUDES = $(all_includes)
  
! LDADD = $(LIBCOMPAT) $(LIBSOCKET) $(all_libraries) -lkfm -lkhtmlw -ljscript -lkdeui -lkdecore $(LIBJPEG) -lgif -lqt -lXext -lX11 -lmimelib -luulib -lgdbm $(KDE_RPATH)
  
  ICONDIR = $(kde_icondir)

And here comes the Makefile:

# --- cut here ---- 8< ---- cut here ---- 8< ---- cut here ---- 8< ---
# New ports collection makefile for:   kdenetwork
# Version required:    Beta3
# Date created:        28 October 1997
# Whom:                Stefan Eßer <se@freebsd.org>
#
# $Id: Makefile,v 1.5 1998/02/18 08:43:21 asami Exp $
#

DISTNAME=	kdenetwork-Beta3-1
PKGNAME=	kdenetwork-3.1b
CATEGORIES=	net kde
MASTER_SITES=	ftp://ftp.net.lut.ac.uk/kde/stable/Beta3/distribution/tgz/source/ \
		ftp://ftp.uni-erlangen.de/pub/Linux/MIRROR.KDE/stable/Beta3/distribution/tgz/source/ \
		ftp://ftp.caldera.com/pub/mirrors/kde/stable/Beta3/distribution/tgz/source/
EXTRACT_SUFX=	.src.tar.gz

MAINTAINER=	se@freebsd.org

BUILD_DEPENDS=	moc:${PORTSDIR}/x11/qt \
		${PREFIX}/lib/libmimepp.a:${PORTSDIR}/converters/mimepp \
		${PREFIX}/lib/libgdbm.a:${PORTSDIR}/databases/gdbm
LIB_DEPENDS=	qt\\.1\\.3[1-9]:${PORTSDIR}/x11/qt \
		gif\\.[23]\\.:${PORTSDIR}/graphics/giflib \
		jpeg\\.[67]\\.:${PORTSDIR}/graphics/jpeg \
		uu\\.1\\.:${PORTSDIR}/converters/uulib \
		kdecore\\.0\\.9[0-9]:${PORTSDIR}/x11/kdelibs \
		kdeui\\.0\\.9[1-9]:${PORTSDIR}/x11/kdelibs \
		jscript\\.0\\.9[0-9]:${PORTSDIR}/x11/kdelibs \
		khtmlw\\.0\\.9[1-9]:${PORTSDIR}/x11/kdelibs \
		kfm\\.0\\.9[0-9]:${PORTSDIR}/x11/kdelibs \
		mediatool\\.0\\.[6-9]:${PORTSDIR}/x11/kdelibs

BROKEN=		needs to be updated to beta3
HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	"--prefix=$(PREFIX)" \
		"--with-extra-includes=$(PREFIX)/include/giflib"
CONFIGURE_ARGS+="--with-install-root=/async/tmp/kde"

CONFIGURE_ENV=	CXXFLAGS="$(CFLAGS)" \
		INSTALL_SCRIPT="install -c -m 555"

WRKSRC=		${WRKDIR}/kdenetwork

pre-configure:
		ln -s $(PREFIX)/include/mimepp $(WRKSRC)/mimelib
		ln -s $(PREFIX)/include/uu.h $(WRKSRC)/krn/uudeview.h
		
.include <bsd.port.mk>
# --- cut here ---- 8< ---- cut here ---- 8< ---- cut here ---- 8< ---

Regards, STefan

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



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