diff options
author | Caleb Tennis <caleb@gentoo.org> | 2004-05-26 00:57:05 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2004-05-26 00:57:05 +0000 |
commit | 1d2d39e8d2140c0c3b4722b824b4b8dc1c269e72 (patch) | |
tree | f0c9eb8760041a6ad195f5ffbc93baa9e7578917 /kde-base | |
parent | version bump, closes #51929; fix metadata (Manifest recommit) (diff) | |
download | gentoo-2-1d2d39e8d2140c0c3b4722b824b4b8dc1c269e72.tar.gz gentoo-2-1d2d39e8d2140c0c3b4722b824b4b8dc1c269e72.tar.bz2 gentoo-2-1d2d39e8d2140c0c3b4722b824b4b8dc1c269e72.zip |
3.3alpha1 - hardmasked
Diffstat (limited to 'kde-base')
-rw-r--r-- | kde-base/arts/ChangeLog | 7 | ||||
-rw-r--r-- | kde-base/arts/arts-1.3.0_alpha1.ebuild | 87 | ||||
-rw-r--r-- | kde-base/arts/files/digest-arts-1.3.0_alpha1 | 1 | ||||
-rw-r--r-- | kde-base/kdebase/ChangeLog | 7 | ||||
-rw-r--r-- | kde-base/kdebase/files/digest-kdebase-3.3.0_alpha1 | 1 | ||||
-rw-r--r-- | kde-base/kdebase/kdebase-3.3.0_alpha1.ebuild | 115 | ||||
-rw-r--r-- | kde-base/kdelibs/ChangeLog | 7 | ||||
-rw-r--r-- | kde-base/kdelibs/files/digest-kdelibs-3.3.0_alpha1 | 1 | ||||
-rw-r--r-- | kde-base/kdelibs/kdelibs-3.3.0_alpha1.ebuild | 90 |
9 files changed, 313 insertions, 3 deletions
diff --git a/kde-base/arts/ChangeLog b/kde-base/arts/ChangeLog index 1384031fd747..e1cb9c02dc17 100644 --- a/kde-base/arts/ChangeLog +++ b/kde-base/arts/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-base/arts # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/arts/ChangeLog,v 1.95 2004/05/24 03:07:05 dostrow Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/arts/ChangeLog,v 1.96 2004/05/26 00:53:54 caleb Exp $ + +*arts-1.3.0_alpha1 (25 May 2004) + + 25 May 2004; Caleb Tennis <caleb@gentoo.org> +arts-1.3.0_alpha1.ebuild: + 3.3alpha1 - hardmasked 23 May 2004; Daniel Ostrow <dostrow@gentoo.org> arts-1.2.2.ebuild: Stable on ppc. diff --git a/kde-base/arts/arts-1.3.0_alpha1.ebuild b/kde-base/arts/arts-1.3.0_alpha1.ebuild new file mode 100644 index 000000000000..ef10d797b6e0 --- /dev/null +++ b/kde-base/arts/arts-1.3.0_alpha1.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/arts/arts-1.3.0_alpha1.ebuild,v 1.1 2004/05/26 00:53:54 caleb Exp $ + +inherit kde flag-o-matic eutils +set-kdedir 3.3 + +MY_PV=1.2.90 +S=${WORKDIR}/${PN}-${MY_PV} + +DESCRIPTION="aRts, the KDE sound (and all-around multimedia) server/output manager" +HOMEPAGE="http://multimedia.kde.org/" +SRC_URI="mirror://kde/unstable/${MY_PV}/src/${PN}-${MY_PV}.tar.bz2" + +LICENSE="GPL-2 LGPL-2" +SLOT="3.3" +KEYWORDS="~x86" +IUSE="alsa oggvorbis esd artswrappersuid mad" + +DEPEND="alsa? ( media-libs/alsa-lib virtual/alsa ) + oggvorbis? ( media-libs/libvorbis media-libs/libogg ) + esd? ( media-sound/esound ) + mad? ( media-libs/libmad media-libs/libid3tag ) + media-libs/audiofile + >=dev-libs/glib-2 + >=x11-libs/qt-3.3 + >=sys-apps/portage-2.0.49-r8" + +# patch to configure.in.in that makes the vorbis, libmad deps optional +# has no version number in its filename because it's the same for all +# arts versions - the patched file hasn't changed in a year's time +# PATCHES="$FILESDIR/optional-deps.diff" + +src_unpack() { + kde_src_unpack + kde_sandbox_patch ${S}/soundserver + # for the configure.in.in patch, for some reason it's not automatically picked up + # rm -f $S/configure + + cd ${S} + # use amd64 && epatch ${FILESDIR}/arts-${PV}-buffer.patch + # this patch fixes the high cpu usage of mp3 and vorbis + # epatch ${FILESDIR}/arts-vorbis-fix.dif +} + +src_compile() { + + #fix bug 13453 + filter-flags -foptimize-sibling-calls + + #fix bug 41980 + use sparc && filter-flags -fomit-frame-pointer + + myconf="$myconf `use_enable alsa`" + myconf="$myconf `use_enable oggvorbis vorbis`" + myconf="$myconf `use_enable mad libmad`" + + kde_src_compile +} + +src_install() { + kde_src_install + dodoc ${S}/doc/{NEWS,README,TODO} + + # moved here from kdelibs so that when arts is installed + # without kdelibs it's still in the path. + dodir /etc/env.d +echo "PATH=${PREFIX}/bin +ROOTPATH=${PREFIX}/sbin:${PREFIX}/bin +LDPATH=${PREFIX}/lib +CONFIG_PROTECT=${PREFIX}/share/config" > ${D}/etc/env.d/47kdepaths-3.3.0 # number goes down with version upgrade + + echo "KDEDIR=$PREFIX" > ${D}/etc/env.d/58kdedir-3.3.0 # number goes up with version upgrade + + # used for realtime priority, but off by default as it is a security hazard + use artswrappersuid && chmod +s ${D}/${PREFIX}/bin/artswrapper +} + +pkg_postinst() { + if ! use artswrappersuid ; then + einfo "Run chmod +s ${PREFIX}/bin/artswrapper to let artsd use realtime priority" + einfo "and so avoid possible skips in sound. However, on untrusted systems this" + einfo "creates the possibility of a DoS attack that'll use 100% cpu at realtime" + einfo "priority, and so is off by default. See bug #7883." + einfo "Or, you can set the local artswrappersuid USE flag to make the ebuild do this." + fi +} diff --git a/kde-base/arts/files/digest-arts-1.3.0_alpha1 b/kde-base/arts/files/digest-arts-1.3.0_alpha1 new file mode 100644 index 000000000000..6a2f27c925b1 --- /dev/null +++ b/kde-base/arts/files/digest-arts-1.3.0_alpha1 @@ -0,0 +1 @@ +MD5 a28df6a42379416f401d306ffda3fd91 arts-1.2.90.tar.bz2 971604 diff --git a/kde-base/kdebase/ChangeLog b/kde-base/kdebase/ChangeLog index d0c81160ed36..ede5000026d3 100644 --- a/kde-base/kdebase/ChangeLog +++ b/kde-base/kdebase/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-base/kdebase # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase/ChangeLog,v 1.129 2004/05/24 03:07:05 dostrow Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase/ChangeLog,v 1.130 2004/05/26 00:57:05 caleb Exp $ + +*kdebase-3.3.0_alpha1 (25 May 2004) + + 25 May 2004; Caleb Tennis <caleb@gentoo.org> +kdebase-3.3.0_alpha1.ebuild: + 3.3alpha1 - hardmasked 23 May 2004; Daniel Ostrow <dostrow@gentoo.org> kdebase-3.2.2.ebuild: Stable on ppc. diff --git a/kde-base/kdebase/files/digest-kdebase-3.3.0_alpha1 b/kde-base/kdebase/files/digest-kdebase-3.3.0_alpha1 new file mode 100644 index 000000000000..b656fdd21245 --- /dev/null +++ b/kde-base/kdebase/files/digest-kdebase-3.3.0_alpha1 @@ -0,0 +1 @@ +MD5 7c0d3660c6a9fa1cce03baa85279acc0 kdebase-3.2.90.tar.bz2 18271070 diff --git a/kde-base/kdebase/kdebase-3.3.0_alpha1.ebuild b/kde-base/kdebase/kdebase-3.3.0_alpha1.ebuild new file mode 100644 index 000000000000..8451faa90dfa --- /dev/null +++ b/kde-base/kdebase/kdebase-3.3.0_alpha1.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase/kdebase-3.3.0_alpha1.ebuild,v 1.1 2004/05/26 00:57:05 caleb Exp $ + +inherit kde-dist eutils + +DESCRIPTION="KDE base packages: the desktop, panel, window manager, konqueror..." + +KEYWORDS="~x86" +IUSE="ldap pam motif encode cups ssl opengl samba java" + +DEPEND="media-sound/cdparanoia + ldap? ( net-nds/openldap ) + pam? ( sys-libs/pam ) + motif? ( x11-libs/openmotif ) + encode? ( media-sound/lame ) + cups? ( net-print/cups ) + ssl? ( dev-libs/openssl ) + opengl? ( virtual/opengl ) + samba? ( net-fs/samba ) + java? ( || ( virtual/jdk virtual/jre ) ) + >=media-libs/freetype-2" +RDEPEND="${DEPEND} + sys-apps/eject" + +src_unpack() { + kde_src_unpack +} + +src_compile() { + myconf="$myconf --with-dpms --with-cdparanoia" + myconf="$myconf `use_with ldap` `use_with motif`" + myconf="$myconf `use_with encode lame` `use_with cups`" + myconf="$myconf `use_with opengl gl` `use_with ssl`" + + use pam \ + && myconf="$myconf --with-pam=yes" \ + || myconf="$myconf --with-pam=no --with-shadow" + + if use java ; then + if has_version virtual/jdk ; then + myconf="$myconf --with-java=$(java-config --jdk-home)" + else + myconf="$myconf --with-java=$(java-config --jre-home)" + fi + else + myconf="$myconf --without-java" + fi + + kde_src_compile myconf configure + kde_remove_flag kdm/kfrontend -fomit-frame-pointer + kde_src_compile make +} + +src_install() { + kde_src_install + cd ${S}/kdm && make DESTDIR=${D} GENKDMCONF_FLAGS="--no-old --no-backup" install + + insinto /etc/pam.d + newins ${FILESDIR}/kde.pam kde + newins ${FILESDIR}/kde-np.pam kde-np + + # startkde script + cd ${D}/${KDEDIR}/bin + epatch ${FILESDIR}/${PVR}/startkde-${PVR}-gentoo.diff + mv startkde startkde.orig + sed -e "s:_KDEDIR_:${KDEDIR}:" startkde.orig > startkde + rm startkde.orig + chmod a+x startkde + + # kcontrol modules + cd ${D}/${KDEDIR}/etc/xdg/menus + ln -s default_kde-settings.menu kde-settings.menu + ln -s default_kde-information.menu kde-information.menu + ln -s default_kde-screensavers.menu kde-screensavers.menu + + # x11 session script + cd ${T} + echo "#!/bin/sh +${KDEDIR}/bin/startkde" > kde-${PV} + chmod a+x kde-${PV} + exeinto /etc/X11/Sessions + doexe kde-${PV} + + cd ${D}/${KDEDIR}/share/config/kdm || die + dodir ${KDEDIR}/share/config/kdm/sessions + sed -e "s:_PREFIX_:${PREFIX}:g" \ + -e "s:_RANDOM_:${RANDOM}${RANDOM}:g" \ + ${FILESDIR}/${PVR}/kdmrc > kdmrc + sed -e "s:_PREFIX_:${PREFIX}:g" ${FILESDIR}/${PVR}/Xsetup > Xsetup + + cp ${FILESDIR}/${PVR}/backgroundrc . + + #backup splashscreen images, so they can be put back when unmerging + #mosfet or so. + if [ ! -d ${KDEDIR}/share/apps/ksplash.default ] + then + cd ${D}/${KDEDIR}/share/apps + cp -rf ksplash/ ksplash.default + fi + + # Show gnome icons when choosing new icon for desktop shortcut + dodir /usr/share/pixmaps + mv ${D}/${KDEDIR}/share/apps/kdesktop/pics/* ${D}/usr/share/pixmaps/ + rm -rf ${D}/${KDEDIR}/share/apps/kdesktop/pics/ + cd ${D}/${KDEDIR}/share/apps/kdesktop/ + ln -sf /usr/share/pixmaps/ pics + + rmdir ${D}/${KDEDIR}/share/templates/.source/emptydir + +} + +pkg_postinst() { + mkdir -p ${KDEDIR}/share/templates/.source/emptydir +} diff --git a/kde-base/kdelibs/ChangeLog b/kde-base/kdelibs/ChangeLog index 9b2ffcc6d897..4483a098e0ee 100644 --- a/kde-base/kdelibs/ChangeLog +++ b/kde-base/kdelibs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-base/kdelibs # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.139 2004/05/24 03:07:05 dostrow Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.140 2004/05/26 00:55:39 caleb Exp $ + +*kdelibs-3.3.0_alpha1 (25 May 2004) + + 25 May 2004; Caleb Tennis <caleb@gentoo.org> +kdelibs-3.3.0_alpha1.ebuild: + 3.3alpha1 - hardmasked 23 May 2004; Daniel Ostrow <dostrow@forbes.com> kdelibs-3.2.2-r1.ebuild: Stable on ppc. diff --git a/kde-base/kdelibs/files/digest-kdelibs-3.3.0_alpha1 b/kde-base/kdelibs/files/digest-kdelibs-3.3.0_alpha1 new file mode 100644 index 000000000000..bfbb5ffd03bc --- /dev/null +++ b/kde-base/kdelibs/files/digest-kdelibs-3.3.0_alpha1 @@ -0,0 +1 @@ +MD5 fb144f4696e26fd2bac9e2d7e7a6e770 kdelibs-3.2.90.tar.bz2 15558130 diff --git a/kde-base/kdelibs/kdelibs-3.3.0_alpha1.ebuild b/kde-base/kdelibs/kdelibs-3.3.0_alpha1.ebuild new file mode 100644 index 000000000000..741c174b5460 --- /dev/null +++ b/kde-base/kdelibs/kdelibs-3.3.0_alpha1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-3.3.0_alpha1.ebuild,v 1.1 2004/05/26 00:55:39 caleb Exp $ + +inherit kde eutils +set-kdedir 3.3 + +MY_PV=3.2.90 +S=${WORKDIR}/${PN}-${MY_PV} + +DESCRIPTION="KDE libraries needed by all kde programs" +HOMEPAGE="http//www.kde.org/" +SRC_URI="mirror://kde/unstable/${MY_PV}/src/${PN}-${MY_PV}.tar.bz2" + +LICENSE="GPL-2 LGPL-2" +SLOT="3.3" +KEYWORDS="~x86" +IUSE="alsa cups ipv6 ssl doc ldap" + +# kde.eclass has kdelibs in DEPEND, and we can't have that in here. +# so we recreate the entire DEPEND from scratch. +DEPEND=">=sys-devel/autoconf-2.58 + >=sys-devel/automake-1.8 + >=app-arch/bzip2 + >=dev-libs/libxslt-1.1.4 + >=dev-libs/libxml2-2.6.6 + >=dev-libs/libpcre-4.2 + ssl? ( >=dev-libs/openssl-0.9.7d ) + alsa? ( media-libs/alsa-lib virtual/alsa ) + cups? ( >=net-print/cups-1.1.19 ) + ldap? ( >=net-nds/openldap-2.1.26 ) + media-libs/tiff + >=app-admin/fam-2.7.0 + virtual/ghostscript + media-libs/libart_lgpl + sys-devel/gettext + ~kde-base/arts-1.3.0_alpha1 + >=x11-libs/qt-3.3.2" +RDEPEND="${DEPEND} + app-text/sgml-common + cups? ( net-print/cups ) + doc? ( app-doc/doxygen ) + dev-lang/python" + +src_unpack() { + kde_src_unpack +} + +src_compile() { + kde_src_compile myconf + + myconf="$myconf --with-distribution=Gentoo --enable-libfam --enable-dnotify" + myconf="$myconf `use_with alsa` `use_enable cups`" + + 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" + + kde_src_compile configure make + + use doc && make apidox +} + +src_install() { + kde_src_install + dohtml *.html + + if use doc ; then + einfo "Copying API documentation..." + dodir ${KDEDIR}/share/doc/HTML/en/kdelibs-apidocs + cp -r ${S}/apidocs/* ${D}/$KDEDIR/share/doc/HTML/en/kdelibs-apidocs + else + rm -r ${D}/$KDEDIR/share/doc/HTML/en/kdelibs-apidocs + fi + + # needed to fix lib64 issues on amd64, see bug #45669 + use amd64 && ln -s ${KDEDIR}/lib ${D}/${KDEDIR}/lib64 + +} + +pkg_postinst() { + if use doc ; then + rm $KDEDIR/share/doc/HTML/en/kdelibs-apidocs/common + ln -sf $KDEDIR/share/doc/HTML/en/common \ + $KDEDIR/share/doc/HTML/en/kdelibs-apidocs/common + fi +} |