summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2011-11-26 15:51:01 +0000
committerPacho Ramos <pacho@gentoo.org>2011-11-26 15:51:01 +0000
commit4a3726c107d6e4fd5607b9161ad3d31960772cc6 (patch)
tree6aeb71e54fa79c36a8109176bcaa2cdf2dd4e5b9 /x11-libs/gtk+extra
parentSwitched to openrc style init script for old 0.2.1 branch (diff)
downloadgentoo-2-4a3726c107d6e4fd5607b9161ad3d31960772cc6.tar.gz
gentoo-2-4a3726c107d6e4fd5607b9161ad3d31960772cc6.tar.bz2
gentoo-2-4a3726c107d6e4fd5607b9161ad3d31960772cc6.zip
Version bump.
(Portage version: 2.1.10.37/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/gtk+extra')
-rw-r--r--x11-libs/gtk+extra/ChangeLog9
-rw-r--r--x11-libs/gtk+extra/files/gtk+extra-3.0.1-fix-configure.patch173
-rw-r--r--x11-libs/gtk+extra/gtk+extra-3.0.1.ebuild45
-rw-r--r--x11-libs/gtk+extra/metadata.xml6
4 files changed, 230 insertions, 3 deletions
diff --git a/x11-libs/gtk+extra/ChangeLog b/x11-libs/gtk+extra/ChangeLog
index 5da14f530cf5..9a313bf0bed4 100644
--- a/x11-libs/gtk+extra/ChangeLog
+++ b/x11-libs/gtk+extra/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-libs/gtk+extra
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+extra/ChangeLog,v 1.35 2011/03/22 19:48:28 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+extra/ChangeLog,v 1.36 2011/11/26 15:51:01 pacho Exp $
+
+*gtk+extra-3.0.1 (26 Nov 2011)
+
+ 26 Nov 2011; Pacho Ramos <pacho@gentoo.org>
+ +files/gtk+extra-3.0.1-fix-configure.patch, +gtk+extra-3.0.1.ebuild,
+ metadata.xml:
+ Version bump.
22 Mar 2011; Brent Baude <ranger@gentoo.org> gtk+extra-2.1.2-r1.ebuild:
Marking gtk+extra-2.1.2-r1 ppc stable for bug 353436
diff --git a/x11-libs/gtk+extra/files/gtk+extra-3.0.1-fix-configure.patch b/x11-libs/gtk+extra/files/gtk+extra-3.0.1-fix-configure.patch
new file mode 100644
index 000000000000..1aa60d27aa75
--- /dev/null
+++ b/x11-libs/gtk+extra/files/gtk+extra-3.0.1-fix-configure.patch
@@ -0,0 +1,173 @@
+--- configure.in 2011/05/01 09:17:38 1.14
++++ configure.in 2011/11/26 10:39:19 1.15
+@@ -1,4 +1,13 @@
+ # Process this file with autoconf to produce a configure script.
++#
++# Help for autoconf:
++# - http://www.linuxselfhelp.com/gnu/autoconf/html_chapter/autoconf_toc.html
++# Option Syntax:
++# - http://www.linuxselfhelp.com/gnu/autoconf/html_chapter/autoconf_12.html
++# Printing Messages:
++# - http://www.linuxselfhelp.com/gnu/autoconf/html_chapter/autoconf_7.html
++#
++
+ AC_INIT(gtkextra,3.0.1)
+ AC_LANG([C])
+
+@@ -109,12 +118,15 @@
+ AM_CONDITIONAL(MS_LIB_AVAILABLE, test x$ms_librarian = xyes)
+
+ # --enable-debug option
+-dnl Check if we have enable debug support.
+-AC_MSG_CHECKING(whether to enable debugging)
+-debug_default="no"
++
++AC_MSG_CHECKING([whether to enable debugging])
++
+ AC_ARG_ENABLE(debug,
+- [ --enable-debug=[no/yes] turn on debugging [default=no]],,
+- enable_debug=$debug_default)
++ AC_HELP_STRING(
++ [--enable-debug=[no/yes]],
++ [turn on debugging [default=no]]),
++ ,
++ enable_debug=no)
+
+ if test "x$enable_debug" = "xyes"; then
+ test "$cflags_set" = set || CFLAGS="$CFLAGS -g -DDEBUG"
+@@ -237,31 +249,57 @@
+
+ # --enable-man option
+
++AC_MSG_CHECKING([whether to enable man pages])
++
+ AC_ARG_ENABLE(man,
+- [AC_HELP_STRING([--enable-man],
+- [regenerate man pages from Docbook [default=no]])],enable_man=yes,
+- enable_man=no)
++ AC_HELP_STRING(
++ [--enable-man],
++ [regenerate man pages from Docbook [default=no]])],
++ ,
++ enable_man=no)
+
+ if test "${enable_man}" != no; then
+- dnl
+- dnl Check for xsltproc
+- dnl
+- AC_PATH_PROG([XSLTPROC], [xsltproc])
+- if test -z "$XSLTPROC"; then
+- enable_man=no
+- fi
++ AC_MSG_RESULT(yes)
+
+- dnl check for DocBook DTD and stylesheets in the local catalog.
+- JH_CHECK_XML_CATALOG([-//OASIS//DTD DocBook XML V4.1.2//EN],
+- [DocBook XML DTD V4.1.2],,enable_man=no)
+- JH_CHECK_XML_CATALOG([http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl],
+- [DocBook XSL Stylesheets],,enable_man=no)
++ AC_PATH_PROG([XSLTPROC], [xsltproc])
++ if test -z "$XSLTPROC"; then
++ enable_man=no
++ fi
++
++ if test "$enable_man" = "no" ; then
++ AC_MSG_WARN([xsltproc is missing - disabling man pages])
++ fi
++
++ #check for DocBook DTD and stylesheets in the local catalog
++
++ JH_CHECK_XML_CATALOG(
++ [-//OASIS//DTD DocBook XML V4.1.2//EN],
++ [DocBook XML DTD V4.1.2],
++ ,
++ enable_man=no)
++
++ if test "$enable_man" = "no" ; then
++ AC_MSG_WARN([missing DocBook DTD - disabling man pages])
++ fi
++
++ JH_CHECK_XML_CATALOG(
++ [http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl],
++ [DocBook XSL Stylesheets],
++ ,
++ enable_man=no)
++
++ if test "$enable_man" = "no" ; then
++ AC_MSG_WARN([missing DocBook XML stylesheets - disabling man pages])
++ fi
++else
++ AC_MSG_RESULT(no)
+ fi
+ AM_CONDITIONAL(ENABLE_MAN, test x$enable_man != xno)
+
+-dnl
+-dnl Start of pkg-config checks
+-dnl
++
++##################################################
++# Start of pkg-config checks
++##################################################
+
+ PKG_PROG_PKG_CONFIG
+
+@@ -275,13 +313,18 @@
+
+ # --enable-glade option
+
++AC_MSG_CHECKING([whether to enable glade integration])
++
+ AC_ARG_ENABLE(glade,
+- [AC_HELP_STRING([--enable-glade],
+- [build glade integration files [default=no]])],
+- enable_glade=yes,
++ AC_HELP_STRING(
++ [--enable-glade],
++ [build glade integration files [default=no]]),
++ ,
+ enable_glade=no)
+
+ if test "x$enable_glade" != xno; then
++ AC_MSG_RESULT(yes)
++
+ PKG_CHECK_MODULES([GLADE], [gladeui-1.0 >= 3.6])
+
+ AC_SUBST(GLADE_CATALOG_DIR, `$PKG_CONFIG --variable=catalogdir gladeui-1.0`)
+@@ -290,24 +333,32 @@
+
+ #You must define GETTEXT_PACKAGE before including gi18n-lib.h
+ GETTEXT_PACKAGE=AC_PACKAGE_NAME
+- AC_SUBST(GETTEXT_PACKAGE)
+- AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Name of the gettext package.])
++ AC_SUBST(GETTEXT_PACKAGE)
++ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
++ [Name of the gettext package.])
+ AM_GLIB_GNU_GETTEXT
++else
++ AC_MSG_RESULT(no)
+ fi
+ AM_CONDITIONAL(ENABLE_GLADE, test x$enable_glade != xno)
+
+
+ # --enable-introspection
+
++AC_MSG_CHECKING([whether to enable gobject-introspection])
++
+ AC_ARG_ENABLE(introspection,
+- [AC_HELP_STRING([--enable-introspection],
+- [build gobject-introspection [default=no]])],
+- enable_introspection=yes,
++ AC_HELP_STRING(
++ [--enable-introspection],
++ [build gobject-introspection [default=no]]),
++ ,
+ enable_introspection=no)
+
+ if test "x$enable_introspection" != xno; then
++ AC_MSG_RESULT(yes)
+ GOBJECT_INTROSPECTION_CHECK([0.6.14])
+ else
++ AC_MSG_RESULT(no)
+ AM_CONDITIONAL(HAVE_INTROSPECTION, test 1=0)
+ fi
+ AM_CONDITIONAL(ENABLE_INTROSPECTION, test x$enable_introspection != xno)
diff --git a/x11-libs/gtk+extra/gtk+extra-3.0.1.ebuild b/x11-libs/gtk+extra/gtk+extra-3.0.1.ebuild
new file mode 100644
index 000000000000..22cb70b7d348
--- /dev/null
+++ b/x11-libs/gtk+extra/gtk+extra-3.0.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+extra/gtk+extra-3.0.1.ebuild,v 1.1 2011/11/26 15:51:01 pacho Exp $
+
+EAPI="4"
+
+inherit autotools eutils
+
+DESCRIPTION="Useful Additional GTK+ widgets"
+HOMEPAGE="http://gtkextra.sourceforge.net"
+SRC_URI="mirror://sourceforge/gtkextra/${P}.tar.gz"
+
+LICENSE="FDL-1.1 LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+introspection static-libs"
+
+RDEPEND=">=x11-libs/gtk+-2.12.0:2
+ dev-libs/glib:2
+ introspection? ( >=dev-libs/gobject-introspection-0.6.14 )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_prepare() {
+ # Fix configure,
+ # https://sourceforge.net/tracker/?func=detail&aid=3414011&group_id=11638&atid=111638
+ epatch "${FILESDIR}/${P}-fix-configure.patch"
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ --enable-glade=no \
+ --disable-man \
+ $(use_enable introspection) \
+ $(use_enable static-libs static) \
+ --with-html-dir=/usr/share/doc/${PF}/html
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog README
+ find "${D}" -name '*.la' -exec rm -f '{}' +
+}
diff --git a/x11-libs/gtk+extra/metadata.xml b/x11-libs/gtk+extra/metadata.xml
index f588029709a8..7f2246c36d25 100644
--- a/x11-libs/gtk+extra/metadata.xml
+++ b/x11-libs/gtk+extra/metadata.xml
@@ -2,7 +2,9 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>gnome</herd>
- <longdescription lang="en">
- </longdescription>
+<use>
+ <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> for
+ introspection</flag>
+</use>
</pkgmetadata>