Version bump.
authorPacho Ramos <pacho@gentoo.org>
Wed, 4 Jan 2012 19:55:14 +0000 (19:55 +0000)
committerPacho Ramos <pacho@gentoo.org>
Wed, 4 Jan 2012 19:55:14 +0000 (19:55 +0000)
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64

app-office/planner/ChangeLog
app-office/planner/Manifest
app-office/planner/files/planner-0.14.6-find-python.patch [new file with mode: 0644]
app-office/planner/planner-0.14.6.ebuild [new file with mode: 0644]

index beee9e3fe1a878c561d7a331a7279f2b85632403..b82eb57e3bdff708abd02da362f980bc061aa8b3 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for app-office/planner
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/planner/ChangeLog,v 1.62 2011/07/14 17:26:34 pacho Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/planner/ChangeLog,v 1.63 2012/01/04 19:55:14 pacho Exp $
+
+*planner-0.14.6 (04 Jan 2012)
+
+  04 Jan 2012; Pacho Ramos <pacho@gentoo.org>
+  +files/planner-0.14.6-find-python.patch, +planner-0.14.6.ebuild:
+  Version bump.
 
   14 Jul 2011; Pacho Ramos <pacho@gentoo.org> -planner-0.14.4.ebuild:
   Remove old.
index f29d320136a086642c8ec8d5546f8eae45c64240..ab03bd7585692c4f4b0e9172a3be26712e2d2d11 100644 (file)
@@ -3,14 +3,17 @@ Hash: SHA1
 
 AUX planner-0.14.3-eds-plugin.patch 414 RMD160 f4c2889fee792dada172d29b892095c0e55b4932 SHA1 cfeb262519a716df225ca956876e1c64da47a58b SHA256 710dd83cdf908c263b9d3256a227006c7cda94b1ad8ceb46404465c521fcd0c6
 AUX planner-0.14.5-find-python.patch 996 RMD160 357477c2900fe6451be5e5403b36f7f23b542220 SHA1 816cfa70d15074cf6697b8e2f806bea75c3997b6 SHA256 42f0faaadf109a4021962130039065f2986e11b517439e000fe1d9ae4c3e631e
+AUX planner-0.14.6-find-python.patch 1061 RMD160 fa2bf8f8b75789919da0c2d290f0b15d7205218d SHA1 98fe0d59f55f1816213a1f588f380bee6010d487 SHA256 e0599d88f44b2ff20925c70cd2795e418e88861c8fc5169dd3ebd40edcdc7585
 DIST planner-0.14.5.tar.xz 3385520 RMD160 0f670514c8f9399d02791bccdf3ffe9fb63f6608 SHA1 1006d8da7481fef905a2cdbd332c65fcab29ffab SHA256 6289b12cf7ecad00900ff09c76214196436cf32e8bdd71defd207a32b3af54ce
+DIST planner-0.14.6.tar.xz 3392796 RMD160 edfb1df0158695d918a6848b7e62ebed8830a210 SHA1 3e6220aaf106d8d7e1fa6325b9a0b5f09ebf0917 SHA256 130d29e6d6b8c1994017deba2acca05a4bf83ba1e169635ec8c5c7878abe0696
 EBUILD planner-0.14.5.ebuild 2030 RMD160 aadc0c18aa04be15fb7d3475fc5549a2442be74b SHA1 98917dd4c7e8e5f93c7871154f96e2f66ff3e1cb SHA256 9969ef4120e3e153c0ba452381da71d3b40b93161c15e26edf5f5f268e0b1a30
-MISC ChangeLog 11560 RMD160 74a6465c0d44ba0ced7383211af87a3f71d1cad3 SHA1 e1794988d8890f212cbc787532c5bfbb3bfea853 SHA256 be1aecb8e6f63966bc560115ad01a5587de39a939b951c9da316895b519631d7
+EBUILD planner-0.14.6.ebuild 1902 RMD160 b0cde1372a0cad647edfddd9359643cfe023d420 SHA1 61d5d4a5e4d8d3f47665f27cd781367c5d6095dd SHA256 99c9540e3c1d25988c1a7232bba955411e5c4d54fa703193a1707dbce2e5baf2
+MISC ChangeLog 11721 RMD160 7540367be0ade247d09e24669c7065dc1dffee57 SHA1 6206539544da2176be3433c01a7e6a21fe922a5a SHA256 2267e883792520720f2f72ab953555a2b98d30785cf25dbf3cf7e57ff3b8ba41
 MISC metadata.xml 167 RMD160 3b9bd7883121c8868b966914627e4f714f0334f5 SHA1 ec07f2508f1d0ed5a20416cdb42bf44ff9198923 SHA256 d1dbd0cf93ea6330c8c2fe1f02775bf64b3019bc51f7351606e3fa61a2d63a83
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.17 (GNU/Linux)
 
