summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2002-09-11 13:27:04 +0000
committerDan Armak <danarmak@gentoo.org>2002-09-11 13:27:04 +0000
commit2b0518a241d4c54b427e28126bc8577504fcdb4d (patch)
tree677224b131f65ecd323ea9fcf2cbab1e6c3b2426 /dev-util/kdevelop
parentStable update (diff)
downloadgentoo-2-2b0518a241d4c54b427e28126bc8577504fcdb4d.tar.gz
gentoo-2-2b0518a241d4c54b427e28126bc8577504fcdb4d.tar.bz2
gentoo-2-2b0518a241d4c54b427e28126bc8577504fcdb4d.zip
Fix bug #5839 - bad configure.in files in the templates of the various qt projects
Diffstat (limited to 'dev-util/kdevelop')
-rw-r--r--dev-util/kdevelop/ChangeLog9
-rw-r--r--dev-util/kdevelop/files/digest-kdevelop-2.1.3-r14
-rw-r--r--dev-util/kdevelop/kdevelop-2.1.3-r1.ebuild85
3 files changed, 97 insertions, 1 deletions
diff --git a/dev-util/kdevelop/ChangeLog b/dev-util/kdevelop/ChangeLog
index 374dde55651f..9b0267f1e4e4 100644
--- a/dev-util/kdevelop/ChangeLog
+++ b/dev-util/kdevelop/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-util/kdevelop
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/kdevelop/ChangeLog,v 1.11 2002/08/22 23:28:07 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/kdevelop/ChangeLog,v 1.12 2002/09/11 13:27:04 danarmak Exp $
+
+*kdevelop-2.1.3-r1 (11 Sep 2002)
+
+ 11 Sep 2002; Dan Armak <danarmak@gentoo.org> ChangeLog :
+
+ Fix bug #5839 - bad configure.in files in the templates of the various qt
+ projects which didn't work with autoconf 2.5x.
23 Aug 2002; Dan Armak <danarmak@gentoo.org> ChangeLog :
diff --git a/dev-util/kdevelop/files/digest-kdevelop-2.1.3-r1 b/dev-util/kdevelop/files/digest-kdevelop-2.1.3-r1
new file mode 100644
index 000000000000..9668dcd73014
--- /dev/null
+++ b/dev-util/kdevelop/files/digest-kdevelop-2.1.3-r1
@@ -0,0 +1,4 @@
+MD5 f71ad2aa07522f99ef62bc46d2e3e8bf kdevelop-2.1.3_for_KDE_3.0.tar.bz2 3403196
+MD5 cd84fd2c8c8129d19e6e2686d6bf63a5 c_cpp_reference-1.0.tar.gz 1146504
+MD5 ca365b62446d131ea0e4a631ec6e2a08 kdelibs-kdevelop-docs-3.0.1.tar.bz2 1848072
+MD5 a15d1f21ea2af5e0dd7e325a32551dfc kdevelop-2.1.3-qt-templates.tar.gz 27385
diff --git a/dev-util/kdevelop/kdevelop-2.1.3-r1.ebuild b/dev-util/kdevelop/kdevelop-2.1.3-r1.ebuild
new file mode 100644
index 000000000000..587512094bc7
--- /dev/null
+++ b/dev-util/kdevelop/kdevelop-2.1.3-r1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/kdevelop/kdevelop-2.1.3-r1.ebuild,v 1.1 2002/09/11 13:27:04 danarmak Exp $
+
+inherit kde-base
+need-kde 3
+
+S=${WORKDIR}/${P}_for_KDE_3.0
+DESCRIPTION="KDevelop ${PV}"
+HOMEPAGE="www.kdevelop.org"
+SRC_PATH="kde/stable/3.0.3/src/${P}_for_KDE_3.0.tar.bz2"
+SRC_URI="ftp://ftp.kde.org/pub/$SRC_PATH
+ ftp://ftp.fh-heilbronn.de/pub/mirrors/$SRC_PATH
+ ftp://ftp.sourceforge.net/pub/mirrors/$SRC_PATH
+ mirror://gentoo/c_cpp_reference-1.0.tar.gz
+ mirror://gentoo/kdelibs-kdevelop-docs-3.0.1.tar.bz2
+ mirror://gentoo/$P-qt-templates.tar.gz"
+
+
+LICENSE="GPL-2"
+KEYWORDS="x86"
+
+
+DEPEND="$DEPEND
+ sys-devel/flex
+ sys-devel/perl"
+
+newdepend ">=kde-base/kdebase-3
+ >=dev-util/kdoc-2.0_alpha24
+ >=dev-util/kdbg-1.2.5.3
+ >=net-www/htdig-3.1.6
+ >=app-text/enscript-1.6.1
+ >=app-text/a2ps-4.13b
+ >=dev-util/ctags-5.0.1
+ >=app-text/sgmltools-lite-3.0.3
+ >=app-doc/qt-docs-${QTVER}"
+
+# -j2 and greater fails - see bug #6199
+export MAKEOPTS="$MAKEOPTS -j1"
+
+src_unpack() {
+ base_src_unpack
+ cd ${S}/kdevelop
+ for x in *.desktop; do
+ mv $x $x.2
+ sed -e 's:Exec=kdevelop:Exec=env WANT_AUTOMAKE_1_4=1 WANT_AUTOCONF_2_5=1 kdevelop:g' $x.2 > $x
+ rm $x.2
+ done
+
+ # new qt project templates, fix #5839
+ cd $WORKDIR
+ mv q*.tar.gz $S/kdevelop/templates/
+
+}
+
+src_install() {
+
+ kde_src_install
+
+ # setup htdig for use with kdevelop out-of-the-box (sort of)
+ sed -e "s:_KDEDIR_:${PREFIX}:g" ${FILESDIR}/htdig.conf > ${D}/${PREFIX}/share/apps/kdevelop/tools/htdig.conf
+ dodir ${PREFIX}/share/apps/kdevelop/htdig/db
+
+ # kdelibs documentation - pregenerated so we don't need kdelibs sources etc
+ cp -r ${WORKDIR}/KDE-Documentation ${D}/${PREFIX}/share/apps/kdevelop/
+
+ # c/cpp reference package
+ dodir ${PREFIX}/share/doc/HTML/en/kdevelop/reference
+ cp -r ${WORKDIR}/c_cpp_reference-1.0/reference/{C,CPLUSPLUS,GRAPHICS} ${D}/${PREFIX}/share/doc/HTML/en/kdevelop/reference/
+
+}
+
+pkg_postinst() {
+
+einfo "Don't run the kdevelop setup! It will try to generate the kdelibs documentation,"
+einfo "but a pregenerated package of it has been installed with this ebuild."
+einfo "Instead, run kdevelop, go to Options->Kdevelop Setup, Documentation tab, and change"
+einfo "the value of KDE-Libraries-Doc to $PREFIX/share/apps/kdevelop/KDE-Documentation/ ."
+einfo ""
+einfo "Oh, and if you think of a nice way to automate this from the ebuild, pray tell"
+einfo "(but test first!) :-)"
+
+
+}
+