Commit Graph

85 Commits

Author SHA1 Message Date
Will Andrews
dbba8af644 Overhaul QT/KDE support:
- bsd.port.mk update to use bsd.kde.mk for USE_{QT,KDE}*
- Cleanup corresponding ports for bsd.kde.mk update.
- Fix bsd.kde.mk: use correct kdelibs dependency, put qt at the bottom,
  introduce QT_NONSTANDARD variable for nonstandard configure setup.
- Update KDE2 to 2.1.1.  Two patches included in x11/kdelibs2 to fix the
  proxy authentication that was broken for 2.1.1.  Remove old patches.
- Potentially fix kdelibs build for alpha.
- Fix qt-designer 2.3.0 build.
- Ruby stuff left alone since it looks like black magic to me.  Should
  still work w/ compat shims for older USE_QT[,2] style.  Some others
  were also left alone for the same reason.

Reviewed by:	portmgr, ports (bsd.kde.mk+bsd.port.mk)
Submitted by:	David Faure <faure@kde.org> (proxy auth patches)
		Alex Zepeda <garbanzo@kde.org> (old patches removal)
2001-04-03 08:14:43 +00:00
Will Andrews
a471e363f8 Thought I removed these PTHREAD_* things from the Makefile. FWIW, the
reason it worked for me is because PTHREAD_* weren't in bsd.port.mk at
the time testing was done.
2001-03-27 04:10:03 +00:00
Will Andrews
cd5ac27b08 Bring in my fixes for KDE2 for users of XFree86 4.0.x. Basically, what
this involves is this:  Cull GL from Qt by default, but still provide a
Qt+GL library that may or may not have threads.  Then also provide a Qt
library that has threads but not GL.  This allows us to make KDE2 depend
on a library that will *not* have threads, ever.  Threads will be
revisited at a later date.  Ports that require GL support need to be
updated to use the hacked library, libqtgl.so.4.  The net result is that
we bloat our qt2 package by 1.5-2.5MB for compatability.  Also, static
qt will not have GL support.

Introduce bsd.kde.mk, which will be tested on bento before becoming
fully activated.

Replace qt22-static with qt2-static, since it's just a proxy.  Update
qt-designer to depend on qt23.  Also make the old hack to package the
correct lib obsolete by using PLIST_SUB instead.

Miscellaneous changes:  remove LIBQTFILE from CONFIGURE_ENV, it's not
used anymore.  Solve namespace pollution problems with the devel/pth and
devel/libgnugetopt ports.  Hopefully.

Suggested by:	ade, asami, sobomax (bsd.kde.mk)
Repocopied by:	asami (qt22-static --> qt2-static)
2001-03-24 22:15:59 +00:00
Will Andrews
3c4896e2d7 Bring in my KDE 2.1 + X 4.0.2 + threads "fixes". WARNING: Doesn't quite
work right yet.  This needs other eyes to look at in order for me to figure
out what's going on here.  Help, please?

Basically, the current situation is this:  You can hack the startkde
script to make KDE2 start all the way through, which basically consists of
simply replacing the kdeinit line with "kcminit".  However, at certain
points after KDE is done setting things up, processes named "kdeinit" that
are in charge of certain apps go crazy and hit infinite loops somewhere.  I
haven't been able to determine where exactly, and if this is related to
threads at all, or if a critical app or similar somehow doesn't get compiled
with threads.  Or something like that.  *sigh*

Konqueror can startup and seems to work okay in a different window manager,
but it seems to randomly set off a kdeinit proc as above.

Anyhow, this is 2 weeks' worth of debugging on a 4-month-old problem.  If
you're using XFree86 4.0.2, I caution against trying this stuff out unless
you're going to help me out and are willing to help me figure out exactly
where the heck things are going awry.  Things should still compile and work
just fine for those on XFree86 3.3.6.  I decided to leave out these hacks
in nonessential stuff (like kdenetwork et al) because kde2 itself needs to
work with threads first.  =)

I guess I can thank my lucky stars JKH's decided to stick with 3.3.6 until
some point in the future when 4.0.x becomes more stable...
2001-03-13 09:48:11 +00:00
Will Andrews
1cc199213a Fix plist. Kevin!!!! ;-)
Prodded by:	fenner/obento
2001-03-11 01:24:10 +00:00
Kevin Lo
7527c43abd Disable OpenLDAP support by default
Approved by: will
2001-03-08 07:06:51 +00:00
Kevin Lo
b412f93213 Fix pkg-plist
Approved by: will
2001-03-08 03:56:43 +00:00
Will Andrews
a9664049c0 Fix build problem with kio_ldap where it was including <time.h> instead
of <sys/time.h> (for $DEITY knows why reason); fix kinfo_proc meddling in
ProcessList.c.

