summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexys Jacob <ultrabug@gentoo.org>2012-03-08 10:35:40 +0000
committerAlexys Jacob <ultrabug@gentoo.org>2012-03-08 10:35:40 +0000
commita1f60bb92e9bfca35601894532324bc50359dea0 (patch)
treedd4d89103d5eb8207d30c173236eb6d8004fc7a0 /sys-cluster/pacemaker-gui
parentx86 stable wrt bug #399993 (diff)
downloadhistorical-a1f60bb92e9bfca35601894532324bc50359dea0.tar.gz
historical-a1f60bb92e9bfca35601894532324bc50359dea0.tar.bz2
historical-a1f60bb92e9bfca35601894532324bc50359dea0.zip
version bump, drop useless and fixed versions.
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'sys-cluster/pacemaker-gui')
-rw-r--r--sys-cluster/pacemaker-gui/ChangeLog13
-rw-r--r--sys-cluster/pacemaker-gui/Manifest20
-rw-r--r--sys-cluster/pacemaker-gui/files/mgmtd.init39
-rw-r--r--sys-cluster/pacemaker-gui/files/pacemaker-gui-2.0.0-gnutls.patch46
-rw-r--r--sys-cluster/pacemaker-gui/files/pacemaker-gui-2.0.0-noGTK.patch50
-rw-r--r--sys-cluster/pacemaker-gui/files/pacemaker-gui-2.1.1-doc.patch (renamed from sys-cluster/pacemaker-gui/files/pacemaker-gui-2.0.0-doc.patch)4
-rw-r--r--sys-cluster/pacemaker-gui/pacemaker-gui-2.1.0.ebuild84
-rw-r--r--sys-cluster/pacemaker-gui/pacemaker-gui-2.1.1.ebuild (renamed from sys-cluster/pacemaker-gui/pacemaker-gui-2.1.0-r1.ebuild)21
8 files changed, 30 insertions, 247 deletions
diff --git a/sys-cluster/pacemaker-gui/ChangeLog b/sys-cluster/pacemaker-gui/ChangeLog
index 65fa6bd45900..5448817dd981 100644
--- a/sys-cluster/pacemaker-gui/ChangeLog
+++ b/sys-cluster/pacemaker-gui/ChangeLog
@@ -1,6 +1,17 @@
# ChangeLog for sys-cluster/pacemaker-gui
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pacemaker-gui/ChangeLog,v 1.4 2012/02/05 02:01:35 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pacemaker-gui/ChangeLog,v 1.5 2012/03/08 10:35:39 ultrabug Exp $
+
+*pacemaker-gui-2.1.1 (08 Mar 2012)
+
+ 08 Mar 2012; Ultrabug <ultrabug@gentoo.org>
+ -files/pacemaker-gui-2.0.0-doc.patch,
+ -files/pacemaker-gui-2.0.0-gnutls.patch,
+ -files/pacemaker-gui-2.0.0-noGTK.patch, -pacemaker-gui-2.1.0.ebuild,
+ -pacemaker-gui-2.1.0-r1.ebuild, +pacemaker-gui-2.1.1.ebuild,
+ +files/pacemaker-gui-2.1.1-doc.patch, -files/mgmtd.init:
+ Version bump, drop old init script based version, drop non upstream GTK
+ handling.
05 Feb 2012; Mike Gilbert <floppym@gentoo.org> pacemaker-gui-2.1.0-r1.ebuild:
Inherit multilib.
diff --git a/sys-cluster/pacemaker-gui/Manifest b/sys-cluster/pacemaker-gui/Manifest
index bc3987a15321..b3c11e911472 100644
--- a/sys-cluster/pacemaker-gui/Manifest
+++ b/sys-cluster/pacemaker-gui/Manifest
@@ -1,19 +1,15 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-AUX mgmtd.init 916 RMD160 13fd7d9156606999dab89e32b9076bbe58a89c92 SHA1 fc02139019311561d30a8b002a83cec7efc97a2a SHA256 02110dc3e1b5ed1e87b53091d83a03312c49fa70e08f09122eee8e623f0691fc
-AUX pacemaker-gui-2.0.0-doc.patch 427 RMD160 9db55433397f25884e255cf19c0062fd24a19b2d SHA1 148f8cde46ff165fe76f1dfd8a56a05fbd284ff9 SHA256 8aa4602f9ceb3e426293f0f660b3e54dd1cd651f776319a4bc65f5b91186ed56
-AUX pacemaker-gui-2.0.0-gnutls.patch 1554 RMD160 474d03b50b3dc09b2495dd7c70962e0bdfe02802 SHA1 f6d810037195b5c72fcd2b677d4b2749b2c0fccf SHA256 aadc022cfdd5f04660fb4051a80b4921baa36761ae4c72ac5ecbeccf811f8677
-AUX pacemaker-gui-2.0.0-noGTK.patch 2048 RMD160 4c1411aec3b8eb35bca5853adb785cf9fa0f74ac SHA1 0a489e0370dbb38a620a7b4a324ef261b6ecf8fa SHA256 496f69e62e233c81c94be293e3080ff39af2cf9b091322615eaf68fee3b3fd44
-DIST pacemaker-mgmt-2.1.0.tar.bz2 338626 RMD160 37c684c851dcca94ec6b537fbabfd9a8dc82a97b SHA1 f2cbe1e8cde137d94e5b269c837351799176abe7 SHA256 767bcb3740aeedce269d761cbc306afbc5496ee07c15d077f9124d392bdd9a92
-EBUILD pacemaker-gui-2.1.0-r1.ebuild 2106 RMD160 3ff12345cf9a9067b0cddcb9adf09dcff847a069 SHA1 ca426597f0a7cada67d96017b5695bd1766742f1 SHA256 79923e362ea2f5ee80ddca8e1fff3cfc91d366c2ac51b0fdf46ca7583596cb1e
-EBUILD pacemaker-gui-2.1.0.ebuild 1869 RMD160 c2a445ff91a259eabc9fe15886d371954035a36c SHA1 2c005d07b2659986b648b11af21e7eeee9709abb SHA256 b0989309c7a6b6681dd7985eeb09b95833b325da3f960e60a2ca915713da2cf0
-MISC ChangeLog 1105 RMD160 b0106ebf1eb12d14c1866af54e95d9514a1dde5a SHA1 15c03236a180259c976cdf953dd630e3898428bb SHA256 b5d756a1acaf14b53c57d16dffaeed9e530491c464551e464674ed6bf63b907d
+AUX pacemaker-gui-2.1.1-doc.patch 421 RMD160 5724cb78e5c5437ff41ef142c85dde1f684ffa28 SHA1 0c3aab24f0ffd72fc431b18807f61d88e7b03ede SHA256 5f42694bc0e007be7677cd2a5a9ac0dc046e43be6888e7da9c5f33f5a8ade3e2
+DIST pacemaker-gui-2.1.1.tar.gz 394443 RMD160 030c2c416cfdde4f17ed20bed92b962815977ab0 SHA1 faebd69403577a52800cb30f083d93b50003fb34 SHA256 62609ef13591502ce8b7d67702eb2d2b89fada8cd8556a1d2a8f9754a8de1211
+EBUILD pacemaker-gui-2.1.1.ebuild 2002 RMD160 4648fe0a68dafd0e9fd80450947de6474ecd9ce2 SHA1 b87498cc5fb93b221a2ca190d367fc901cf97218 SHA256 3f00048d1c762cd1299dad697832dc10189f9b6dc47684066f487b9b851c2730
+MISC ChangeLog 1551 RMD160 8054b9072728574f6fe4a8c99c615bd517c506de SHA1 8adb111398bb5bea0f54a1bd332aa9fdcdb83ab2 SHA256 72de5273b122751ac3c3bf313b0887dea1ca5f29b3b3fce06fac9f1231e1edc3
MISC metadata.xml 429 RMD160 c126cc91a46cfd827462d113d91c435001d5d2da SHA1 28b0326810a51c20e4e701070243b355453bdee3 SHA256 aa528f0fc82c129c23cc4339f3701b0265388d40a3e8f907f4fdddd452d829e0
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iF4EAREIAAYFAk8t4wUACgkQC77qH+pIQ6QKMwD+IvGKyJbZCuUJAy8EzhJOBKe0
-TJMOuX/F88BYQkZq1dwBAKIiqSGfNjzamyCsxfDD051ISZ15Vl6dvODd9lwd1rdc
-=DYqv
+iF4EAREIAAYFAk9Yi4UACgkQKiQSS7ZY+hNpMQD8CbOqeLHaWWrOuT5iQvE5yflQ
+XX/ZSqe4Eq42XpgwUVQBAIffzOOC9YJ/ZUtJOrHKlLv6sZvVgP4M0qvsebBcNCPI
+=ptYa
-----END PGP SIGNATURE-----
diff --git a/sys-cluster/pacemaker-gui/files/mgmtd.init b/sys-cluster/pacemaker-gui/files/mgmtd.init
deleted file mode 100644
index a5548139d0c7..000000000000
--- a/sys-cluster/pacemaker-gui/files/mgmtd.init
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pacemaker-gui/files/mgmtd.init,v 1.1 2011/02/21 14:46:15 ultrabug Exp $
-
-PIDFILE="/var/run/pcmk-mgmtd.pid"
-BINARY="/usr/lib/heartbeat/mgmtd"
-
-# Adjust on the installed stack
-if [ -f /etc/init.d/corosync ]; then
- DEPEND="pacemaker"
- export HA_cluster_type="openais"
-else
- DEPEND="heartbeat"
- export HA_cluster_type="heartbeat"
-fi
-
-depend() {
- need $DEPEND
-}
-
-start() {
- ebegin "Starting Pacemaker Management daemon"
- start-stop-daemon --start --pidfile "${PIDFILE}" -m -x ${BINARY} -b -- -v
- eend $?
-}
-
-stop() {
- ebegin "Stopping Pacemaker Management daemon"
- start-stop-daemon --stop --pidfile "${PIDFILE}"
- eend $?
-}
-
-restart() {
- ebegin "Restarting Pacemaker Management daemon"
- svc_stop
- svc_start
- eend $?
-}
diff --git a/sys-cluster/pacemaker-gui/files/pacemaker-gui-2.0.0-gnutls.patch b/sys-cluster/pacemaker-gui/files/pacemaker-gui-2.0.0-gnutls.patch
deleted file mode 100644
index 5b6cb46b3b97..000000000000
--- a/sys-cluster/pacemaker-gui/files/pacemaker-gui-2.0.0-gnutls.patch
+++ /dev/null
@@ -1,46 +0,0 @@
---- configure.in 2010-06-28 17:52:56.949797667 +0000
-+++ configure.in 2010-06-28 17:54:51.839826869 +0000
-@@ -1490,8 +1490,6 @@
- LCRSODIR="$libdir"
- fi
-
--PKG_FEATURES="$PKG_FEATURES$STACKS"
--
- AC_MSG_CHECKING(for supported stacks)
- if test x"$STACKS" = x; then
- AC_MSG_FAILURE(You must choose at least one cluster stack to support)
-@@ -1973,7 +1971,9 @@
- GNUTLSLIBS="`$LIBGNUTLS_CONFIG --libs`";
- AC_MSG_RESULT($GNUTLSLIBS)
- else
-- AC_CHECK_LIB(gnutls, gnutls_init)
-+ PKG_CHECK_MODULES(GNUTLS, [gnutls])
-+ GNUTLSHEAD=$GNUTLS_CFLAGS
-+ GNUTLSLIBS=$GNUTLS_LIBS
- fi
- AC_SUBST(GNUTLSHEAD)
- AC_SUBST(GNUTLSLIBS)
-
---- lib/mgmt/Makefile.am 2010-03-26 11:05:47.000000000 +0000
-+++ lib/mgmt/Makefile.am 2010-06-28 17:56:38.339798756 +0000
-@@ -35,8 +35,7 @@
-
- lib_LTLIBRARIES = libhbmgmttls.la libhbmgmtclient.la libhbmgmtcommon.la
- libhbmgmttls_la_SOURCES = mgmt_tls_lib.c
--libhbmgmttls_la_LIBADD = $(COMMONLIBS)
--libhbmgmttls_la_LDFLAGS = $(GNUTLSLIBS)
-+libhbmgmttls_la_LIBADD = $(COMMONLIBS) $(GNUTLSLIBS)
- libhbmgmttls_la_CFLAGS = $(INCLUDES) $(GNUTLSHEAD)
-
- libhbmgmtclient_la_SOURCES = mgmt_client_lib.c
-@@ -50,8 +49,8 @@
- guilib_LTLIBRARIES = _pymgmt.la
- _pymgmt_la_SOURCES = pymgmt_wrap.c mgmt_client_lib.c mgmt_tls_lib.c mgmt_common_lib.c
- _pymgmt_la_CFLAGS = @PYTHON_INCLUDES@ -I$(top_builddir)/include -w
--_pymgmt_la_LDFLAGS = -module $(GNUTLSLIBS)
--_pymgmt_la_LIBADD = $(top_builddir)/replace/libreplace.la
-+_pymgmt_la_LDFLAGS = -module
-+_pymgmt_la_LIBADD = $(top_builddir)/replace/libreplace.la $(GNUTLSLIBS)
-
- guilib_DATA = pymgmt.py
-
diff --git a/sys-cluster/pacemaker-gui/files/pacemaker-gui-2.0.0-noGTK.patch b/sys-cluster/pacemaker-gui/files/pacemaker-gui-2.0.0-noGTK.patch
deleted file mode 100644
index ead72605fcb8..000000000000
--- a/sys-cluster/pacemaker-gui/files/pacemaker-gui-2.0.0-noGTK.patch
+++ /dev/null
@@ -1,50 +0,0 @@
---- a/lib/mgmt/Makefile.am 2011-12-27 13:00:29.229415108 +0100
-+++ b/lib/mgmt/Makefile.am 2011-12-27 14:39:54.886062765 +0100
-@@ -24,15 +24,12 @@
- -I$(top_builddir) -I$(top_srcdir)
-
- halibdir = $(libdir)/@HB_PKG@
--guilibdir = $(libdir)/heartbeat-gui
- havarlibdir = $(localstatedir)/lib/@HB_PKG@
- COMMONLIBS = $(GLIBLIB)
- MGMT_DIR = mgmt
- mgmtdir = $(HA_VARLIBHBDIR)/$(MGMT_DIR)
- apigid = @HA_APIGROUP@
-
--EXTRA_DIST = pymgmt.i
--
- lib_LTLIBRARIES = libhbmgmttls.la libhbmgmtclient.la libhbmgmtcommon.la
- libhbmgmttls_la_SOURCES = mgmt_tls_lib.c
- libhbmgmttls_la_LIBADD = $(COMMONLIBS) $(GNUTLSLIBS)
-@@ -46,18 +43,4 @@
- libhbmgmtcommon_la_LIBADD = $(COMMONLIBS) $(top_builddir)/replace/libreplace.la
- libhbmgmtcommon_la_CFLAGS = $(INCLUDES)
-
--guilib_LTLIBRARIES = _pymgmt.la
--_pymgmt_la_SOURCES = pymgmt_wrap.c mgmt_client_lib.c mgmt_tls_lib.c mgmt_common_lib.c
--_pymgmt_la_CFLAGS = @PYTHON_INCLUDES@ -I$(top_builddir)/include -w
--_pymgmt_la_LDFLAGS = -module
--_pymgmt_la_LIBADD = $(top_builddir)/replace/libreplace.la $(GNUTLSLIBS)
--
--guilib_DATA = pymgmt.py
--
--pymgmt_wrap.c pymgmt.py: pymgmt.i
-- $(SWIG) -python $^
--
- install-exec-local:
-- $(mkinstalldirs) $(DESTDIR)$(mgmtdir)
-- -chgrp $(apigid) $(DESTDIR)/$(mgmtdir)
-- chmod 770 $(DESTDIR)/$(mgmtdir)
---- a/Makefile.am 2011-12-27 13:00:29.239415185 +0100
-+++ b/Makefile.am 2011-12-27 14:36:22.964472730 +0100
-@@ -84,10 +84,6 @@
- ssh $(OBS_SERVER) -- "cd $(OBS_PREFIX)/server:ha-clustering:Factory/$(OBS_PROJECT); /usr/bin/osc commit -m \"New $(OBS_PROJECT) snapshot - $(shell $(HG) id)\""
-
- install-exec-local:
-- -mkdir -p $(DESTDIR)$(bindir)
-- -cd $(DESTDIR)$(libdir)/heartbeat-gui && rm -f haclient.py && ln -s $(datadir)/heartbeat-gui/haclient.py .
-- -cd $(DESTDIR)$(bindir) && rm -f crm_gui && ln -s $(datadir)/heartbeat-gui/haclient.py crm_gui
-- -cd $(DESTDIR)$(bindir) && rm -f hb_gui && ln -s $(datadir)/heartbeat-gui/haclient.py hb_gui
-
- dist-clean-local:
- rm -f autoconf automake autoheader
diff --git a/sys-cluster/pacemaker-gui/files/pacemaker-gui-2.0.0-doc.patch b/sys-cluster/pacemaker-gui/files/pacemaker-gui-2.1.1-doc.patch
index 3d35d4741611..8e89cc177516 100644
--- a/sys-cluster/pacemaker-gui/files/pacemaker-gui-2.0.0-doc.patch
+++ b/sys-cluster/pacemaker-gui/files/pacemaker-gui-2.1.1-doc.patch
@@ -4,8 +4,8 @@
SNMP_SUBAGENT_DIR = snmp_subagent
endif
--SUBDIRS = $(LIBLTDL_DIR) replace include lib mgmt $(CIM_PROVIDER_DIR) $(TSA_PLUGIN_DIR) $(SNMP_SUBAGENT_DIR) doc po
-+SUBDIRS = $(LIBLTDL_DIR) replace include lib mgmt $(CIM_PROVIDER_DIR) $(TSA_PLUGIN_DIR) $(SNMP_SUBAGENT_DIR) po
+-SUBDIRS = $(LIBLTDL_DIR) replace include lib mgmt $(CIM_PROVIDER_DIR) $(TSA_PLUGIN_DIR) $(SNMP_SUBAGENT_DIR) doc
++SUBDIRS = $(LIBLTDL_DIR) replace include lib mgmt $(CIM_PROVIDER_DIR) $(TSA_PLUGIN_DIR) $(SNMP_SUBAGENT_DIR)
tgz:
rm -f $(TARFILE)
diff --git a/sys-cluster/pacemaker-gui/pacemaker-gui-2.1.0.ebuild b/sys-cluster/pacemaker-gui/pacemaker-gui-2.1.0.ebuild
deleted file mode 100644
index 011d761eefe8..000000000000
--- a/sys-cluster/pacemaker-gui/pacemaker-gui-2.1.0.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pacemaker-gui/pacemaker-gui-2.1.0.ebuild,v 1.1 2011/10/12 12:38:45 ultrabug Exp $
-
-EAPI=3
-PYTHON_DEPEND="2"
-MY_P="pacemaker-mgmt-${PV}"
-
-inherit python base autotools
-
-DESCRIPTION="Pacemaker python GUI and management daemon"
-HOMEPAGE="http://hg.clusterlabs.org/pacemaker/pygui/"
-SRC_URI="http://hg.clusterlabs.org/pacemaker/pygui/archive/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2 LGPL-2.1"
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-IUSE="heartbeat nls snmp static-libs"
-
-CDEPEND="
- app-arch/bzip2
- dev-libs/glib:2
- dev-libs/libxslt
- dev-libs/openssl
- dev-python/pygtk
- dev-python/pyxml
- net-libs/gnutls
- sys-apps/util-linux
- sys-cluster/cluster-glue
- >=sys-cluster/pacemaker-1.1
- heartbeat? ( sys-cluster/pacemaker[heartbeat] )
- sys-libs/ncurses
- sys-libs/pam
- sys-libs/zlib"
-RDEPEND="${CDEPEND}
- sys-devel/libtool"
-DEPEND="${CDEPEND}
- dev-lang/swig
- dev-util/pkgconfig
- nls? (
- dev-util/intltool
- sys-devel/gettext
- )"
-
-S="${WORKDIR}/Pacemaker-Python-GUI-${MY_P}/"
-
-PATCHES=(
- "${FILESDIR}/${PN}-2.0.0-gnutls.patch"
- "${FILESDIR}/${PN}-2.0.0-doc.patch"
-)
-
-pkg_setup() {
- python_set_active_version 2
-}
-
-src_prepare() {
- base_src_prepare
- eautoreconf
-}
-
-src_configure() {
- local myopts=""
- use heartbeat || myopts="--with-ais-support"
- econf $(use_with heartbeat heartbeat-support) \
- $(use_enable snmp) \
- $(use_enable nls) \
- $(use_enable static-libs static) \
- ${myopts} \
- --disable-fatal-warnings
-}
-
-src_install() {
- base_src_install
- newinitd "${FILESDIR}"/mgmtd.init pcmk-mgmtd
- dodoc README doc/AUTHORS || die
-}
-
-pkg_postinst() {
- elog "IMPORTANT: To login in the GUI, your user"
- elog "must be part of the 'haclient' group."
- elog " "
- elog "To start the management daemon, run:"
- elog "/etc/init.d/pcmk-mgmtd start"
-}
diff --git a/sys-cluster/pacemaker-gui/pacemaker-gui-2.1.0-r1.ebuild b/sys-cluster/pacemaker-gui/pacemaker-gui-2.1.1.ebuild
index a68ef4eebb9f..d5d74d3ed093 100644
--- a/sys-cluster/pacemaker-gui/pacemaker-gui-2.1.0-r1.ebuild
+++ b/sys-cluster/pacemaker-gui/pacemaker-gui-2.1.1.ebuild
@@ -1,16 +1,17 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pacemaker-gui/pacemaker-gui-2.1.0-r1.ebuild,v 1.2 2012/02/05 02:01:35 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pacemaker-gui/pacemaker-gui-2.1.1.ebuild,v 1.1 2012/03/08 10:35:39 ultrabug Exp $
EAPI=4
PYTHON_DEPEND="2"
MY_P="pacemaker-mgmt-${PV}"
+MY_TREE="e4db9d3"
-inherit python base autotools multilib
+inherit python base autotools
DESCRIPTION="Pacemaker python GUI and management daemon"
HOMEPAGE="http://hg.clusterlabs.org/pacemaker/pygui/"
-SRC_URI="http://hg.clusterlabs.org/pacemaker/pygui/archive/${MY_P}.tar.bz2"
+SRC_URI="https://github.com/gao-yan/pacemaker-mgmt/tarball/${MY_P} -> ${P}.tar.gz"
LICENSE="GPL-2 LGPL-2.1"
KEYWORDS="~amd64 ~x86"
@@ -29,7 +30,6 @@ CDEPEND="
heartbeat? ( sys-cluster/pacemaker[heartbeat] )
gtk? (
dev-python/pygtk
- dev-python/pyxml
)
sys-libs/ncurses
sys-libs/pam
@@ -44,11 +44,10 @@ DEPEND="${CDEPEND}
sys-devel/gettext
)"
-S="${WORKDIR}/Pacemaker-Python-GUI-${MY_P}/"
+S="${WORKDIR}/gao-yan-pacemaker-mgmt-${MY_TREE}"
PATCHES=(
- "${FILESDIR}/${PN}-2.0.0-gnutls.patch"
- "${FILESDIR}/${PN}-2.0.0-doc.patch"
+ "${FILESDIR}/${PN}-2.1.1-doc.patch"
)
pkg_setup() {
@@ -57,11 +56,6 @@ pkg_setup() {
src_prepare() {
base_src_prepare
- if ! use gtk;
- then
- sed -i -e 's/ client//g' mgmt/Makefile.am
- epatch "${FILESDIR}/${PN}-2.0.0-noGTK.patch"
- fi
eautoreconf
}
@@ -71,6 +65,7 @@ src_configure() {
econf $(use_with heartbeat heartbeat-support) \
$(use_enable snmp) \
$(use_enable nls) \
+ $(use_enable gtk mgmt-client) \
$(use_enable static-libs static) \
${myopts} \
--disable-fatal-warnings
@@ -78,7 +73,7 @@ src_configure() {
src_install() {
base_src_install
- use static-libs || rm "${D}"/usr/$(get_libdir)/*.la
+ use static-libs || find "${D}"/usr/$(get_libdir)/ -name "*.la" -delete
dodoc README doc/AUTHORS || die
}