Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Justin Lecher (jlec)" <jlec@g.o>
Subject: gentoo-x86 commit in dev-db/metakit: metadata.xml ChangeLog metakit-2.4.9.7-r1.ebuild
Date: Thu, 21 Jun 2012 09:07:53 +0000 (UTC)
jlec        12/06/21 09:07:53

  Modified:             metadata.xml ChangeLog
  Added:                metakit-2.4.9.7-r1.ebuild
  Log:
  dev-db/metakit: Fix linking, #252474
  
  (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

Revision  Changes    Path
1.4                  dev-db/metakit/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/metakit/metadata.xml?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/metakit/metadata.xml?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/metakit/metadata.xml?r1=1.3&r2=1.4

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-db/metakit/metadata.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- metadata.xml	23 Sep 2011 22:08:06 -0000	1.3
+++ metadata.xml	21 Jun 2012 09:07:52 -0000	1.4
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<maintainer>
-<email>maintainer-needed@g.o</email>
-</maintainer>
+	<maintainer>
+		<email>maintainer-needed@g.o</email>
+	</maintainer>
 </pkgmetadata>



1.57                 dev-db/metakit/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/metakit/ChangeLog?rev=1.57&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/metakit/ChangeLog?rev=1.57&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/metakit/ChangeLog?r1=1.56&r2=1.57

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-db/metakit/ChangeLog,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- ChangeLog	21 Feb 2012 07:00:40 -0000	1.56
+++ ChangeLog	21 Jun 2012 09:07:52 -0000	1.57
@@ -1,6 +1,12 @@
 # ChangeLog for dev-db/metakit
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/metakit/ChangeLog,v 1.56 2012/02/21 07:00:40 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/metakit/ChangeLog,v 1.57 2012/06/21 09:07:52 jlec Exp $
+
+*metakit-2.4.9.7-r1 (21 Jun 2012)
+
+  21 Jun 2012; Justin Lecher <jlec@g.o> +metakit-2.4.9.7-r1.ebuild,
+  +files/metakit-2.4.9.7-linking.patch, metadata.xml:
+  Fix linking, #252474
 
   21 Feb 2012; Patrick Lauer <patrick@g.o> metakit-2.4.9.7.ebuild:
   Restricting jython



1.1                  dev-db/metakit/metakit-2.4.9.7-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/metakit/metakit-2.4.9.7-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/metakit/metakit-2.4.9.7-r1.ebuild?rev=1.1&content-type=text/plain

Index: metakit-2.4.9.7-r1.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/metakit/metakit-2.4.9.7-r1.ebuild,v 1.1 2012/06/21 09:07:52 jlec Exp $

EAPI=4

PYTHON_DEPEND="python? 2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"

inherit eutils flag-o-matic multilib python toolchain-funcs

DESCRIPTION="Embedded database library"
HOMEPAGE="http://www.equi4.com/metakit/"
SRC_URI="http://www.equi4.com/pub/mk/${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~s390 ~sparc ~x86"
IUSE="python static tcl"

DEPEND="tcl? ( dev-lang/tcl )"
RDEPEND="${DEPEND}"

RESTRICT="test"

pkg_setup() {
	use python && python_pkg_setup
}

src_prepare() {
	epatch "${FILESDIR}/${P}-linking.patch"
}

src_configure() {
	local myconf mycxxflags
	use tcl && myconf+=" --with-tcl=${EPREFIX}/usr/include,${EPREFIX}/usr/$(get_libdir)"
	use static && myconf+=" --disable-shared"
	use static || append-cxxflags -fPIC

	CXXFLAGS="${CXXFLAGS} ${mycxxflags}" unix/configure \
		${myconf} \
		--host=${CHOST} \
		--prefix="${EPREFIX}/usr" \
		--libdir="${EPREFIX}/usr/$(get_libdir)" \
		--infodir="${EPREFIX}/usr/share/info" \
		--mandir="${EPREFIX}/usr/share/man"
}

src_compile() {
	emake SHLIB_LD="$(tc-getCXX) -shared -Wl,-soname,libmk4.so.2.4"

	if use python; then
		python_copy_sources

		building() {
			emake \
				SHLIB_LD="$(tc-getCXX) -shared" \
				pyincludedir="$(python_get_includedir)" \
				PYTHON_LIB="$(python_get_library)" \
				python
		}
		python_execute_function -s building
	fi
}

src_install () {
	default

	mv "${ED}"//usr/$(get_libdir)/libmk4.so{,.2.4}
	dosym libmk4.so.2.4 /usr/$(get_libdir)/libmk4.so.2
	dosym libmk4.so.2.4 /usr/$(get_libdir)/libmk4.so

	if use python; then
		installation() {
			dodir "$(python_get_sitedir)" || return 1
			emake \
				DESTDIR="${D}" \
				pylibdir="$(python_get_sitedir)" \
				install-python
		}
		python_execute_function -s installation
	fi

	dohtml Metakit.html
	dohtml -a html,gif,png,jpg -r doc/*
}

pkg_postinst() {
	if use python; then
		python_mod_optimize metakit.py
	fi
}

pkg_postrm() {
	if use python; then
		python_mod_cleanup metakit.py
	fi
}





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in dev-db/metakit/files: metakit-2.4.9.7-linking.patch
Next by thread:
gentoo-x86 commit in www-client/w3m: w3m-0.5.3-r2.ebuild ChangeLog
Previous by date:
gentoo-x86 commit in dev-db/metakit/files: metakit-2.4.9.7-linking.patch
Next by date:
gentoo-x86 commit in www-client/w3m: w3m-0.5.3-r2.ebuild ChangeLog


Updated Jun 26, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.