./kde-base/ 0000755 0001750 0001751 00000000000 07715427243 011106 5 ustar roy roy ./kde-base/kdeutils/ 0000755 0001750 0001751 00000000000 07715427243 012732 5 ustar roy roy ./kde-base/kdeutils/kdeutils-3.0.5b.ebuild 0000644 0001750 0001751 00000000504 07715427243 016546 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeutils/kdeutils-3.0.5b.ebuild,v 1.3 2003/07/16 17:00:57 pvdabeel Exp $
inherit kde-dist
IUSE=""
DESCRIPTION="KDE $PV - utilities"
KEYWORDS="x86 ppc ~alpha sparc"
./kde-base/kdeutils/kdeutils-3.1.3.ebuild 0000644 0001750 0001751 00000000656 07715427243 016413 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeutils/kdeutils-3.1.3.ebuild,v 1.3 2003/08/07 02:57:42 caleb Exp $
inherit kde-dist
IUSE=""
DESCRIPTION="KDE utilities"
#RDEPEND="$RDEPEND app-admin/dosfstools" # for kfloppy
KEYWORDS="~x86 ~ppc"
src_unpack()
{
kde_src_unpack
epatch ${FILESDIR}/${P}-gcc33.diff
}
./kde-base/kdeutils/kdeutils-3.1.2.ebuild 0000644 0001750 0001751 00000000570 07715427243 016405 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeutils/kdeutils-3.1.2.ebuild,v 1.5 2003/07/21 09:28:04 gmsoft Exp $
inherit kde-dist
IUSE=""
DESCRIPTION="KDE utilities"
#RDEPEND="$RDEPEND app-admin/dosfstools" # for kfloppy
KEYWORDS="x86 ppc sparc alpha hppa"
./kde-base/kdeutils/kdeutils-2.2.2-r1.ebuild 0000644 0001750 0001751 00000001017 07715427243 016722 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeutils/kdeutils-2.2.2-r1.ebuild,v 1.5 2003/07/16 17:00:57 pvdabeel Exp $
inherit kde-dist eutils
IUSE=""
DESCRIPTION="KDE $PV - utilities"
KEYWORDS="x86 sparc ppc"
SRC_URI="${SRC_URI}
mirror://kde/security_patches/post-${PV}-${PN}.diff"
src_unpack() {
unpack ${P}.tar.bz2
cd ${S}
epatch ${DISTDIR}/post-${PV}-${PN}.diff
epatch ${FILESDIR}/${P}-gentoo.diff
}
./kde-base/kdeutils/kdeutils-3.0.4.ebuild 0000644 0001750 0001751 00000000472 07715427243 016407 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeutils/kdeutils-3.0.4.ebuild,v 1.5 2003/02/13 12:29:41 vapier Exp $
inherit kde-dist
IUSE=""
DESCRIPTION="KDE $PV - utilities"
KEYWORDS="x86 ppc alpha"
./kde-base/kdeutils/files/ 0000755 0001750 0001751 00000000000 07715427243 014034 5 ustar roy roy ./kde-base/kdeutils/files/digest-kdeutils-3.1.3 0000644 0001750 0001751 00000000104 07715427243 017513 0 ustar roy roy MD5 21f3fa1d110a8cf8cb1a140745f90211 kdeutils-3.1.3.tar.bz2 1382661
./kde-base/kdeutils/files/digest-kdeutils-3.0.5b 0000644 0001750 0001751 00000000105 07715427243 017657 0 ustar roy roy MD5 4e3b780ed2dc9724214e1c3dcc8d7d4c kdeutils-3.0.5b.tar.bz2 1517314
./kde-base/kdeutils/files/kdeutils-3.1.3-gcc33.diff 0000644 0001750 0001751 00000001355 07715427243 020056 0 ustar roy roy diff -urN klaptopdaemon/linux/cistpl.h klaptopdaemon/linux/cistpl.h
--- klaptopdaemon/linux/cistpl.h 2001-03-16 09:29:21.000000000 -0300
+++ klaptopdaemon/linux/cistpl.h 2003-08-05 04:48:49.000000000 -0300
@@ -161,7 +161,6 @@
typedef struct cistpl_funce_t {
u_char type;
- u_char data[0];
} cistpl_funce_t;
/*======================================================================
@@ -226,7 +225,6 @@
u_char escape;
u_char encrypt;
u_char misc_features;
- u_char ccitt_code[0];
} cistpl_data_serv_t;
typedef struct cistpl_fax_serv_t {
@@ -236,7 +234,6 @@
u_char encrypt;
u_char features_0;
u_char features_1;
- u_char ccitt_code[0];
} cistpl_fax_serv_t;
typedef struct cistpl_voice_serv_t {
./kde-base/kdeutils/files/digest-kdeutils-2.2.2-r1 0000644 0001750 0001751 00000000210 07715427243 020030 0 ustar roy roy MD5 68c3c86d97c3a95079f81b2c7f4bf35a kdeutils-2.2.2.tar.bz2 1466910
MD5 8174e328f47e18a8a52b13b34f5c54e5 post-2.2.2-kdeutils.diff 10515
./kde-base/kdeutils/files/kdeutils-2.2.2-gentoo.diff 0000644 0001750 0001751 00000001531 07715427243 020442 0 ustar roy roy --- klprfax/klprfax/klprfax.cpp~ 2002-12-23 12:17:05.000000000 +0100
+++ klprfax/klprfax/klprfax.cpp 2002-12-23 12:17:39.000000000 +0100
@@ -37,7 +37,7 @@
AddressBook::ErrorCode err;
AddressBook *bk;
int n,i;
-QString name,fax0,fax1,fax2,fax3;
+QString mname,fax0,fax1,fax2,fax3;
QString nil="";
app=_app;
@@ -74,12 +74,12 @@
AddressBook::Entry e;
err=bk->getKey(i,k);
err=bk->getEntry(k,e);
- if (NameFax(e,name,fax0,fax1,fax2,fax3)) {klprfax_widget *tmp;
+ if (NameFax(e,mname,fax0,fax1,fax2,fax3)) {klprfax_widget *tmp;
rows+=1;if (rows>=names->numRows()) { names->setNumRows(rows+1); }
tmp=new klprfax_widget(rows,0,names);
- tmp->add(name);
+ tmp->add(mname);
tmp->commit();
tmp->adjustSize();
if (tmp->width()>col0) { col0=tmp->widget()->width()+5; }
./kde-base/kdeutils/files/digest-kdeutils-3.1.2 0000644 0001750 0001751 00000000104 07715427243 017512 0 ustar roy roy MD5 49611a79b2d77cf6e9913ffb445fa209 kdeutils-3.1.2.tar.bz2 1377277
./kde-base/kdeutils/files/digest-kdeutils-3.1.1 0000644 0001750 0001751 00000000104 07715427243 017511 0 ustar roy roy MD5 fd2fef424ffb3de13e4fc8d55b995b73 kdeutils-3.1.1.tar.bz2 1372307
./kde-base/kdeutils/files/digest-kdeutils-3.0.4 0000644 0001750 0001751 00000000104 07715427243 017513 0 ustar roy roy MD5 e34ccb00b25f04f0a27474fa17d68e77 kdeutils-3.0.4.tar.bz2 1514778
./kde-base/kdeutils/metadata.xml 0000644 0001750 0001751 00000000241 07715427243 015231 0 ustar roy roy
kde-core
./kde-base/kdeutils/Manifest 0000644 0001750 0001751 00000002030 07715427243 014416 0 ustar roy roy MD5 eb21fe1f52ed4791beecff90ffd069fb kdeutils-3.0.5b.ebuild 325
MD5 0674e1ac6acfc987098c08ac7d6eac04 kdeutils-3.1.3.ebuild 431
MD5 bb14ef05b7474da665a5513965a9e588 kdeutils-3.0.4.ebuild 315
MD5 a2a326a090b2e21c4da7a16f6c6c560e kdeutils-3.1.2.ebuild 377
MD5 2b0be834a411b15eca52adc202186197 kdeutils-2.2.2-r1.ebuild 528
MD5 4058ab995777a2fe107e295c8390899f ChangeLog 4266
MD5 14889ab75f97d76e58b0c1154e7683a9 metadata.xml 161
MD5 4a09fb92aeb1c2a7e42bf1c74424e151 kdeutils-3.1.1.ebuild 372
MD5 91b4ffe4f39481359ec0f0dbd0b044dc files/digest-kdeutils-3.0.4 68
MD5 f3aa73cde1897347bab9a94d797283ce files/digest-kdeutils-3.1.1 68
MD5 996bc767855133331ee78819ea0e611b files/digest-kdeutils-3.1.2 68
MD5 32a9878dea888a76ba12026c256bb428 files/digest-kdeutils-3.1.3 68
MD5 833411a8feba0e3dca65b52e228b0cf8 files/digest-kdeutils-2.2.2-r1 136
MD5 c94af5761c9b62565499475ce2371863 files/digest-kdeutils-3.0.5b 69
MD5 e02290749430420019b24b468f03dace files/kdeutils-2.2.2-gentoo.diff 857
MD5 f40236226b4aa977b63c01bf7097eacf files/kdeutils-3.1.3-gcc33.diff 749
./kde-base/kdeutils/ChangeLog 0000644 0001750 0001751 00000010251 07715427243 014503 0 ustar roy roy # ChangeLog for kde-base/kdeutils
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeutils/ChangeLog,v 1.34 2003/08/07 02:57:42 caleb Exp $
06 Aug 2003; Caleb Tennis kdeutils-3.1.3.ebuild:
Minor fix for gcc33 builds.
*kdeutils-3.1.3 (29 Jul 2003)
29 Jul 2003; Paul de Vrieze kdeutils-3.1.3.ebuild:
Version bump
21 Jun 2003; Caleb Tennis :
Removing old ebuilds: 3.0.5a, 3.1
16 Jun 2003; Will Woods kdeutils-3.1.2.ebuild:
Marked stable for alpha
20 May 2003; Jason Wever kdeutils-3.1.2.ebuild:
Changed ~sparc keyword to sparc.
*kdeutils-3.1.2 (19 May 2003)
19 May 2003; Dan Armak kdeutils-3.1.2.ebuild:
New version of KDE.
28 Apr 2003; Lars Weiler kdeutils-3.1.1.ebuild:
Set ppc in KEYWORDS
*kdeutils-3.0.5b (08 Apr 2003)
08 Apr 2003; Hannes Mehnert kdeutils-3.0.5b.ebuild:
A security patch release fixing a kghostview vulnerability. See GLSA.
Also includes misc other fixes.
*kdeutils-3.1.1 (14 Mar 2003)
19 Mar 2003; Jason Wever kdeutils-3.1.1.ebuild:
Changed ~sparc keyword to sparc.
14 Mar 2003; Hannes Mehnert kdeutils-3.1.1.ebuild:
version bump
15 Feb 2003; Jason Wever kdeutils-3.1.ebuild:
Changed ~sparc keyword to sparc.
*kdeutils-3.1 (01 Feb 2003)
28 Feb 2003; Will Woods kdeutils-3.1.ebuild:
Added ~alpha to keywords
*kdeutils-2.2.2-r1 (17 Jan 2003)
01 Feb 2003; Jack Morgan kdeutils-3.1.ebuild:
added ~sparc to keywords
17 Jan 2003; Hannes Mehnert kdeutils-2.2.2-r1.ebuild:
new version, fixes #12520
08 Jan 2003; Mark Guertin kdeutils-3.1_rc6.ebuild:
added ~ppc to keywords
*kdeutils-3.1_rc6 (05 Jan 2003)
05 Jan 2003; Hannes Mehnert kdeutils-3.1_rc6.ebuild:
version bump
*kdeutils-3.0.5a (21 Dec 2002)
06 Jan 2003; Jason Wever kdeutils-3.0.5a.ebuild:
Added ~sparc keyword
21 Dec 2002; Hannes Mehnert kdeutils-3.0.5a.ebuild:
version bump
08 Dec 2002; Jack Morgan kdeutils-3.1_rc5.ebuild :
Added sparc keyword
06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords
04 Dec 2002; Olivier Reisch kdeutils-3.1.ebuild:
Added ppc keyword
*kdeutils-3.1_rc3 (12 Nov 2002)
12 Nov 2002; Hannes Mehnert ChangeLog:
kde-3.1_rc3
*kdeutils-3.1_rc2 (04 Nov 2002)
04 Nov 2002; Hannes Mehnert ChangeLog:
kde-3.1_rc2
*kdeutils-3.0.4 (09 Oct 2002)
09 Oct 2002; Dan Armak ChangeLog :
KDE 3.0.4, the latest bugfix release.
*kdeutils-3.0.3 (19 Aug 2002)
19 Aug 2002; Dan Armak ChangeLog :
New bugfix release. Enjoy!
*kdeutils-3.0.2 (03 Jul 2002)
01 Aug 2002; Mark Guertin kde-3.0.2.ebuild :
Added ppc to keywords
03 Jul 2002; Dan Armak ChangeLog : : : : : : : : : : : : : : : :
New stability release.
*kdeutils-3.0.1.20020604 (4 Jun 2002)
4 Jun 2002; Dan Armak Changelog :
This is a snapshot of the KDE CVS's KDE_3_0_x branch from June 6th.
This branch contains only bugfixes to the 3.0 release (the 3.0.1 release
was also of this kind).
*kdeutils-3.0.1 (24 May 2002)
24 May 2002; Dan Armak Changelog :
Bugfix release (KDE 3.0.1).
*kdeutils-3.0 (4 Apr 2002)
4 Apr 2002; Dan Armak Changelog :
KDE 3.0 ebuilds. Based on the well-tested kde3pre ebuild set.
*kdeutils-2.2.2 (1 Feb 2002)
1 Feb 2002; G.Bevin ChangeLog :
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.
./kde-base/kdeutils/kdeutils-3.1.1.ebuild 0000644 0001750 0001751 00000000563 07715427243 016406 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeutils/kdeutils-3.1.1.ebuild,v 1.3 2003/04/28 05:51:20 pylon Exp $
inherit kde-dist
IUSE=""
DESCRIPTION="KDE utilities"
#RDEPEND="$RDEPEND app-admin/dosfstools" # for kfloppy
KEYWORDS="x86 ppc sparc ~alpha"
./kde-base/kdesdk/ 0000755 0001750 0001751 00000000000 07715427243 012353 5 ustar roy roy ./kde-base/kdesdk/kdesdk-3.0.5b.ebuild 0000644 0001750 0001751 00000000507 07715427243 015613 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdesdk/kdesdk-3.0.5b.ebuild,v 1.3 2003/07/16 16:25:51 pvdabeel Exp $
inherit kde-dist
IUSE=""
DESCRIPTION="KDE $PV - SDK: kbabel, ..."
KEYWORDS="x86 ppc ~alpha sparc"
./kde-base/kdesdk/kdesdk-3.1.1.ebuild 0000644 0001750 0001751 00000000473 07715427243 015450 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdesdk/kdesdk-3.1.1.ebuild,v 1.2 2003/07/16 16:25:51 pvdabeel Exp $
inherit kde-dist
IUSE=""
DESCRIPTION="KDE SDK: kbabel, ..."
KEYWORDS="x86 ~sparc ppc"
./kde-base/kdesdk/files/ 0000755 0001750 0001751 00000000000 07715427243 013455 5 ustar roy roy ./kde-base/kdesdk/files/digest-kdesdk-3.1.2 0000644 0001750 0001751 00000000102 07715427243 016552 0 ustar roy roy MD5 279b42135756e0e3640cf5f6612f572d kdesdk-3.1.2.tar.bz2 2152145
./kde-base/kdesdk/files/kdesdk-2.2.2-gentoo.diff 0000644 0001750 0001751 00000002046 07715427243 017506 0 ustar roy roy --- kmtrace/ktrace.c 2001-03-13 20:16:09.000000000 +0100
+++ kmtrace/ktrace.c 2003-01-11 13:03:52.000000000 +0100
@@ -25,14 +25,15 @@
or (US mail) as Mike Haertel c/o Free Software Foundation.
*/
-#define _LIBC
#define MALLOC_HOOKS
#define _GNU_SOURCE
#ifndef _MALLOC_INTERNAL
#define _MALLOC_INTERNAL
+#define _LIBC
#include
#include
+#undef _LIBC
#endif
#include
--- poxml/GettextParser.hpp 2001-03-21 21:21:33.000000000 +0100
+++ poxml/GettextParser.hpp 2003-01-11 13:20:32.000000000 +0100
@@ -13,6 +13,9 @@
#include "GettextParserTokenTypes.hpp"
#include "antlr/LLkParser.hpp"
+#include
+using namespace std;
+
class GettextParser : public ANTLR_USE_NAMESPACE(antlr)LLkParser, public GettextParserTokenTypes
{
#line 1 "gettext.g"
--- poxml/swappo.cpp 2001-05-02 12:13:59.000000000 +0200
+++ poxml/swappo.cpp 2003-01-11 13:22:38.000000000 +0100
@@ -1,3 +1,5 @@
+#include
+using namespace std;
#include "GettextParser.hpp"
#include
#include "GettextLexer.hpp"
./kde-base/kdesdk/files/digest-kdesdk-3.0.4 0000644 0001750 0001751 00000000102 07715427243 016553 0 ustar roy roy MD5 13c54f973533f4816069e82f7f375c34 kdesdk-3.0.4.tar.bz2 1842876
./kde-base/kdesdk/files/digest-kdesdk-3.1.1 0000644 0001750 0001751 00000000102 07715427243 016551 0 ustar roy roy MD5 5420cbc818466f79ee19142cb30324bb kdesdk-3.1.1.tar.bz2 2143726
./kde-base/kdesdk/files/digest-kdesdk-3.1.3 0000644 0001750 0001751 00000000102 07715427243 016553 0 ustar roy roy MD5 427586c481c0e503c197ff2d5aa3b81c kdesdk-3.1.3.tar.bz2 2160933
./kde-base/kdesdk/files/digest-kdesdk-3.0.5b 0000644 0001750 0001751 00000000314 07715427243 016723 0 ustar roy roy MD5 b38a426f5d7fc0a9679f467892059329 /files/kdesdk-2.2.2-gentoo.diff 1062
MD5 c3bee855a0fc7cf32d392c406ef9d478 /kdesdk-3.0.5b.ebuild 327
MD5 9c6eaf26033b16de618a5cca9f41fdfa kdesdk-3.0.5b.tar.bz2 1847750
./kde-base/kdesdk/files/digest-kdesdk-2.2.2-r1 0000644 0001750 0001751 00000000203 07715427243 017074 0 ustar roy roy MD5 f8080a3269a99f0c22a55ad9cab0682d kdesdk-2.2.2.tar.bz2 1094197
MD5 690c7fdab1bbc743eafac9b06997a03b post-2.2.2-kdesdk.diff 1801
./kde-base/kdesdk/kdesdk-3.1.2.ebuild 0000644 0001750 0001751 00000000473 07715427243 015451 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdesdk/kdesdk-3.1.2.ebuild,v 1.2 2003/07/16 16:25:51 pvdabeel Exp $
inherit kde-dist
IUSE=""
DESCRIPTION="KDE SDK: kbabel, ..."
KEYWORDS="x86 ~sparc ppc"
./kde-base/kdesdk/metadata.xml 0000644 0001750 0001751 00000000241 07715427243 014652 0 ustar roy roy
kde-core
./kde-base/kdesdk/kdesdk-3.1.3.ebuild 0000644 0001750 0001751 00000000456 07715427243 015453 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdesdk/kdesdk-3.1.3.ebuild,v 1.1 2003/08/07 02:33:43 caleb Exp $
inherit kde-dist
IUSE=""
DESCRIPTION="KDE SDK: kbabel, ..."
KEYWORDS="~x86"
./kde-base/kdesdk/Manifest 0000644 0001750 0001751 00000001667 07715427243 014056 0 ustar roy roy MD5 dd022a9ce711fa89a564de5fcf659f9a kdesdk-3.0.4.ebuild 318
MD5 e070efdd98f60e928dda05d50dd6e552 kdesdk-3.1.2.ebuild 316
MD5 7c11bece3f80a796187561d365dc857d kdesdk-2.2.2-r1.ebuild 531
MD5 30902092dc1aa3f7554b03f71900d0b1 kdesdk-3.1.1.ebuild 316
MD5 f30aeb691a19f6f59fe38b74d2673fb3 kdesdk-3.0.5b.ebuild 328
MD5 84416fc04f9a23fa9983db9da7accdb0 ChangeLog 3360
MD5 f6f563c73b782871e5d604e138e1bc6f kdesdk-3.1.3.ebuild 303
MD5 14889ab75f97d76e58b0c1154e7683a9 metadata.xml 161
MD5 e6c4829fcdb280108dcff69be0553960 files/digest-kdesdk-2.2.2-r1 131
MD5 b38a426f5d7fc0a9679f467892059329 files/kdesdk-2.2.2-gentoo.diff 1062
MD5 8aeaed4631590b1c686d4ddff85ee95d files/digest-kdesdk-3.0.4 66
MD5 e7476a61e7c8d9c228c84d56cc50ddf5 files/digest-kdesdk-3.1.1 66
MD5 7d585e052aa2ad1a19af03da1021b7bd files/digest-kdesdk-3.1.2 66
MD5 b6b4db32ab040d1b837f93ad24904da0 files/digest-kdesdk-3.1.3 66
MD5 d18ba202d291a6ba4a4ef422cdee53bd files/digest-kdesdk-3.0.5b 204
./kde-base/kdesdk/kdesdk-3.0.4.ebuild 0000644 0001750 0001751 00000000475 07715427243 015454 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdesdk/kdesdk-3.0.4.ebuild,v 1.5 2003/02/13 12:29:08 vapier Exp $
inherit kde-dist
IUSE=""
DESCRIPTION="KDE $PV - SDK: kbabel, ..."
KEYWORDS="x86 ppc alpha"
./kde-base/kdesdk/ChangeLog 0000644 0001750 0001751 00000006437 07715427243 014137 0 ustar roy roy # ChangeLog for kde-base/kdesdk
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdesdk/ChangeLog,v 1.25 2003/08/07 02:33:43 caleb Exp $
*kdesdk-3.1.3 (06 Aug 2003)
06 Aug 2003; Caleb Tennis kdesdk-3.1.3.ebuild:
New version of KDE.
21 Jun 2003; Caleb Tennis :
Removing old ebuilds: 3.0.5a, 3.1
*kdesdk-3.1.2 (19 May 2003)
19 May 2003; Dan Armak kdesdk-3.1.2.ebuild:
New version of KDE.
*kdesdk-3.0.5b (08 Apr 2003)
08 Apr 2003; Hannes Mehnert kdesdk-3.0.5b.ebuild:
A security patch release fixing a kghostview vulnerability. See GLSA.
Also includes misc other fixes.
*kdesdk-3.1.1 (14 Mar 2003)
14 Mar 2003; Hannes Mehnert kdesdk-3.1.1.ebuild:
version bump
12 Feb 2003; Hannes Mehnert kdesdk-2.2.2.ebuild,
kdesdk-3.0.2.ebuild, kdesdk-3.0.3.ebuild, kdesdk-3.1_rc6.ebuild:
removed old ebuilds
*kdesdk-2.2.2-r1 (17 Jan 2003)
01 Feb 2003; Jack Morgan kdesdk-3.1.ebuild:
added ~sparc to keywords
17 Jan 2003; Hannes Mehnert kdesdk-2.2.2-r1.ebuild:
new version, fixes #12520
*kdesdk-3.1_rc6 (05 Jan 2003)
05 Jan 2003; Hannes Mehnert kdesdk-3.1_rc6.ebuild:
version bump
*kdesdk-3.0.5a (21 Dec 2002)
06 Jan 2003; Jason Wever kdesdk-3.0.5a.ebuild:
Added ~sparc keyword
21 Dec 2002; Hannes Mehnert kdesdk-3.0.5a.ebuild:
version bump
06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords
*kdesdk-3.1_rc3 (12 Nov 2002)
12 Nov 2002; Hannes Mehnert ChangeLog:
kde-3.1_rc3
*kdesdk-3.1_rc2 (04 Nov 2002)
04 Nov 2002; Hannes Mehnert ChangeLog:
kde-3.1_rc2
*kdesdk-3.0.4 (09 Oct 2002)
09 Oct 2002; Dan Armak ChangeLog :
KDE 3.0.4, the latest bugfix release.
*kdesdk-3.0.3 (19 Aug 2002)
19 Aug 2002; Dan Armak ChangeLog :
New bugfix release. Enjoy!
*kdesdk-3.0.2 (03 Jul 2002)
01 Aug 2002; Mark Guertin kde-3.0.2.ebuild :
Added ppc to keywords
03 Jul 2002; Dan Armak ChangeLog : : : : : : : : : : : : : :
New stability release.
*kdesdk-3.0.1.20020604 (4 Jun 2002)
4 Jun 2002; Dan Armak Changelog :
This is a snapshot of the KDE CVS's KDE_3_0_x branch from June 6th.
This branch contains only bugfixes to the 3.0 release (the 3.0.1 release
was also of this kind).
*kdesdk-3.0.1 (24 May 2002)
24 May 2002; Dan Armak Changelog :
Bugfix release (KDE 3.0.1).
*kdesdk-3.0 (4 Apr 2002)
4 Apr 2002; Dan Armak Changelog :
KDE 3.0 ebuilds. Based on the well-tested kde3pre ebuild set.
*kdesdk-2.2.2 (1 Feb 2002)
1 Feb 2002; G.Bevin ChangeLog :
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.
./kde-base/kdesdk/kdesdk-2.2.2-r1.ebuild 0000644 0001750 0001751 00000001022 07715427243 015760 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdesdk/kdesdk-2.2.2-r1.ebuild,v 1.5 2003/07/16 16:25:51 pvdabeel Exp $
inherit kde-dist eutils
IUSE=""
DESCRIPTION="KDE $PV - SDK: kbabel, ..."
KEYWORDS="x86 sparc ppc"
SRC_URI="${SRC_URI}
mirror://kde/security_patches/post-${PV}-${PN}.diff"
src_unpack() {
unpack ${P}.tar.bz2
cd ${S}
epatch ${DISTDIR}/post-${PV}-${PN}.diff
epatch ${FILESDIR}/${P}-gentoo.diff
}
./kde-base/kdegames/ 0000755 0001750 0001751 00000000000 07715427243 012666 5 ustar roy roy ./kde-base/kdegames/kdegames-3.1.2.ebuild 0000644 0001750 0001751 00000002044 07715427243 016273 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegames/kdegames-3.1.2.ebuild,v 1.7 2003/07/19 08:23:07 gmsoft Exp $
inherit kde-dist eutils
DESCRIPTION="KDE games (solitaire :-)"
IUSE=""
KEYWORDS="x86 ppc sparc alpha hppa"
#13 Jul 2003: drobbins: building kdegames-3.1.2 fails on dual Xeon; disabling parallel mode :/
MAKEOPTS="$MAKEOPTS -j1"
src_compile() {
if [ ${ARCH} == "alpha" ] ; then
export DO_NOT_COMPILE="kmines" # still b0rken on alpha
fi
kde_src_compile myconf configure
if [ ${ARCH} == "alpha" ] ; then
# ksirtet dies without kmines' libkdehighscores, so we have to build it
# manually if we want ksirtet. Which we do. Everyone loves tetris!
# First, we build libkdegames, since libkdehighscores depends on it.
cd ${S}/libkdegames
emake || die "died trying to build libkdegames"
cd ../kmines/generic
emake || die "died trying to build kmines/generic/libkdehighscores.la"
fi
kde_src_compile make
}
./kde-base/kdegames/kdegames-3.1.3.ebuild 0000644 0001750 0001751 00000002132 07715427243 016272 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegames/kdegames-3.1.3.ebuild,v 1.3 2003/08/07 02:53:16 caleb Exp $
inherit kde-dist eutils
DESCRIPTION="KDE games (solitaire :-)"
IUSE=""
KEYWORDS="~x86 ~ppc"
#13 Jul 2003: drobbins: building kdegames-3.1.2 fails on dual Xeon; disabling parallel mode :/
MAKEOPTS="$MAKEOPTS -j1"
src_unpack() {
kde_src_unpack
epatch ${FILESDIR}/${P}-gcc33.diff
}
src_compile() {
if [ ${ARCH} == "alpha" ] ; then
export DO_NOT_COMPILE="kmines" # still b0rken on alpha
fi
kde_src_compile myconf configure
if [ ${ARCH} == "alpha" ] ; then
# ksirtet dies without kmines' libkdehighscores, so we have to build it
# manually if we want ksirtet. Which we do. Everyone loves tetris!
# First, we build libkdegames, since libkdehighscores depends on it.
cd ${S}/libkdegames
emake || die "died trying to build libkdegames"
cd ../kmines/generic
emake || die "died trying to build kmines/generic/libkdehighscores.la"
fi
kde_src_compile make
}
./kde-base/kdegames/files/ 0000755 0001750 0001751 00000000000 07715427243 013770 5 ustar roy roy ./kde-base/kdegames/files/digest-kdegames-3.1.3 0000644 0001750 0001751 00000000104 07715427243 017403 0 ustar roy roy MD5 98151556b1556e7e39930ab12bdeace2 kdegames-3.1.3.tar.bz2 8501085
./kde-base/kdegames/files/digest-kdegames-3.0.5b 0000644 0001750 0001751 00000000436 07715427243 017556 0 ustar roy roy MD5 9454a7045d01e70b0b5b69c46be36801 /files/kdegames-3.0.5b-gentoo.diff 592
MD5 9454a7045d01e70b0b5b69c46be36801 /files/kdegames-3.0.5a-gentoo.diff 592
MD5 9164b6204233b5d770f26a58924f9fe1 /kdegames-3.0.5b.ebuild 359
MD5 d436bd70d9eefd57ed176268e3b1ab00 kdegames-3.0.5b.tar.bz2 7251798
./kde-base/kdegames/files/digest-kdegames-2.2.2-r1 0000644 0001750 0001751 00000000207 07715427243 017726 0 ustar roy roy MD5 65b1e9885bdda64597e6e3cdf129cee3 kdegames-2.2.2.tar.bz2 8828605
MD5 0dbd747882b942465646efe0ba6af802 post-2.2.2-kdegames.diff 4747
./kde-base/kdegames/files/digest-kdegames-3.1.1 0000644 0001750 0001751 00000000104 07715427243 017401 0 ustar roy roy MD5 c7af6a8961bf94257d2d8a319e464693 kdegames-3.1.1.tar.bz2 8346757
./kde-base/kdegames/files/kdegames-3.0.5b-gentoo.diff 0000644 0001750 0001751 00000001120 07715427243 020470 0 ustar roy roy --- doc/kbattleship/index.docbook~ 2002-12-20 22:39:55.000000000 +0100
+++ doc/kbattleship/index.docbook 2002-12-20 22:40:11.000000000 +0100
@@ -162,7 +162,7 @@
place your ship. The first one will have a length of four squares, the next
will be three fields long &etc;. Click on the field where you want to start
the placement. If you click with the &LMB; the ship will be placed horizotally,
-a &Shift;&LMB; click will cause it to be placed
+a &Shift;&LMB; click will cause it to be placed
vertically. &Shift; itself will flip the ship placement preview.
./kde-base/kdegames/files/kdegames-3.1.3-gcc33.diff 0000644 0001750 0001751 00000001626 07715427243 017747 0 ustar roy roy diff -urN kolf/config.cpp kolf/config.cpp
--- kolf/config.cpp 2002-09-29 12:35:30.000000000 -0300
+++ kolf/config.cpp 2003-08-05 05:00:04.000000000 -0300
@@ -6,7 +6,7 @@
#include "config.h"
-Config::Config(QWidget *parent, const char *name = 0)
+Config::Config(QWidget *parent, const char *name)
: QFrame(parent, name)
{
startedUp = false;
@@ -33,14 +33,14 @@
emit modified();
}
-MessageConfig::MessageConfig(QString text, QWidget *parent, const char *name = 0)
+MessageConfig::MessageConfig(QString text, QWidget *parent, const char *name )
: Config(parent, name)
{
QVBoxLayout *layout = new QVBoxLayout(this, marginHint(), spacingHint());
layout->addWidget(new QLabel(text, this));
}
-DefaultConfig::DefaultConfig(QWidget *parent, const char *name = 0)
+DefaultConfig::DefaultConfig(QWidget *parent, const char *name)
: MessageConfig(i18n("No configuration options"), parent, name)
{
}
./kde-base/kdegames/files/digest-kdegames-3.1.2 0000644 0001750 0001751 00000000104 07715427243 017402 0 ustar roy roy MD5 c8174c17dcf66def32653bae63886f22 kdegames-3.1.2.tar.bz2 8486428
./kde-base/kdegames/files/digest-kdegames-3.0.4 0000644 0001750 0001751 00000000104 07715427243 017403 0 ustar roy roy MD5 5f7ea33c54e68fd673c5c48b49e0c1e3 kdegames-3.0.4.tar.bz2 7239970
./kde-base/kdegames/metadata.xml 0000644 0001750 0001751 00000000241 07715427243 015165 0 ustar roy roy
kde-core
./kde-base/kdegames/kdegames-2.2.2-r1.ebuild 0000644 0001750 0001751 00000000746 07715427243 016622 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegames/kdegames-2.2.2-r1.ebuild,v 1.5 2003/07/16 16:22:12 pvdabeel Exp $
inherit kde-dist eutils
IUSE=""
DESCRIPTION="KDE $PV - games"
KEYWORDS="x86 sparc ppc"
SRC_URI="${SRC_URI}
mirror://kde/security_patches/post-${PV}-${PN}.diff"
src_unpack() {
unpack ${P}.tar.bz2
cd ${S}
epatch ${DISTDIR}/post-${PV}-${PN}.diff
}
./kde-base/kdegames/kdegames-3.1.1.ebuild 0000644 0001750 0001751 00000002031 07715427243 016266 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegames/kdegames-3.1.1.ebuild,v 1.3 2003/04/28 05:51:20 pylon Exp $
inherit kde-dist eutils
DESCRIPTION="KDE games (solitaire :-)"
IUSE=""
KEYWORDS="x86 ppc sparc ~alpha"
src_unpack() {
kde_src_unpack
if [ ${ARCH} == "alpha" ] ; then
einfo "Not building kmines due to linking problems on alpha"
cd ${S}
cp subdirs subdirs.orig
grep -v kmines subdirs.orig > subdirs
fi
}
src_compile() {
kde_src_compile myconf configure
if [ ${ARCH} == "alpha" ] ; then
# ksirtet dies without kmines' libkdehighscores, so we have to build it
# manually if we want ksirtet. Which we do. Everyone loves tetris!
# But first, build libkdegames, since libkdehighscores depends on it.
cd ${S}/libkdegames
emake || die "died trying to build libkdegames"
cd ../kmines/generic
emake || die "died trying to build kmines/generic/libkdehighscores.la"
fi
kde_src_compile make
}
./kde-base/kdegames/Manifest 0000644 0001750 0001751 00000002035 07715427243 014357 0 ustar roy roy MD5 b24de60c1eeda6be9a4e4d17a06191ce kdegames-2.2.2-r1.ebuild 487
MD5 2df21a42b3519b94e7502ddefbee32c5 kdegames-3.0.4.ebuild 311
MD5 eea0e25827363563bd246bc9a85764ec kdegames-3.1.2.ebuild 1061
MD5 e2cfb99a87ffd63e60cbc7645f0cc294 kdegames-3.0.5b.ebuild 360
MD5 44bfb5d49818228b019239ed26618239 kdegames-3.1.1.ebuild 1050
MD5 8681fe830623c7bd96804cc5022e8d0a ChangeLog 5178
MD5 14889ab75f97d76e58b0c1154e7683a9 metadata.xml 161
MD5 474ec23b75b2aa68cb9ad098a011896d kdegames-3.1.3.ebuild 1115
MD5 9454a7045d01e70b0b5b69c46be36801 files/kdegames-3.0.5b-gentoo.diff 592
MD5 245411bbbf6ddc4fe9698b192374f69f files/digest-kdegames-2.2.2-r1 135
MD5 a77f0add622f42b791e9f03d64cb9947 files/kdegames-3.1.3-gcc33.diff 918
MD5 73a3b61ff37f70ff995d3eaf9ae3e7d5 files/digest-kdegames-3.0.4 68
MD5 c607a5f007e635dc05b4cf219e0f3ee9 files/digest-kdegames-3.1.1 68
MD5 cb8d2367fb5d185f5ed5a4be4740e40c files/digest-kdegames-3.1.2 68
MD5 13a2dac31a33c8147a7edfe32c207611 files/digest-kdegames-3.1.3 68
MD5 726d8204b4760054fba2739aad24a7e4 files/digest-kdegames-3.0.5b 286
./kde-base/kdegames/ChangeLog 0000644 0001750 0001751 00000012071 07715427243 014441 0 ustar roy roy # ChangeLog for kde-base/kdegames
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegames/ChangeLog,v 1.40 2003/08/07 02:53:16 caleb Exp $
06 Aug 2003; Caleb Tennis kdegames-3.1.3.ebuild:
Added a patch to make it compile with gcc33
*kdegames-3.1.3 (29 Jul 2003)
29 Jul 2003; Paul de Vrieze kdegames-3.1.3.ebuild:
Version bump
13 Jul 2003; Daniel Robbins : kdegames-3.1.2.ebuild:
like doctomoe with other kde-base ebuilds, I'm having parallel compile
problems. -j1 mode forced for this ebuild. No rev bump.
21 Jun 2003; Caleb Tennis : Removing 3.0.5a, 3.1
16 Jun 2003; Will Woods kdegames-3.1.2.ebuild:
Marked stable for alpha
10 Jun 2003; Will Woods kdegames-3.1.2.ebuild:
Changed the way we avoid building kmines on alpha.
20 May 2003; Jason Wever kdegames-3.1.2.ebuild:
Changed ~sparc keyword to sparc.
*kdegames-3.1.2 (19 May 2003)
19 May 2003; Dan Armak kdegames-3.1.2.ebuild:
New version of KDE.
28 Apr 2003; Lars Weiler kdegames-3.1.1.ebuild:
Set ppc in KEYWORDS
*kdegames-3.0.5b (08 Apr 2003)
08 Apr 2003; Hannes Mehnert kdegames-3.0.5b.ebuild,
files/kdegames-3.0.5b-gentoo.diff:
A security patch release fixing a kghostview vulnerability. See GLSA.
Also includes misc other fixes.
*kdegames-3.1.1 (14 Mar 2003)
19 Mar 2003; Jason Wever kdegames-3.1.1.ebuild:
Changed ~sparc keyword to sparc.
14 Mar 2003; Hannes Mehnert kdegames-3.1.1.ebuild:
version bump
*kdegames-3.1 (01 Feb 2003)
28 Feb 2003; Will Woods kdegames-3.1.ebuild:
Hack to build without kmines on alpha, due to linker problems.
Removed previous patch which tried to fix this.
Added ~alpha keyword.
15 Feb 2003; Jason Wever kdegames-3.1.ebuild:
Changed ~sparc keyword to sparc.
12 Feb 2003; Hannes Mehnert kdegames-2.2.2.ebuild,
kdegames-3.0.2.ebuild, kdegames-3.0.3.ebuild, kdegames-3.1_rc6.ebuild:
removed old ebuilds
01 Feb 2003; Jack Morgan kdegames-3.1.ebuild:
added ~sparc to keyword
30 Jan 2003; Dan Armak ChangeLog :
Change ebuilds to use kde_src_unpack() instead of base_src_unpack(). This
does not affect in any way the compiled output, or any ebuild not suffering
rfom the 'languageChange undeclared' bug, which it fixes.
*kdegames-2.2.2-r1 (17 Jan 2003)
17 Jan 2003; Hannes Mehnert kdegames-2.2.2-r1.ebuild:
new version, fixes #12520
08 Jan 2003; Mark Guertin kdegames-3.1_rc6.ebuild:
added ~ppc to keywords
*kdegames-3.1._rc6 (05 Jan 2003)
05 Jan 2003; Hannes Mehnert kdegames-3.1_rc6.ebuild:
version bump
*kdegames-3.0.5a (21 Dec 2002)
06 Jan 2003; Jason Wever kdegames-3.0.5a.ebuild:
Added ~sparc keyword
21 Dec 2002; Hannes Mehnert kdegames-3.0.5a.ebuild:
version bump
08 Dec 2002; Jack Morgan kdegames-3.1_rc5.ebuild :
Added sparc keyword
06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords
04 Dec 2002; Olivier Reisch kdegames-3.1.ebuild:
Added ppc keyword
*kdegames-3.1_rc3 (12 Nov 2002)
12 Nov 2002; Hannes Mehnert ChangeLog:
kde-3.1_rc3
*kdegames-3.1_rc2 (04 Nov 2002)
04 Nov 2002; Hannes Mehnert ChangeLog:
kde-3.1_rc2
*kdegames-3.0.4 (09 Oct 2002)
09 Oct 2002; Dan Armak ChangeLog :
KDE 3.0.4, the latest bugfix release.
*kdegames-3.0.3 (19 Aug 2002)
19 Aug 2002; Dan Armak ChangeLog :
New bugfix release. Enjoy!
*kdegames-3.0.2 (03 Jul 2002)
01 Aug 2002; Mark Guertin kde-3.0.2.ebuild :
Added ppc to keywords
03 Jul 2002; Dan Armak ChangeLog : : : : : : : :
New stability release.
*kdegames-3.0.1.20020604 (4 Jun 2002)
4 Jun 2002; Dan Armak Changelog :
This is a snapshot of the KDE CVS's KDE_3_0_x branch from June 6th.
This branch contains only bugfixes to the 3.0 release (the 3.0.1 release
was also of this kind).
*kdegames-3.0.1 (24 May 2002)
24 May 2002; Dan Armak Changelog :
Bugfix release (KDE 3.0.1).
*kdegames-3.0 (4 Apr 2002)
4 Apr 2002; Dan Armak Changelog :
KDE 3.0 ebuilds. Based on the well-tested kde3pre ebuild set.
*kdegames-2.2.2 (1 Feb 2002)
1 Feb 2002; G.Bevin ChangeLog :
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.
./kde-base/kdegames/kdegames-3.0.4.ebuild 0000644 0001750 0001751 00000000466 07715427243 016302 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegames/kdegames-3.0.4.ebuild,v 1.5 2003/02/13 12:27:20 vapier Exp $
inherit kde-dist
IUSE=""
DESCRIPTION="KDE $PV - games"
KEYWORDS="x86 ppc alpha"
./kde-base/kdegames/kdegames-3.0.5b.ebuild 0000644 0001750 0001751 00000000547 07715427243 016445 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegames/kdegames-3.0.5b.ebuild,v 1.3 2003/07/16 16:22:12 pvdabeel Exp $
inherit kde-dist
DESCRIPTION="KDE $PV - games"
IUSE=""
KEYWORDS="x86 ppc ~alpha sparc"
PATCHES="${FILESDIR}/${P}-gentoo.diff"
./kde-base/kdegraphics/ 0000755 0001750 0001751 00000000000 07715427243 013372 5 ustar roy roy ./kde-base/kdegraphics/kdegraphics-3.0.4.ebuild 0000644 0001750 0001751 00000002721 07715427243 017506 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegraphics/kdegraphics-3.0.4.ebuild,v 1.13 2003/03/11 21:11:45 seemant Exp $
inherit kde-dist
IUSE="gphoto2 tetex scanner"
DESCRIPTION="KDE $PV - graphics-related apps"
KEYWORDS="x86 ppc alpha"
newdepend "gphoto2? ( >=media-gfx/gphoto2-2.0_beta1 )
dev-lang/perl
scanner? ( media-gfx/sane-backends )
tetex? ( >=app-text/tetex-1.0.7 )
media-libs/imlib
app-text/ghostscript"
# x86? ( scanner? sys-libs/libieee1284 )
use gphoto2 && myconf="$myconf --with-kamera --with-gphoto2-includes=/usr/include/gphoto2 \
--with-gphoto2-libraries=/usr/lib/gphoto2 \
--with-gpio --with-gpio-includes=/usr/include \
--with-gpio-libraries=/usr/lib" || myconf="$myconf --without-kamera"
use tetex && myconf="$myconf --with-system-kpathsea --with-tex-datadir=/usr/share"
use scanner || KDE_REMOVE_DIR="kooka libkscan"
myconf="$myconf --with-imlib --with-imlib-config=/usr/bin "
need-autoconf 2.1
src_unpack() {
kde_src_unpack
if [ -z "`use scanner`" ]; then
cd $S
mv Makefile.am Makefile.am.orig
sed -e 's:$(KSCANDIR)::' Makefile.am.orig > Makefile.am
fi
}
src_install() {
kde_src_install
# default kghostviewrc beacuse kghostview doesn't generate a working default run on its 1st run
# fix bug #6562
dodir $PREFIX/share/config
cp $FILESDIR/$P-kghostviewrc $D/$PREFIX/share/config/kghostviewrc
}
./kde-base/kdegraphics/kdegraphics-2.2.2-r1.ebuild 0000644 0001750 0001751 00000001776 07715427243 020036 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegraphics/kdegraphics-2.2.2-r1.ebuild,v 1.7 2003/07/16 16:38:05 pvdabeel Exp $
inherit kde-dist eutils
IUSE="tetex gphoto2"
DESCRIPTION="KDE $PV - graphics-related apps"
KEYWORDS="x86 sparc ppc"
DEPEND="$DEPEND dev-lang/perl
media-gfx/sane-backends
tetex? ( >=app-text/tetex-1.0.7 )"
newdepend "gphoto2? ( >=media-gfx/gphoto2-2.0_beta1 )"
SRC_URI="${SRC_URI}
mirror://kde/security_patches/post-${PV}-${PN}.diff"
src_unpack() {
unpack ${P}.tar.bz2
cd ${S}
epatch ${DISTDIR}/post-${PV}-${PN}.diff
epatch ${FILESDIR}/${P}-gentoo.diff
}
src_compile() {
kde_src_compile myconf
use gphoto2 && myconf="$myconf --with-gphoto2-includes=/usr/include/gphoto2 --with-gphoto2-libraries=/usr/lib/gphoto2" || myconf="$myconf --without-kamera"
use tetex && myconf="$myconf --with-system-kpathsea --with-tex-datadir=/usr/share"
kde_src_compile configure make
}
./kde-base/kdegraphics/kdegraphics-3.1.3.ebuild 0000644 0001750 0001751 00000002275 07715427243 017512 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegraphics/kdegraphics-3.1.3.ebuild,v 1.2 2003/08/06 13:10:25 pvdabeel Exp $
inherit kde-dist
IUSE="gphoto2 tetex scanner"
DESCRIPTION="KDE graphics-related apps"
KEYWORDS="~x86 ~ppc"
newdepend "gphoto2? ( >=media-gfx/gphoto2-2.0_beta1 )
dev-lang/perl
scanner? ( media-gfx/sane-backends )
tetex? ( >=app-text/tetex-1.0.7 )
media-libs/imlib
app-text/ghostscript
virtual/glut virtual/opengl
media-libs/tiff
!media-gfx/kpovmodeler
x86? ( scanner? sys-libs/libieee1284 )
>=sys-apps/portage-2.0.47" # needed for the above dep ANDing to work
RDEPEND="$RDEPEND app-text/xpdf"
use gphoto2 && myconf="$myconf --with-kamera --with-gphoto2-includes=/usr/include/gphoto2 \
--with-gphoto2-libraries=/usr/lib/gphoto2 \
--with-gpio --with-gpio-includes=/usr/include \
--with-gpio-libraries=/usr/lib" || myconf="$myconf --without-kamera"
use tetex && myconf="$myconf --with-system-kpathsea --with-tex-datadir=/usr/share"
use scanner || KDE_REMOVE_DIR="kooka libkscan"
myconf="$myconf --with-imlib --with-imlib-config=/usr/bin"
./kde-base/kdegraphics/files/ 0000755 0001750 0001751 00000000000 07715427243 014474 5 ustar roy roy ./kde-base/kdegraphics/files/kdegraphics-2.2.2-gentoo.diff 0000644 0001750 0001751 00000000730 07715427243 021542 0 ustar roy roy --- kooka/scanpackager.cpp~ 2002-12-23 11:20:30.000000000 +0100
+++ kooka/scanpackager.cpp 2002-12-23 11:20:40.000000000 +0100
@@ -426,7 +426,7 @@
/* ----------------------------------------------------------------------- */
void ScanPackager::slShowContextMenue(QListViewItem *lvi, const QPoint &p, int col )
{
- kdDebug(28000) << "Showing Context Menue" << endl;
+ kdDebug(28000) << "Showing Context Menue" << endl;
(void) col;
PackagerItem *curr = 0;
./kde-base/kdegraphics/files/digest-kdegraphics-2.2.2-r2 0000644 0001750 0001751 00000000453 07715427243 021142 0 ustar roy roy MD5 b9341505c6b9de8f018dd9d1896356e9 kdegraphics-2.2.2.tar.bz2 1648936
MD5 4b9c93acd452d1de2f4f0bca5b05593f post-2.2.2-kdegraphics.diff 9397
MD5 1e7520b590e6573446487efb3995d8a3 post-2.2.2-kdegraphics-kghostview-2.diff 4492
MD5 a0a87a2f7617e83c831d1a9c2588830e post-2.2.2-kdegraphics-kdvi.diff 3786
./kde-base/kdegraphics/files/kdegraphics-3.0.4-kghostviewrc 0000644 0001750 0001751 00000000517 07715427243 022063 0 ustar roy roy [General]
Antialiasing=true
Interpreter=gs
Messages=false
Palette=color
Platform fonts=false
ShowPageList=true
ShowPageNames=false
ShowScrollBars=true
WatchFile=false
[Ghostscript]
Antialiasing arguments=-sDEVICE=x11 -dTextAlphaBits=4 -dGraphicsAlphaBits=2 -dMaxBitmap=10000000
Interpreter=gs
Non-antialiasing arguments=-sDEVICE=x11
./kde-base/kdegraphics/files/digest-kdegraphics-3.1.3 0000644 0001750 0001751 00000000107 07715427243 020616 0 ustar roy roy MD5 14afcd5713481b19a5a9908e522445de kdegraphics-3.1.3.tar.bz2 4591104
./kde-base/kdegraphics/files/digest-kdegraphics-2.2.2-r1 0000644 0001750 0001751 00000000215 07715427243 021135 0 ustar roy roy MD5 b9341505c6b9de8f018dd9d1896356e9 kdegraphics-2.2.2.tar.bz2 1648936
MD5 4b9c93acd452d1de2f4f0bca5b05593f post-2.2.2-kdegraphics.diff 9397
./kde-base/kdegraphics/files/digest-kdegraphics-3.0.5b 0000644 0001750 0001751 00000000110 07715427243 020753 0 ustar roy roy MD5 e9e894e173a144b0ba562fd3065a6c20 kdegraphics-3.0.5b.tar.bz2 2665248
./kde-base/kdegraphics/files/digest-kdegraphics-3.1.1a-r1 0000644 0001750 0001751 00000000221 07715427243 021272 0 ustar roy roy MD5 316e88f15097807565502930832b0089 kdegraphics-3.1.1a-r1.diff.bz2 22266
MD5 c417474e1aa6b7efd9a0233fee81cf71 kdegraphics-3.1.1.tar.bz2 4535382
./kde-base/kdegraphics/files/digest-kdegraphics-3.0.4 0000644 0001750 0001751 00000000107 07715427243 020616 0 ustar roy roy MD5 6065219c825102c843ba582c4a520cac kdegraphics-3.0.4.tar.bz2 2665229
./kde-base/kdegraphics/files/digest-kdegraphics-3.1.2 0000644 0001750 0001751 00000000107 07715427243 020615 0 ustar roy roy MD5 05a791e5b685e35d3e05d23d2d467678 kdegraphics-3.1.2.tar.bz2 4585032
./kde-base/kdegraphics/files/kdegraphics-3.0.5b-kghostviewrc 0000644 0001750 0001751 00000000517 07715427243 022226 0 ustar roy roy [General]
Antialiasing=true
Interpreter=gs
Messages=false
Palette=color
Platform fonts=false
ShowPageList=true
ShowPageNames=false
ShowScrollBars=true
WatchFile=false
[Ghostscript]
Antialiasing arguments=-sDEVICE=x11 -dTextAlphaBits=4 -dGraphicsAlphaBits=2 -dMaxBitmap=10000000
Interpreter=gs
Non-antialiasing arguments=-sDEVICE=x11
./kde-base/kdegraphics/metadata.xml 0000644 0001750 0001751 00000000241 07715427243 015671 0 ustar roy roy
kde-core
./kde-base/kdegraphics/kdegraphics-2.2.2-r2.ebuild 0000644 0001750 0001751 00000002400 07715427243 020020 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegraphics/kdegraphics-2.2.2-r2.ebuild,v 1.2 2003/07/16 16:38:05 pvdabeel Exp $
inherit kde-dist eutils
IUSE="tetex gphoto2"
DESCRIPTION="KDE $PV - graphics-related apps"
KEYWORDS="x86 sparc ppc"
DEPEND="$DEPEND dev-lang/perl
media-gfx/sane-backends
tetex? ( >=app-text/tetex-1.0.7 )"
newdepend "gphoto2? ( >=media-gfx/gphoto2-2.0_beta1 )"
SRC_URI="${SRC_URI}
mirror://kde/security_patches/post-${PV}-${PN}.diff
mirror://kde/security_patches/post-${PV}-${PN}-kghostview-2.diff
mirror://kde/security_patches/post-${PV}-${PN}-kdvi.diff"
src_unpack() {
unpack ${P}.tar.bz2
cd ${S}
epatch ${DISTDIR}/post-${PV}-${PN}.diff
epatch ${FILESDIR}/${P}-gentoo.diff
cd ${S}/kghostview
epatch ${DISTDIR}/post-${PV}-${PN}-kghostview-2.diff
cd ${S}/kdvi
epatch ${DISTDIR}/post-${PV}-${PN}-kdvi.diff
}
src_compile() {
kde_src_compile myconf
use gphoto2 && myconf="$myconf --with-gphoto2-includes=/usr/include/gphoto2 --with-gphoto2-libraries=/usr/lib/gphoto2" || myconf="$myconf --without-kamera"
use tetex && myconf="$myconf --with-system-kpathsea --with-tex-datadir=/usr/share"
kde_src_compile configure make
}
./kde-base/kdegraphics/kdegraphics-3.1.1a-r1.ebuild 0000644 0001750 0001751 00000002311 07715427243 020160 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegraphics/kdegraphics-3.1.1a-r1.ebuild,v 1.3 2003/05/16 21:08:31 pylon Exp $
inherit kde-dist
IUSE="gphoto2 tetex scanner"
DESCRIPTION="KDE graphics-related apps"
KEYWORDS="x86 ppc sparc ~alpha"
newdepend "gphoto2? ( >=media-gfx/gphoto2-2.0_beta1 )
dev-lang/perl
scanner? ( media-gfx/sane-backends )
tetex? ( >=app-text/tetex-1.0.7 )
media-libs/imlib
app-text/ghostscript
virtual/glut virtual/opengl
media-libs/tiff
!media-gfx/kpovmodeler
x86? ( scanner? sys-libs/libieee1284 )
>=sys-apps/portage-2.0.47" # needed for the above dep ANDing to work
RDEPEND="$RDEPEND app-text/xpdf"
use gphoto2 && myconf="$myconf --with-kamera --with-gphoto2-includes=/usr/include/gphoto2 \
--with-gphoto2-libraries=/usr/lib/gphoto2 \
--with-gpio --with-gpio-includes=/usr/include \
--with-gpio-libraries=/usr/lib" || myconf="$myconf --without-kamera"
use tetex && myconf="$myconf --with-system-kpathsea --with-tex-datadir=/usr/share"
use scanner || KDE_REMOVE_DIR="kooka libkscan"
myconf="$myconf --with-imlib --with-imlib-config=/usr/bin"
./kde-base/kdegraphics/kdegraphics-3.0.5b.ebuild 0000644 0001750 0001751 00000002737 07715427243 017660 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegraphics/kdegraphics-3.0.5b.ebuild,v 1.3 2003/07/16 16:38:05 pvdabeel Exp $
inherit kde-dist
IUSE="scanner gphoto2 tetex"
DESCRIPTION="KDE $PV - graphics-related apps"
KEYWORDS="x86 ppc ~alpha sparc"
newdepend "gphoto2? ( >=media-gfx/gphoto2-2.0_beta1 )
dev-lang/perl
scanner? ( media-gfx/sane-backends )
tetex? ( >=app-text/tetex-1.0.7 )
media-libs/imlib
app-text/ghostscript"
# x86? ( scanner? sys-libs/libieee1284 )
use gphoto2 && myconf="$myconf --with-kamera --with-gphoto2-includes=/usr/include/gphoto2 \
--with-gphoto2-libraries=/usr/lib/gphoto2 \
--with-gpio --with-gpio-includes=/usr/include \
--with-gpio-libraries=/usr/lib" || myconf="$myconf --without-kamera"
use tetex && myconf="$myconf --with-system-kpathsea --with-tex-datadir=/usr/share"
use scanner || KDE_REMOVE_DIR="kooka libkscan"
myconf="$myconf --with-imlib --with-imlib-config=/usr/bin "
need-autoconf 2.1
src_unpack() {
kde_src_unpack
if [ -z "`use scanner`" ]; then
cd $S
mv Makefile.am Makefile.am.orig
sed -e 's:$(KSCANDIR)::' Makefile.am.orig > Makefile.am
fi
}
src_install() {
kde_src_install
# default kghostviewrc beacuse kghostview doesn't generate a working default run on its 1st run
# fix bug #6562
dodir $PREFIX/share/config
cp $FILESDIR/$P-kghostviewrc $D/$PREFIX/share/config/kghostviewrc
}
./kde-base/kdegraphics/Manifest 0000644 0001750 0001751 00000002463 07715427243 015070 0 ustar roy roy MD5 08acf536cc35974a737e2764a583e6b7 ChangeLog 7097
MD5 668f06feec5919dd63b27f0e5d26a549 kdegraphics-2.2.2-r1.ebuild 1023
MD5 90296ebbfc5269593218accc19968133 kdegraphics-2.2.2-r2.ebuild 1281
MD5 001f7efb816a49f2e9651f8e3e1f2fb1 kdegraphics-3.0.4.ebuild 1490
MD5 d18ee22054a88bc77e7cf8296ab3647f kdegraphics-3.0.5b.ebuild 1504
MD5 f209971c43f5cbc0e8541849ac82b5a5 kdegraphics-3.1.1a-r1.ebuild 1226
MD5 1348009b352251e549a5ffccce8eea93 kdegraphics-3.1.2.ebuild 1227
MD5 14889ab75f97d76e58b0c1154e7683a9 metadata.xml 161
MD5 6e6aded2f70429c1100662ed9ce3f2b2 kdegraphics-3.1.3.ebuild 1214
MD5 d5bbeb3731063072794323e195a7a99d files/digest-kdegraphics-2.2.2-r1 141
MD5 e7cc7d6e6591c7dfdc7c247d5a436549 files/digest-kdegraphics-2.2.2-r2 299
MD5 34693477929f801abd54b37a58efa7f0 files/digest-kdegraphics-3.0.4 71
MD5 fcdc3bd9bfe2c49726ccc6d61cfb7fd4 files/digest-kdegraphics-3.0.5b 72
MD5 de350fd2d3c202b454063623e3bfb286 files/digest-kdegraphics-3.1.1a-r1 145
MD5 8182772f29e4abe216202a61593265ee files/digest-kdegraphics-3.1.2 71
MD5 8e79f1d4682e90f425f1280578625492 files/kdegraphics-2.2.2-gentoo.diff 472
MD5 994f2eb077cf2e821a8477b918ee40b2 files/kdegraphics-3.0.4-kghostviewrc 335
MD5 994f2eb077cf2e821a8477b918ee40b2 files/kdegraphics-3.0.5b-kghostviewrc 335
MD5 040b90f777e8fd211e0a10badc2e53fe files/digest-kdegraphics-3.1.3 71
./kde-base/kdegraphics/ChangeLog 0000644 0001750 0001751 00000015670 07715427243 015155 0 ustar roy roy # ChangeLog for kde-base/kdegraphics
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegraphics/ChangeLog,v 1.48 2003/07/29 12:44:28 pauldv Exp $
*kdegraphics-3.1.3 (29 Jul 2003)
29 Jul 2003; Paul de Vrieze kdegraphics-3.1.3.ebuild:
Version bump
21 Jun 2003; Caleb Tennis :
Removed old ebuilds: 3.0.5a, 3.1, 3.1.1, 3.1.1a
16 Jun 2003; Will Woods kdegraphics-3.1.2.ebuild:
Marked stable for alpha
20 May 2003; Jason Wever kdegraphics-3.1.2.ebuild:
Changed ~sparc keyword to sparc.
*kdegraphics-3.1.2 (19 May 2003)
19 May 2003; Dan Armak kdegraphics-3.1.2.ebuild:
New version of KDE.
16 Mai 2003; Lars Weiler kdegraphics-3.1.1a-r1.ebuild:
Set ppc in KEYWORDS
28 Apr 2003; Lars Weiler kdegraphics-3.1.1.ebuild:
Set ppc in KEYWORDS
15 Apr 2003; Dan Armak kdegraphics-3.1.1a-r1.ebuild:
Add a dep on libieee1284 on x86 if scanner is in use. Requires portage 2.0.47
or greater. Closes bug #9271.
*kdegraphics-3.1.1a-r1 (11 Apr 2003)
11 Apr 2003; Hannes Mehnert kdegraphics-3.1.1a-r1.ebuild:
The 3.1.1a ebuild was mistakenly missing part of the fix; added it all now.
*kdegraphics-2.2.2-r2 (11 Apr 2003)
11 Apr 2003; Hannes Mehnert kdegraphics-2.2.2-r2.ebuild:
The same fix for 2.2.2.
*kdegraphics-3.1.1a (08 Apr 2003)
08 Apr 2003; Hannes Mehnert kdegraphics-3.1.1a.ebuild,
The same fix for 3.1.1.
*kdegraphics-3.0.5b (08 Apr 2003)
08 Apr 2003; Hannes Mehnert kdegraphics-3.0.5b.ebuild,
files/kdegraphics-3.0.5b-kghostviewrc:
A security patch release fixing a kghostview vulnerability. See GLSA.
Also includes misc other fixes.
*kdegraphics-3.1.1 (14 Mar 2003)
19 Mar 2003; Jason Wever kdegraphics-3.1.1.ebuild:
Changed ~sparc keyword to sparc.
14 Mar 2003; Hannes Mehnert kdegraphics-3.1.1.ebuild:
version bump
15 Feb 2003; Jason Wever kdegraphics-3.1.ebuild:
Changed ~sparc keyword to sparc.
*kdegraphics-3.1 (01 Feb 2003)
28 Feb 2003; Will Woods kdegraphics-3.1.ebuild:
Added ~alpha keyword
12 Feb 2003; Hannes Mehnert kdegraphics-2.2.2.ebuild,
kdegraphics-3.0.2.ebuild, kdegraphics-3.0.3.ebuild,
kdegraphics-3.1_rc6.ebuild: rmoved old ebuilds
02 Feb 2003; Dan Armak ChangeLog :
Fix bug #14713: add missing deps on xpdf and tiff.
01 Feb 2003; Jack Morgan kdegraphics-3.1.ebuild:
added ~sparc to keywords
30 Jan 2003; Dan Armak ChangeLog :
Change ebuilds to use kde_src_unpack() instead of base_src_unpack(). This
does not affect in any way the compiled output, or any ebuild not suffering
rfom the 'languageChange undeclared' bug, which it fixes.
*kdegraphics-2.2.2-r1 (17 Jan 2003)
17 Jan 2003; Hannes Mehnert kdegraphics-2.2.2-r1.ebuild:
new version, fixes #12520
08 Jan 2003; Mark Guertin kdegraphics-3.1_rc6.ebuild:
added ~ppc to keywords
*kdegraphics-3.1_rc6 (05 Jan 2003)
05 Jan 2003; Hannes Mehnert kdegraphics-3.1_rc6.ebuild:
version bump
*kdegraphics-3.0.5a (21 Dec 2002)
06 Jan 2003; Jason Wever kdegraphics-3.0.5a.ebuild:
Added ~sparc keyword
21 Dec 2002; Hannes Mehnert kdegraphics-3.0.5a.ebuild:
version bump
08 Dec 2002; Jack Morgan kdegraphics-3.1_rc5.ebuild :
Added sparc keyword
06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords
04 Dec 2002; Olivier Reisch kdegraphics-3.1.ebuild:
Added ppc keyword
22 Nov 2002; Dan Armak kdegraphics-3.0.4.ebuild :
Add a default system-wide kghostviewrc with working interpreter settings
(gs). Fixes bug #6562.
22 Nov 2002; Dan Armak kdegraphics-3.0.4.ebuild :
Quick fix to use autoconf 2.1 again. I'll implement a proper fix in
need-kde() later.
*kdegraphics-3.1_rc3 (12 Nov 2002)
12 Nov 2002; Hannes Mehnert ChangeLog:
kde-3.1_rc3
*kdegraphics-3.1_rc2 (04 Nov 2002)
04 Nov 2002; Hannes Mehnert ChangeLog:
kde-3.1_rc2
20 Oct 2002; Dan Armak ChangeLog :
Disable the x86+scanner dep again because it triggers a bug in portage. Will
come back as soon as that bug is resolved.
20 Oct 2002; Dan Armak ChangeLog :
Fix #9271: Add a dep on libieee1284 on x86 if scanner is in use.
*kdegraphics-3.0.4 (09 Oct 2002)
09 Oct 2002; Dan Armak ChangeLog :
KDE 3.0.4, the latest bugfix release.
08 Sep 2002; Dan Armak ChangeLog :
Make building libkscan and kooka (the kde sane frontend) depend on the
new scanner use variale. This variable is on by default, so the default
behaviour is unchanged; therefore there is no new revision. Fix #4868.
*kdegraphics-3.0.3 (19 Aug 2002)
19 Aug 2002; Dan Armak ChangeLog :
New bugfix release. Enjoy!
*kdegraphics-3.0.2 (03 Jul 2002)
01 Aug 2002; Mark Guertin kde-3.0.2.ebuild :
Added ppc to keywords
03 Jul 2002; Dan Armak ChangeLog : : : : : : : : :
New stability release.
*kdegraphics-3.0.1.20020604 (4 Jun 2002)
4 Jun 2002; Dan Armak Changelog :
This is a snapshot of the KDE CVS's KDE_3_0_x branch from June 6th.
This branch contains only bugfixes to the 3.0 release (the 3.0.1 release
was also of this kind).
26 May 2002; Dan Armak Changelog:
Fix typo that reset $DEPEND to "".
*kdegraphics-3.0.1 (24 May 2002)
24 May 2002; Dan Armak Changelog :
Bugfix release (KDE 3.0.1). Ebuild cleanup. Update some deps.
12 Apr 2002; Seemant Kulleen kdegraphics-3.0.ebuild
kdegraphics-2.2.2.ebuild :
Changed the tex USE flag to tetex instead.
6 Apr 2002; Dan Armak changelog:
kdegraphics-2.2.2, kdegraphics-3.0: change gphoto dep from media-gfx/gphoto
to media-gfx/gphoto2. Resolves bug #1570. Thanks to Michael Hall for reporting.
*kdegraphics-3.0 (4 Apr 2002)
4 Apr 2002; Dan Armak Changelog :
KDE 3.0 ebuilds. Based on the well-tested kde3pre ebuild set.
*kdegraphics-2.2.2 (1 Feb 2002)
1 Feb 2002; G.Bevin ChangeLog :
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.
./kde-base/kdegraphics/kdegraphics-3.1.2.ebuild 0000644 0001750 0001751 00000002312 07715427243 017501 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegraphics/kdegraphics-3.1.2.ebuild,v 1.5 2003/07/22 21:02:43 gmsoft Exp $
inherit kde-dist
IUSE="gphoto2 tetex scanner"
DESCRIPTION="KDE graphics-related apps"
KEYWORDS="x86 ppc sparc alpha hppa"
newdepend "gphoto2? ( >=media-gfx/gphoto2-2.0_beta1 )
dev-lang/perl
scanner? ( media-gfx/sane-backends )
tetex? ( >=app-text/tetex-1.0.7 )
media-libs/imlib
app-text/ghostscript
virtual/glut virtual/opengl
media-libs/tiff
!media-gfx/kpovmodeler
x86? ( scanner? sys-libs/libieee1284 )
>=sys-apps/portage-2.0.47" # needed for the above dep ANDing to work
RDEPEND="$RDEPEND app-text/xpdf"
use gphoto2 && myconf="$myconf --with-kamera --with-gphoto2-includes=/usr/include/gphoto2 \
--with-gphoto2-libraries=/usr/lib/gphoto2 \
--with-gpio --with-gpio-includes=/usr/include \
--with-gpio-libraries=/usr/lib" || myconf="$myconf --without-kamera"
use tetex && myconf="$myconf --with-system-kpathsea --with-tex-datadir=/usr/share"
use scanner || KDE_REMOVE_DIR="kooka libkscan"
myconf="$myconf --with-imlib --with-imlib-config=/usr/bin"
./kde-base/kdelibs/ 0000755 0001750 0001751 00000000000 07715427243 012523 5 ustar roy roy ./kde-base/kdelibs/kdelibs-3.0.5b.ebuild 0000644 0001750 0001751 00000003600 07715427243 016130 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-3.0.5b.ebuild,v 1.4 2003/07/16 16:23:02 pvdabeel Exp $
inherit kde eutils
#don't inherit kde-base or kde-dist! it calls need-kde which adds kdelibs to depend!
IUSE="alsa cups ipv6 ssl"
DESCRIPTION="KDE $PV - base libraries needed by all kde programs"
KEYWORDS="x86 ppc ~alpha sparc"
HOMEPAGE="http//www.kde.org/"
SRC_URI="mirror://kde/stable/$PV/src/${P}.tar.bz2"
SLOT="3.0"
LICENSE="GPL-2 LGPL-2"
# kde.eclass has kdelibs in DEPEND, and we can't have that in here. so we recreate the entire
# DEPEND from scratch.
DEPEND=""
RDEPEND=""
newdepend "dev-lang/perl
>=media-libs/audiofile-0.1.9
>=sys-apps/bzip2-1.0.1
>=dev-libs/libxslt-1.0.7
>=dev-libs/libpcre-3.5
>=dev-libs/libxml2-2.4.10
ssl? ( >=dev-libs/openssl-0.9.6 )
alsa? ( >=media-libs/alsa-lib-0.5.9 >=media-sound/alsa-driver-0.5.9 )
cups? ( >=net-print/cups-1.1.14 )
>=media-libs/tiff-3.5.5
app-admin/fam-oss
~kde-base/arts-1.0.5b
app-text/ghostscript
sys-devel/gettext"
newdepend "/autotools"
RDEPEND="$RDEPEND
app-text/sgml-common
cups? ( net-print/cups )
dev-lang/python
>=sys-apps/portage-2.0.36" # for bug #7359
myconf="$myconf --with-distribution=Gentoo"
use ipv6 || myconf="$myconf --with-ipv6-lookup=no"
use ssl && myconf="$myconf --with-ssl-dir=/usr" || myconf="$myconf --without-ssl"
use alsa && myconf="$myconf --with-alsa" || myconf="$myconf --without-alsa"
use cups && myconf="$myconf --enable-cups" || myconf="$myconf --disable-cups"
[ "$ARCH" == "x86" ] && myconf="$myconf --enable-fast-malloc=full"
qtver-from-kdever ${PV}
need-qt $selected_version
set-kdedir $PV
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-libxml2-2.5.2.diff
kde_sandbox_patch ${S}/kio/misc/kpac
}
src_install() {
kde_src_install
dohtml *.html
}
./kde-base/kdelibs/files/ 0000755 0001750 0001751 00000000000 07715427243 013625 5 ustar roy roy ./kde-base/kdelibs/files/digest-kdelibs-3.1.1a 0000644 0001750 0001751 00000000210 07715427243 017232 0 ustar roy roy MD5 5687b1f9d7e0698f63c35c53322c786a kdelibs-3.1.1a.diff.bz2 156512
MD5 15eb9412c589126844b277b9e80cfffc kdelibs-3.1.1.tar.bz2 10313173
./kde-base/kdelibs/files/kdelibs-2.2.2a-crosside.diff 0000644 0001750 0001751 00000002363 07715427243 020511 0 ustar roy roy --- khtml/ecma/kjs_html.cpp 2002/01/08 13:42:53 1.108.2.3
+++ khtml/ecma/kjs_html.cpp 2002/09/10 16:31:26 1.108.2.4
@@ -858,7 +858,6 @@ KJSO KJS::HTMLElement::tryGet(const UStr
case ID_FRAME: {
DOM::HTMLFrameElement frameElement = element;
- // p == "document" ?
if (p == "frameBorder") return getString(frameElement.frameBorder());
else if (p == "longDesc") return getString(frameElement.longDesc());
else if (p == "marginHeight") return getString(frameElement.marginHeight());
@@ -873,9 +872,11 @@ KJSO KJS::HTMLElement::tryGet(const UStr
break;
case ID_IFRAME: {
DOM::HTMLIFrameElement iFrame = element;
+ KHTMLPart* part = iFrame.isNull() ? 0 : static_cast(iFrame.handle() )->frameDocument()->view()->part();
if (p == "align") return getString(iFrame.align());
- // ### security check ?
- else if (p == "document") {
+ else if ((iFrame.src().isEmpty() || !part || originCheck(part->url(), Window::retrieveActive()->part()->url()))
+
+ && p == "document") {
if ( !iFrame.isNull() )
return getDOMNode( static_cast(iFrame.handle() )->frameDocument() );
./kde-base/kdelibs/files/digest-kdelibs-2.2.2a-r2 0000644 0001750 0001751 00000000213 07715427243 017557 0 ustar roy roy MD5 51ec17dce9c62b50a3c2e97e4511cdcf kdelibs-2.2.2.tar.bz2 5955592
MD5 e2c50fb7c97e1fbc8939e30a30054e45 post-2.2.2-kdelibs-kimgio.diff 509
./kde-base/kdelibs/files/kdelibs-3.0.5b-libxml2-2.5.2.diff 0000644 0001750 0001751 00000001277 07715427243 020717 0 ustar roy roy --- kdoctools/customization/entities/general.entities~ 2003-03-14 23:11:41.000000000 +0100
+++ kdoctools/customization/entities/general.entities 2003-03-14 23:12:24.000000000 +0100
@@ -353,7 +353,7 @@
SMTP">
SGI">
Solaris">
-SuSE'>
+SuSE'>
3Com'>
tkmidi">
TrueType'>
./kde-base/kdelibs/files/kdelibs-3.1.1a-kjs-alphaev6-gcc3-workaround.patch 0000644 0001750 0001751 00000000735 07715427243 024366 0 ustar roy roy --- kjs/ustring.cpp.orig 2003-01-23 15:49:49.000000000 -0500
+++ kjs/ustring.cpp 2003-01-27 19:49:00.000000000 -0500
@@ -421,8 +421,15 @@
{
double d = toDouble();
bool b = true;
+ /* useless temporary variable to work around gcc optimization bug */
+ bool nan = false;
- if (isNaN(d) || d != static_cast(d)) {
+ if (isNaN(d)) {
+ d = 0;
+ nan = true;
+ }
+
+ if (nan || d != static_cast(d)) {
b = false;
d = 0;
}
./kde-base/kdelibs/files/kdelibs-3.1.2-http.patch 0000644 0001750 0001751 00000002652 07715427243 017704 0 ustar roy roy --- kioslave/http/http.cc 7 May 2003 16:43:40 -0000 1.551.2.15
+++ kioslave/http/http.cc 4 Jul 2003 11:37:27 -0000 1.551.2.21
@@ -230,19 +229,30 @@
kdDebug(7113) << "(" << m_pid << ") ssl_was_in_use = "
<< metaData ("ssl_was_in_use") << endl;
+ m_request.referrer = QString::null;
if ( config()->readBoolEntry("SendReferrer", true) &&
(m_protocol == "https" || m_protocol == "webdavs" ||
metaData ("ssl_was_in_use") != "TRUE" ) )
- m_request.referrer = metaData("referrer");
- else
- m_request.referrer = QString::null;
-
- if (!m_request.referrer.startsWith("http"))
{
- if (m_request.referrer.startsWith("webdav"))
- m_request.referrer.replace(0, 6, "http");
- else
- m_request.referrer = QString::null;
+ KURL referrerURL = metaData("referrer");
+ if (referrerURL.isValid())
+ {
+ // Sanitize
+ QString protocol = referrerURL.protocol();
+ if (protocol.startsWith("webdav"))
+ {
+ protocol.replace(0, 6, "http");
+ referrerURL.setProtocol(protocol);
+ }
+
+ if (protocol.startsWith("http"))
+ {
+ referrerURL.setRef(QString::null);
+ referrerURL.setUser(QString::null);
+ referrerURL.setPass(QString::null);
+ m_request.referrer = referrerURL.url();
+ }
+ }
}
if ( config()->readBoolEntry("SendLanguageSettings", true) )
./kde-base/kdelibs/files/digest-kdelibs-3.0.4-r1 0000644 0001750 0001751 00000000216 07715427243 017421 0 ustar roy roy MD5 0b81f457a78c07978d2c973e0d7d7d49 kdelibs-3.0.4.tar.bz2 7643484
MD5 5625501819f09510d542142aea7b85ab post-3.0.4-kdelibs-kio-misc.diff 2384
./kde-base/kdelibs/files/kdelibs-3.1.3-render_root.patch 0000644 0001750 0001751 00000001600 07715427243 021240 0 ustar roy roy --- khtml/rendering/render_root.cpp.orig 16 Jul 2003 00:13:32 -0000 1.116.2.3
+++ khtml/rendering/render_root.cpp 2 Aug 2003 21:28:49 -0000 1.116.2.4
@@ -118,7 +118,7 @@ void RenderRoot::layout()
#endif
if (!m_printingMode) {
QSize s = m_view->viewportSize(m_view->contentsWidth(),
- 0);
+ m_view->contentsHeight());
m_width = s.width();
m_height = s.height();
}
@@ -132,7 +132,7 @@ void RenderRoot::layout()
if (!m_printingMode) {
m_view->resizeContents(docWidth(), docHeight());
QSize s = m_view->viewportSize(m_view->contentsWidth(),
- m_view->contentsHeight());
+ 0);
setWidth( m_viewportWidth = s.width() );
setHeight( m_viewportHeight = s.height() );
}
./kde-base/kdelibs/files/kdelibs-3.1.2-khtml.patch 0000644 0001750 0001751 00000002716 07715427243 020045 0 ustar roy roy --- khtml/khtml_part.cpp 3 Jul 2003 17:13:02 -0000 1.770.2.27
+++ khtml/khtml_part.cpp 10 Jul 2003 11:45:10 -0000
@@ -4171,7 +4171,27 @@
QString KHTMLPart::referrer() const
{
- return d->m_pageReferrer;
+ return d->m_referrer;
+}
+
+QString KHTMLPart::pageReferrer() const
+{
+ KURL referrerURL = d->m_pageReferrer;
+ if (referrerURL.isValid())
+ {
+ QString protocol = referrerURL.protocol();
+
+ if ((protocol == "http") ||
+ ((protocol == "https") && (m_url.protocol() == "https")))
+ {
+ referrerURL.setRef(QString::null);
+ referrerURL.setUser(QString::null);
+ referrerURL.setPass(QString::null);
+ return referrerURL.url();
+ }
+ }
+
+ return QString::null;
}
--- khtml/khtml_part.h 18 May 2003 12:34:36 -0000 1.197.2.5
+++ khtml/khtml_part.h 10 Jul 2003 11:45:11 -0000
@@ -702,6 +702,11 @@
QString referrer() const;
/**
+ * Referrer used to obtain this page.
+ */
+ QString pageReferrer() const;
+
+ /**
* Last-modified date (in raw string format), if received in the [HTTP] headers.
*/
QString lastModified() const;
--- khtml/html/html_documentimpl.cpp 27 Jun 2003 09:55:33 -0000 1.143.2.6
+++ khtml/html/html_documentimpl.cpp 10 Jul 2003 11:45:11 -0000
@@ -85,7 +85,7 @@
DOMString HTMLDocumentImpl::referrer() const
{
if ( view() )
- return view()->part()->referrer();
+ return view()->part()->pageReferrer();
return DOMString();
}
./kde-base/kdelibs/files/kdelibs-2.2.2a-gentoo.diff 0000644 0001750 0001751 00000224014 07715427243 020170 0 ustar roy roy Index: kdelibs/arts/mcop/debug.cc
diff -u kdelibs/arts/mcop/debug.cc:1.6 kdelibs/arts/mcop/debug.cc:1.6.2.2
--- arts/mcop/debug.cc:1.6 Wed Jul 25 12:41:35 2001
+++ arts/mcop/debug.cc Fri Dec 6 16:12:02 2002
@@ -1,8 +1,11 @@
/*
- Copyright (C) 2000 Stefan Westerfeld
+ Copyright (C) 2000-2002 Stefan Westerfeld
stefan@space.twc.de
+ (see also below for details on the copyright of arts_strdup_printf,
+ which is taken from GLib)
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
@@ -33,8 +36,36 @@
static char *messageAppName = 0;
static Arts::Mutex *arts_debug_mutex = 0;
+/* routines for variable length sprintf without buffer overflow (from GLib) */
+static char* arts_strdup_vprintf(const char *format, va_list args1);
+static char* arts_strdup_printf (const char *format, ...);
+
namespace Arts {
+static char * shell_quote(const char *s)
+{
+ char *result;
+ char *p;
+ p = result = (char *) malloc(strlen(s)*5+1);
+ while(*s)
+ {
+ if (*s == '\'')
+ {
+ *p++ = '\'';
+ *p++ = '"';
+ *p++ = *s++;
+ *p++ = '"';
+ *p++ = '\'';
+ }
+ else
+ {
+ *p++ = *s++;
+ }
+ }
+ *p = '\0';
+ return result;
+}
+
/*
* Call the graphical application to display a message, if
* defined. Otherwise, send to standard error. Debug messages are
@@ -42,8 +73,9 @@
* Note that the external application is run in the background to
* avoid blocking the sound server.
*/
-void output_message(Debug::Level level, const char *msg) {
- char buff[1024];
+static void output_message(Debug::Level level, const char *msg) {
+ char *quoted_msg;
+ char *buff = 0;
/* default to text output if no message app is defined or if it is a debug message. */
if (messageAppName == 0 || !strcmp(messageAppName, "") || (level == Debug::lDebug))
@@ -52,20 +84,27 @@
return;
}
+ quoted_msg = shell_quote(msg);
switch (level) {
case Debug::lFatal:
- sprintf(buff, "%s -e \"Sound server fatal error:\n\n%s\" &", messageAppName, msg);
+ buff = arts_strdup_printf("%s -e 'Sound server fatal error:\n\n%s' &", messageAppName, quoted_msg);
break;
case Debug::lWarning:
- sprintf(buff, "%s -w \"Sound server warning message:\n\n%s\" &", messageAppName, msg);
+ buff = arts_strdup_printf("%s -w 'Sound server warning message:\n\n%s' &", messageAppName, quoted_msg);
break;
case Debug::lInfo:
- sprintf(buff, "%s -i \"Sound server informational message:\n\n%s\" &", messageAppName, msg);
+ buff = arts_strdup_printf("%s -i 'Sound server informational message:\n\n%s' &", messageAppName, quoted_msg);
break;
default:
break; // avoid compile warning
}
+ free(quoted_msg);
+
+ if(buff != 0)
+ {
system(buff);
+ free(buff);
+ }
}
/*
@@ -76,7 +115,7 @@
* previously repeated message (if any) and reset the last message and
* count.
*/
-void display_message(Debug::Level level, const char *msg) {
+static void display_message(Debug::Level level, const char *msg) {
static char lastMsg[1024];
static Debug::Level lastLevel;
static int msgCount = 0;
@@ -90,9 +129,10 @@
} else {
if (msgCount > 0)
{
- char buff[1024];
- sprintf(buff, "%s\n(The previous message was repeated %d times.)", lastMsg, msgCount);
+ char *buff;
+ buff = arts_strdup_printf("%s\n(The previous message was repeated %d times.)", lastMsg, msgCount);
output_message(lastLevel, buff);
+ free(buff);
}
strncpy(lastMsg, msg, 1024);
lastLevel = level;
@@ -140,12 +180,15 @@
void Arts::Debug::fatal(const char *fmt, ...)
{
- char buff[1024];
+ char *buff;
va_list ap;
+
va_start(ap, fmt);
- vsprintf(buff, fmt, ap);
+ buff = arts_strdup_vprintf(fmt, ap);
va_end(ap);
+
display_message(Debug::lFatal, buff);
+ free(buff);
if(arts_debug_abort) abort();
exit(1);
@@ -155,12 +198,15 @@
{
if(lWarning >= arts_debug_level)
{
- char buff[1024];
+ char *buff;
va_list ap;
+
va_start(ap, fmt);
- vsprintf(buff, fmt, ap);
+ buff = arts_strdup_vprintf(fmt, ap);
va_end(ap);
+
display_message(Debug::lWarning, buff);
+ free(buff);
}
}
@@ -168,12 +214,15 @@
{
if(lInfo >= arts_debug_level)
{
- char buff[1024];
+ char *buff;
va_list ap;
+
va_start(ap, fmt);
- vsprintf(buff, fmt, ap);
+ buff = arts_strdup_vprintf(fmt, ap);
va_end(ap);
+
display_message(Debug::lInfo, buff);
+ free(buff);
}
}
@@ -181,12 +230,15 @@
{
if(lDebug >= arts_debug_level)
{
- char buff[1024];
+ char *buff;
va_list ap;
+
va_start(ap, fmt);
- vsprintf(buff, fmt, ap);
+ buff = arts_strdup_vprintf(fmt, ap);
va_end(ap);
+
display_message(Debug::lDebug, buff);
+ free(buff);
}
}
@@ -209,4 +261,551 @@
delete arts_debug_mutex;
arts_debug_mutex = 0;
+}
+
+/*
+ * For the sake of portability (snprintf is non-portable), what follows is an
+ * implementation of a variant g_strdup_printf, to format debug messages of
+ * an arbitary length appropriately. This is reduntant with flow/gsl/gslglib.c,
+ * however, as libmcop doesn't necessarily link against gslglib.c, this is a
+ * more-or-less complete copy.
+ */
+
+/* GLIB - Library of useful routines for C programming
+ * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
+ *
+ * GScanner: Flexible lexical scanner for general purpose.
+ * Copyright (C) 1997, 1998 Tim Janik
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+/*
+ * Modified by the GLib Team and others 1997-2000. See the AUTHORS
+ * file for a list of people on the GLib Team. See the ChangeLog
+ * files for a list of changes. These files are distributed with
+ * GLib at ftp://ftp.gtk.org/pub/gtk/.
+ */
+
+
+#include
+#include
+#include
+
+#define g_warning printf
+#define g_strerror strerror
+
+/*--- gslglib.h ---*/
+
+#include
+#include
+#include
+#include
+
+/* --- GLib typedefs --- */
+typedef void* gpointer;
+typedef const void* gconstpointer;
+typedef char gchar;
+typedef unsigned char guchar;
+typedef signed short gshort;
+typedef unsigned short gushort;
+typedef signed int gint;
+typedef unsigned int guint;
+typedef signed long glong;
+typedef unsigned long gulong;
+typedef float gfloat;
+typedef double gdouble;
+typedef size_t gsize;
+typedef gchar gint8;
+typedef guchar guint8;
+typedef gshort gint16;
+typedef gushort guint16;
+typedef gint gint32;
+typedef guint guint32;
+typedef gint gboolean;
+typedef gint32 GTime;
+#ifdef __alpha
+typedef long int gint64;
+typedef unsigned long int guint64;
+#else
+typedef long long int gint64;
+typedef unsigned long long int guint64;
+#endif
+typedef struct _GString GString;
+
+/* --- standard macros --- */
+#ifndef ABS
+#define ABS(a) ((a) > 0 ? (a) : -(a))
+#endif
+#ifndef MAX
+#define MAX(a,b) ((a) > (b) ? (a) : (b))
+#endif
+#ifndef MIN
+#define MIN(a,b) ((a) < (b) ? (a) : (b))
+#endif
+#ifndef CLAMP
+#define CLAMP(v,l,h) ((v) < (l) ? (l) : (v) > (h) ? (h) : (v))
+#endif
+#ifndef FALSE
+#define FALSE 0
+#endif
+#ifndef TRUE
+#define TRUE (!FALSE)
+#endif
+#ifndef NULL
+#define NULL ((void*) 0)
+#endif
+
+/* --- configure stuff!!! --- */
+#ifdef WORDS_BIGENDIAN
+#define G_BYTE_ORDER G_BIG_ENDIAN
+#else
+#define G_BYTE_ORDER G_LITTLE_ENDIAN
+#endif
+
+/* #define GLIB_HAVE_STPCPY 1 */
+/* Define G_VA_COPY() to do the right thing for copying va_list variables.
+ * glibconfig.h may have already defined G_VA_COPY as va_copy or __va_copy.
+ */
+#if !defined (G_VA_COPY)
+# if defined (__GNUC__) && ( defined (__PPC__) || defined (__s390__) ) && (defined (_CALL_SYSV) || defined (_WIN32) || defined (__s390__) )
+# define G_VA_COPY(ap1, ap2) (*(ap1) = *(ap2))
+# elif defined (G_VA_COPY_AS_ARRAY)
+# define G_VA_COPY(ap1, ap2) g_memmove ((ap1), (ap2), sizeof (va_list))
+# else /* va_list is a pointer */
+# define G_VA_COPY(ap1, ap2) ((ap1) = (ap2))
+# endif /* va_list is a pointer */
+#endif /* !G_VA_COPY */
+
+/* --- glib macros --- */
+#define G_MINFLOAT FLT_MIN
+#define G_MAXFLOAT FLT_MAX
+#define G_MINDOUBLE DBL_MIN
+#define G_MAXDOUBLE DBL_MAX
+#define G_MINSHORT SHRT_MIN
+#define G_MAXSHORT SHRT_MAX
+#define G_MAXUSHORT USHRT_MAX
+#define G_MININT INT_MIN
+#define G_MAXINT INT_MAX
+#define G_MAXUINT UINT_MAX
+#define G_MINLONG LONG_MIN
+#define G_MAXLONG LONG_MAX
+#define G_MAXULONG ULONG_MAX
+#define G_USEC_PER_SEC 1000000
+#define G_LITTLE_ENDIAN 1234
+#define G_BIG_ENDIAN 4321
+
+#define G_STRINGIFY(macro_or_string) G_STRINGIFY_ARG (macro_or_string)
+#define G_STRINGIFY_ARG(contents) #contents
+#if defined __GNUC__ && !defined __cplusplus
+# define G_STRLOC __FILE__ ":" G_STRINGIFY (__LINE__) ":" __PRETTY_FUNCTION__ "()"
+#else
+# define G_STRLOC __FILE__ ":" G_STRINGIFY (__LINE__)
+#endif
+
+/* subtract from biased_exponent to form base2 exponent (normal numbers) */
+typedef union _GDoubleIEEE754 GDoubleIEEE754;
+typedef union _GFloatIEEE754 GFloatIEEE754;
+#define G_IEEE754_FLOAT_BIAS (127)
+#define G_IEEE754_DOUBLE_BIAS (1023)
+/* multiply with base2 exponent to get base10 exponent (nomal numbers) */
+#define G_LOG_2_BASE_10 (0.30102999566398119521)
+#if G_BYTE_ORDER == G_LITTLE_ENDIAN
+union _GFloatIEEE754
+{
+ gfloat v_float;
+ struct {
+ guint mantissa : 23;
+ guint biased_exponent : 8;
+ guint sign : 1;
+ } mpn;
+};
+union _GDoubleIEEE754
+{
+ gdouble v_double;
+ struct {
+ guint mantissa_low : 32;
+ guint mantissa_high : 20;
+ guint biased_exponent : 11;
+ guint sign : 1;
+ } mpn;
+};
+#elif G_BYTE_ORDER == G_BIG_ENDIAN
+union _GFloatIEEE754
+{
+ gfloat v_float;
+ struct {
+ guint sign : 1;
+ guint biased_exponent : 8;
+ guint mantissa : 23;
+ } mpn;
+};
+union _GDoubleIEEE754
+{
+ gdouble v_double;
+ struct {
+ guint sign : 1;
+ guint biased_exponent : 11;
+ guint mantissa_high : 20;
+ guint mantissa_low : 32;
+ } mpn;
+};
+#else /* !G_LITTLE_ENDIAN && !G_BIG_ENDIAN */
+#error unknown ENDIAN type
+#endif /* !G_LITTLE_ENDIAN && !G_BIG_ENDIAN */
+
+#include
+#include
+#include
+#include
+
+#define GLIB_SIZEOF_INTMAX (8 /* educated guess */)
+
+typedef struct
+{
+ guint min_width;
+ guint precision;
+ gboolean alternate_format, zero_padding, adjust_left, locale_grouping;
+ gboolean add_space, add_sign, possible_sign, seen_precision;
+ gboolean mod_half, mod_long, mod_extra_long;
+} PrintfArgSpec;
+
+
+static gsize
+printf_string_upper_bound (const gchar *format,
+ gboolean may_warn,
+ va_list args)
+{
+ static gboolean honour_longs = sizeof(long) > 4 || sizeof(void*) > 4;
+ gsize len = 1;
+
+ if (!format)
+ return len;
+
+ while (*format)
+ {
+ register gchar c = *format++;
+
+ if (c != '%')
+ len += 1;
+ else /* (c == '%') */
+ {
+ PrintfArgSpec spec = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
+ gboolean seen_l = FALSE, conv_done = FALSE;
+ gsize conv_len = 0;
+ const gchar *spec_start = format;
+
+ do
+ {
+ c = *format++;
+ switch (c)
+ {
+ GDoubleIEEE754 u_double;
+ guint v_uint;
+ gint v_int;
+ const gchar *v_string;
+
+ /* beware of positional parameters
+ */
+ case '$':
+ if (may_warn)
+ g_warning (G_STRLOC ": unable to handle positional parameters (%%n$)");
+ len += 1024; /* try adding some safety padding */
+ break;
+
+ /* parse flags
+ */
+ case '#':
+ spec.alternate_format = TRUE;
+ break;
+ case '0':
+ spec.zero_padding = TRUE;
+ break;
+ case '-':
+ spec.adjust_left = TRUE;
+ break;
+ case ' ':
+ spec.add_space = TRUE;
+ break;
+ case '+':
+ spec.add_sign = TRUE;
+ break;
+ case '\'':
+ spec.locale_grouping = TRUE;
+ break;
+
+ /* parse output size specifications
+ */
+ case '.':
+ spec.seen_precision = TRUE;
+ break;
+ case '1':
+ case '2':
+ case '3':
+ case '4':
+ case '5':
+ case '6':
+ case '7':
+ case '8':
+ case '9':
+ v_uint = c - '0';
+ c = *format;
+ while (c >= '0' && c <= '9')
+ {
+ format++;
+ v_uint = v_uint * 10 + c - '0';
+ c = *format;
+ }
+ if (spec.seen_precision)
+ spec.precision = MAX (spec.precision, v_uint);
+ else
+ spec.min_width = MAX (spec.min_width, v_uint);
+ break;
+ case '*':
+ v_int = va_arg (args, int);
+ if (spec.seen_precision)
+ {
+ /* forget about negative precision */
+ if (v_int >= 0)
+ spec.precision = MAX (spec.precision, (unsigned)v_int);
+ }
+ else
+ {
+ if (v_int < 0)
+ {
+ v_int = - v_int;
+ spec.adjust_left = TRUE;
+ }
+ spec.min_width = MAX (spec.min_width, (unsigned)v_int);
+ }
+ break;
+
+ /* parse type modifiers
+ */
+ case 'h':
+ spec.mod_half = TRUE;
+ break;
+ case 'l':
+ if (!seen_l)
+ {
+ spec.mod_long = TRUE;
+ seen_l = TRUE;
+ break;
+ }
+ /* else, fall through */
+ case 'L':
+ case 'q':
+ spec.mod_long = TRUE;
+ spec.mod_extra_long = TRUE;
+ break;
+ case 'z':
+ case 'Z':
+ if (sizeof(size_t))
+ {
+ spec.mod_long = TRUE;
+ spec.mod_extra_long = TRUE;
+ }
+ break;
+ case 't':
+ if (sizeof(ptrdiff_t) > 4)
+ {
+ spec.mod_long = TRUE;
+ spec.mod_extra_long = TRUE;
+ }
+ break;
+ case 'j':
+ if (GLIB_SIZEOF_INTMAX > 4)
+ {
+ spec.mod_long = TRUE;
+ spec.mod_extra_long = TRUE;
+ }
+ break;
+
+ /* parse output conversions
+ */
+ case '%':
+ conv_len += 1;
+ break;
+ case 'O':
+ case 'D':
+ case 'I':
+ case 'U':
+ /* some C libraries feature long variants for these as well? */
+ spec.mod_long = TRUE;
+ /* fall through */
+ case 'o':
+ conv_len += 2;
+ /* fall through */
+ case 'd':
+ case 'i':
+ conv_len += 1; /* sign */
+ /* fall through */
+ case 'u':
+ conv_len += 4;
+ /* fall through */
+ case 'x':
+ case 'X':
+ spec.possible_sign = TRUE;
+ conv_len += 10;
+ if (spec.mod_long && honour_longs)
+ conv_len *= 2;
+ if (spec.mod_extra_long)
+ conv_len *= 2;
+ if (spec.mod_extra_long)
+ {
+ (void) va_arg (args, gint64);
+ }
+ else if (spec.mod_long)
+ (void) va_arg (args, long);
+ else
+ (void) va_arg (args, int);
+ break;
+ case 'A':
+ case 'a':
+ /* 0x */
+ conv_len += 2;
+ /* fall through */
+ case 'g':
+ case 'G':
+ case 'e':
+ case 'E':
+ case 'f':
+ spec.possible_sign = TRUE;
+ /* n . dddddddddddddddddddddddd E +- eeee */
+ conv_len += 1 + 1 + MAX (24, spec.precision) + 1 + 1 + 4;
+ if (may_warn && spec.mod_extra_long)
+ g_warning (G_STRLOC ": unable to handle long double, collecting double only");
+#ifdef HAVE_LONG_DOUBLE
+#error need to implement special handling for long double
+#endif
+ u_double.v_double = va_arg (args, double);
+ /* %f can expand up to all significant digits before '.' (308) */
+ if (c == 'f' &&
+ u_double.mpn.biased_exponent > 0 && u_double.mpn.biased_exponent < 2047)
+ {
+ gint exp = u_double.mpn.biased_exponent;
+
+ exp -= G_IEEE754_DOUBLE_BIAS;
+ exp = (gint)(exp * G_LOG_2_BASE_10 + 1);
+ conv_len += ABS (exp); /* exp can be <0 */
+ }
+ /* some printf() implementations require extra padding for rounding */
+ conv_len += 2;
+ /* we can't really handle locale specific grouping here */
+ if (spec.locale_grouping)
+ conv_len *= 2;
+ break;
+ case 'C':
+ spec.mod_long = TRUE;
+ /* fall through */
+ case 'c':
+ conv_len += spec.mod_long ? MB_LEN_MAX : 1;
+ (void) va_arg (args, int);
+ break;
+ case 'S':
+ spec.mod_long = TRUE;
+ /* fall through */
+ case 's':
+ v_string = va_arg (args, char*);
+ if (!v_string)
+ conv_len += 8; /* hold "(null)" */
+ else if (spec.seen_precision)
+ conv_len += spec.precision;
+ else
+ conv_len += strlen (v_string);
+ conv_done = TRUE;
+ if (spec.mod_long)
+ {
+ if (may_warn)
+ g_warning (G_STRLOC": unable to handle wide char strings");
+ len += 1024; /* try adding some safety padding */
+ }
+ break;
+ case 'P': /* do we actually need this? */
+ /* fall through */
+ case 'p':
+ spec.alternate_format = TRUE;
+ conv_len += 10;
+ if (honour_longs)
+ conv_len *= 2;
+ /* fall through */
+ case 'n':
+ conv_done = TRUE;
+ (void) va_arg (args, void*);
+ break;
+ case 'm':
+ /* there's not much we can do to be clever */
+ v_string = g_strerror (errno);
+ v_uint = v_string ? strlen (v_string) : 0;
+ conv_len += MAX (256, v_uint);
+ break;
+
+ /* handle invalid cases
+ */
+ case '\000':
+ /* no conversion specification, bad bad */
+ conv_len += format - spec_start;
+ break;
+ default:
+ if (may_warn)
+ g_warning (G_STRLOC": unable to handle `%c' while parsing format",
+ c);
+ break;
+ }
+ conv_done |= conv_len > 0;
+ }
+ while (!conv_done);
+ /* handle width specifications */
+ conv_len = MAX (conv_len, MAX (spec.precision, spec.min_width));
+ /* handle flags */
+ conv_len += spec.alternate_format ? 2 : 0;
+ conv_len += (spec.add_space || spec.add_sign || spec.possible_sign);
+ /* finally done */
+ len += conv_len;
+ } /* else (c == '%') */
+ } /* while (*format) */
+
+ return len;
+}
+
+static char*
+arts_strdup_vprintf (const char *format, va_list args1)
+{
+ gchar *buffer;
+ va_list args2;
+
+ G_VA_COPY (args2, args1);
+
+ buffer = (gchar *)malloc (printf_string_upper_bound (format, TRUE, args1));
+
+ vsprintf (buffer, format, args2);
+ va_end (args2);
+
+ return buffer;
+}
+
+char*
+arts_strdup_printf (const char *format, ...)
+{
+ gchar *buffer;
+ va_list args;
+
+ va_start (args, format);
+ buffer = arts_strdup_vprintf (format, args);
+ va_end (args);
+
+ return buffer;
}
Index: kdelibs/dcop/dcopc.c
diff -u kdelibs/dcop/dcopc.c:1.17 kdelibs/dcop/dcopc.c:1.17.2.1
--- dcop/dcopc.c:1.17 Wed Apr 18 18:18:55 2001
+++ dcop/dcopc.c Sat Dec 7 18:48:29 2002
@@ -36,6 +36,9 @@
#include "dcopglobal.h"
#include "dcopc.h"
+
+#define BUFFER_SIZE 1024
+
enum {
DCOP_REPLY_PENDING,
DCOP_REPLY_OK,
@@ -133,7 +136,11 @@
int length;
char * pos = dcop_read_int(buf, &length);
fprintf(stderr, "dcop_read_string: length == %d\n", length);
+
*output = (char *)malloc(length);
+ if (*output == NULL)
+ return pos;
+
memcpy(*output, pos, length);
return pos + length;
}
@@ -215,6 +222,8 @@
fprintf(stderr, "dcop_process_message(): length == %ld\n", length);
buf = (char *)malloc(length);
+ if (buf == NULL)
+ return;
status = IceReadData(dcop_ice_conn, length, buf);
if (False == status) {
fprintf(stderr, "dcop_process_message(): IceReadData failed\n");
@@ -253,6 +262,9 @@
fprintf(stderr, "dcop_process_message(): DCOPSend received\n");
buf = (char *)malloc(length);
+ if (buf == NULL)
+ return;
+
IceReadData(dcop_ice_conn, length, buf);
pos = buf;
@@ -307,6 +319,8 @@
struct DCOPMsg * pMsgPtr = 0;
+ static const char sAnonymous = "anonymous";
+
if (0 == dcop_ice_conn) {
fprintf(stderr, "Try running dcop_attach(), moron\n");
return False;
@@ -338,10 +352,19 @@
* as last field into the dcop msg header ;-)
*/
- header = (char *)malloc(1024);
+ headerLength = strlen(sAnonymous) + 1 +
+ strlen(receiving_app) + 1 +
+ strlen(object) + 1 +
+ strlen(function) + 1 +
+ 4*5; /* 4 string lengths + 1 int */
+
+ header = (char *)malloc(headerLength);
+ if (header == NULL)
+ return False;
+
pos = header;
- pos = dcop_write_string(pos, "anonymous");
+ pos = dcop_write_string(pos, sAnonymous);
pos = dcop_write_string(pos, receiving_app);
pos = dcop_write_string(pos, object);
pos = dcop_write_string(pos, function);
@@ -423,6 +446,8 @@
temp += 1024; /* Extra space for marshalling overhead */
outputData = (char *)malloc(temp);
+ if (outputData == NULL)
+ return False;
temp = 0;
@@ -556,10 +581,16 @@
/* Leave room for "-pid" */
int len = strlen(app_name) + 64;
dcop_requested_name = (char *)malloc(len);
+ if (dcop_requested_name == NULL)
+ return NULL;
+
snprintf(dcop_requested_name, len, "%s-%ld", app_name, (long)getpid());
}
data = (char *)malloc(strlen(dcop_requested_name) + 42);
+ if (data == NULL)
+ return NULL;
+
pos = data;
pos = dcop_write_string(pos, dcop_requested_name);
dataLength = pos - data;
@@ -616,6 +647,7 @@
return (dcop_major_opcode >= 0) ? True : False;
}
+
/***************************************************************************/
Bool
@@ -628,10 +660,10 @@
char * homeDir = 0L;
char * display = 0L;
char * dcopServer = 0L;
- char errBuf[1024];
- char fileName[512];
- char hostName[256];
- char displayName[256];
+ char errBuf[BUFFER_SIZE];
+ char fileName[BUFFER_SIZE];
+ char hostName[BUFFER_SIZE];
+ char displayName[BUFFER_SIZE];
char * i;
homeDir = getenv("HOME");
@@ -644,7 +676,9 @@
if (NULL == display)
return False;
- strcpy(displayName, display);
+ strncpy(displayName, display, sizeof(displayName));
+ displayName[sizeof(displayName) - 1] = 0;
+
if((i = strrchr(displayName, '.')) > strrchr(displayName, ':') && i)
*i = '\0';
@@ -668,9 +702,12 @@
return False;
}
- dcopServer = (char *)malloc(1024);
+ dcopServer = (char *)malloc(BUFFER_SIZE);
+ if (dcopServer == NULL)
+ return False;
- bytesRead = fread((void *)dcopServer, sizeof(char), 1024, f);
+ bytesRead = fread((void *)dcopServer, sizeof(char), BUFFER_SIZE, f);
+ dcopServer[BUFFER_SIZE - 1] = 0;
if (0 == bytesRead)
return False;
@@ -719,7 +756,7 @@
int majorVersion = 0;
int minorVersion = 0;
int status = 0;
- char errBuf[1024];
+ char errBuf[BUFFER_SIZE];
status =
IceProtocolSetup(
@@ -731,7 +768,7 @@
&(minorVersion),
&(vendor),
&(release),
- 1024,
+ BUFFER_SIZE,
errBuf
);
Index: kdelibs/dcop/dcopserver.cpp
diff -u kdelibs/dcop/dcopserver.cpp:1.130 kdelibs/dcop/dcopserver.cpp:1.130.2.1
--- dcop/dcopserver.cpp:1.130 Thu Aug 2 19:23:20 2001
+++ dcop/dcopserver.cpp Sat Dec 7 18:48:31 2002
@@ -475,12 +475,15 @@
char tempFile[PATH_MAX];
char *tmp;
- sprintf (tempFile, "%s/%sXXXXXX", path, prefix);
+ snprintf (tempFile, PATH_MAX, "%s/%sXXXXXX", path, prefix);
tmp = (char *) mktemp (tempFile);
if (tmp)
{
char *ptr = (char *) malloc (strlen (tmp) + 1);
- strcpy (ptr, tmp);
+ if (ptr != NULL)
+ {
+ strcpy (ptr, tmp);
+ }
return (ptr);
}
else
@@ -490,7 +493,7 @@
char tempFile[PATH_MAX];
char *ptr;
- sprintf (tempFile, "%s/%sXXXXXX", path, prefix);
+ snprintf (tempFile, PATH_MAX, "%s/%sXXXXXX", path, prefix);
ptr = static_cast(malloc(strlen(tempFile) + 1));
if (ptr != NULL)
{
@@ -541,7 +544,7 @@
FILE *removefp = NULL;
const char *path;
int original_umask;
- char command[256];
+ char command[PATH_MAX + 32];
int i;
#ifdef HAVE_MKSTEMP
int fd;
@@ -613,7 +616,7 @@
umask (original_umask);
- sprintf (command, "iceauth source %s", addAuthFile);
+ snprintf (command, PATH_MAX + 32, "iceauth source %s", addAuthFile);
system (command);
unlink(addAuthFile);
Index: kdelibs/dcop/KDE-ICE/Xtrans.c
diff -u kdelibs/dcop/KDE-ICE/Xtrans.c:1.2 kdelibs/dcop/KDE-ICE/Xtrans.c:1.2.2.1
--- dcop/KDE-ICE/Xtrans.c:1.2 Mon May 14 08:32:16 2001
+++ dcop/KDE-ICE/Xtrans.c Sat Dec 7 18:48:25 2002
@@ -1021,7 +1021,7 @@
if (trans->flags&TRANS_ALIAS || trans->flags&TRANS_NOLISTEN)
continue;
- sprintf(buffer,"%s/:%s", trans->TransName, port ? port : "");
+ snprintf(buffer, 256, "%s/:%s", trans->TransName, port ? port : "");
PRMSG (5,"MakeAllCOTSServerListeners: opening %s\n",
buffer, 0, 0);
@@ -1123,7 +1123,7 @@
if (trans->flags&TRANS_ALIAS || trans->flags&TRANS_NOLISTEN)
continue;
- sprintf(buffer,"%s/:%s", trans->TransName, port ? port : "");
+ snprintf(buffer, 256, "%s/:%s", trans->TransName, port ? port : "");
PRMSG (5,"MakeAllCLTSServerListeners: opening %s\n",
buffer, 0, 0);
Index: kdelibs/dcop/KDE-ICE/Xtransutil.c
diff -u kdelibs/dcop/KDE-ICE/Xtransutil.c:1.4 kdelibs/dcop/KDE-ICE/Xtransutil.c:1.4.2.1
--- dcop/KDE-ICE/Xtransutil.c:1.4 Sun May 6 18:35:54 2001
+++ dcop/KDE-ICE/Xtransutil.c Sat Dec 7 18:48:26 2002
@@ -367,9 +367,9 @@
if (np = getnodebyaddr(saddr->sdn_add.a_addr,
saddr->sdn_add.a_len, AF_DECnet)) {
- sprintf(addrbuf, "%s:", np->n_name);
+ snprintf(addrbuf, 256, "%s:", np->n_name);
} else {
- sprintf(addrbuf, "%s:", dnet_htoa(&saddr->sdn_add));
+ snprintf(addrbuf, 256, "%s:", dnet_htoa(&saddr->sdn_add));
}
addr = addrbuf;
break;
Index: kdelibs/dcop/KDE-ICE/process.c
diff -u kdelibs/dcop/KDE-ICE/process.c:1.2 kdelibs/dcop/KDE-ICE/process.c:1.2.2.1
--- dcop/KDE-ICE/process.c:1.2 Tue Mar 13 02:36:38 2001
+++ dcop/KDE-ICE/process.c Sat Dec 7 18:48:28 2002
@@ -734,7 +734,7 @@
case IceMajorOpcodeDuplicate:
prefix = "The major opcode was already used : ";
- errorStr = (char *) malloc (strlen (prefix) + 2);
+ errorStr = (char *) malloc (strlen (prefix) + 16);
sprintf (errorStr, "%s%d", prefix, (int) *pData);
break;
Index: kdelibs/kdecore/kapp.cpp
diff -u kdelibs/kdecore/kapp.cpp:1.454.2.2 kdelibs/kdecore/kapp.cpp:1.454.2.3
--- kdecore/kapp.cpp:1.454.2.2 Sun Sep 2 21:36:47 2001
+++ kdecore/kapp.cpp Wed Dec 5 02:42:24 2001
@@ -2163,6 +2163,8 @@
int pos = dirName.findRev('/');
if ( pos == -1 )
return false; // No path in argument. This is evil, we won't allow this
+ else if ( pos == 0 ) // don't turn e.g. /root into an empty string
+ pos = 1;
dirName.truncate(pos); // strip everything starting from the last '/'
Index: kdelibs/kdecore/kdebug.cpp
diff -u kdelibs/kdecore/kdebug.cpp:1.97 kdelibs/kdecore/kdebug.cpp:1.97.2.2
--- kdecore/kdebug.cpp:1.97 Sun Jul 29 14:58:58 2001
+++ kdecore/kdebug.cpp Fri Dec 6 03:31:52 2002
@@ -276,7 +276,7 @@
}
case 3: // syslog
{
- syslog( nPriority, data);
+ syslog( nPriority, "%s", data);
}
case 4: // nothing
{
@@ -448,7 +448,8 @@
char buf[4096];
va_list arguments;
va_start( arguments, format );
- vsprintf( buf, format, arguments );
+ buf[sizeof(buf)-1] = '\0';
+ vsnprintf( buf, sizeof(buf)-1, format, arguments );
va_end(arguments);
*this << buf;
return *this;
Index: kdelibs/kdecore/ktempfile.cpp
diff -u kdelibs/kdecore/ktempfile.cpp:1.19.2.1 kdelibs/kdecore/ktempfile.cpp:1.19.2.2
--- kdecore/ktempfile.cpp:1.19.2.1 Sat Aug 11 07:12:17 2001
+++ kdecore/ktempfile.cpp Mon Dec 3 01:48:46 2001
@@ -90,6 +90,9 @@
KTempFile::create(const QString &filePrefix, const QString &fileExtension,
int mode)
{
+ // make sure the random seed is randomized
+ (void) KApplication::random();
+
QCString ext = QFile::encodeName(fileExtension);
QCString nme = QFile::encodeName(filePrefix) + "XXXXXX" + ext;
if((mFd = mkstemps(nme.data(), ext.length())) < 0)
Index: kdelibs/kdecore/netsupp.cpp
diff -u kdelibs/kdecore/netsupp.cpp:1.21.2.3 kdelibs/kdecore/netsupp.cpp:1.21.2.4
--- kdecore/netsupp.cpp:1.21.2.3 Wed Oct 24 21:43:45 2001
+++ kdecore/netsupp.cpp Fri Dec 13 11:18:08 2002
@@ -926,7 +926,7 @@
if (servlen && serv != NULL)
*serv = '\0';
- if (host == NULL || hostlen < strlen(s._sun->sun_path))
+ if (host != NULL && hostlen > strlen(s._sun->sun_path))
strcpy(host, s._sun->sun_path);
return 0;
@@ -1008,7 +1008,7 @@
{
sprintf(buf2, "%u.%u.%u.%u", data[0], data[1], data[2], data[3]);
- if (len >= strlen(buf2))
+ if (len > strlen(buf2))
{
strcpy(buf, buf2);
return buf;
@@ -1077,7 +1077,7 @@
}
}
- if (strlen(buf2) <= len)
+ if (strlen(buf2) < len)
{
strcpy(buf, buf2);
return buf;
Index: kdelibs/kdecore/tests/kmemtest.cpp
diff -u kdelibs/kdecore/tests/kmemtest.cpp:1.1 kdelibs/kdecore/tests/kmemtest.cpp:1.1.6.1
--- kdecore/tests/kmemtest.cpp:1.1 Tue Feb 22 16:06:49 2000
+++ kdecore/tests/kmemtest.cpp Sat Dec 7 18:48:32 2002
@@ -165,9 +165,9 @@
char buf[200];
if (argc >=3)
- sprintf(buf, "%s &", argv[2]);
+ snprintf(buf, 200, "%s &", argv[2]);
else
- sprintf(buf, "%s &", argv[0]);
+ snprintf(buf, 200, "%s &", argv[0]);
printf("Waiting for memory usage to settle down....\n");
long prev = showTotalMem();
Index: kdelibs/kdeprint/lpd/make_driver_db_lpd.c
diff -u kdelibs/kdeprint/lpd/make_driver_db_lpd.c:1.1 kdelibs/kdeprint/lpd/make_driver_db_lpd.c:1.1.2.1
--- kdeprint/lpd/make_driver_db_lpd.c:1.1 Mon Apr 2 15:21:07 2001
+++ kdeprint/lpd/make_driver_db_lpd.c Sat Dec 7 18:48:33 2002
@@ -82,7 +82,7 @@
c2 = strchr(c+12,'}');
if (c1 && c2)
{
- char model[256], manuf[256];
+ char model[BUFFER_SIZE], manuf[BUFFER_SIZE];
char *c3;
*c2 = 0;
Index: kdelibs/kdeprint/management/kmwlpd.cpp
diff -u kdelibs/kdeprint/management/kmwlpd.cpp:1.11 kdelibs/kdeprint/management/kmwlpd.cpp:1.11.2.1
--- kdeprint/management/kmwlpd.cpp:1.11 Fri Aug 3 21:59:21 2001
+++ kdeprint/management/kmwlpd.cpp Sat Dec 7 18:48:34 2002
@@ -122,12 +122,15 @@
}
char buf[1024] = {0};
- int n;
+ int n, tot(1);
kdDebug() << "reading" << endl;
while ((n=::read(sock,res,63)) > 0)
{
res[n] = 0;
+ tot += n;
kdDebug() << buf << endl;
+ if (tot >= 1024)
+ break;
strncat(buf,res,1023);
}
close(sock);
Index: kdelibs/kdeprint/management/smbview.cpp
diff -u kdelibs/kdeprint/management/smbview.cpp:1.3 kdelibs/kdeprint/management/smbview.cpp:1.3.2.1
--- kdeprint/management/smbview.cpp:1.3 Mon Apr 2 21:01:00 2001
+++ kdeprint/management/smbview.cpp Fri Dec 13 12:23:22 2002
@@ -19,6 +19,9 @@
#include "smbview.h"
+#include
+#include
+
#include
#include
#include
@@ -117,20 +120,36 @@
{
if (on && item->childCount() == 0)
{
+ QCString oldpw = getenv("PASSWD");
+ QCString olduser = getenv("USER");
+ QCString pw = m_password.local8Bit();
+ setenv("PASSWD", pw, 1);
+ QCString user = m_login.local8Bit();
+ setenv("USER", user, 1);
if (item->depth() == 0)
{ // opening group
m_current = item;
- QString cmd = QString("nmblookup -M %1 -S | grep '<20>' | awk '{print $1}' | xargs -iserv_name smbclient -L serv_name -W %2 %3").arg(item->text(0)).arg(item->text(0)).arg(smbPasswordString(m_login,m_password));
+ QString cmd = QString("nmblookup -M %1 -S | grep '<20>' | awk '{print $1}' | xargs -iserv_name ").arg(KShellProcess::quote(item->text(0)));
+ cmd += QString("smbclient -L serv_name -N -W %1").arg(KShellProcess::quote(item->text(0)));
m_proc->setExecutable(cmd);
startProcess(ServerListing);
}
else if (item->depth() == 1)
{ // opening server
m_current = item;
- QString cmd = QString("smbclient -L %1 -W %2 %3").arg(item->text(0)).arg(item->parent()->text(0)).arg(smbPasswordString(m_login,m_password));
+ QString cmd = QString("smbclient -L %1 ").arg(KShellProcess::quote(item->text(0)));
+ cmd += QString("-N -W %1").arg(KShellProcess::quote(item->parent()->text(0)));
m_proc->setExecutable(cmd);
startProcess(ShareListing);
}
+ if (oldpw.isNull())
+ unsetenv("PASSWD");
+ else
+ setenv("PASSWD", oldpw, 1);
+ if (olduser.isNull())
+ unsetenv("USER");
+ else
+ setenv("USER", olduser, 1);
}
QListView::setOpen(item,on);
}
Index: kdelibs/kdoctools/meinproc.cpp
diff -u kdelibs/kdoctools/meinproc.cpp:1.20.2.2 kdelibs/kdoctools/meinproc.cpp:1.20.2.3
--- kdoctools/meinproc.cpp:1.20.2.2 Fri Nov 9 08:50:49 2001
+++ kdoctools/meinproc.cpp Fri Dec 6 18:07:49 2002
@@ -24,6 +24,7 @@
#include
#include
#include
+#include
extern int xmlLoadExtDtdDefaultValue;
@@ -145,7 +146,11 @@
exe = locate( "exe", "xmllint" );
}
if ( !::access( QFile::encodeName( exe ), X_OK ) ) {
- FILE *xmllint = popen( QString( exe + " --catalogs --valid --noout %1 2>&1" ).arg( file.fileName() ).local8Bit().data(), "r");
+ QString cmd = exe;
+ cmd += " --catalogs --valid --noout ";
+ cmd += KShellProcess::quote(file.fileName());
+ cmd += " 2>&1";
+ FILE *xmllint = popen( QFile::encodeName( cmd ), "r");
bool noout = true;
while ( !feof( xmllint ) ) {
int c;
Index: kdelibs/kdoctools/xslt.cpp
diff -u kdelibs/kdoctools/xslt.cpp:1.41.2.2 kdelibs/kdoctools/xslt.cpp:1.41.2.4
--- kdoctools/xslt.cpp:1.41.2.2 Fri Nov 9 08:50:49 2001
+++ kdoctools/xslt.cpp Wed Dec 11 14:09:47 2002
@@ -95,7 +95,9 @@
/* if (contents.left(5) != "fromUnicode( part.mid( i, 1 ) );
if ( locale->toUnicode( test ) == part.mid( i, 1 ) ) {
+ if (buffer_len + test.length() + 1 > sizeof(buffer))
+ break;
strcpy( buffer + buffer_len, test.data() );
buffer_len += test.length();
} else {
QString res;
res.sprintf( "%d;", part.at( i ).unicode() );
test = locale->fromUnicode( res );
+ if (buffer_len + test.length() + 1 > sizeof(buffer))
+ break;
strcpy( buffer + buffer_len, test.data() );
buffer_len += test.length();
}
Index: kdelibs/khtml/html/html_baseimpl.cpp
diff -u kdelibs/khtml/html/html_baseimpl.cpp:1.125.2.2 kdelibs/khtml/html/html_baseimpl.cpp:1.125.2.3
--- khtml/html/html_baseimpl.cpp:1.125.2.2 Fri Nov 2 14:44:05 2001
+++ khtml/html/html_baseimpl.cpp Fri Nov 30 07:24:07 2001
@@ -272,7 +272,7 @@
while ((part = part->parentPart()))
depth++;
- if (depth > 6 || url.isNull()) {
+ if (depth > 6) {
style()->setDisplay( NONE );
return;
}
@@ -309,6 +309,7 @@
kdDebug( 6030 ) << "creating frame name: " << name.string() << endl;
}
+ if (!url.isNull())
w->part()->requestFrame( renderFrame, url.string(), name.string() );
HTMLElementImpl::attach();
Index: kdelibs/khtml/html/html_imageimpl.cpp
diff -u kdelibs/khtml/html/html_imageimpl.cpp:1.104.2.1 kdelibs/khtml/html/html_imageimpl.cpp:1.104.2.2
--- khtml/html/html_imageimpl.cpp:1.104.2.1 Thu Oct 18 05:00:07 2001
+++ khtml/html/html_imageimpl.cpp Tue Jun 18 17:57:28 2002
@@ -462,7 +462,7 @@
int y1 = coords->at(3)->minWidth(height_);
region = QRegion(x0,y0,x1-x0,y1-y0);
}
- else /*if (shape==Default || shape == Unknown)*/ {
+ else if (shape==Default) {
//cout << "default/unknown" << endl;
region = QRegion(0,0,width_,height_);
}
Index: kdelibs/khtml/html/htmltokenizer.cpp
diff -u kdelibs/khtml/html/htmltokenizer.cpp:1.193.2.6 kdelibs/khtml/html/htmltokenizer.cpp:1.193.2.7
--- khtml/html/htmltokenizer.cpp:1.193.2.6 Tue Nov 6 00:33:38 2001
+++ khtml/html/htmltokenizer.cpp Mon Nov 26 17:37:25 2001
@@ -281,7 +281,7 @@
while ( src.length() ) {
checkScriptBuffer();
unsigned char ch = src->latin1();
- if ( !scriptCodeResync && ch == '-' && scriptCodeSize >= 3 && !src.escaped() && QConstString( scriptCode+scriptCodeSize-3, 3 ).string() == "= 3 && !src.escaped() && QConstString( scriptCode+scriptCodeSize-3, 3 ).string() == "ioDevice()->readLine(buf, BUFLEN) != -1)
{
@@ -33,7 +32,7 @@
// Some EPS files have non-integer values for the bbox
// We don't support that currently, but at least we parse it
float _x1, _y1, _x2, _y2;
- if ( sscanf (buf, "%s %f %f %f %f", dummy,
+ if ( sscanf (buf, "%*s %f %f %f %f",
&_x1, &_y1, &_x2, &_y2) == 5) {
*x1=(int)_x1; *y1=(int)_y1; *x2=(int)_x2; *y2=(int)_y2;
ret = TRUE;
@@ -152,7 +151,7 @@
QFile inFile(tmpFile.name());
QString szBoxInfo;
- szBoxInfo.sprintf("%sBoundingBox: 0 0 %d %d\n", "%%",
+ szBoxInfo.sprintf("%%%%BoundingBox: 0 0 %d %d\n",
imageio->image().width(),
imageio->image().height());
Index: kdelibs/kimgio/netpbm.cpp
diff -u kdelibs/kimgio/netpbm.cpp:1.2 kdelibs/kimgio/netpbm.cpp:1.2.6.1
--- kimgio/netpbm.cpp:1.2 Mon Mar 27 22:49:18 2000
+++ kimgio/netpbm.cpp Sat Dec 7 16:27:03 2002
@@ -12,30 +12,31 @@
#include
#include
#include
-
-#define CMDBUFLEN 4096
+#include
+#include
+#include
//////
// the real filter.
//
-void import_graphic (char *filter, QImageIO *image)
+void import_graphic (const char *filter, QImageIO *image)
{
- char * tmpFileName;
QImage myimage;
- char cmdBuf [CMDBUFLEN];
-
- tmpFileName = tmpnam(NULL);
+ KTempFile tmp;
+ tmp.close();
- sprintf (cmdBuf, "%s %s > %s", filter, image->fileName(), tmpFileName);
-// printf (cmdBuf);
-// fflush (stdout);
+ QString cmd = filter;
+ cmd += " ";
+ cmd += KShellProcess::quote(image->fileName());
+ cmd += " > ";
+ cmd += KShellProcess::quote(tmp.name());
- system (cmdBuf);
- myimage.load (tmpFileName);
+ system (QFile::encodeName(cmd));
+ myimage.load (tmp.name());
- unlink (tmpFileName);
+ tmp.unlink();
image->setImage (myimage);
image->setStatus (0);
Index: kdelibs/kinit/lnusertemp.c
diff -u kdelibs/kinit/lnusertemp.c:1.7 kdelibs/kinit/lnusertemp.c:1.7.2.1
--- kinit/lnusertemp.c:1.7 Wed Mar 14 20:22:29 2001
+++ kinit/lnusertemp.c Sat Dec 7 18:48:35 2002
@@ -109,8 +109,8 @@
return 1;
}
- strcpy(user_tmp_dir, tmp_prefix);
- strcat(user_tmp_dir, pw_ent->pw_name);
+ strncpy(user_tmp_dir, tmp_prefix, PATH_MAX);
+ strncat(user_tmp_dir, pw_ent->pw_name, PATH_MAX - strlen(tmp_prefix));
if (!kde_home || !kde_home[0])
{
@@ -130,9 +130,9 @@
exit(255);
}
kde_home++;
- strcat(kde_tmp_dir, home_dir);
+ strncpy(kde_tmp_dir, home_dir, PATH_MAX);
}
- strcat(kde_tmp_dir, kde_home);
+ strncat(kde_tmp_dir, kde_home, PATH_MAX - strlen(kde_tmp_dir));
/** Strip trailing '/' **/
if ( kde_tmp_dir[strlen(kde_tmp_dir)-1] == '/')
@@ -148,7 +148,7 @@
return 1;
}
- strcat(kde_tmp_dir, kde_prefix);
+ strncat(kde_tmp_dir, kde_prefix, PATH_MAX - strlen(kde_tmp_dir));
if (gethostname(kde_tmp_dir+strlen(kde_tmp_dir), PATH_MAX - strlen(kde_tmp_dir) - 1) != 0)
{
perror("Aborting. Could not determine hostname: ");
@@ -168,7 +168,7 @@
result = create_link(kde_tmp_dir, user_tmp_dir);
if (result == 0) return 0; /* Success */
unlink(kde_tmp_dir);
- strcat(user_tmp_dir, "XXXXXX");
+ strncat(user_tmp_dir, "XXXXXX", PATH_MAX - strlen(user_tmp_dir));
mktemp(user_tmp_dir);
return create_link(kde_tmp_dir, user_tmp_dir);
}
@@ -194,7 +194,7 @@
result = create_link(kde_tmp_dir, user_tmp_dir);
if (result == 0) return 0; /* Success */
unlink(kde_tmp_dir);
- strcat(user_tmp_dir, "XXXXXX");
+ strncat(user_tmp_dir, "XXXXXX", PATH_MAX - strlen(user_tmp_dir));
mktemp(user_tmp_dir);
return create_link(kde_tmp_dir, user_tmp_dir);
return 1;
@@ -202,7 +202,7 @@
result = check_tmp_dir(tmp_buf);
if (result == 0) return 0; /* Success */
unlink(kde_tmp_dir);
- strcat(user_tmp_dir, "XXXXXX");
+ strncat(user_tmp_dir, "XXXXXX", PATH_MAX - strlen(user_tmp_dir));
mktemp(user_tmp_dir);
return create_link(kde_tmp_dir, user_tmp_dir);
}
Index: kdelibs/kinit/setproctitle.cpp
diff -u kdelibs/kinit/setproctitle.cpp:1.6 kdelibs/kinit/setproctitle.cpp:1.6.4.2
--- kinit/setproctitle.cpp:1.6 Sun Feb 4 01:35:48 2001
+++ kinit/setproctitle.cpp Sat Dec 7 19:27:51 2002
@@ -35,7 +35,6 @@
# define _PATH_KMEM "/dev/kmem"
#endif
-#define newstr(s) strcpy((char*)malloc(strlen(s) + 1), s)
#define SPACELEFT(buf, ptr) (sizeof buf - ((ptr) - buf))
@@ -143,8 +142,13 @@
for (i = 0; envp[i] != NULL; i++)
envpsize += strlen(envp[i]) + 1;
environ = (char **) malloc(sizeof (char *) * (i + 1));
+ if (environ == NULL)
+ return;
+
for (i = 0; envp[i] != NULL; i++)
- environ[i] = newstr(envp[i]);
+ {
+ environ[i] = strdup(envp[i]);
+ }
environ[i] = NULL;
/*
Index: kdelibs/kinit/wrapper.c
diff -u kdelibs/kinit/wrapper.c:1.22 kdelibs/kinit/wrapper.c:1.22.2.2
--- kinit/wrapper.c:1.22 Fri Jul 13 13:16:19 2001
+++ kinit/wrapper.c Fri Dec 13 11:23:21 2002
@@ -38,6 +38,7 @@
#include
#include
#include
+#include
extern char **environ;
@@ -53,6 +54,9 @@
display = ":0";
}
result = malloc(strlen(display)+1);
+ if (result == NULL)
+ return NULL;
+
strcpy(result, display);
screen = strrchr(result, '.');
colon = strrchr(result, ':');
@@ -115,12 +119,12 @@
int s;
struct sockaddr_un server;
#define MAX_SOCK_FILE 255
- char sock_file[MAX_SOCK_FILE];
+ char sock_file[MAX_SOCK_FILE + 1];
const char *home_dir = getenv("HOME");
const char *kde_home = getenv("KDEHOME");
char *display;
- sock_file[0] = 0;
+ sock_file[0] = sock_file[MAX_SOCK_FILE] = 0;
if (!kde_home || !kde_home[0])
{
@@ -140,15 +144,15 @@
exit(255);
}
kde_home++;
- strcat(sock_file, home_dir);
+ strncpy(sock_file, home_dir, MAX_SOCK_FILE);
}
- strcat(sock_file, kde_home);
+ strncat(sock_file, kde_home, MAX_SOCK_FILE - strlen(sock_file));
/** Strip trailing '/' **/
if ( sock_file[strlen(sock_file)-1] == '/')
sock_file[strlen(sock_file)-1] = 0;
- strcat(sock_file, "/socket-");
+ strncat(sock_file, "/socket-", MAX_SOCK_FILE - strlen(sock_file));
if (gethostname(sock_file+strlen(sock_file), MAX_SOCK_FILE - strlen(sock_file) - 1) != 0)
{
perror("Aborting. Could not determine hostname: ");
@@ -157,7 +161,13 @@
/* append $DISPLAY */
display = getDisplay();
- if (strlen(sock_file)+strlen(display)+2 > MAX_SOCK_FILE)
+ if (display == NULL)
+ {
+ fprintf(stderr, "Error: Could not determine display.\n");
+ return -1;
+ }
+
+ if (strlen(sock_file)+strlen(display)+strlen("/kdeinit-")+2 > MAX_SOCK_FILE)
{
fprintf(stderr, "Aborting. Socket name will be too long.\n");
exit(255);
@@ -401,6 +411,11 @@
write_socket(sock, (char *) &header, sizeof(header));
buffer = (char *) malloc(size);
+ if (buffer == NULL)
+ {
+ fprintf(stderr, "Error: malloc() failed.");
+ exit(255);
+ }
p = buffer;
memcpy(p, &arg_count, sizeof(arg_count));
@@ -472,6 +487,11 @@
{
long pid;
buffer = (char *) malloc(header.arg_length);
+ if (buffer == NULL)
+ {
+ fprintf(stderr, "Error: malloc() failed\n");
+ exit(255);
+ }
read_socket(sock, buffer, header.arg_length);
pid = *((long *) buffer);
if( !kwrapper ) /* kwrapper shouldn't print any output */
Index: kdelibs/kio/job.cpp
diff -u kdelibs/kio/job.cpp:1.261.2.6 kdelibs/kio/job.cpp:1.261.2.8
--- kio/job.cpp:1.261.2.6 Fri Oct 19 22:09:57 2001
+++ kio/job.cpp Tue Jan 22 11:39:10 2002
@@ -2588,11 +2588,18 @@
break;
case STATE_RENAMING: // We were trying to rename a directory
{
- bool err = job->error() != 0;
+ int err = job->error();
subjobs.remove( job );
assert ( subjobs.isEmpty() );
if ( err )
{
+ // Only try copy+del if the reason for not renaming was "unsupported" (which includes EXDEV)
+ // One case where we really don't want to go to copy+del is renaming 'a' to 'A' on a FAT partition
+ if ( err != KIO::ERR_UNSUPPORTED_ACTION )
+ {
+ Job::slotResult( job ); // will set the error and emit result(this)
+ return;
+ }
kdDebug(7007) << "Couldn't rename, starting listing, for copy and del" << endl;
startListing( *m_currentStatSrc );
}
@@ -2863,59 +2870,87 @@
//kdDebug(7007) << "deleteNextFile" << endl;
if ( !files.isEmpty() || !symlinks.isEmpty() )
{
- // Take first file to delete out of list
- KURL::List::Iterator it = files.begin();
- bool isLink = false;
- if ( it == files.end() ) // No more files
- {
- it = symlinks.begin(); // Pick up a symlink to delete
- isLink = true;
- }
SimpleJob *job;
- // Use shredding ?
- if ( m_shred && (*it).isLocalFile() && !isLink )
- {
- // KShred your KTie
- KIO_ARGS << int(3) << (*it).path();
- job = KIO::special(KURL("file:/"), packedArgs, false /*no GUI*/);
- Scheduler::scheduleJob(job);
- m_currentURL=(*it);
- //emit deleting( this, *it );
- connect( job, SIGNAL( processedSize( KIO::Job*, unsigned long ) ),
- this, SLOT( slotProcessedSize( KIO::Job*, unsigned long ) ) );
- } else
- {
- // Normal deletion
- job = KIO::file_delete( *it, false /*no GUI*/);
- Scheduler::scheduleJob(job);
- m_currentURL=(*it);
- //emit deleting( this, *it );
- }
- if ( isLink )
- symlinks.remove(it);
- else
- files.remove(it);
- addSubjob(job);
- } else
- {
- state = STATE_DELETING_DIRS;
- deleteNextDir();
+ do {
+ // Take first file to delete out of list
+ KURL::List::Iterator it = files.begin();
+ bool isLink = false;
+ if ( it == files.end() ) // No more files
+ {
+ it = symlinks.begin(); // Pick up a symlink to delete
+ isLink = true;
+ }
+ // Use shredding ?
+ if ( m_shred && (*it).isLocalFile() && !isLink )
+ {
+ // KShred your KTie
+ KIO_ARGS << int(3) << (*it).path();
+ job = KIO::special(KURL("file:/"), packedArgs, false /*no GUI*/);
+ Scheduler::scheduleJob(job);
+ m_currentURL=(*it);
+ connect( job, SIGNAL( processedSize( KIO::Job*, KIO::filesize_t ) ),
+ this, SLOT( slotProcessedSize( KIO::Job*, KIO::filesize_t ) ) );
+ } else
+ {
+ // Normal deletion
+ // If local file, try do it directly
+ if ( (*it).isLocalFile() && unlink( QFile::encodeName((*it).path()) ) == 0 ) {
+ job = 0;
+ m_processedFiles++;
+ if ( m_processedFiles % 300 == 0 ) { // update progress info every 300 files
+ m_currentURL = *it;
+ slotReport();
+ }
+ } else
+ { // if remote - or if unlink() failed (we'll use the job's error handling in that case)
+ job = KIO::file_delete( *it, false /*no GUI*/);
+ Scheduler::scheduleJob(job);
+ m_currentURL=(*it);
+ }
+ }
+ if ( isLink )
+ symlinks.remove(it);
+ else
+ files.remove(it);
+ if ( job ) {
+ addSubjob(job);
+ return;
+ }
+ // loop only if direct deletion worked (job=0) and there is something else to delete
+ } while (!job && (!files.isEmpty() || !symlinks.isEmpty()));
}
+ state = STATE_DELETING_DIRS;
+ deleteNextDir();
}
void DeleteJob::deleteNextDir()
{
if ( !dirs.isEmpty() ) // some dirs to delete ?
{
- // Take first dir to delete out of list - last ones first !
- KURL::List::Iterator it = dirs.fromLast();
- SimpleJob *job = KIO::rmdir( *it );
- Scheduler::scheduleJob(job);
- dirs.remove(it);
- addSubjob( job );
+ do {
+ // Take first dir to delete out of list - last ones first !
+ KURL::List::Iterator it = dirs.fromLast();
+ // If local dir, try to rmdir it directly
+ if ( (*it).isLocalFile() && ::rmdir( QFile::encodeName((*it).path()) ) == 0 ) {
+
+ m_processedDirs++;
+ if ( m_processedDirs % 100 == 0 ) { // update progress info every 100 dirs
+ m_currentURL = *it;
+ slotReport();
+ }
+ } else
+ {
+ SimpleJob *job = KIO::rmdir( *it );
+ Scheduler::scheduleJob(job);
+ dirs.remove(it);
+ addSubjob( job );
+ return;
+ }
+ dirs.remove(it);
+ } while ( !dirs.isEmpty() );
}
- else // We have finished deleting
- startNextJob();
+ // We have finished deleting
+ startNextJob();
}
void DeleteJob::slotProcessedSize( KIO::Job*, unsigned long data_size )
@@ -3089,9 +3124,6 @@
assert( subjobs.isEmpty() );
m_processedFiles++;
- /*emit processedFiles( this, m_processedFiles );
- if (!m_shred)
- emitPercent( m_processedFiles, m_totalFilesDirs );*/
deleteNextFile();
break;
case STATE_DELETING_DIRS:
Index: kdelibs/kio/kdirlister.cpp
diff -u kdelibs/kio/kdirlister.cpp:1.64 kdelibs/kio/kdirlister.cpp:1.64.2.1
--- kio/kdirlister.cpp:1.64 Wed Jun 6 22:39:51 2001
+++ kio/kdirlister.cpp Sun Nov 11 16:50:41 2001
@@ -159,7 +159,8 @@
return;
}
- m_url = _url;
+ if ( m_url.isEmpty() || !_keep ) // Set toplevel URL if not set yet
+ m_url = _url;
m_bComplete = false;
d->urlChanged = false;
@@ -261,15 +262,13 @@
{
job->showErrorDialog();
- if ( m_lstDirs.count() > 1 )
- emit canceled( job->url() );
+ emit canceled( job->url() );
if ( m_bComplete )
emit canceled();
}
else
{
- if ( m_lstDirs.count() > 1 )
- emit completed( job->url() );
+ emit completed( job->url() );
if ( m_bComplete )
emit completed();
}
@@ -308,7 +307,7 @@
if ( name == dot )
{
- if ( !m_rootFileItem ) // only if we didn't keep the previous dir
+ if ( !m_rootFileItem && url == m_url ) // only if we didn't keep the previous dir
{
m_rootFileItem = createFileItem( *it, url, m_bDelayedMimeTypes );
}
Index: kdelibs/kio/kmimemagic.cpp
diff -u kdelibs/kio/kmimemagic.cpp:1.39 kdelibs/kio/kmimemagic.cpp:1.39.2.1
--- kio/kmimemagic.cpp:1.39 Thu Aug 2 11:21:27 2001
+++ kio/kmimemagic.cpp Sat Dec 7 18:48:04 2002
@@ -1478,7 +1478,9 @@
char *tmp;
char buf2[BUFSIZ + BUFSIZ + 4];
- strcpy(buf2, fn);
+ strncpy(buf2, fn, BUFSIZ);
+ buf2[BUFSIZ] = 0;
+
if ((tmp = strrchr(buf2, '/')) == NULL) {
tmp = buf; /* in current dir */
} else {
Index: kdelibs/kio/kmimetype.cpp
diff -u kdelibs/kio/kmimetype.cpp:1.134.2.1 kdelibs/kio/kmimetype.cpp:1.134.2.2
--- kio/kmimetype.cpp:1.134.2.1 Thu Nov 8 21:50:39 2001
+++ kio/kmimetype.cpp Sun Dec 8 01:58:10 2002
@@ -653,7 +653,7 @@
// at the global file, or at a file not in share/mimelnk...
KShellProcess p;
- p << "kfmclient" << "openProperties" << url.path().local8Bit();
+ p << "kfmclient" << "openProperties" << KShellProcess::quote(url.path());
p.start(KProcess::DontCare);
return p.getPid();
}
Index: kdelibs/kio/ktar.cpp
diff -u kdelibs/kio/ktar.cpp:1.32 kdelibs/kio/ktar.cpp:1.32.2.1
--- kio/ktar.cpp:1.32 Tue Jun 26 22:22:37 2001
+++ kio/ktar.cpp Sat Dec 7 18:48:04 2002
@@ -355,15 +355,20 @@
strcpy( buffer, "././@LongLink" );
fillBuffer( buffer, " 0", dirName.length()+1, 'L', user.local8Bit(), group.local8Bit() );
write( buffer, 0x200 );
- memset( buffer, 0, 0x200 );
- strcpy( buffer, QFile::encodeName(dirName) );
+ strncpy( buffer, QFile::encodeName(dirName), 0x200 );
+ buffer[0x200] = 0;
+
// write long name
write( buffer, 0x200 );
// not even needed to reclear the buffer, tar doesn't do it
}
else
+ {
// Write name
- strcpy( buffer, QFile::encodeName(dirName) );
+ strncpy( buffer, QFile::encodeName(dirName), 0x200 );
+ buffer[0x200] = 0;
+ }
+
fillBuffer( buffer, " 40755", 0, 0x35, user.local8Bit(), group.local8Bit());
@@ -419,15 +424,19 @@
fillBuffer( buffer, " 0", fileName.length()+1, 'L', user.local8Bit(), group.local8Bit() );
write( buffer, 0x200 );
- memset( buffer, 0, 0x200 );
- strcpy( buffer, QFile::encodeName(fileName) );
+ strncpy( buffer, QFile::encodeName(fileName), 0x200 );
+ buffer[0x200] = 0;
// write long name
write( buffer, 0x200 );
// not even needed to reclear the buffer, tar doesn't do it
}
else
+ {
// Write name
- strcpy( buffer, QFile::encodeName(fileName) );
+ strncpy( buffer, QFile::encodeName(fileName), 0x200 );
+ buffer[0x200] = 0;
+ }
+
fillBuffer( buffer, "100644", size, 0x30, user.local8Bit(), group.local8Bit() );
Index: kdelibs/kio/lex.l
diff -u kdelibs/kio/lex.l:1.5 kdelibs/kio/lex.l:1.5.2.1
--- kio/lex.l:1.5 Wed Jun 13 16:16:39 2001
+++ kio/lex.l Sat Dec 7 18:48:04 2002
@@ -58,9 +58,11 @@
{
int l = strlen( _name )-1;
char *p = (char *)malloc( l );
-
- strncpy( p, _name+1, l-1 );
- p[l-1] = 0;
+ if (p != NULL)
+ {
+ strncpy( p, _name+1, l-1 );
+ p[l-1] = 0;
+ }
return p;
}
@@ -68,7 +70,10 @@
char *putSymbol( char *_name )
{
char *p = (char*)malloc( strlen( _name ) + 1 );
- strcpy( p, _name );
+ if (p != NULL)
+ {
+ strcpy( p, _name );
+ }
return p;
}
@@ -78,6 +83,10 @@
char *p = (char*)malloc( l );
char *s = _str + 1;
char *d = p;
+
+ if (p == NULL)
+ return NULL;
+
while ( s != _str + l - 1 )
{
if ( *s != '\\' )
Index: kdelibs/kio/passdlg.cpp
diff -u kdelibs/kio/passdlg.cpp:1.26 kdelibs/kio/passdlg.cpp:1.26.2.1
--- kio/passdlg.cpp:1.26 Sun May 27 01:00:31 2001
+++ kio/passdlg.cpp Sat Nov 10 18:52:33 2001
@@ -279,8 +279,15 @@
if ( ret == Accepted )
{
user = dlg->username();
+ if ( user.isNull() )
+ user = "";
+
pass = dlg->password();
- if ( keep ) { (*keep) = dlg->keepPassword(); }
+ if ( pass.isNull() )
+ pass = "";
+
+ if ( keep )
+ (*keep) = dlg->keepPassword();
}
delete dlg;
return ret;
Index: kdelibs/kio/rlogin.protocol
diff -u kdelibs/kio/rlogin.protocol:1.2 kdelibs/kio/rlogin.protocol:removed
--- kio/rlogin.protocol:1.2 Sun Jan 21 00:01:05 2001
+++ kio/rlogin.protocol Fri Dec 13 17:03:06 2002
@@ -1,11 +0,0 @@
-[Protocol]
-exec=konsole -e rlogin `echo %u | sed -e 's,rlogin:/*,,'`
-protocol=rlogin
-input=none
-output=none
-helper=true
-listing=false
-reading=false
-writing=false
-makedir=false
-deleting=false
Index: kdelibs/kio/telnet.protocol
diff -u kdelibs/kio/telnet.protocol:1.3 kdelibs/kio/telnet.protocol:removed
--- kio/telnet.protocol:1.3 Wed Apr 11 07:37:55 2001
+++ kio/telnet.protocol Fri Dec 13 17:03:07 2002
@@ -1,11 +0,0 @@
-[Protocol]
-exec=konsole -e telnet `echo %u | sed -e 's,telnet:/*,,' | sed -e 's,:\([0-9]*\), \1,'`
-protocol=telnet
-input=none
-output=none
-helper=true
-listing=false
-reading=false
-writing=false
-makedir=false
-deleting=false
Index: kdelibs/kio/ftp/ftp.cc
diff -u kdelibs/kio/ftp/ftp.cc:1.147.2.1 kdelibs/kio/ftp/ftp.cc:1.147.2.2
--- kio/ftp/ftp.cc:1.147.2.1 Thu Sep 27 18:37:20 2001
+++ kio/ftp/ftp.cc Wed Dec 11 23:03:47 2002
@@ -1677,7 +1677,10 @@
}
else
de.link = QString::null;
-
+
+ if (strchr(p_name, '/'))
+ return 0L; // Don't trick us!
+
de.access = 0;
de.type = S_IFREG;
switch ( p_access[0] ) {
Index: kdelibs/kparts/browserextension.cpp
diff -u kdelibs/kparts/browserextension.cpp:1.34 kdelibs/kparts/browserextension.cpp:1.34.2.1
--- kparts/browserextension.cpp:1.34 Wed Jun 20 22:19:00 2001
+++ kparts/browserextension.cpp Fri Nov 29 12:39:09 2002
@@ -541,7 +541,7 @@
BrowserHostExtension *BrowserHostExtension::childObject( QObject *obj )
{
- if ( !obj )
+ if ( !obj || !obj->children() )
return 0L;
// we try to do it on our own, in hope that we are faster than
Index: kdelibs/kssl/kopenssl.cc
diff -u kdelibs/kssl/kopenssl.cc:1.24.2.1 kdelibs/kssl/kopenssl.cc:1.24.2.2
--- kssl/kopenssl.cc:1.24.2.1 Tue Aug 21 18:07:31 2001
+++ kssl/kopenssl.cc Tue Aug 13 00:23:03 2002
@@ -92,6 +92,7 @@
static int (*K_SSL_get_error) (SSL*, int) = NULL;
static STACK_OF(X509)* (*K_SSL_get_peer_cert_chain) (SSL*) = NULL;
static void (*K_X509_STORE_CTX_set_chain) (X509_STORE_CTX *, STACK_OF(X509)*) = NULL;
+static void (*K_X509_STORE_CTX_set_purpose) (X509_STORE_CTX *, int) = NULL;
static void (*K_sk_free) (STACK*) = NULL;
static int (*K_sk_num) (STACK*) = NULL;
static char* (*K_sk_value) (STACK*, int) = NULL;
@@ -254,6 +255,7 @@
X509**, STACK_OF(X509)**)) _cryptoLib->symbol("PKCS12_parse");
K_EVP_PKEY_free = (void (*) (EVP_PKEY *)) _cryptoLib->symbol("EVP_PKEY_free");
K_X509_STORE_CTX_set_chain = (void (*)(X509_STORE_CTX *, STACK_OF(X509)*)) _cryptoLib->symbol("X509_STORE_CTX_set_chain");
+ K_X509_STORE_CTX_set_purpose = (void (*)(X509_STORE_CTX *, int)) _cryptoLib->symbol("X509_STORE_CTX_set_purpose");
K_sk_free = (void (*) (STACK *)) _cryptoLib->symbol("sk_free");
K_sk_num = (int (*) (STACK *)) _cryptoLib->symbol("sk_num");
K_sk_value = (char* (*) (STACK *, int)) _cryptoLib->symbol("sk_value");
@@ -742,6 +744,10 @@
void KOpenSSLProxy::X509_STORE_CTX_set_chain(X509_STORE_CTX *v, STACK_OF(X509)* x) {
if (K_X509_STORE_CTX_set_chain) (K_X509_STORE_CTX_set_chain)(v,x);
+}
+
+void KOpenSSLProxy::X509_STORE_CTX_set_purpose(X509_STORE_CTX *v, int purpose) {
+ if (K_X509_STORE_CTX_set_purpose) (K_X509_STORE_CTX_set_purpose)(v,purpose);
}
Index: kdelibs/kssl/kopenssl.h
diff -u kdelibs/kssl/kopenssl.h:1.15 kdelibs/kssl/kopenssl.h:1.15.2.1
--- kssl/kopenssl.h:1.15 Fri Jul 27 11:55:02 2001
+++ kssl/kopenssl.h Tue Aug 13 00:23:03 2002
@@ -277,6 +277,10 @@
*/
void X509_STORE_CTX_set_chain(X509_STORE_CTX *v, STACK_OF(X509)* x);
+ /*
+ * X509_STORE_CTX_set_purpose - set the purpose of the certificate
+ */
+ void X509_STORE_CTX_set_purpose(X509_STORE_CTX *v, int purpose);
/*
* X509_verify_cert - verify the certificate
Index: kdelibs/kssl/ksslcertificate.cc
diff -u kdelibs/kssl/ksslcertificate.cc:1.39.2.6 kdelibs/kssl/ksslcertificate.cc:1.39.2.7
--- kssl/ksslcertificate.cc:1.39.2.6 Thu Oct 25 08:12:11 2001
+++ kssl/ksslcertificate.cc Tue Aug 13 00:23:03 2002
@@ -262,6 +262,8 @@
// FIXME: do all the X509_STORE_CTX_set_flags(); here
// +-----> Note that this is for 0.9.6 or better ONLY!
+ d->kossl->X509_STORE_CTX_set_purpose(certStoreCTX, X509_PURPOSE_SSL_SERVER);
+
//kdDebug(7029) << "KSSL verifying.............." << endl;
certStoreCTX->error = X509_V_OK;
rc = d->kossl->X509_verify_cert(certStoreCTX);
Index: kdelibs/kssl/ksslpeerinfo.cc
diff -u kdelibs/kssl/ksslpeerinfo.cc:1.12.2.10 kdelibs/kssl/ksslpeerinfo.cc:1.12.2.11
--- kssl/ksslpeerinfo.cc:1.12.2.10 Wed Nov 7 06:47:37 2001
+++ kssl/ksslpeerinfo.cc Fri Nov 23 19:42:36 2001
@@ -23,7 +23,6 @@
#endif
#include "ksslpeerinfo.h"
-#include
#include
#include
@@ -74,25 +73,54 @@
QString cn = certinfo.getValue("CN");
if (d->proxying) {
- if (cn.startsWith("*")) {
- QRegExp cnre(cn.lower(), false, true);
- if (cnre.match(d->proxyHost.lower()) >= 0) return true;
- } else {
- if (cn.lower() == d->proxyHost.lower()) return true;
- }
- return false;
+ QStringList domains;
+
+ kdDebug(7029) << "Matching CN=" << cn << " to " << d->proxyHost << endl;
+
+ extractDomains(d->proxyHost, domains);
+ QStringList::Iterator it = domains.begin();
+ for (; it != domains.end(); it++)
+ {
+ int match = cn.findRev(*it, -1, false);
+ kdDebug(7029) << "Match= " << match << ", CN.length= " << cn.length()
+ << ", host.length= " << (*it).length() << endl;
+
+ if (match > -1 && ((match + (*it).length()) == cn.length()))
+ {
+ kdDebug(7029) << "Found a match ==> " << (*it) << endl;
+ return true;
+ }
+ }
+ return false;
}
if (cn.startsWith("*")) { // stupid wildcard cn
- QRegExp cnre(cn.lower(), false, true);
QString host, port;
+ QStringList domains;
- if (KExtendedSocket::resolve(d->host, host, port, NI_NAMEREQD) != 0)
+ if (KExtendedSocket::resolve(d->host, host, port, NI_NAMEREQD) != 0)
host = d->host->nodeName();
kdDebug(7029) << "Matching CN=" << cn << " to " << host << endl;
- if (cnre.match(host.lower()) >= 0) return true;
+
+ extractDomains( host, domains );
+ QStringList::Iterator it = domains.begin();
+
+ for (; it != domains.end(); it++)
+ {
+ int match = cn.findRev(*it, -1, false);
+ kdDebug(7029) << "Match= " << match << ", CN.length= " << cn.length()
+ << ", host.length= " << (*it).length() << endl;
+
+ if (match > -1 && ((match + (*it).length()) == cn.length()))
+ {
+ kdDebug(7029) << "Found a match ==> " << (*it) << endl;
+ return true;
+ }
+ }
+
+ return false;
} else {
int err = 0;
QList cns = KExtendedSocket::lookup(cn.latin1(), 0, 0, &err);
@@ -102,17 +130,55 @@
}
cns.setAutoDelete(true);
-// kdDebug(7029) << "The original ones were: " << d->host->nodeName()
-// << " and: " << certinfo.getValue("CN").latin1()
-// << endl;
+ kdDebug(7029) << "The original ones were: " << d->host->nodeName()
+ << " and: " << certinfo.getValue("CN").latin1()
+ << endl;
for (KAddressInfo *x = cns.first(); x; x = cns.next()) {
if ((*x).address()->isCoreEqual(d->host)) {
return true;
}
}
+ kdDebug(7029) << "Testing failed!" << endl;
}
#endif
return false;
+}
+
+void KSSLPeerInfo::extractDomains(const QString &fqdn, QStringList &domains)
+{
+ domains.clear();
+
+ // If fqdn is an IP address, then only use
+ // the entire IP address to find a match! (DA)
+ if (fqdn[0] >= '0' && fqdn[0] <= '9') {
+ domains.append(fqdn);
+ return;
+ }
+
+ QStringList partList = QStringList::split('.', fqdn, false);
+
+ if (partList.count())
+ partList.remove(partList.begin()); // Remove hostname
+
+ while(partList.count()) {
+ if (partList.count() == 1)
+ break; // We only have a TLD left.
+
+ if (partList.count() == 2) {
+ // If this is a TLD, we should stop. (e.g. co.uk)
+ // We assume this is a TLD if it ends with .xx.yy or .x.yy
+ if (partList[0].length() <= 2 && partList[1].length() == 2)
+ break; // This is a TLD.
+ }
+
+ QString domain = partList.join(".");
+ domains.append(domain);
+ partList.remove(partList.begin());
+ }
+
+ // Add the entire FQDN at the end of the
+ // list for fqdn == CN checks
+ domains.append(fqdn);
}
Index: kdelibs/kssl/ksslpeerinfo.h
diff -u kdelibs/kssl/ksslpeerinfo.h:1.12.2.1 kdelibs/kssl/ksslpeerinfo.h:1.12.2.2
--- kssl/ksslpeerinfo.h:1.12.2.1 Wed Nov 7 06:47:37 2001
+++ kssl/ksslpeerinfo.h Fri Nov 23 19:42:36 2001
@@ -24,7 +24,7 @@
class KSSL;
#include
-#include
+#include
#include
class KSSLPeerInfoPrivate;
@@ -38,14 +38,15 @@
KSSLCertificate& getPeerCertificate();
bool certMatchesAddress();
QString getPeerAddress();
-
+
void setProxying(bool active, QString realHost = QString::null);
-
+
protected:
KSSLPeerInfo();
KSSLCertificate m_cert;
void setPeerAddress(KInetSocketAddress &x);
+ void extractDomains(const QString &fqdn, QStringList &domains);
private:
KSSLPeerInfoPrivate *d;
Index: kdelibs/libkmid/fmout.cc
diff -u kdelibs/libkmid/fmout.cc:1.19 kdelibs/libkmid/fmout.cc:1.19.6.1
--- libkmid/fmout.cc:1.19 Tue Oct 10 00:09:23 2000
+++ libkmid/fmout.cc Sat Dec 7 18:48:38 2002
@@ -34,6 +34,7 @@
#include
#include
#include
+#include
#include "midispec.h"
#ifdef HAVE_CONFIG_H
#include
@@ -126,8 +127,8 @@
void FMOut::loadFMPatches(void)
{
#ifdef HAVE_OSS_SUPPORT
- char patchesfile[120];
- char drumsfile[120];
+ char patchesfile[PATH_MAX];
+ char drumsfile[PATH_MAX];
int size;
struct sbi_instrument instr;
char tmp[60];
@@ -140,12 +141,12 @@
if (opl==3)
{
- sprintf(patchesfile,"%s/std.o3",FMPatchesDirectory);
+ snprintf(patchesfile, PATH_MAX, "%s/std.o3",FMPatchesDirectory);
size=60;
}
else
{
- sprintf(patchesfile,"%s/std.sb",FMPatchesDirectory);
+ snprintf(patchesfile, PATH_MAX, "%s/std.sb",FMPatchesDirectory);
size=52;
}
fh=fopen(patchesfile,"rb");
@@ -170,11 +171,11 @@
if (opl==3)
{
- sprintf(drumsfile,"%s/drums.o3",FMPatchesDirectory);
+ snprintf(drumsfile, PATH_MAX, "%s/drums.o3",FMPatchesDirectory);
}
else
{
- sprintf(drumsfile,"%s/drums.sb",FMPatchesDirectory);
+ snprintf(drumsfile, PATH_MAX, "%s/drums.sb",FMPatchesDirectory);
}
fh=fopen(drumsfile,"rb");
Index: kdelibs/libkmid/midfile.cc
diff -u kdelibs/libkmid/midfile.cc:1.21 kdelibs/libkmid/midfile.cc:1.21.2.3
--- libkmid/midfile.cc:1.21 Tue Mar 13 17:41:09 2001
+++ libkmid/midfile.cc Fri Dec 6 15:24:24 2002
@@ -34,6 +34,9 @@
#include "sys/stat.h"
#include
+#include
+#include
+
int fsearch(FILE *fh,const char *text,long *ptr);
/* This function gives the metronome tempo, from a tempo data as found in
@@ -51,26 +54,23 @@
int uncompressFile(const char *gzname, char *tmpname)
// Returns 0 if OK, 1 if error (tmpname not set)
{
- char *cmd=new char[20+strlen(gzname)];
- sprintf(cmd, "gzip -dc \"%s\"",gzname);
- FILE *infile = popen( cmd, "r");
- if (infile==NULL)
- {
- fprintf(stderr,"ERROR : popen failed : %s\n",cmd);
+ QString cmd("gzip -dc " + KShellProcess::quote(gzname));
+ FILE *infile = popen( QFile::encodeName(cmd).data(), "r");
+ if (infile==NULL) {
+ fprintf(stderr,"ERROR : popen failed : %s\n",QFile::encodeName(cmd).data());
+ return 1;
}
strcpy(tmpname, "/tmp/KMid.XXXXXXXXXX");
int fd = mkstemp(tmpname);
if (fd == -1)
{
pclose(infile);
- delete cmd;
return 1;
}
FILE *outfile= fdopen(fd,"wb");
if (outfile==NULL)
{
pclose(infile);
- delete cmd;
return 1;
}
int n=getc(infile);
@@ -79,7 +79,6 @@
pclose(infile);
fclose(outfile);
unlink(tmpname);
- delete cmd;
return 1;
}
fputc(n,outfile);
@@ -97,7 +96,6 @@
// Is it right for pclose to always fail ?
fclose(outfile);
- delete cmd;
return 0;
}
Index: kdelibs/libkmid/midimapper.cc
diff -u kdelibs/libkmid/midimapper.cc:1.12 kdelibs/libkmid/midimapper.cc:1.12.6.1
--- libkmid/midimapper.cc:1.12 Fri Jul 28 23:45:30 2000
+++ libkmid/midimapper.cc Sat Dec 7 18:48:39 2002
@@ -184,7 +184,9 @@
MidiMapper::Keymap *MidiMapper::createKeymap(char *name,uchar use_same_note,uchar note)
{
Keymap *km=new Keymap;
- strcpy(km->name,name);
+ strncpy(km->name, name, KM_NAME_SIZE);
+ km->name[KM_NAME_SIZE - 1] = 0;
+
int i;
if (use_same_note==1)
{
@@ -263,7 +265,7 @@
char s[101];
char v[101];
char t[101];
- char name[101];
+ char name[256]; /* Longer than t and 'AllKeysTo' */
int i=0;
int j,w;
#ifdef MIDIMAPPERDEBUG
@@ -323,7 +325,9 @@
removeSpaces(first_line);
getWord(v,first_line,2);
Keymap *km=new Keymap;
- strcpy(km->name,v);
+ strncpy(km->name, v, KM_NAME_SIZE);
+ km->name[KM_NAME_SIZE - 1] = 0;
+
int i=0;
while (i<128)
{
Index: kdelibs/libkmid/midimapper.h
diff -u kdelibs/libkmid/midimapper.h:1.8 kdelibs/libkmid/midimapper.h:1.8.6.1
--- libkmid/midimapper.h:1.8 Fri Jul 28 23:45:30 2000
+++ libkmid/midimapper.h Sat Dec 7 18:48:41 2002
@@ -27,6 +27,8 @@
#include
#include
+#define KM_NAME_SIZE 30
+
/**
* A Midi Mapper class which defines the way MIDI events are translated
* (or "mapped") to different ones. This way, when two MIDI devices "talk"
@@ -65,7 +67,7 @@
*/
struct Keymap
{
- char name[30];
+ char name[KM_NAME_SIZE];
uchar key[128];
struct Keymap *next;
};
Index: kdelibs/libkmid/player.cc
diff -u kdelibs/libkmid/player.cc:1.41 kdelibs/libkmid/player.cc:1.41.2.1
--- libkmid/player.cc:1.41 Wed Aug 1 02:05:10 2001
+++ libkmid/player.cc Sat Dec 7 18:48:42 2002
@@ -366,7 +366,8 @@
{
lasttexttime=pspev->absmilliseconds;
lasttexttype=pspev->type;
- strcpy(lasttext,pspev->text);
+ strncpy(lasttext, pspev->text, 1024);
+ lasttext[1023] = 0;
#endif
pspev->next=new SpecialEvent;
#ifdef PLAYERDEBUG
./kde-base/kdelibs/files/kdelibs-3.1.3-kjs-alphaev6-gcc3-workaround.patch 0000644 0001750 0001751 00000000735 07715427243 024227 0 ustar roy roy --- kjs/ustring.cpp.orig 2003-01-23 15:49:49.000000000 -0500
+++ kjs/ustring.cpp 2003-01-27 19:49:00.000000000 -0500
@@ -421,8 +421,15 @@
{
double d = toDouble();
bool b = true;
+ /* useless temporary variable to work around gcc optimization bug */
+ bool nan = false;
- if (isNaN(d) || d != static_cast(d)) {
+ if (isNaN(d)) {
+ d = 0;
+ nan = true;
+ }
+
+ if (nan || d != static_cast(d)) {
b = false;
d = 0;
}
./kde-base/kdelibs/files/kdelibs-3.0.5b-http.patch 0000644 0001750 0001751 00000003147 07715427243 020050 0 ustar roy roy --- kioslave/http/http.cc 7 Dec 2002 16:17:53 -0000 1.470.2.20
+++ kioslave/http/http.cc 4 Jul 2003 13:29:57 -0000
@@ -195,20 +195,33 @@
m_maxCacheAge = config()->readNumEntry("MaxCacheAge", DEFAULT_MAX_CACHE_AGE);
m_request.window = config()->readEntry("window-id");
- bool sendReferrer = config()->readBoolEntry("SendReferrer", true);
- if ( sendReferrer )
- m_request.referrer = metaData("referrer");
- else
- m_request.referrer = QString::null;
-
- if (!m_request.referrer.startsWith("http"))
+
+ m_request.referrer = QString::null;
+ if ( config()->readBoolEntry("SendReferrer", true) )
{
- if (m_request.referrer.startsWith("webdav"))
- m_request.referrer.replace(0, 6, "http");
- else
- m_request.referrer = QString::null;
+ KURL referrerURL = metaData("referrer");
+ if (referrerURL.isValid())
+ {
+ // Sanitize
+ QString protocol = referrerURL.protocol();
+ if (protocol.startsWith("webdav"))
+ {
+ protocol.replace(0, 6, "http");
+ referrerURL.setProtocol(protocol);
+ }
+
+ if ((protocol == "http") ||
+ ((protocol == "https") && ((m_protocol == "https") || (m_protocol == "webdavs")))
+ )
+ {
+ referrerURL.setRef(QString::null);
+ referrerURL.setUser(QString::null);
+ referrerURL.setPass(QString::null);
+ m_request.referrer = referrerURL.url();
+ }
+ }
}
-
+
if ( config()->readBoolEntry("SendLanguageSettings", true) )
{
m_request.charsets = config()->readEntry( "Charsets", "iso-8859-1" );
./kde-base/kdelibs/files/digest-kdelibs-3.1.2 0000644 0001750 0001751 00000000104 07715427243 017074 0 ustar roy roy MD5 2b896ce9a6942e4cc4fe1758236bafa3 kdelibs-3.1.2.tar.bz2 10524265
./kde-base/kdelibs/files/digest-kdelibs-3.1.3 0000644 0001750 0001751 00000000104 07715427243 017075 0 ustar roy roy MD5 0069e199dd69f27f20afbd5b64449725 kdelibs-3.1.3.tar.bz2 10533062
./kde-base/kdelibs/files/digest-kdelibs-3.1.3-r1 0000644 0001750 0001751 00000000104 07715427243 017415 0 ustar roy roy MD5 0069e199dd69f27f20afbd5b64449725 kdelibs-3.1.3.tar.bz2 10533062
./kde-base/kdelibs/files/digest-kdelibs-3.0.5b-r1 0000644 0001750 0001751 00000000104 07715427243 017560 0 ustar roy roy MD5 50b483665bc868f2dbc53aaaa3c2f302 kdelibs-3.0.5b.tar.bz2 7610088
./kde-base/kdelibs/files/digest-kdelibs-3.0.5b 0000644 0001750 0001751 00000000104 07715427243 017240 0 ustar roy roy MD5 50b483665bc868f2dbc53aaaa3c2f302 kdelibs-3.0.5b.tar.bz2 7610088
./kde-base/kdelibs/files/digest-kdelibs-3.1.2-r1 0000644 0001750 0001751 00000000104 07715427243 017414 0 ustar roy roy MD5 2b896ce9a6942e4cc4fe1758236bafa3 kdelibs-3.1.2.tar.bz2 10524265
./kde-base/kdelibs/files/kdelibs-3.1.2-kjs-alphaev6-gcc3-workaround.patch 0000644 0001750 0001751 00000000735 07715427243 024226 0 ustar roy roy --- kjs/ustring.cpp.orig 2003-01-23 15:49:49.000000000 -0500
+++ kjs/ustring.cpp 2003-01-27 19:49:00.000000000 -0500
@@ -421,8 +421,15 @@
{
double d = toDouble();
bool b = true;
+ /* useless temporary variable to work around gcc optimization bug */
+ bool nan = false;
- if (isNaN(d) || d != static_cast(d)) {
+ if (isNaN(d)) {
+ d = 0;
+ nan = true;
+ }
+
+ if (nan || d != static_cast(d)) {
b = false;
d = 0;
}
./kde-base/kdelibs/files/kdelibs-3.0.5b-khtml.patch 0000644 0001750 0001751 00000001520 07715427243 020201 0 ustar roy roy --- khtml/html/html_documentimpl.cpp 6 Sep 2002 23:13:21 -0000 1.139.2.2
+++ khtml/html/html_documentimpl.cpp 10 Jul 2003 11:15:34 -0000
@@ -84,7 +84,23 @@
DOMString HTMLDocumentImpl::referrer() const
{
if ( view() )
- return view()->part()->referrer();
+ {
+ KURL referrerURL = view()->part()->referrer();
+ if (referrerURL.isValid())
+ {
+ QString protocol = referrerURL.protocol();
+
+ if ((protocol == "http") ||
+ ((protocol == "https") && (view()->part()->url().protocol() == "https")))
+ {
+ referrerURL.setRef(QString::null);
+ referrerURL.setUser(QString::null);
+ referrerURL.setPass(QString::null);
+ return referrerURL.url();
+ }
+ }
+ }
+
return DOMString();
}
./kde-base/kdelibs/metadata.xml 0000644 0001750 0001751 00000000241 07715427243 015022 0 ustar roy roy
kde-core
./kde-base/kdelibs/kdelibs-2.2.2a-r2.ebuild 0000644 0001750 0001751 00000005003 07715427243 016445 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-2.2.2a-r2.ebuild,v 1.3 2003/07/16 16:23:02 pvdabeel Exp $
inherit kde eutils
#don't inherit kde-dist! it calls need-kde which adds kdelibs to depend -> circular deps!
IUSE="ssl cups ipv6 alsa"
DESCRIPTION="KDE $PV - base libraries needed by all kde programs"
KEYWORDS="x86 sparc ppc"
HOMEPAGE="http//www.kde.org/"
SRC_URI="mirror://kde/2.2.2/src/${PN}-${PV/a/}.tar.bz2
mirror://kde/security_patches/post-${PV/a/}-${PN}-kimgio.diff"
SLOT="2"
LICENSE="GPL-2 LGPL-2"
S=$WORKDIR/kdelibs-2.2.2
# kde.eclass has kdelibs in DEPEND, and we can't have that in here. so we recreate the entire
# DEPEND from scratch.
DEPEND=""
RDEPEND=""
newdepend ">=sys-devel/gcc-2.95.2
virtual/glibc
dev-lang/perl
>=media-libs/audiofile-0.1.9
>=sys-apps/bzip2-1.0.1
>=dev-libs/libxslt-1.0.7
>=dev-libs/libpcre-3.5
>=dev-libs/libxml2-2.4.10
ssl? ( >=dev-libs/openssl-0.9.6 )
alsa? ( >=media-libs/alsa-lib-0.5.9 >=media-sound/alsa-driver-0.5.9 )
cups? ( net-print/cups )
>=media-libs/tiff-3.5.5
app-admin/fam-oss"
DEPEND="$DEPEND
sys-devel/make
sys-devel/autoconf
sys-devel/automake"
RDEPEND="$RDEPEND
app-text/sgml-common
cups? ( net-print/cups )
dev-lang/python"
qtver-from-kdever $PV
need-qt $selected_version
set-kdedir $PV
#this patch contains security issues backported from kde-3.0.5a.
PATCHES="${FILESDIR}/${P}-gentoo.diff
${FILESDIR}/${P}-crosside.diff"
#fix 11732 and friends
MAKEOPTS="$MAKEOPTS -j1"
src_unpack() {
unpack ${PN}-${PV/a/}.tar.bz2
cd ${S}/kimgio
epatch ${DISTDIR}/post-${PV/a/}-${PN}-kimgio.diff
kde_sandbox_patch ${S}/{arts/soundserver,kio/kpac}
}
src_compile() {
kde_src_compile myconf
use ipv6 || myconf="$myconf --with-ipv6-lookup=no"
use ssl && myconf="$myconf --with-ssl-dir=/usr" || myconf="$myconf --without-ssl"
use alsa && myconf="$myconf --with-alsa" || myconf="$myconf --without-alsa"
use cups && myconf="$myconf --enable-cups" || myconf="$myconf --disable-cups"
kde_src_compile configure make
}
src_install() {
kde_src_install
dohtml *.html
dodir /etc/env.d
if [ "${PREFIX}" != "/usr/kde/2" ]; then
echo "PATH=${PREFIX}/bin:/usr/kde/2/bin
ROOTPATH=${PREFIX}/bin:/usr/kde/2/bin
LDPATH=${PREFIX}/lib:/usr/kde/2/lib" > ${D}/etc/env.d/70kdelibs-${PV}
else
echo "PATH=${PREFIX}/bin
ROOTPATH=${PREFIX}/bin
LDPATH=${PREFIX}/lib" > ${D}/etc/env.d/70kdelibs-${PV}
fi
echo "KDEDIR=/usr/kde/2" > ${D}/etc/env.d/40kdedir-${PV}
}
./kde-base/kdelibs/kdelibs-3.1.2.ebuild 0000644 0001750 0001751 00000004607 07715427243 015774 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-3.1.2.ebuild,v 1.6 2003/07/17 20:18:49 gmsoft Exp $
inherit kde
#don't inherit kde-base or kde-dist! it calls need-kde which adds kdelibs to depend!
IUSE="alsa cups ipv6 ssl"
DESCRIPTION="KDE libraries needed by all kde programs"
KEYWORDS="x86 ppc sparc alpha hppa"
HOMEPAGE="http//www.kde.org/"
SLOT="3.1"
LICENSE="GPL-2 LGPL-2"
SRC_URI="mirror://kde/stable/$PV/src/${P}.tar.bz2"
# kde.eclass has kdelibs in DEPEND, and we can't have that in here.
# so we recreate the entire DEPEND from scratch.
DEPEND=""
RDEPEND="doc? ( ~app-doc/kdelibs-apidocs-$PV )"
newdepend "dev-lang/perl
>=media-libs/audiofile-0.1.9
>=sys-apps/bzip2-1.0.1
>=dev-libs/libxslt-1.0.7
>=dev-libs/libpcre-3.5
>=dev-libs/libxml2-2.4.10
ssl? ( >=dev-libs/openssl-0.9.6 )
alsa? ( >=media-libs/alsa-lib-0.5.9 >=media-sound/alsa-driver-0.5.9 )
cups? ( >=net-print/cups-1.1.14 )
>=media-libs/tiff-3.5.5
app-admin/fam-oss
app-text/ghostscript
media-libs/libart_lgpl
sys-devel/gettext
~kde-base/arts-1.1.2"
newdepend "/autotools"
RDEPEND="$RDEPEND
app-text/sgml-common
cups? ( net-print/cups )
dev-lang/python
>=sys-apps/portage-2.0.36" # for #7359
myconf="$myconf --with-distribution=Gentoo --enable-libfam --enable-dnotify"
use ipv6 || myconf="$myconf --with-ipv6-lookup=no"
use ssl && myconf="$myconf --with-ssl-dir=/usr" || myconf="$myconf --without-ssl"
use alsa && myconf="$myconf --with-alsa" || myconf="$myconf --without-alsa"
use cups && myconf="$myconf --enable-cups" || myconf="$myconf --disable-cups"
use x86 && myconf="$myconf --enable-fast-malloc=full"
qtver-from-kdever ${PV}
need-qt $selected_version
set-kdedir $PV
src_unpack() {
kde_src_unpack
kde_sandbox_patch ${S}/kio/misc/kpac
use alpha && cd ${S} && epatch ${FILESDIR}/${P}-kjs-alphaev6-gcc3-workaround.patch
}
src_install() {
kde_src_install
dohtml *.html
# kdelibs-apidocs is provided by kdelibs-apidocs ebuild, kdelibs ebuild
# shouldn't install anything into kdelibs-apidocs (bug #15102)
rm -r ${D}/$KDEDIR/share/doc/HTML/en/kdelibs-apidocs
}
pkg_postinst() {
einfo "If you have kde 3.0.x installed, please upgrade to kdeils-3.0.5a-r2 and kdebase-3.0.5a-r1.
If they don't have your arch's keywords, edit /etc/env.d/65kdelibs-3.0.*, remove the KDEDIRS=
line and env-update."
}
./kde-base/kdelibs/kdelibs-3.1.1a.ebuild 0000644 0001750 0001751 00000005124 07715427243 016127 0 ustar roy roy # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-3.1.1a.ebuild,v 1.4 2003/05/16 21:16:08 pylon Exp $
inherit kde
#don't inherit kde-base or kde-dist! it calls need-kde which adds kdelibs to depend!
IUSE="alsa cups ipv6 ssl"
DESCRIPTION="KDE libraries needed by all kde programs"
KEYWORDS="x86 ppc sparc ~alpha"
HOMEPAGE="http//www.kde.org/"
SLOT="3.1"
LICENSE="GPL-2 LGPL-2"
SRC_URI="mirror://kde/stable/$PV/src/${PN}-3.1.1.tar.bz2
mirror://gentoo/${PN}-${PVR}.diff.bz2"
# for the 3.1.1a version - use incremental patches from 3.1.1
S=${WORKDIR}/${PN}-3.1.1
PATCHES1="${WORKDIR}/${P}.diff"
# kde.eclass has kdelibs in DEPEND, and we can't have that in here.
# so we recreate the entire DEPEND from scratch.
DEPEND=""
RDEPEND="doc? ( ~app-doc/kdelibs-apidocs-$PV )"
newdepend "dev-lang/perl
>=media-libs/audiofile-0.1.9
>=sys-apps/bzip2-1.0.1
>=dev-libs/libxslt-1.0.7
>=dev-libs/libpcre-3.5
>=dev-libs/libxml2-2.4.10
ssl? ( >=dev-libs/openssl-0.9.6 )
alsa? ( >=media-libs/alsa-lib-0.5.9 >=media-sound/alsa-driver-0.5.9 )
cups? ( >=net-print/cups-1.1.14 )
>=media-libs/tiff-3.5.5
app-admin/fam-oss
app-text/ghostscript
media-libs/libart_lgpl
sys-devel/gettext
~kde-base/arts-1.1.1" # this arts rev is part of the same fix
newdepend "/autotools"
RDEPEND="$RDEPEND
app-text/sgml-common
cups? ( net-print/cups )
dev-lang/python
>=sys-apps/portage-2.0.36" # for #7359
myconf="$myconf --with-distribution=Gentoo --enable-libfam --enable-dnotify"
use ipv6 || myconf="$myconf --with-ipv6-lookup=no"
use ssl && myconf="$myconf --with-ssl-dir=/usr" || myconf="$myconf --without-ssl"
use alsa && myconf="$myconf --with-alsa" || myconf="$myconf --without-alsa"
use cups && myconf="$myconf --enable-cups" || myconf="$myconf --disable-cups"
use x86 && myconf="$myconf --enable-fast-malloc=full"
qtver-from-kdever ${PV}
need-qt $selected_version
set-kdedir $PV
src_unpack() {
kde_src_unpack
kde_sandbox_patch ${S}/kio/misc/kpac
use alpha && cd ${S} && epatch ${FILESDIR}/${P}-kjs-alphaev6-gcc3-workaround.patch
}
src_install() {
kde_src_install
dohtml *.html
# kdelibs-apidocs is provided by kdelibs-apidocs ebuild, kdelibs ebuild
# shouldn't install anything into kdelibs-apidocs (bug #15102)
rm -r ${D}/$KDEDIR/share/doc/HTML/en/kdelibs-apidocs
}
pkg_postinst() {
einfo "If you have kde 3.0.x installed, please upgrade to kdeils-3.0.5a-r2 and kdebase-3.0.5a-r1.
If they don't have your arch's keywords, edit /etc/env.d/65kdelibs-3.0.*, remove the KDEDIRS=
line and env-update."
}
./kde-base/kdelibs/Manifest 0000644 0001750 0001751 00000004247 07715427243 014223 0 ustar roy roy MD5 428129734c14bf10a3f0051c465bb334 ChangeLog 14763
MD5 ddb6c82d86d0d23d9ac6e7d64bf46b00 kdelibs-3.1.3-r1.ebuild 2502
MD5 ecb842ef67a00a4a3348c92a784cc3b7 kdelibs-2.2.2a-r2.ebuild 2570
MD5 8a21daa4525f5d8edef9d9be0d4a3354 kdelibs-3.0.4-r1.ebuild 2303
MD5 e907b234e307a34e574f3225b3f7d17b kdelibs-3.0.5b-r1.ebuild 1994
MD5 b738a6c4ff97493257f186b1dfb853ee kdelibs-3.0.5b.ebuild 1921
MD5 a96d21c40dbd04b8ace9ef89537542d6 kdelibs-3.1.2-r1.ebuild 2537
MD5 f11dd778b220c5b1425a00d49532b383 kdelibs-3.1.3.ebuild 2426
MD5 cc47efcd70a7e332a245ebb59833142d kdelibs-3.1.1a.ebuild 2645
MD5 14889ab75f97d76e58b0c1154e7683a9 metadata.xml 161
MD5 91af2953e64ba4168ad04792c0e85407 kdelibs-3.1.2.ebuild 2440
MD5 09f2cae6a320fd2baef3d56102cb6f62 files/digest-kdelibs-3.0.5b-r1 68
MD5 6541fd079b109e7a1d7050ed3d63cf86 files/digest-kdelibs-2.2.2a-r2 139
MD5 067d29e66608e7461f28e94895a0f4a2 files/digest-kdelibs-3.0.4-r1 142
MD5 adfd3d17be1f45423f07f22cd0c73427 files/digest-kdelibs-3.1.2-r1 68
MD5 09f2cae6a320fd2baef3d56102cb6f62 files/digest-kdelibs-3.0.5b 68
MD5 0783bde2d3df61818e8563b3a445742b files/digest-kdelibs-3.1.3 68
MD5 0599a56d65abe28cd41280572b621d2f files/kdelibs-3.0.5b-http.patch 1639
MD5 4232704fe9aeecbb09dbed9cb45b8529 files/kdelibs-3.0.5b-khtml.patch 848
MD5 488126241373edef5f0cd3db16aecc63 files/kdelibs-3.1.2-http.patch 1450
MD5 fe5064a43dd8ed966e50aee8b8f3364a files/digest-kdelibs-3.1.1a 136
MD5 24190dc0508cd29ea5adecc4cefc0db2 files/kdelibs-2.2.2a-crosside.diff 1267
MD5 ed6c2a4ca2dca736f3cbfe717b762fe6 files/kdelibs-2.2.2a-gentoo.diff 75788
MD5 c087405ca3581f6493850d59c98dcefa files/kdelibs-3.1.2-khtml.patch 1486
MD5 0783bde2d3df61818e8563b3a445742b files/digest-kdelibs-3.1.3-r1 68
MD5 acd90863c0847e230aa37f3943d58176 files/kdelibs-3.0.5b-libxml2-2.5.2.diff 703
MD5 41d30ba8cf8d36ad3caebeedb1ddfd0e files/kdelibs-3.1.3-kjs-alphaev6-gcc3-workaround.patch 477
MD5 36a366fd1a948f28712eab93b5be7e52 files/kdelibs-3.1.3-render_root.patch 896
MD5 41d30ba8cf8d36ad3caebeedb1ddfd0e files/kdelibs-3.1.1a-kjs-alphaev6-gcc3-workaround.patch 477
MD5 adfd3d17be1f45423f07f22cd0c73427 files/digest-kdelibs-3.1.2 68
MD5 41d30ba8cf8d36ad3caebeedb1ddfd0e files/kdelibs-3.1.2-kjs-alphaev6-gcc3-workaround.patch 477
./kde-base/kdelibs/ChangeLog 0000644 0001750 0001751 00000034652 07715427243 014307 0 ustar roy roy # ChangeLog for kde-base/kdelibs
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.85 2003/08/05 13:01:34 pauldv Exp $
*kdelibs-3.1.3-r1 (05 Aug 2003)
05 Aug 2003; Paul de Vrieze kdelibs-3.1.3-r1.ebuild,
files/kdelibs-3.1.3-render_root.patch:
Fix the horizontal scrollbar issue with khtml-3.1.3
*kdelibs-3.0.5b-r1 (20 Jul 2003)
*kdelibs-3.1.2-r1 (20 Jul 2003)
20 Jul 2003; Caleb Tennis : kdelibs-3.1.3.ebuild:
Add a dep that Qt version != 3.2.0, or kde bombs out.
Also remove an old portage version dep.
20 Jul 2003; Caleb Tennis : kdelibs-3.1.3.ebuild:
New version
21 Jun 2003; Caleb Tennis :
Removed old ebuilds: 2.2.2a-r1, 3.0.5a-r1, 3.1, 3.1-r2, 3.1-r3, 3.1.1, 3.1.1-r1
and assorted patch/diff files that go along with them.
16 Jun 2003; Will Woods kdelibs-3.1.2.ebuild:
Marked stable for alpha
20 May 2003; Jason Wever kdelibs-3.1.2.ebuild:
Changed ~sparc keyword to sparc.
*kdelibs-3.1.2 (19 May 2003)
19 May 2003; Dan Armak kdelibs-3.1.2.ebuild:
New version of KDE.
16 Mai 2003; Lars Weiler kdelibs-3.1.1a.ebuild:
Set ppc in KEYWORDS
27 Apr 2003; Dan Armak kdelibs-2.2.2a-r1.ebuild,
kdelibs-2.2.2a-r2.ebuild, kdelibs-3.0.4-r1.ebuild, kdelibs-3.0.5a-r1.ebuild,
kdelibs-3.0.5b.ebuild, kdelibs-3.1-r2.ebuild, kdelibs-3.1-r3.ebuild,
kdelibs-3.1.1-r1.ebuild, kdelibs-3.1.1.ebuild, kdelibs-3.1.1a.ebuild,
kdelibs-3.1.ebuild:
Adapt for changes in kde eclasses: don't inherit kde.org, and don't call
newdepend /c.
28 Apr 2003; Lars Weiler kdelibs-3.1.1-r1.ebuild:
Set ppc in KEYWORDS
*kdelibs-2.2.2a-r2 (11 Apr 2003)
11 Apr 2003; Hannes Mehnert kdelibs-2.2.2a-r2.ebuild:
security fix
*kdelibs-3.1.1a (08 Apr 2003)
08 Apr 2003; Hannes Mehnert kdelibs-3.1.1a.ebuild:
The same security fixes for kde 3.1.1.
*kdelibs-3.0.5b (08 Apr 2003)
08 Apr 2003; Hannes Mehnert kdelibs-3.0.5b.ebuild,
files/kdelibs-3.0.5b-libxml2-2.5.2.diff:
A security patch release fixing a kghostview vulnerability. See GLSA.
Also includes misc other fixes.
27 Mar 2003; Dan Armak all 3.x ebuilds:
Added explicit dep on sys-devel/gettext, since it will soon be removed
from the sysem profiles and apps will have to depend on it directly.
21 Mar 2003; Hannes Mehnert kdelibs-3.1.ebuild,
kdelibs-3.1-r2.ebuild, kdelibs-3.1-r3.ebuild, kdelibs-3.1.1.ebuild,
kdelibs-3.1.1-r1.ebuild:
added media-libs/libart_lgpl to DEPEND, thanks to Matt Rogers
(bug #17052)
*kdelibs-3.1.1-r1 (20 Mar 2003)
31 Mar 2003; Jason Wever kdelibs-3.1.1-r1.ebuild:
Changed ~sparc keyword to sparc.
20 Mar 2003; Dan Armak kdelibs-3.1.1-r1.ebuild:
Add patch that fixes kde bug #55571 (https authentication through proxy).
14 Mar 2003; Dan Armak kdelibs-3.0.5a-r1.ebuild:
Add fix for #16329 to this version as well. Added the other part of the fix
to arts-1.0.5a. No new revisions.
14 Mar 2003; Dan Armak kdelibs-3.1-r3.ebuild:
Actually add the fix for #16329, as described two entries below. I guess I
somehow forgot it before. Sorry...
*kdelibs-3.1.1 (14 Mar 2003)
19 Mar 2003; Jason Wever kdelibs-3.1.1.ebuild:
Changed ~sparc keyword to sparc.
14 Mar 2003; Hannes Mehnert kdelibs-3.1.1.ebuild,
files/kdelibs-3.1.1-kjs-alphaev6-gcc3-workaround.patch,
files/kdelibs-3.1.1-zip.diff:
version bump
*kdelibs-3.1-r3 (11 Mar 2003)
16 Mar 2003; Mark Guertin kdelibs-3.1-r2.ebuild,
kdelibs-3.1-r3.ebuild:
set ppc in keywords
10 Mar 2003; Dan Armak
Fix bug #16329: make arts work without kdelibs installed. Goes together
with new revision arts-1.1.0-r1.
08 Mar 2003; Jason Wever kdelibs-3.0.5a-r1.ebuild,kdelibs-3.1-r2.ebuild:
Changed ~sparc keywords to sparc.
28 Feb 2003; Hannes Mehnert kdelibs-3.1-r2.ebuild:
added fix for >=libxml2-2.5.2. closes bug #15245
15 Feb 2003; Jason Wever kdelibs-3.1-r2.ebuild:
Added ~sparc keyword.
15 Feb 2003; Jason Wever kdelibs-3.1.ebuild
Changed ~sparc keyword to sparc.
28 Feb 2003; Will Woods kdelibs-3.1-r2.ebuild:
Added workaround for gcc3 optimization bug on alpha, removed
-mieee flag (old attempt to fix this bug), and added ~alpha keyword.
13 Feb 2003; Dan Armak kdelibs-3.1-r1.ebuild:
Remove the change Hannes made below, it was just an emergency fix.
The proper fix, if you have a kde 3.1+3.0.x system, is to emerge
kdelibs-3.0.5a-r2 and kdebase-3.0.5aq-r1 if you are emerging kdelibs-3.1-r1
and kdebase-3.1-r1 (but don't get the new 3.0.5a's if for some reason you
aren't getting the new 3.1's !)
Or for a quick fix to avoid all that compiling, edit /etc/env.d65kdelibs-3.0.*
and remove the KDEDIRS= line, run env-update and restart kdm.
13 Feb 2003; Hannes Mehnert kdelibs-3.1-r2.ebuild:
added KDEDIRS=${PREFIX} again to fix bug #15593
12 Feb 2003; Hannes Mehnert kdelibs-2.2.2-r4.ebuild,
kdelibs-2.2.2a.ebuild, kdelibs-3.0.2-r1.ebuild, kdelibs-3.0.3.ebuild,
kdelibs-3.0.3-r1.ebuild, kdelibs-3.0.4.ebuild, kdelibs-3.1_rc6.ebuild,
kdelibs-3.1-r1.ebuild: removed unneeded ebuilds
05 Feb 2003; Hannes Mehnert kdelibs-3.1-r2.ebuild:
removing $KDEDIR/share/doc/HTML/en/kdelibs-apidocs (is provided by
app-doc/kdelibs-apidocs), fixes bug #15102
*kdelibs-3.1-r2 (04 Feb 2003)
04 Feb 2003; Hannes Mehnert kdelibs-3.1-r2.ebuild:
should fix bug #14759 and bug #14780.
01 Feb 2003; Jack Morgan kdelibs-3.1.ebuild:
added ~sparc to keywords
30 Jan 2003; Dan Armak ChangeLog :
Change ebuilds to use kde_src_unpack() instead of base_src_unpack(). This
does not affect in any way the compiled output, or any ebuild not suffering
rfom the 'languageChange undeclared' bug, which it fixes.
*kdelibs-3.1-r1, kdelibs-3.0.5a-r1 (28 Jan 2003)
28 Jan 2003; Dan Armak ChangeLog :
New revisions to fix bug #7179. This part of the fix removes KDEDIRS
settings from kdelibs' env.d files. This is a bug/fix almost noone cares
about, so no need to upgrade unless you know what this is. Masked at first
for initial testing.
*kdelibs-2.2.2a-r1 (17 Jan 2003)
24 Feb 2003; kdelibs-2.2.2a-r1.ebuild :
Fix bug #11732, #14432, #15635: enforce singlethreaded make (-j1).
17 Jan 2003; Hannes Mehnert kdelibs-2.2.2a-r1.ebuild:
new version, fixes #12520
14 Jan 2003; Hannes Mehnert kdelibs-3.1.ebuild:
fixes for kde-3.1 (removed unneeded patches)
08 Jan 2003; Mark Guertin kdelibs-3.1_rc6.ebuild:
added ~ppc to keywords
06 Jan 2003; Hannes Mehnert *.ebuild:
fixed alsa dependency, added media-sound/alsa-driver if alsa is in use.
this fixes bug #11996, thanks to fghellar@yahoo.de (Felipe Ghellar)
*kdelibs-3.1_rc6 (05 Jan 2003)
05 Jan 2003; Hannes Mehnert kdelibs-3.1_rc6.ebuild:
version bump
04 Jan 2003; Hannes Mehnert kdelibs-3.0.5a.ebuild:
included patch to have no crash if compiled with debug and clicking on
"Home" button in konqueror. no need to version bump cause most users
don't compile with debug and most users don't use the "Home" button.
*kdelibs-3.0.5a (21 Dec 2002)
06 Jan 2003; Jason Wever kdelibs-3.0.5a.ebuild:
Added ~sparc keyword
21 Dec 2002; Hannes Mehnert kdelibs-3.0.5a.ebuild:
version bump
08 Dec 2002; Jack Morgan kdelibs-3.1_rc5.ebuild :
Added sparc keyword
06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords
05 Dec 2002; Dan Armak kdelibs-2.2.2-r4.ebuild :
Ditto for this older ebuild.
04 Dec 2002; Olivier Reisch kdelibs-2.2.2a.ebuild :
Remove obsoltee ld.so dep. Fix #11541.
03 Dec 2002; Hannes Mehnert kdelibs-3.1.ebuild:
added patch to compile with USE=-ssl
02 Dec 2002; Hannes Mehnert kdelibs-3.1.ebuild:
added two patches for big endian (from kde-packagers list)
30 Nov 2002; Dan Armak ChangeLog :
Return libxml2, libxslt deps to >= since the latest ebuilds now work
again. The ebuilds of the broken versions have been deleted.
21 Nov 2002; Hannes Mehnert kdelibs-3.0.4-r1.ebuild:
fixed dependencies to =libxml2-2.4.24 and =libxslt-1.0.20 (newer libs are
broken for kde).
*kdelibs-3.0.4-r1 (14 Nov 2002)
14 Nov 2002; Hannes Mehnert kdelibs-3.0.4-r1.ebuild:
this fixes security bug #10707, thanks to n2uro@aol.com (Samuel Greenfeld)
for submission
13 Nov 2002; Hannes Mehnert kdelibs-3.1_rc2.ebuild,
kde-3.1_rc3.ebuild: fixed dependencies, they depend on libxml2-2.4.24,
because 2.4.26 is broken (bug #10281). Thanks to suka_at@yahoo.de (suka)
for submission.
*kdelibs-3.1_rc3 (12 Nov 2002)
12 Nov 2002; Hannes Mehnert ChangeLog:
kde-3.1_rc3
*kdelibs-3.1_rc2 (04 Nov 2002)
04 Nov 2002; Hannes Mehnert