summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-10-10 10:22:24 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-10-10 10:22:24 +0000
commitce5e5e9f1895346696404d60e96a2c265ce19260 (patch)
tree22a635f0e83b29f10940d0c5067c37c896d03e3b /dev-libs/dbus-glib
parentstable arm ppc ppc64, bug #437766 (diff)
downloadhistorical-ce5e5e9f1895346696404d60e96a2c265ce19260.tar.gz
historical-ce5e5e9f1895346696404d60e96a2c265ce19260.tar.bz2
historical-ce5e5e9f1895346696404d60e96a2c265ce19260.zip
Fix broken API docs; prevents build failure with libxslt-1.1.27 (bug #436454, thanks to Andrew Savchenko). Install API docs in /usr/share/gtk-doc to allow links from other packages' documentation files, and for compatibility with standard tools like dev-util/devhelp (bug #404965).
Package-Manager: portage-2.2.0_alpha134/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/dbus-glib')
-rw-r--r--dev-libs/dbus-glib/ChangeLog11
-rw-r--r--dev-libs/dbus-glib/dbus-glib-0.100-r1.ebuild90
-rw-r--r--dev-libs/dbus-glib/files/dbus-glib-0.100-dbus-glib-sections.txt200
3 files changed, 300 insertions, 1 deletions
diff --git a/dev-libs/dbus-glib/ChangeLog b/dev-libs/dbus-glib/ChangeLog
index 8a68d2b994be..a09b63d8d355 100644
--- a/dev-libs/dbus-glib/ChangeLog
+++ b/dev-libs/dbus-glib/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-libs/dbus-glib
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/dbus-glib/ChangeLog,v 1.107 2012/07/25 21:09:37 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/dbus-glib/ChangeLog,v 1.108 2012/10/10 10:22:23 tetromino Exp $
+
+*dbus-glib-0.100-r1 (10 Oct 2012)
+
+ 10 Oct 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
+ +dbus-glib-0.100-r1.ebuild, +files/dbus-glib-0.100-dbus-glib-sections.txt:
+ Fix broken API docs; prevents build failure with libxslt-1.1.27 (bug #436454,
+ thanks to Andrew Savchenko). Install API docs in /usr/share/gtk-doc to allow
+ links from other packages' documentation files, and for compatibility with
+ standard tools like dev-util/devhelp (bug #404965).
25 Jul 2012; Markus Meier <maekke@gentoo.org> dbus-glib-0.100.ebuild:
arm stable, bug #416725
diff --git a/dev-libs/dbus-glib/dbus-glib-0.100-r1.ebuild b/dev-libs/dbus-glib/dbus-glib-0.100-r1.ebuild
new file mode 100644
index 000000000000..5b1b99f946ee
--- /dev/null
+++ b/dev-libs/dbus-glib/dbus-glib-0.100-r1.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/dbus-glib/dbus-glib-0.100-r1.ebuild,v 1.1 2012/10/10 10:22:23 tetromino Exp $
+
+EAPI=4
+inherit bash-completion-r1 eutils
+
+DESCRIPTION="D-Bus bindings for glib"
+HOMEPAGE="http://dbus.freedesktop.org/"
+SRC_URI="http://dbus.freedesktop.org/releases/${PN}/${P}.tar.gz"
+
+LICENSE="|| ( GPL-2 AFL-2.1 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="debug doc static-libs test"
+
+RDEPEND=">=dev-libs/expat-2
+ >=dev-libs/glib-2.26
+ >=sys-apps/dbus-1.6.2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( dev-util/gtk-doc )"
+
+# out of sources build directory
+BD=${WORKDIR}/${P}-build
+# out of sources build dir for make check
+TBD=${WORKDIR}/${P}-tests-build
+
+src_prepare() {
+ # Wrong sections.txt file in the tarball; https://bugs.freedesktop.org/show_bug.cgi?id=55830
+ cp "${FILESDIR}/${P}-dbus-glib-sections.txt" doc/reference/dbus-glib-sections.txt || die
+}
+
+src_configure() {
+ local myconf=(
+ --localstatedir="${EPREFIX}"/var
+ --enable-bash-completion
+ $(use_enable debug verbose-mode)
+ $(use_enable debug asserts)
+ $(use_enable static-libs static)
+ $(use_enable doc gtk-doc)
+ )
+
+ mkdir "${BD}"
+ cd "${BD}"
+ einfo "Running configure in ${BD}"
+ ECONF_SOURCE="${S}" econf "${myconf[@]}"
+
+ if use test; then
+ mkdir "${TBD}"
+ cd "${TBD}"
+ einfo "Running configure in ${TBD}"
+ ECONF_SOURCE="${S}" econf \
+ "${myconf[@]}" \
+ $(use_enable test checks) \
+ $(use_enable test tests) \
+ $(use_enable test asserts) \
+ $(use_with test test-socket-dir "${T}"/dbus-test-socket)
+ fi
+}
+
+src_compile() {
+ cd "${BD}"
+ einfo "Running make in ${BD}"
+ emake
+
+ if use test; then
+ cd "${TBD}"
+ einfo "Running make in ${TBD}"
+ emake
+ fi
+}
+
+src_test() {
+ cd "${TBD}"
+ emake check
+}
+
+src_install() {
+ # NEWS file is obsolete
+ dodoc AUTHORS ChangeLog HACKING README
+
+ cd "${BD}"
+ emake DESTDIR="${D}" install
+
+ newbashcomp "${ED}"/etc/bash_completion.d/dbus-bash-completion.sh dbus
+ rm -rf "${ED}"/etc/bash_completion.d || die
+
+ prune_libtool_files
+}
diff --git a/dev-libs/dbus-glib/files/dbus-glib-0.100-dbus-glib-sections.txt b/dev-libs/dbus-glib/files/dbus-glib-0.100-dbus-glib-sections.txt
new file mode 100644
index 000000000000..90015c329cd7
--- /dev/null
+++ b/dev-libs/dbus-glib/files/dbus-glib-0.100-dbus-glib-sections.txt
@@ -0,0 +1,200 @@
+<SECTION>
+<FILE>dbus-gconnection</FILE>
+<TITLE>DBusGConnection</TITLE>
+<INCLUDE>dbus/dbus-glib.h</INCLUDE>
+DBusGConnection
+DBUS_TYPE_G_CONNECTION
+dbus_g_bus_get
+dbus_g_bus_get_private
+dbus_g_thread_init
+dbus_g_connection_open
+dbus_g_connection_ref
+dbus_g_connection_unref
+dbus_g_connection_flush
+dbus_g_connection_get_connection
+dbus_g_connection_register_g_object
+dbus_g_connection_unregister_g_object
+dbus_g_connection_lookup_g_object
+<SUBSECTION Standard>
+dbus_g_connection_get_g_type
+</SECTION>
+
+<SECTION>
+<FILE>dbus-gobject</FILE>
+<TITLE>DBus GObject related functions</TITLE>
+<INCLUDE>dbus/dbus-glib.h</INCLUDE>
+DBusGObjectInfo
+dbus_g_object_type_install_info
+dbus_g_object_type_register_shadow_property
+dbus_g_object_path_get_g_type
+dbus_g_object_register_marshaller
+dbus_g_object_register_marshaller_array
+dbus_glib_global_set_disable_legacy_property_access
+</SECTION>
+
+<SECTION>
+<FILE>dbus-gmessage</FILE>
+<TITLE>DBusGMessage</TITLE>
+<INCLUDE>dbus/dbus-glib.h</INCLUDE>
+DBusGMessage
+DBUS_TYPE_G_MESSAGE
+dbus_g_message_ref
+dbus_g_message_unref
+dbus_g_message_get_message
+<SUBSECTION Standard>
+dbus_g_message_get_g_type
+</SECTION>
+
+<SECTION>
+<FILE>dbus-gmethod</FILE>
+<TITLE>DBusGMethod</TITLE>
+<INCLUDE>dbus/dbus-glib.h</INCLUDE>
+DBusGMethodInfo
+DBusGMethodInvocation
+dbus_g_method_get_sender
+dbus_g_method_get_reply
+dbus_g_method_send_reply
+dbus_g_method_return
+dbus_g_method_return_error
+</SECTION>
+
+<SECTION>
+<FILE>dbus-gerror</FILE>
+<TITLE>DBusGError</TITLE>
+<INCLUDE>dbus/dbus-glib.h</INCLUDE>
+DBusGError
+dbus_g_error_has_name
+dbus_g_error_get_name
+dbus_g_error_domain_register
+DBUS_GERROR
+<SUBSECTION Standard>
+dbus_g_error_quark
+</SECTION>
+
+<SECTION>
+<FILE>dbus-gproxy</FILE>
+<TITLE>DBusGProxy</TITLE>
+<INCLUDE>dbus/dbus-glib.h</INCLUDE>
+DBusGProxy
+DBusGProxyCall
+DBusGProxyCallNotify
+dbus_g_proxy_new_for_name
+dbus_g_proxy_new_for_name_owner
+dbus_g_proxy_new_from_proxy
+dbus_g_proxy_new_for_peer
+dbus_g_proxy_set_interface
+dbus_g_proxy_get_path
+dbus_g_proxy_get_bus_name
+dbus_g_proxy_get_interface
+dbus_g_proxy_add_signal
+dbus_g_proxy_connect_signal
+dbus_g_proxy_disconnect_signal
+dbus_g_proxy_send
+dbus_g_proxy_call
+dbus_g_proxy_call_with_timeout
+dbus_g_proxy_call_no_reply
+dbus_g_proxy_begin_call
+dbus_g_proxy_begin_call_with_timeout
+dbus_g_proxy_end_call
+dbus_g_proxy_cancel_call
+dbus_g_proxy_set_default_timeout
+<SUBSECTION Standard>
+DBUS_G_PROXY
+DBUS_IS_G_PROXY
+DBUS_TYPE_G_PROXY
+dbus_g_proxy_get_type
+DBUS_G_PROXY_CLASS
+DBUS_IS_G_PROXY_CLASS
+DBUS_G_PROXY_GET_CLASS
+<SUBSECTION Private>
+DBusGAsyncData
+</SECTION>
+
+<SECTION>
+<FILE>dbus-glib-lowlevel</FILE>
+<TITLE>DBus GLib low level</TITLE>
+<INCLUDE>dbus/dbus-glib-lowlevel.h</INCLUDE>
+dbus_set_g_error
+dbus_connection_setup_with_g_main
+dbus_connection_get_g_connection
+dbus_server_setup_with_g_main
+DBUS_TYPE_CONNECTION
+DBUS_TYPE_MESSAGE
+<SUBSECTION Standard>
+dbus_connection_get_g_type
+dbus_message_get_g_type
+<SUBSECTION Private>
+DBUS_INSIDE_DBUS_GLIB_H
+</SECTION>
+
+<SECTION>
+<FILE>dbus-gtype-specialized</FILE>
+<TITLE>Specializable GType System</TITLE>
+<INCLUDE>dbus/dbus-glib.h</INCLUDE>
+DBusGTypeSpecializedCollectionIterator
+DBusGTypeSpecializedMapIterator
+DBusGTypeSpecializedAppendContext
+DBusGTypeSpecializedConstructor
+DBusGTypeSpecializedFreeFunc
+DBusGTypeSpecializedCopyFunc
+DBusGTypeSpecializedVtable
+DBusGTypeSpecializedCollectionFixedAccessorFunc
+DBusGTypeSpecializedCollectionIteratorFunc
+DBusGTypeSpecializedCollectionAppendFunc
+DBusGTypeSpecializedCollectionEndAppendFunc
+DBusGTypeSpecializedCollectionVtable
+DBusGTypeSpecializedMapIteratorFunc
+DBusGTypeSpecializedMapAppendFunc
+DBusGTypeSpecializedMapVtable
+DBusGTypeSpecializedStructGetMember
+DBusGTypeSpecializedStructSetMember
+DBusGTypeSpecializedStructVtable
+dbus_g_type_get_collection
+dbus_g_type_get_map
+dbus_g_type_get_structv
+dbus_g_type_get_struct
+dbus_g_type_is_collection
+dbus_g_type_is_map
+dbus_g_type_is_struct
+dbus_g_type_get_collection_specialization
+dbus_g_type_get_map_key_specialization
+dbus_g_type_get_map_value_specialization
+dbus_g_type_get_struct_member_type
+dbus_g_type_get_struct_size
+dbus_g_type_specialized_construct
+dbus_g_type_specialized_init_append
+dbus_g_type_specialized_collection_append
+dbus_g_type_specialized_collection_end_append
+dbus_g_type_specialized_map_append
+dbus_g_type_collection_get_fixed
+dbus_g_type_collection_value_iterate
+dbus_g_type_map_value_iterate
+dbus_g_type_struct_get_member
+dbus_g_type_struct_set_member
+dbus_g_type_struct_get
+dbus_g_type_struct_set
+dbus_g_type_specialized_init
+dbus_g_type_register_collection
+dbus_g_type_register_map
+dbus_g_type_map_peek_vtable
+dbus_g_type_collection_peek_vtable
+dbus_g_type_struct_peek_vtable
+dbus_g_type_register_struct
+dbus_g_value_build_g_variant
+dbus_g_value_parse_g_variant
+DBUS_TYPE_G_BOOLEAN_ARRAY
+DBUS_TYPE_G_UCHAR_ARRAY
+DBUS_TYPE_G_UINT_ARRAY
+DBUS_TYPE_G_INT_ARRAY
+DBUS_TYPE_G_UINT64_ARRAY
+DBUS_TYPE_G_INT64_ARRAY
+DBUS_TYPE_G_OBJECT_ARRAY
+DBUS_TYPE_G_STRING_STRING_HASHTABLE
+DBusGSignature
+DBUS_TYPE_G_SIGNATURE
+DBusGObjectPath
+DBUS_TYPE_G_OBJECT_PATH
+<SUBSECTION Private>
+dbus_g_object_path_get_g_type
+dbus_g_signature_get_g_type
+</SECTION>