Subject: pkg/27294: arts should not depend on kde
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hramrach@centrum.cz>
List: pkgsrc-bugs
Date: 10/18/2004 19:00:15
>Number:         27294
>Category:       pkg
>Synopsis:       arts should not depend on kde
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 18 19:01:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michal Suchanek
>Release:        2.0 some beta
>Organization:
.
>Environment:
NetBSD Dell 2.0_RC2 NetBSD 2.0_RC2 (Dell) #0: Sat Oct  2 23:46:21 CEST 2004  hramrach@Dell:/scratch/obj/usr/src/sys/arch/i386/compile/Dell i386
>Description:
Arts depensd on kde to build (not sure about install). This makes it an unnecessarily large package.
Tried to build it like this:
--- Makefile    13 Oct 2004 11:39:23 -0000      1.36
+++ Makefile    18 Oct 2004 18:50:35 -0000
@@ -10,21 +10,25 @@
 CONFLICTS+=    kdelibs-2*
 
 USE_BUILDLINK3=                yes
+USE_X11BASE=           yes
 USE_PERL5=             build
 
 # Ensure we export symbols in the linked shared object.
 LDFLAGS+=              ${EXPORT_SYMBOLS_LDFLAGS}
 
 _IN_ARTS_BUILD=                yes
-.include "../../meta-pkgs/kde3/kde3.mk"
+#.include "../../meta-pkgs/kde3/kde3.mk"
 
 .include "../../audio/esound/buildlink3.mk"
 .include "../../audio/libaudiofile/buildlink3.mk"
 .include "../../audio/libmad/buildlink3.mk"
 .include "../../audio/libvorbis/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../devel/pkgconfig/buildlink3.mk"
 .include "../../multimedia/libogg/buildlink3.mk"
+.include "../../x11/qt3-libs/buildlink3.mk"
+.include "../../x11/qt3-tools/buildlink3.mk"
 
 .include "../../mk/ossaudio.buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"

and it appears to work.
I think qt3-libs + qt3-tools is much smaller than kde.
>How-To-Repeat:
build arts
>Fix:
patch the makefile to not requitre kde
>Release-Note:
>Audit-Trail:
>Unformatted: