public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-text/dictd: ChangeLog metadata.xml dictd-1.10.11-r3.ebuild dictd-1.10.11.ebuild
@ 2008-11-03 15:51 Peter Volkov (pva)
  0 siblings, 0 replies; only message in thread
From: Peter Volkov (pva) @ 2008-11-03 15:51 UTC (permalink / raw
  To: gentoo-commits

pva         08/11/03 15:51:22

  Modified:             ChangeLog metadata.xml
  Added:                dictd-1.10.11-r3.ebuild
  Removed:              dictd-1.10.11.ebuild
  Log:
  Fixed build problem reported by Markus Meier in bug #244246 comment 9. Dropped keywords due to new dependencies.
  (Portage version: 2.2_rc12/cvs/Linux 2.6.26-openvz.git-35f41f1 i686)

Revision  Changes    Path
1.45                 app-text/dictd/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/ChangeLog?rev=1.45&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/ChangeLog?rev=1.45&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/ChangeLog?r1=1.44&r2=1.45

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- ChangeLog	26 Oct 2008 14:16:01 -0000	1.44
+++ ChangeLog	3 Nov 2008 15:51:22 -0000	1.45
@@ -1,6 +1,14 @@
 # ChangeLog for app-text/dictd
 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v 1.44 2008/10/26 14:16:01 fmccor Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v 1.45 2008/11/03 15:51:22 pva Exp $
+
+*dictd-1.10.11-r3 (03 Nov 2008)
+
+  03 Nov 2008; Peter Volkov <pva@gentoo.org>
+  +files/dictd-1.10.11-automatic-plugins_build-failure.patch, metadata.xml,
+  -dictd-1.10.11.ebuild, +dictd-1.10.11-r3.ebuild:
+  Fixed build problem reported by Markus Meier in bug #244246 comment 9.
+  Dropped keywords due to new dependencies.
 
   26 Oct 2008; Ferris McCormick <fmccor@gentoo.org> dictd-1.10.11-r2.ebuild:
   Sparc stable, Bug #244246, everything looks good.



1.2                  app-text/dictd/metadata.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/metadata.xml?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/metadata.xml?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/metadata.xml?r1=1.1&r2=1.2

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/dictd/metadata.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- metadata.xml	15 Jan 2004 23:38:45 -0000	1.1
+++ metadata.xml	3 Nov 2008 15:51:22 -0000	1.2
@@ -2,4 +2,8 @@
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
 <herd>app-dicts</herd>
+<use>
+  <flag name='dbi'>Build dbi plugin, uses <pkg>dev-db/libdbi</pkg> library for implementing DICT database using SQL server</flag>
+  <flag name='judy'>Build Judy-based (<pkg>dev-libs/judy</pkg>) plugin implementing fast "exact" and especially "lev" strategies</flag>
+</use>
 </pkgmetadata>



1.1                  app-text/dictd/dictd-1.10.11-r3.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/dictd-1.10.11-r3.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/dictd-1.10.11-r3.ebuild?rev=1.1&content-type=text/plain

Index: dictd-1.10.11-r3.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.10.11-r3.ebuild,v 1.1 2008/11/03 15:51:22 pva Exp $

inherit eutils autotools

DESCRIPTION="Dictionary Client/Server for the DICT protocol"
HOMEPAGE="http://www.dict.org/"
SRC_URI="mirror://sourceforge/dict/${P}.tar.gz"

SLOT="0"
# We install rfc so - ISOC-rfc
LICENSE="GPL-2 ISOC-rfc"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="dbi judy"

# <gawk-3.1.6 makes tests fail.
DEPEND="sys-apps/coreutils
		sys-libs/zlib
		dbi? ( dev-db/libdbi )
		judy? ( dev-libs/judy )
		|| ( >=sys-apps/coreutils-6.10 sys-apps/mktemp )
		sys-apps/sed"
RDEPEND="${DEPEND}
		>=sys-apps/gawk-3.1.6"

pkg_setup() {
	enewgroup dictd
	enewuser dictd -1 -1 -1 dictd
}

src_unpack() {
	unpack ${A}
	cd "${S}"

	epatch "${FILESDIR}/dictd-1.10.11-colorit-nopp-fix.patch"
	epatch "${FILESDIR}/dictd-1.10.11-dictdplugin_popen-g++-4.3compile.patch"
	epatch "${FILESDIR}/dictd-1.10.11-dictd.8-man.patch"
	epatch "${FILESDIR}/dictd-1.10.11-dictl-konwert.patch"
	epatch "${FILESDIR}/dictd-1.10.11-dictd.c-alen-init.patch"
	epatch "${FILESDIR}/dictd-1.10.11-dictl-translit.patch"
	epatch "${FILESDIR}/dictd-1.10.11-automatic-plugins_build-failure.patch"
	eautoreconf
}

src_test() {
	if ! hasq userpriv "${FEATURES}"; then
		# If dictd is run as root user (-userpriv) it drops its privileges to
		# dictd user and group. Give dictd group write access to test directory.
		chown :dictd "${WORKDIR}" "${S}/test"
		chmod 770 "${WORKDIR}" "${S}/test"
	fi
	emake test || die
}

src_compile() {
	# with-local-libmaa is needed because libmaa is not in the tree
	# because nothing in the whole wide world but dictd uses it.
	# There are no sources apart from those in dictd, no homepage, nothing.
	# Doesn't really make sense to split it off from dictd into its own package
	# and add that just for dictd.
	econf \
		$(use_with dbi) \
		$(use_with judy) \
		--sysconfdir=/etc/dict \
		--with-cflags="${CFLAGS}" \
		--with-local-libmaa
	emake || die "make failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "install failed"

	# Install docs
	dodoc README TODO ChangeLog ANNOUNCE NEWS || die "installing docs part 1 failed"
	dodoc doc/{dicf.ms,rfc.ms,rfc.sh,rfc2229.txt} || die "installing docs part 2 failed"
	dodoc doc/{security.doc,toc.ms} || die "installing docs part 3 failed"

	# conf files.
	insinto /etc/dict
	for f in dict.conf dictd.conf site.info colorit.conf; do
		doins "${FILESDIR}/1.10.11/${f}" || die "failed to install ${f}"
	done

	# startups for dictd
	newinitd "${FILESDIR}/1.10.11/dictd.initd" dictd || die "failed to install dictd.initd"
	newconfd "${FILESDIR}/1.10.11/dictd.confd" dictd || die "failed to install dictd.confd"
}

pkg_postinst() {
	echo
	elog "To start and use ${PN} you will have to emerge at least one dictionary from"
	elog "the app-dicts category with the package name starting with 'dictd-'."
	elog "To install all available dictionaries, emerge app-dicts/dictd-dicts."
	elog "${PN} will NOT start without at least one dictionary."
	echo
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-03 15:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-03 15:51 [gentoo-commits] gentoo-x86 commit in app-text/dictd: ChangeLog metadata.xml dictd-1.10.11-r3.ebuild dictd-1.10.11.ebuild Peter Volkov (pva)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox