imported ebuilds from harpo.

This commit is contained in:
Micha Glave
2006-04-05 10:25:29 +00:00
commit 49a0cfa23b
94 changed files with 2503 additions and 0 deletions

18
kde-misc/kat-svn/Manifest Normal file
View File

@@ -0,0 +1,18 @@
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-kat-svn-0.6 0
RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-kat-svn-0.6 0
SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-kat-svn-0.6 0
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-kat-svn-0.6-r1 0
RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-kat-svn-0.6-r1 0
SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-kat-svn-0.6-r1 0
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-kat-svn-0.7 0
RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-kat-svn-0.7 0
SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-kat-svn-0.7 0
MD5 eee101b5537b692a2aff3d1cb8514afc kat-svn-0.6-r1.ebuild 3976
RMD160 8f2d86913f8e0ab4d5dedb91372e94ae0515dcd6 kat-svn-0.6-r1.ebuild 3976
SHA256 ead94abd251aeb028e95129c68f4738fdf0f4cc85c74f24eff860727d65676c4 kat-svn-0.6-r1.ebuild 3976
MD5 e4dd0e9b98c64d33ba368c3cf61845db kat-svn-0.6.ebuild 3164
RMD160 4d70aa328d7d27e664c8173a9fe49ca428f6764a kat-svn-0.6.ebuild 3164
SHA256 e3c2d1384b7938d6098baf8f77ccd585a032fde989a5ab81a26fcab5af80b298 kat-svn-0.6.ebuild 3164
MD5 f288baeec5a47430c61a1e9ebd1bd097 kat-svn-0.7.ebuild 4230
RMD160 808b238196abeaccb523616b2202ae4657631d01 kat-svn-0.7.ebuild 4230
SHA256 630a02cefa7c714f6b1d7ae069fd4ece5dc32e2e8b68a4cfccacbd0a6ed1bc72 kat-svn-0.7.ebuild 4230

View File

@@ -0,0 +1,112 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit flag-o-matic kde subversion
DESCRIPTION="An open source framework designed to allow KDE applications to index and retrieve files"
HOMEPAGE="http://kat.mandriva.com/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
IUSE="ext-debian ext-doc ext-dvi ext-gnumeric ext-koffice ext-kpresenter
ext-kspread ext-kword ext-lyx ext-man ext-openoffice ext-pdf ext-ppt
ext-ps ext-rpm ext-rtf ext-soffice ext-tex ext-xls xattr"
RDEPEND="( || ( ( kde-base/kcontrol kde-base/kicker ) kde-base/kdebase ) )
ext-debian? ( app-arch/dpkg )
ext-doc? ( app-text/antiword )
ext-dvi? ( dev-tex/dvi2tty )
ext-gnumeric? ( app-office/gnumeric )
ext-koffice? ( || ( app-office/koffice app-office/koffice-meta ) )
ext-kpresenter? ( app-office/kpresenter )
ext-kspread? ( app-office/kspread )
ext-kword? ( app-office/kword )
ext-lyx? ( app-text/lyx2html )
ext-man? ( app-text/man2html )
ext-openoffice? ( virtual/ooo )
ext-pdf? ( app-text/poppler )
ext-ppt? ( app-text/xlhtml )
ext-rpm? ( app-arch/rpm )
ext-ps? ( app-text/pstotext )
ext-rtf? ( app-text/unrtf )
ext-soffice? ( app-office/staroffice )
ext-tex? ( dev-tex/untex )
ext-xls? ( app-text/xlhtml )
xattr? ( sys-apps/attr )"
DEPEND="${RDEPEND}
<=dev-db/sqlite-3.2.3
>=dev-util/pkgconfig-0.9.0
!kde-misc/kat
!kde-misc/kat-cvs"
need-kde 3.3
src_unpack() {
# Based on http://www.jordswart.org/archives/category/free-software/ebuild
# Fetching base directory needed to compile KDE SVN sources via subversion eclass
ESVN_UPDATE_CMD="svn update -N"
ESVN_FETCH_CMD="svn checkout -N"
ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/trunk/playground/base"
subversion_src_unpack
# Fetching admin directory needed to compile KDE SVN source via subversion eclass
S=${WORKDIR}/${P}/admin
ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin"
subversion_src_unpack
# Fetching lastest stable Kat 0.6.x sources
ESVN_UPDATE_CMD="svn up"
ESVN_FETCH_CMD="svn checkout"
S=${WORKDIR}/${P}/kat
ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/branches/kat/0.6.x/kat"
subversion_src_unpack
}
src_compile() {
# Filter fvisibility for now due to compile errors
filter-flags -fvisibility-inlines-hidden -fvisibility=hidden
# Kat SVN wants autoconf and automake set to newer versions
export WANT_AUTOCONF=2.5
export WANT_AUTOMAKE=1.6
# Unset Unsermake as Kat does not compile with unsermake enabled
export UNSERMAKE=no
local myconf="prefix=`kde-config --prefix`"
use debug && myconf="${myconf} debug=full"
kde_src_compile
}
pkg_postinst() {
if [ ! -d /proc/sys/fs/inotify ] ; then
ewarn "Your kernel does not seem to have inotify support enabled."
ewarn "In order to enable support for Kat's autoupdate deamon,"
ewarn "you need minimum kernel version 2.6.13."
ewarn "Enable Inotify file change notification support (INOTIFY)"
ewarn "within the kernel under Device Drivers / Character Devices."
ewarn "For more information regarding the use of Inotify and Kat:"
ewarn "http://kat.mandriva.com/wiki/index.php/Getting_started"
ewarn ""
epause 10
fi
if [ IUSE=xattr ] ; then
einfo "You selected support for Extented Attributes within Kat."
einfo "You will need to set Extended Attributes on the file"
einfo "systems that the autoupdate deamon of Kat indexes."
einfo "(Has to be supported by the kernel e.g. EXT2_FS_XATTR,"
einfo "EXT3_FS_XATTR or REISERFS_FS_XATTR)"
einfo ""
einfo "To set extended attributes, add 'user_xattr' to the"
einfo "relevant file systems in your /etc/fstab file. For example:"
einfo "/dev/hda3 /home reiserfs defaults,user_xattr 1 2"
epause 10
fi
}