-iEYEARECAAYFAk4fJs8ACgkQCaWpQKGI+9S+pQCfVNE2Q8uxykAsL3dsd5fxWKEV
-nwQAnRUbNnpGY1QPfLFzgR1hqujKMwYS
-=TaHX
+iEYEARECAAYFAk8ErqgACgkQCaWpQKGI+9RBgACdFWK/6S7s8oTugajJgCawpAsA
+/6YAn2h4uq5m4qyXxmzRKJhF66Bfexmn
+=kKc8
 -----END PGP SIGNATURE-----
diff --git a/app-office/planner/files/planner-0.14.6-find-python.patch b/app-office/planner/files/planner-0.14.6-find-python.patch
new file mode 100644 (file)
index 0000000..60f503a
--- /dev/null
@@ -0,0 +1,19 @@
+--- acinclude.m4.old   2011-07-05 14:33:18.000000000 +0200
++++ acinclude.m4       2011-07-05 14:34:23.000000000 +0200
+@@ -85,14 +85,8 @@
+       # Check for Python library path
+         AC_MSG_CHECKING([for Python library path])
+-        python_path=`echo $PYTHON | sed "s,/bin.*$,,"`
+-        for i in "$python_path/lib/python$PYTHON_VERSION/config/" "$python_path/lib/python$PYTHON_VERSION/" "$python_path/lib/python/config/" "$python_path/lib/python/" "$python_path/" ; do
+-                python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -print | sed "1q"`
+-                if test -n "$python_path" ; then
+-                        break
+-                fi
+-        done
+-        python_path=`echo $python_path | sed "s,/libpython.*$,,"`
++      [python_path=`$PYTHON -c 'import distutils.sysconfig, os; \
++              print(os.path.sep.join(distutils.sysconfig.get_python_lib(standard_lib=True).split(os.path.sep)[:-1]))'`]
+         AC_MSG_RESULT([$python_path])
+         if test -z "$python_path" ; then
+                 AC_MSG_ERROR([cannot find Python library path])
diff --git a/app-office/planner/planner-0.14.6.ebuild b/app-office/planner/planner-0.14.6.ebuild
new file mode 100644 (file)
index 0000000..0da7422
--- /dev/null
@@ -0,0 +1,76 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/planner/planner-0.14.6.ebuild,v 1.1 2012/01/04 19:55:13 pacho Exp $
+
+EAPI="4"
+GCONF_DEBUG="no"
+GNOME2_LA_PUNT="yes"
+PYTHON_DEPEND="python? 2"
+
+inherit python gnome2 eutils autotools
+
+DESCRIPTION="Project manager for Gnome"
+HOMEPAGE="http://live.gnome.org/Planner/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE="doc eds python examples"
+
+RDEPEND=">=dev-libs/glib-2.6:2
+       >=x11-libs/gtk+-2.14:2
+       >=gnome-base/libgnomecanvas-2.10
+       >=gnome-base/libgnomeui-2.10
+       >=gnome-base/libglade-2.4:2.0
+       >=gnome-base/gconf-2.6:2
+       >=dev-libs/libxml2-2.6.27:2
+       >=dev-libs/libxslt-1.1.23
+       python? ( >=dev-python/pygtk-2.6:2 )
+       eds? (
+               >=gnome-extra/evolution-data-server-1.1
+               >=mail-client/evolution-2.1.3 )"
+
+DEPEND="${RDEPEND}
+       >=dev-util/pkgconfig-0.12.0
+       app-text/scrollkeeper
+       >=dev-util/intltool-0.35.5
+       doc? ( >=dev-util/gtk-doc-1.0 )
+       dev-util/gtk-doc-am
+       gnome-base/gnome-common"
+
+# FIXME: disable eds backend for now, it fails, upstream bug #654005
+pkg_setup() {
+       DOCS="AUTHORS COPYING ChangeLog NEWS README"
+       G2CONF="${G2CONF}
+               $(use_enable python)
+               $(use_enable python python-plugin)
+               $(use_enable eds)
+               --disable-eds-backend
+               --with-database=no
+               --disable-update-mimedb"
+               #$(use_enable eds eds-backend)
+
+       if use python; then
+               python_set_active_version 2
+               python_pkg_setup
+       fi
+}
+
+src_prepare() {
+       # Find python in a faster way, bug #344231, upstream bug #654044
+       epatch "${FILESDIR}/${PN}-0.14.6-find-python.patch"
+
+       intltoolize --force --copy --automake || die "intltoolize failed"
+       eautoreconf
+       gnome2_src_prepare
+}
+
+src_install() {
+       gnome2_src_install \
+               sqldocdir="\$(datadir)/doc/${PF}" \
+               sampledir="\$(datadir)/doc/${PF}/examples"
+
+       if ! use examples; then
+               rm -rf "${D}/usr/share/doc/${PF}/examples"
+       fi
+}