Reported by:	MANY (ldap problem), mi, msmith (kinfo_proc)
Submitted by:	Sven Petai <hadara@online.ee> (partial patch for kinfo_proc,
		I added __FreeBSD_version #ifdefs and cleaned it up a bit)
2001-03-05 14:11:17 +00:00
Will Andrews
34849535be Attempt to fix conflicts with a local getopt.h (specifically, the fix is
for libgnugetopt's getopt.h).  Not tested, but should work.
2001-03-05 12:17:08 +00:00
Will Andrews
26121d15ae Lo and behold, welcome KDE 2.1 to our ports tree. As a direct result of
the KDE team's excellent work, I am initiating burn sequence for KDE
1.x.  All base KDE1 ports are hereby nuked.  I am also reluctantly
reassuming maintainership of the KDE2 ports.  Official KDE 2.1 packages
built for FreeBSD 4.2-STABLE w/ XFree86 4.0.2 are available on KDE's
official ftp mirrors now.  Enjoy!

Note:  It seems that the KDE people rerolled their kdelibs and kdebase
packages, and a quick examination of diffs reveal minor changes, but the
port should still work.  I'll fix the packaging problems that bento runs
into.

Approved by:	kevlo
2001-02-26 19:24:49 +00:00
Jimmy Olgeni
2cac1647f9 Style fixes for ports/x11. 2001-02-05 16:18:54 +00:00
Coleman Kane
8fdc4ba31e Update to allow ksysguard to compile from KDE 2.0 using -CURRENT
500015+. The kinfo_proc struct changed, and this accomidates that
change on -current. KDE 2.0 now compiles again.

Approved by: kevlo
2001-01-28 08:46:22 +00:00
Kevin Lo
cef8910eaa Upgrade to 2.0.1 2000-12-12 03:02:24 +00:00
Kevin Lo
54fa8c1be3 Fix eject device.
Submitted by: Vivek Khera <khera@kciLink.com>
2000-12-01 07:36:07 +00:00
Will Andrews
183f2a3017 Resign as maintainer of KDE2 ports, having brought them up from inception
to the final release of KDE 2.0.  Kevin Lo <kevlo@FreeBSD.org> will continue
as the new maintainer.  He has commit privileges on the KDE tree, making him
an excellent candidate for this job.  I'll be behind the scenes for awhile,
since there are some structural changes I'd like to make but I'd rather have
Kevin do the work.  Please, people, direct your patches at Kevin and watch
his "freetime deprivation process" _really_ start.  :-P
2000-11-17 18:24:40 +00:00
Will Andrews
a5f9327eda Add patch to fix konsole crashes. Has been submitted to the KDE team.
PR:		22555
Submitted by:	nsayer
2000-11-02 22:54:02 +00:00
Satoshi Asami
c9460e4587 Remove 8 files that aren't build on everyone's systems.
Submitted by:	bento
2000-11-01 21:40:49 +00:00
Will Andrews
8a3f152680 Oops, forgot to remove -lqt2 along with -L${X11BASE}/lib, to allow people
to compile on X4.0.1.

Submitted by:	Andrzej Tobola <san@tmp.iem.pw.edu.pl>
2000-10-29 03:09:49 +00:00
Will Andrews
93d5d50b4c Implement fix for configure scripts in regards to finding X libs on
XFree86 4.0.1.

Submitted by:	PW (thanks)
2000-10-28 23:22:16 +00:00
Will Andrews
618f8e2ca7 Fix KDE2 PLISTs and build for kdelibs. 2000-10-28 23:11:35 +00:00
Will Andrews
a80e044100 Update to QT 2.2.1 / KDE 2.0 final release. At last! What a long road...
All KDE2 ports now use default USE_QT2.  Still todo: Merge in MTREE stuff.
2000-10-25 03:33:54 +00:00
Will Andrews
72115b5926 Fix PLIST bogons.
Submitted by:	onigiri
2000-09-23 00:38:50 +00:00
Will Andrews
c70c66363e Update to KDE 1.94, the fifth and final beta release of KDE 2.0. If you
have not tried KDE 2.0 or haven't done so in awhile (i.e. since July or
before), you should try this.  This version is extremely stable and offers
better functionality than before.  This update also introduces the KDE2
modules kdegraphics and kdemultimedia to our ports tree.  Additionally,
this marks the first time FreeBSD packages were announced as part of the
KDE2 beta release announcement!  :-)

Most (if not all) of the remaining modules in KDE2 will be added for the
update WRT the final release.

A hack was added to fix building with SSL in kdelibs; this has been merged
in the main tree and will go away with 2.0 release update.  Thanks to David
Faure <david@mandrakesoft.com> for his help regarding this.

Also, building the docs should now succeed because I've added a build
dependency on jade and linuxdoc (should be enough).