View File

@@ -0,0 +1,97 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils flag-o-matic kde subversion
DESCRIPTION="The open source answer to WhereIsIt and Google Desktop Search"
HOMEPAGE="http://kat.sourceforge.net/"
ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/trunk/playground/base/kat"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64 ~alpha ~ppc ~sparc"
IUSE="ext-doc ext-gnumeric ext-html ext-koffice ext-kpresenter ext-kspread
ext-kword ext-mail ext-openoffice ext-pdf ext-ppt ext-ps ext-rtf ext-tex
ext-xls xattr"
RDEPEND=">=dev-db/sqlite-3.2.1
( || ( kde-base/kcontrol kde-base/kdebase ) )
ext-doc? ( app-text/antiword )
ext-gnumeric? ( app-office/gnumeric )
ext-html? ( app-text/html2text )
ext-koffice? ( app-text/koffice )
ext-kpresenter? ( app-office/kpresenter )
ext-kspread? ( app-office/kspread )
ext-kword? ( app-office/kword )
ext-mail? ( net-mail/mhonarc )
ext-openoffice? ( virtual/ooo )
ext-pdf? ( app-text/xpdf )
ext-ppt? ( app-text/xlhtml )
ext-ps? ( app-text/pstotext )
ext-rtf? ( app-text/unrtf )
ext-tex? ( dev-tex/untex )
ext-xls? ( app-text/xlhtml )
xattr? ( sys-apps/attr )"
DEPEND="${RDEPEND}
>=sys-devel/autoconf-2.59
>=sys-devel/automake-1.6
!kde-misc/kat"
need-kde 3.3
src_unpack() {
ESVN_UPDATE_CMD="svn update -N" ESVN_FETCH_CMD="svn checkout -N" ESVN_REPO_URI=`dirname ${ESVN_REPO_URI}` subversion_src_unpack
# Fetch the admin directory of KDE 3.5
ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin" subversion_src_unpack
ESVN_UPDATE_CMD="svn up kat"
subversion_src_unpack
cd ${S}
make -f Makefile.cvs
}
src_compile() {
# Filter fvisibility for now due to compile errors.
filter-flags -fvisibility-inlines-hidden -fvisibility=hidden
# KAT SVN uses newer autoconf and automake
export WANT_AUTOCONF=2.5
export WANT_AUTOMAKE=1.6
# Unset Unsermake as not all users want unsermake installed
export UNSERMAKE=no
PREFIX="`kde-config --prefix`"
kde_src_compile
}
pkg_postinst() {
if [ ! -e /dev/inotify ] ; then
eerror "Your kernel does not seem to have inotify support enabled."
eerror "In order to enable support for Kat's autoupdate deamon,"
eerror "I suggest you install the latest sys-kernel/gentoo-sources"
eerror "(or any other kernel with the inotify patch included)."
eerror ""
eerror "Enable Inotify file change notification support (INOTIFY)"
eerror "within the kernel under Device Drivers / Character Devices."
eerror "For more information: http://beaglewiki.org/Inotify_Kernel."
ebeep 10
fi
if [ IUSE=xattr ] ; then
einfo "You selected support for Extented attributes within Kat."
einfo "You will need to set extended attributes on the file"
einfo "systems that the autoupdate deamon of Kat is indexing."
einfo "(Has to be supported by the kernel e.g. EXT2_FS_XATTR,"
einfo "EXT3_FS_XATTR or REISERFS_FS_XATTR)"
einfo ""
einfo "To set extended attributes, you add 'user_xattr' to the"
einfo "relevant file systems in your /etc/fstab file. For example:"
einfo "/dev/hda3 /home ext3 defaults,user_xattr 1 2"
ebeep 10
fi
}

View File

@@ -0,0 +1,121 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit flag-o-matic kde subversion
DESCRIPTION="An open source framework designed to allow KDE applications to index and retrieve files"
HOMEPAGE="http://kat.mandriva.com/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=" -*"
IUSE="ext-debian ext-doc ext-dvi ext-gnumeric ext-koffice ext-kpresenter
ext-kspread ext-kword ext-lyx ext-man ext-openoffice ext-pdf ext-ppt
ext-ps ext-rpm ext-rtf ext-soffice ext-tex ext-xls xattr"
RDEPEND="( || ( ( kde-base/kcontrol kde-base/kicker ) kde-base/kdebase ) )
ext-debian? ( app-arch/dpkg )
ext-doc? ( app-text/antiword )
ext-dvi? ( dev-tex/dvi2tty )
ext-gnumeric? ( app-office/gnumeric )
ext-koffice? ( || ( app-office/koffice app-office/koffice-meta ) )
ext-kpresenter? ( app-office/kpresenter )
ext-kspread? ( app-office/kspread )
ext-kword? ( app-office/kword )
ext-lyx? ( app-text/lyx2html )
ext-man? ( app-text/man2html )
ext-openoffice? ( virtual/ooo )
ext-pdf? ( app-text/poppler )
ext-ppt? ( app-text/xlhtml )
ext-rpm? ( app-arch/rpm )
ext-ps? ( app-text/pstotext )
ext-rtf? ( app-text/unrtf )
ext-soffice? ( app-office/staroffice )
ext-tex? ( dev-tex/untex )
ext-xls? ( app-text/xlhtml )
xattr? ( sys-apps/attr )"
DEPEND="${RDEPEND}
dev-db/sqlite
dev-cpp/clucene
>=dev-util/pkgconfig-0.9.0
!kde-misc/kat
!kde-misc/kat-cvs"
need-kde 3.3
pkg_setup() {
# Check if clucene has been built with unicode enabled
if has_version clucene && ! built_with_use clucene unicode ; then
eerror "Re-emerge clucene with unicode use-flag enabled!"
die "You need clucene built with unicode flag for use with Kat."
fi
}
src_unpack() {
# Based on http://www.jordswart.org/archives/category/free-software/ebuild
# Fetching base directory needed to compile KDE SVN sources via subversion eclass
ESVN_UPDATE_CMD="svn update -N"
ESVN_FETCH_CMD="svn checkout -N"
ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/trunk/playground/base"
subversion_src_unpack
# Fetching admin directory needed to compile KDE SVN sources via subversion eclass
S=${WORKDIR}/{$P}/admin
ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin"
subversion_src_unpack
# Fetching the latest Kat 0.7.x sources
ESVN_UPDATE_CMD="svn up"
ESVN_FETCH_CMD="svn checkout"
S=${WORKDIR}/${P}/kat
ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/trunk/playground/base/kat"
subversion_src_unpack
}
src_compile() {
# Filter fvisibility for now due to compile errors
filter-flags -fvisibility-inlines-hidden -fvisibility=hidden
# Kat SVN wants autoconf and automake set to newer versions
export WANT_AUTOCONF=2.5
export WANT_AUTOMAKE=1.6
# Unset Unsermake as Kat does not compile with unsermake enabled
export UNSERMAKE=no
local myconf="prefix=`kde-config --prefix`"
use debug && myconf="${myconf} debug=full"
kde_src_compile
}
pkg_postinst() {
if [ ! -d /proc/sys/fs/inotify ] ; then
ewarn "Your kernel does not seem to have inotify support enabled."
ewarn "In order to enable support for Kat's autoupdate deamon,"
ewarn "you need minimum kernel version 2.6.13."
ewarn "Enable Inotify file change notification support (INOTIFY)"
ewarn "within the kernel under Device Drivers / Character Devices."
ewarn "For more information regarding the use of Inotify and Kat:"
ewarn "http://kat.mandriva.com/wiki/index.php/Getting_started"
ewarn ""
epause 10
fi
if [ IUSE=xattr ] ; then
einfo "You selected support for Extented Attributes within Kat."
einfo "You will need to set Extended Attributes on the file"
einfo "systems that the autoupdate deamon of Kat indexes."
einfo "(Has to be supported by the kernel e.g. EXT2_FS_XATTR,"
einfo "EXT3_FS_XATTR or REISERFS_FS_XATTR)"
einfo ""
einfo "To set extended attributes, add 'user_xattr' to the"
einfo "relevant file systems in your /etc/fstab file. For example"
einfo "/dev/hda3 /home reiserfs defaults,user_xattr 1 2"
epause 10
fi
}