1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
Commit Graph

88 Commits

Author SHA1 Message Date
Dmitry Sivachenko
6845ee0376 Set DIST_SUBDIR=KDE 2001-09-10 20:22:28 +00:00
Akinori MUSHA
23a999b22b Make CATEGORIES and MAINTAINER overridable for japanese/kde*.
Approved by:	kde (will), demon (MAINTAINERs)
2001-08-30 18:56:50 +00:00
Will Andrews
174743bd5d Add patch for kdoctools/xml2man.cpp, similar to xslt.cpp patch.
Bump PORTREVISION just in case this is needed.

From Mikhail Teterin:
> Well, for  the same reason the  xslt.cpp sometimes works --  in fact, it
> worked for everyone, until someone tried it on current.
>
> In essence, the code  reads the whole file into a  buffer. It then tries
> to  turn that  buffer into  one of  qt's string-objects  (QCString). The
> class'  constructor  they chose  assumes,  it  is  passed a  valid  (aka
> \0-terminated) string and goes through  the buffer looking for the first
> 0-byte. The  file itself  does not  contain any,  so it  happily wonders
> behind the real end of the buffer  until it either finds a stray 0-byte,
> or seg-faults, trying to read a wrong page.
>
> Apparently,  more often  than  not, some  stray 0-byte  is  there --  no
> surprise. But  it will usually  create a  string that's longer  than the
> file size -- unless  the 0-byte happens to be right there  at the end of
> the  buffer.  Apparently, the  lamer, who  wrote it,  noticed  something
> strange, so he/she  explicitly truncates the created  QCString object to
> the known size of the file after instantiation:
>
>       contents.truncate(xmlFile.size())
>
> My patch  modifies the code to  use the correct QCString  constructor --
> the one,  that accepts  the maximum  size of the  string. This  does the
> right  thing  -- once  it  reaches  the end  of  the  buffer, it  stops,
> allocates the private storage (I hate  C++ for all this buffer copying),
> appends  the 0-byte  and creates  the object  of the  expected size.  No
> truncation is needed....

Thanks to Mikhail for his debugging on this problem; this patch further
removes the hazard of meinproc coredumps.

Submitted by:	mi
2001-08-29 23:16:13 +00:00
Will Andrews
d3762340a3 Fix problem with meinproc coredumping on -CURRENT. Basically what the
problem is is that there are a few sloppy pieces of code in xslt.cpp.
Bump PORTREVISION to account for recent changes (I had intended to do this
much earlier, but wanted to include these patches first, and there was
a problem getting them together correctly).

Submitted by:	mi
Tested by:	dwcjr, petef
2001-08-29 01:53:47 +00:00
Will Andrews
c2ca15ccb1 Fix problem where kdelibs.sh isn't chmod 755.. this causes some filters
and other stuff to fail.  *sigh*
2001-08-28 23:23:59 +00:00
Will Andrews
93c87329b0 Move code designed to prevent people from compiling/installing KDE N.x
when KDE (N+1).x (N = radix 2, shift 1, order 1) is installed to
pre-extract so one can still download the distfiles for (N+1).x.

PR:		30167
Submitted by:	Thierry Thomas <thierry@thomas.as>
2001-08-28 23:08:12 +00:00
Will Andrews
fe68eec3e2 Reassign MAINTAINER to kde@FreeBSD.org, a group formed specifically to
maintain and improve QT/KDE on FreeBSD.  This group (at this time)
consists of:  demon, olgeni, kevlo, lauri@kde.org, rwatson, and will.

While I'm here, fail build of kdelibs11 if kdelibs2 is installed.  This
was originally supposed to be committed with the 2.2 update, but...
2001-08-25 02:17:59 +00:00
Akinori MUSHA
3d74bebb83 Conditionalize the dependency on bzip2. 2001-08-24 15:33:50 +00:00
Jimmy Olgeni
0d80776d04 Add dependency on devel/pcre, it is required by Konqueror to implement
regular expressions in javascript.
2001-08-18 23:49:50 +00:00
Will Andrews
caf76db679 Bump PORTREVISION for SSL fix.
Submitted by:	Tadayuki OKADA <tadayuki@mediaone.net>
2001-08-17 18:07:26 +00:00
Will Andrews
b4a7c57e95 *sigh* They changed the path to the tarballs again. This was verified
on my local mirror at ftp://csociety-ftp.ecn.purdue.edu/pub/kde/.  :\