People can get my precompiled packages from the usual location on the KDE
FTP server (should spread to the mirrors Real Soon Now (tm)):

	http://ftp.kde.org/pub/kde/unstable/distribution/2.0Beta5/tar/FreeBSD/

Have fun!  Remember to reports bugs through http://bugs.kde.org/.
2000-09-15 21:40:47 +00:00
Will Andrews
763de026f3 Update to 20000829A snapshot. Disable kdenetwork2 for the time being so
I can address some of its issues (should see it marked un-broken in about
3 hours, if they're trivial enough).  It took too long to get this update
out the door... :-(

This is a rather stable version of KDE2.  Release is hoped for sometime
next month, so I'm going to try to reroll snapshots this weekend.

Also decide policy by removing the interactive requirement in qt22's
configure script.  I don't know why they bothered adding it there..

Bugged by:	*many* bug-reports, requests, etc.
2000-08-29 23:44:32 +00:00
Satoshi Asami
c6bcad2436 (1) Add new variable, XFREE86_VERSION, to specify which version of
XFree86 (3 or 4) to depend to when USE_XLIB is set.
    XFREE86_VERSION defaults to 3 for now, but adventurous users can
    override it in /etc/make.conf.  When XFREE86_VERSION=3, USE_XLIB
    will add a dependency to x11/XFree86; when it is set to 4, the
    dependency will be to x11/XFree86-4-libraries.  When
    XFREE86_VERSION=4, the PKG_IGNORE_DEPENDS and ALWAYS_BUILD_DEPENDS
    hacks to avoid messing with XFree86 are turned off.

    Since XFree86 version 4 includes some software that used to be
    separate ports, when XFREE86_VERSION=3 the following variables are
    provided:

    USE_DGS		LIB_DEPENDS on x11/dgs
    USE_FREETYPE	LIB_DEPENDS on print/freetype
    USE_MESA		LIB_DEPENDS on graphics/Mesa3
    USE_XPM		LIB_DEPENDS on graphics/xpm

    When XFREE86_VERSION=4, these variables have no effect.  The
    LIB_DEPENDS in the tree for the above four ports have all been
    converted to the USE_* counterparts.  For your information, this
    is the count of the number of ports:

    USE_DGS		0
    USE_FREETYPE	16
    USE_MESA		36
    USE_XPM		236

    There is a new variable, XAWVER, which is set to 6 when
    XFREE86_VERSION=3 and 7 when XFREE86_VERSION=4.  This is also
    passed to PLIST_SUB so ports that build Xaw based shared libraries
    can use this variable to substitute the shlib version number.

    There is also a provision of using a separate mtree file for
    XFREE86_VERSION=4, but that part is not enabled yet.

Reviewed by:	the ports list
Tested by:	make index (XFREE86_VERSION=3 only)

(2) Add hebrew to list of valid categories.
Submitted by:	nbm
2000-08-03 09:28:57 +00:00
Will Andrews
7c6b0a6ca6 Update to 20000724A (custom-rolled snapshot). Rejoice, because now
Konqueror can load HTML documents, KOffice works semi-well, and KDE2 in
general seems less buggy.  Only kdeutils was left out of this mega-update.
However, it should return soon.  :-)

The massive reduction in patches is mostly the result of using perl
regex replacement.  This reduces the amount of time it will take in the
future to upgrade these ports, and load on the repository.

QT 2.2.0beta0 (aka qt-copy) is officially enabled for the express
purpose of allowing KDE2 to compile.  It is available in the qt22 port.
Additionally, GIF support is re-enabled in both Qt2 ports, so that
people can now read GIF images.  GIF support is enabled through an
internal GIF reader in Qt, and requires no patented libraries.  Special
effort was made to ensure that people do not install both qt21 and qt22
ports at the same time.

I'd like to take a moment to thank the following people for their help:
Alex Zepeda <jazepeda@pacbell.net>, Stephan Kulow <coolo@kde.org>, Harri
Porten <porten@kde.org>, Waldo Bastian <waba@kde.org>, Marc G. Fournier
<scrappy@hub.org>, Arun Sharma <adsharma@sharmas.dhs.org>, Matthias
Hoelzer-Kluepfel <mhk@caldera.de>, and many others.  Over 150 hours of hard
work, testing, etc. were put into this update.  Another couple hundred of
hours were spent by CPUs trying to compile this behemoth.  :->

Special thanks to:	Physics Computer Network @ Purdue staff, especially
			C. Stephen Gunn <csg@physics.purdue.edu>, for giving
			me access to an extremely fast machine for doing
			test builds (it performed 12 full builds of the
			entire suite in the last 7 days).

PR:			18838
Submitted by:		Arun Sharma <adsharma@sharmas.dhs.org>
Approved by:		imura, asami
2000-07-29 02:44:58 +00:00
Satoshi Asami
27198a9808 Mark these BROKEN, they don't compile/run properly.
Submitted by:	maintainer
2000-07-19 17:50:47 +00:00
Satoshi Asami
ffb21b5654 Rename INSTALLS_SHLIBS to INSTALLS_SHLIB. (There was a typo in the
previous commit message to bsd.port.mk, which said INSTALL_SHLIBS.  Boo.)

Line up the rhs of variable assignments nicely.  Remove a couple of extra
whitespaces while I'm here.

Suggested by:	 sobomax
2000-06-16 21:52:40 +00:00
Maxim Sobolev
dc1177a9a5 Fourth round of INSTALLS_SHLIBS conversion. 2000-06-16 08:48:22 +00:00
Kris Kennaway
60a25a1b94 Mark FORBIDDEN due to local buffer overflow in kdesud yielding
gid nogroup (yeah, it's still a security hole)

Submitted by:	Noir Sin <noir@gsu.linux.org.tr> (via Bugtraq)
2000-06-05 06:20:41 +00:00
Will Andrews
c569d3f990 Fix for RELENG_3 systems. Also remove unnecessary USE_XLIB (because it's
included by qt2) and jpeg.9 dependencies.
2000-05-24 00:33:07 +00:00
Will Andrews
25b3cdb628 Update to KDEBASE 1.90 (aka KDE2 beta).
Repo-copy by:	asami
2000-05-16 22:18:56 +00:00
Chris Piazza
fe5426321a Update to use PORTNAME/PORTVERSION 2000-04-13 19:19:05 +00:00
R. Imura
3daf5ca497 Doing KDE style mtree in kdelibs.
OK'd by:	will
2000-03-25 16:14:50 +00:00
Satoshi Asami
8cdbcbd8da Bump shlib versions of kdelibs11 and kdesupport11. 2000-02-24 07:01:14 +00:00
R. Imura
46789bfcb4 Remove giflib dependence.
Only changed giflib -> libungif in kdegraphics.

They realy do NOT want libgif, and do NOT use libgif anywhere.
Some ports are checking its existence in configure, but they
are nonsense at all!!
2000-02-15 13:45:23 +00:00
R. Imura
572a8cf7ee Oops... my last change about kdm had no effect at all.
Hope this will realy fix the problem and I add USE_XLIB.

What's the problem:
  configure script checks if $PATH/X exists and if so define XBINDIR as $PATH.
  In kdebase's package, XBINDIR is hardly embedded in kdm and it doesn't
  work. In last modification, I added $X11BASE/bin to $PATH in Makefile...
2000-01-14 20:24:34 +00:00
R. Imura
a913ab386b It must fix a package's kdm problem and screenlock's problem.
PR:		14205, 14188
1999-12-07 15:46:35 +00:00
Satoshi Asami
9d5699a162 Remove CD-ROM.kdelnk for the fourth time. 1999-09-22 22:59:58 +00:00
Stefan Eßer
833e387518 Update to KDE-1.1.2 1999-09-18 09:02:12 +00:00
Steve Price
2169e434e8 The version number of libgif.so has changed to 5. 1999-09-18 03:12:11 +00:00
Peter Wemm
e17439d50d $Id$ -> $FreeBSD$ 1999-08-31 02:51:23 +00:00
Thomas Gellekum
25490e549c Forget about ${PREFIX}/include/giflib. 1999-05-27 07:32:49 +00:00
Satoshi Asami
f9b6aca71e Categories "misc kde" should be "x11 kde".
Reported by:	imura@cs.titech.ac.jp
1999-05-10 22:50:21 +00:00
Satoshi Asami
a55cc79e7b Remove one file that is not installed. I'm not sure if this is the
correct fix but at least this will get the package build going again.
1999-05-05 07:33:58 +00:00
Stefan Eßer
c6161bba71 Upgrade KDE to Release 1.1.1. 1999-05-03 22:29:39 +00:00
Jacques Vidrine
c1acc95b5a Now that gettext includes a shared library, dependencies should
use it in LIB_DEPENDS.

PR:		 ports/10647
Submitted by:	 Jeremy Lea <reg@shale.csir.co.za>
1999-03-19 04:40:10 +00:00
Satoshi Asami
3d45976da3 Portlint. 1999-02-28 21:48:09 +00:00
David E. O'Brien
732390dac1 MASTER_SITE_SUBDIR was broken. My choices in fixing were either go with
GZIP or BZIP2 distfiles.  I went with BZIP2.
1999-02-28 06:06:25 +00:00
Satoshi Asami
186de0d170 Add build and run depends to msgfmt (gettext). 1999-02-13 01:39:44 +00:00