Package Details: kdelibs3 3.5.10-19

Git Clone URL: https://aur.archlinux.org/kdelibs3.git (read-only)
Package Base: kdelibs3
Description: KDE3 Core Libraries
Upstream URL: http://www.kde.org
Licenses: GPL, LGPL
Submitter: pingveno
Maintainer: None
Last Packager: pingveno
Votes: 3
Popularity: 0.000001
First Submitted: 2014-08-03 03:17
Last Updated: 2015-07-08 18:08

Latest Comments

bebehei commented on 2016-12-11 22:52

I got the same errors as @thse, @rakoo. I thought I could fix them and temporarily adopted the package. But the sad story: Those had been only the first ones. Errors came out of everywhere at the end. 15 years difference of development aren't easy to patch.

Sad story: I "fixed" my initial problem by installing the application inside a docker-image basing on the then-version of debian (squeeze): https://github.com/bebehei/kpicosim-docker

I don't want to advocate for docker, but it may be a better choice to drop this package in the AUR, as it is not compiling. If you use software, which still depends on qt3/KDE3, it might be a better (and easier) way to do it inside a container with the correct set of libraries.

jose1711 commented on 2016-09-15 11:37

unable to compile:
..
/usr/include/qt3/qptrlist.h: In instantiation of 'void QPtrList<type>::deleteItem(QPtrCollection::Item) [with type = KTextEditor::Cursor; QPtrCollection::Item = void*]':
katedocument_skel.cpp:53:1: required from here
/usr/include/qt3/qptrlist.h:153:21: warning: deleting object of abstract class type 'KTextEditor::Cursor' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor]
if ( del_item ) delete (type *)d;
^~~~~~
make[3]: *** [Makefile:644: libkate_la.all_cpp.lo] Error 1
make[3]: Leaving directory '/home/jose/tarballs/kdelibs3/src/kdelibs-3.5.10/kate/part'
make[2]: *** [Makefile:444: all-recursive] Error 1
make[2]: Leaving directory '/home/jose/tarballs/kdelibs3/src/kdelibs-3.5.10/kate'
make[1]: *** [Makefile:543: all-recursive] Error 1
make[1]: Leaving directory '/home/jose/tarballs/kdelibs3/src/kdelibs-3.5.10'
make: *** [Makefile:438: all] Error 2

thse commented on 2016-02-08 17:06

ftp://ftp.kde.org/
is not existing anymore, instead download from here:
http://download.kde.org/Attic/3.5.10/src/kdelibs-3.5.10.tar.bz2

rakoo commented on 2015-03-07 20:37

Hi ! I had problems with the sources path:

- kde 3.5 is now in the attic
- it seems ftp.archlinux.org is not accessible anymore, so I switched to mirrors.kernel.org which is kind enough to have the /other/ subdirectory

I also encountered issues with cups as stated by macin. I personally disabled it to make it work, maybe a better version would be to dig the then-version of libcups and depend on it.

diff --git a/PKGBUILD b/PKGBUILD
index 07707da..7a3bb36 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,8 +15,8 @@ depends=('libxslt' 'libart-lgpl' 'alsa-lib' 'libcups' 'jasper'
makedepends=('cups' 'hspell' 'optipng')
optdepends=('hspell: for Hebrew spell-checking support')
options=('libtool' 'staticlibs' '!makeflags')
-source=("ftp://ftp.kde.org/pub/kde/stable/${pkgver}/src/kdelibs-${pkgver}.tar.bz2"
- 'ftp://ftp.archlinux.org/other/kde/kde-3.5-1074156.patch.gz'
+source=("ftp://ftp.kde.org/pub/kde/Attic/${pkgver}/src/kdelibs-${pkgver}.tar.bz2"
+ 'http://mirrors.kernel.org/archlinux/other/kde/kde-3.5-1074156.patch.gz'
'acinclude.patch'
'kde3.profile'
'kde4-compatibility.patch'
@@ -55,7 +55,7 @@ build() {
--with-alsa --disable-dnssd --disable-dnotify \
--enable-inotify --enable-sendfile --with-hspell \
--enable-gcc-hidden-visibility --enable-final \
- --without-arts --without-lua --disable-libfam
+ --without-arts --without-lua --disable-libfam --disable-cups
make
}

macin commented on 2015-01-05 11:07

Hi! Compiling I get an error:

cups-util.c: In function 'cups_local_auth':
cups-util.c:518:24: error: dereferencing pointer to incomplete type
if (ntohl(*(int*)&http->hostaddr.sin_addr) != 0x7f000001 &&
^
cups-util.c:519:22: error: dereferencing pointer to incomplete type
strcasecmp(http->hostname, "localhost") != 0)
^
cups-util.c: In function 'cupsGetConf':
cups-util.c:246:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
write(fd, buffer, bytes);
^
cups-util.c: In function 'cups_local_auth':
cups-util.c:546:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(certificate, sizeof(certificate), fp);
^
Makefile:658: set di istruzioni per l'obiettivo "cups-util.lo" non riuscito
make[4]: *** [cups-util.lo] Errore 1
make[4]: uscita dalla directory "/home/camillo/compilazioniAUR/kdelibs3/src/kdelibs-3.5.10/kdeprint/cups/cupsdconf2"
Makefile:763: set di istruzioni per l'obiettivo "all-recursive" non riuscito
make[3]: *** [all-recursive] Errore 1
make[3]: uscita dalla directory "/home/camillo/compilazioniAUR/kdelibs3/src/kdelibs-3.5.10/kdeprint/cups"
Makefile:932: set di istruzioni per l'obiettivo "all-recursive" non riuscito
make[2]: *** [all-recursive] Errore 1
make[2]: uscita dalla directory "/home/camillo/compilazioniAUR/kdelibs3/src/kdelibs-3.5.10/kdeprint"
Makefile:543: set di istruzioni per l'obiettivo "all-recursive" non riuscito
make[1]: *** [all-recursive] Errore 1
make[1]: uscita dalla directory "/home/camillo/compilazioniAUR/kdelibs3/src/kdelibs-3.5.10"
Makefile:438: set di istruzioni per l'obiettivo "all" non riuscito
make: *** [all] Errore 2
==> ERRORE: Si è verificato un errore in build().
L'operazione sta per essere interrotta...