Submitted by:	scottl
2001-08-15 16:25:13 +00:00
Will Andrews
3901adbb04 Update to KDE 2.2:
* All patches except sysutils/kdeadmin/files/patch-rpmMessages.c:
	- Either obsoleted or merged into KDE.
 * All pkg-plists:
	- Huge diffs are due to mass conversion from static HTML pages
	  to XML/XSL versions.
 * audio/kdemultimedia2:
	- aRts + Noatun, etc. now work and play MP3s et al properly,
	  using the mpg123 aRtsplugin.  Remove mpeglib[,_artsplug]
	  from compile.
 * converters/kdesupport2:
	- Obsolete.  No longer used in this version of KDE.
 * deskutils/kdepim:
	- Use autoconf and account for brokenness in the configure
	  script by replacing invocations of INSTALL under libical
	  with the proper incantations.
	- Per David O'Brien's request, move libimap to libkimap;
	  this was performed by Rik Hemsley <rikkus@kde.org>.
 * devel/kdesdk:
	- New module with some helpful tools.  One in particular that
	  seems demanded is ``kbabel'', which, as I've been told, is
	  a translator's wet dream.
	- Workaround dumb problem in kbabel's libgettext (which I could
	  not figure out how to remove) by replacing its error() with
	  errc().  KBabel seems to run fine with this patch.
 * devel/kdevelop:
	- Fix lame check for libkdeui.so.* by replacing it with just
	  a check for libkdeui.so.  It's been/being removed from
	  kdevelop after 2.2.
 * editors/koffice:
	- Fix kivio compile errors by substituting in PTHREAD_LIBS
	  in the correct place.  Compensate for kivio's dependency
	  on pthreads by changing kivio to use LD_PRELOAD=/usr/lib/libc_r.so
	  in kivio.desktop.
 * games/kdegames2:
	- Some new games.
 * graphics/kdegraphics2:
	- Fix link errors in libkscan and kamera where they
	  require gettext (ie: add -lintl).
	- Fix compile error in kamera.cpp which is dependent on a
	  correctly done gphoto2.. of course, this will only help
	  people who've manually installed gphoto2 themselves.
 * net/kdenetwork2:
	- Mimelib was moved here (reason for removal of kdesupport2).
 * misc/kdeaddons:
	- New module to FreeBSD ports; some simple addons for KDE2.
	  Suggested by Lauri Watts <lauri@kde.org>.
 * misc/kdeutils2:
	- Added a couple manpages.
 * x11-clocks/kdetoys2:
	- Some new apps.
 * sysutils/kdeadmin:
	- Remove kuser from compile because it has some problems.  ;\
 * x11/kdelibs2:
	- Add libFAM dependency to help people who run FAM; FAM
	  increases the overall desktop responsiveness.
	  Submitted by Lauri Watts <lauri@kde.org>.
	- Add CUPS dependency to bring in KDE's new print system.
	- Add bzip2/libxml2 dependencies to support the new help kioslave.
	- Disable installation of libltdl stuff to prevent conflicts
	  with other stuff.  Submitted by wjv.
	- Add pkg-req script to avoid conflicts with kdelibs11; add
	  to Makefile too.  Submitted by benno.
	- Be sure to remove the pth header conflicts stuff from the
	  arts/mcop_mt section.
	- Fix problem with configure trying to find -lfam in the
	  wrong place.
	- Remove kspell and api subdirs from doc; we don't need them,
	  and there are problems trying to build/install them.
	  Submitted by Lauri Watts <lauri@kde.org>.
 * x11/kdebase2:
	- Solve link permissions problem by changing the modes on
	  files installed by kdesktop/init/Templates to 644.
	  Submitted by Jim Durham <durham@w2xo.pgh.pa.us>.
 * x11/kde2:
	- Bump version; no other changes.

Special thanks to Lauri Watts <lauri@kde.org> for helping me test
packages generated by these changes on a virgin system.  I believe
that this is the best-tested update I've ever done for KDE, and it
really shines this time around.

I just noticed there are a couple other PRs in the PR db that need
to be addressed.  I will take care of those by tomorrow.  Sorry...

PR:			22735, 28549
Blanket approval by:	demon (kdesdk, kdevelop)
2001-08-15 12:43:08 +00:00
Will Andrews
94dd96a7db Please bento some more. 2001-07-03 01:37:05 +00:00
Will Andrews
3d31c33e2e Upgrade to 2.1.2 (kdelibs only): fix security issues (already fixed in the
port, but now we remove a patch :), remove a lot of obsolete patches.  I'm
not sure why I didn't notice that coolo@kde.org fixed the midfile.cc one
about six months ago... ;)

Submitted by:	many people
2001-05-08 06:57:26 +00:00
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
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
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
Kevin Lo
a03c488a18 kio8-* encoding improvement
Submitted by: mi@aldan.algebra.com
2001-01-05 06:20:31 +00:00
Kevin Lo
f4acc5c7e9 Add PORTREVISION bump.
Thanks kris@
2000-12-22 06:01:07 +00:00
Kevin Lo
7103bd0985 Fix CATEGORIES.
Noticed by Vivek Khera <khera@kciLink.com>
2000-12-18 02:23:12 +00:00
Kevin Lo
cef8910eaa Upgrade to 2.0.1 2000-12-12 03:02:24 +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
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
a05e34d946 Oops, forgot bsd.port.pre.mk/bsd.port.post.mk (the previous commit was
obviously untested, sorry).

Submitted by:	FreshPorts (via Dan Langille <dan@langille.org>)
2000-10-29 00:21:14 +00:00
Will Andrews
afb8e1a19d Take a shot at mentioning what kind of OpenSSL support we have, since KDE2
does not support OpenSSL <= 0.9.4.  Also add USE_OPENSSL, to keep people
who don't have it installed from using the port.  Perhaps that should be a
knob, in case people have some legitimate reason not to have OpenSSL.
2000-10-28 23:43:04 +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
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
Maxim Sobolev
55a61bb102 Correct CATEGORIES - make first category in the CATEGORIES list matching parent
directory.
2000-10-04 06:40:08 +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
47c9d931a6 Fix CATEGORIES and change the libkmid shlib symlink to 0.
Submitted by:	Valeriy E. Ushakov <uwe@ptc.spbu.ru> (CATEGORIES)
2000-09-14 01:18:54 +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
Will Andrews
ad0ed0dd04 Fix my not-tested-enough KDE2-related ports. :-(
After short discussion with Imura-san, back out GIF-by-default until I can
confirm whether or not there are license issues with Unisys.  I will deal
with this later.  I should note that I'd committed to qt2[12] previously
without conferring with him on the GIF issue first.

One big ouchie: I didn't even set MASTER_SITE/MASTER_SITE_SUBDIR on qt22
properly.. but oh well.  Nobody's perfect.  :-)

Things should be un-broken now.. please test these ports!  I'll be trying
to update them to a new snap after a week or so.

Pointy hat:				will
Patches graciously submitted by:	nra
2000-07-30 02:00:50 +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
Maxim Sobolev
6db96c0500 Bump png shared library version.
Submitted by:	Hajimu UMEMOTO <ume@mahoroba.org>
2000-07-04 07:13:35 +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
Satoshi Asami
cdbd8f2b09 Remove extra \ at end of line.
Reported by:	bento
2000-06-01 16:43:22 +00:00
Will Andrews
c98e6c62ac Okay, okay. Yet Another Silly Blunder by myself. I should try to get
more sleep before doing things like this.

Submitted by:	a million people... :-)
2000-05-29 19:49:45 +00:00
Will Andrews
37399bab43 This should fix all the compile problems bento (and others probably) has
with missing .so's.  I'm not sure how I left this out in the original
import since this stuff was in kdelibs11.  :-(

Found by:	bento
2000-05-29 01:01:22 +00:00
Will Andrews
f9e20bb846 Oops, I forgot to add MOC to CONFIGURE_ENV, which should be what's causing
initial problems building kdelibs2.

Submitted by:	Mohit Aron <aron@cs.rice.edu>
2000-05-17 23:15:07 +00:00
Will Andrews
84d3c8bc75 Update to KDELIBS 1.90, aka KDE2 beta. Let the fun begin!
Repo-copy by:	asami
2000-05-16 22:09:00 +00:00
Chris Piazza
fe5426321a Update to use PORTNAME/PORTVERSION 2000-04-13 19:19:05 +00:00
Will Andrews
a0b12bb2ea I forgot to remove GNU_CONFIGURE, as it is now implied by the newly-added
USE_LIBTOOL hook. This does not change anything.

Submitted by:	Andrzej Tobola <san@tmp.iem.pw.edu.pl>
2000-04-03 07:12:36 +00:00
Will Andrews
a0b83061a7 Back in USE_LIBTOOL now that we have libtool 1.3.4 in the ports tree.
This should fix the build for 5.0-CURRENT (as tested on my -current
and -stable machines).

Submitted by:	reg (parts of it)
2000-04-03 00:37:32 +00:00
Will Andrews
246fe3cbb8 Back out USE_LIBTOOL. This thing isn't working. I'll have to do some more
work to ensure that LIBTOOL works properly next time I commit something to
fix this. :-(

Hopefully this will stop all the complaints that have flooded my mailbox.
2000-03-25 21:49:47 +00:00
R. Imura
3daf5ca497 Doing KDE style mtree in kdelibs.
OK'd by:	will
2000-03-25 16:14:50 +00:00
Will Andrews
add2ed7652 Emergency add ${PREFIX}/lib/libkdecore.la so kde ports install properly.
Once we have had time to discuss whether this is the best method to solve
the broken configure behavior on most KDE ports, we will decide whether
to keep this commit or not.

Complained about by:	scrappy
2000-03-23 22:22:23 +00:00