Version bump.
authorPacho Ramos <pacho@gentoo.org>
Sat, 26 Nov 2011 15:51:01 +0000 (15:51 +0000)
committerPacho Ramos <pacho@gentoo.org>
Sat, 26 Nov 2011 15:51:01 +0000 (15:51 +0000)
Package-Manager: portage-2.1.10.37/cvs/Linux x86_64

x11-libs/gtk+extra/ChangeLog
x11-libs/gtk+extra/Manifest
x11-libs/gtk+extra/files/gtk+extra-3.0.1-fix-configure.patch [new file with mode: 0644]
x11-libs/gtk+extra/gtk+extra-3.0.1.ebuild [new file with mode: 0644]
x11-libs/gtk+extra/metadata.xml

index 5da14f530cf5d4bd2dd09665f694a4be8e82109b..9a313bf0bed4a32cd87ff43429006083ac348ceb 100644 (file)
@@ -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
index 24b5476e39d3fd6070923fb97941af564b432bcd..8a6f2f20c260c25ee252758e1be964495498ec37 100644 (file)
@@ -1,8 +1,21 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 AUX gtk+extra-2.1.2-build.patch 6704 RMD160 b9b8788ed4f347ecb99d785e225813d4b0693966 SHA1 f748a07694869d984be9673408f49ad3bb4242da SHA256 8ecf5526f9ddc04aa58db561eb1e70cfe91540ddf215db0e761135e0bbdb7932
 AUX gtk+extra-2.1.2-gtk+-2.21.patch 990 RMD160 6057209dc703bfb12d12fd3ed7b01aaee2b0c9e7 SHA1 2af3d99e6404b239fb720af39b2a3ffc91d5cf6b SHA256 634dc1f16b85a2902106280fb92f358c5a5fa41c04377d9f7f419e64228d8575
 AUX gtk+extra-2.1.2-itementry-crash.patch 665 RMD160 66964cef9b7dc5997c52be25651d7ecfb4aa61b7 SHA1 c4fb6d7f0534455de6de38aefda8aaa760d9452c SHA256 672149d0061ec2e62c13c5e215afcd9575cfbe6e8f9d345122fcf1c566d34fab
 AUX gtk+extra-2.1.2-marshal.patch 536 RMD160 14602c8e5f6598104c17e3265183281868eb4e69 SHA1 0ee01e2da7ccc6331c6d5e6a4e93c5504bb4399e SHA256 9cfb93fe3e4098ded71987be5e7c363da7c286956751c07da851c8e142300c4c
+AUX gtk+extra-3.0.1-fix-configure.patch 4906 RMD160 180ec1d095680923683df2f7c246bd1b2efa37a4 SHA1 65c5501114e23a7f23c08ecb9e4a69cc197c3e78 SHA256 c7e7f4186d941244ee3a8e299f2372bb0cc2ed66b02a1e3e809dc29b9a324937
 DIST gtk+extra-2.1.2.tar.gz 1274946 RMD160 e14bfc2a055fdef0d037b494018ca25047cc3c9e SHA1 1b6cccbf89a79c8fe551d77c84dbf21a82c69f07 SHA256 bfc9603e2023ea071f2661ecc29e52c94b1beed6b69deae45b466df7f5b2ce55
+DIST gtk+extra-3.0.1.tar.gz 1378220 RMD160 e8bd1f6d4c5e50beb653b96801b84a049d1fb111 SHA1 ae976fc6809807639d08069119c4ded9e8d38438 SHA256 11ab4a9210a5ff454f1310ee9e93a12422aff524e3c699afe268ec574df7b6d8
 EBUILD gtk+extra-2.1.2-r1.ebuild 1070 RMD160 3deae844095229683048daf8020fabef94aafd31 SHA1 f15db81f441f4cdf77b8ec9ba088c7a7de06028f SHA256 fdfeb31c71acd41d8b798ff6d4a7bedb56f6f92be04f31110bc48bca1304a056
-MISC ChangeLog 5529 RMD160 e5d9a2410cc1aade797c21b115c261ba6818b8a7 SHA1 78140ff9d2225eb86454ca0b384a048dac2f0cd6 SHA256 628e8c537646f31324325d87a2da8260516b8354a91b86123df8471a1dec938c
-MISC metadata.xml 209 RMD160 d8d5450994c26467cca04e0007b1ef7d4676d9d8 SHA1 972c9d81f4e17ce38f86fe6600fb6b786c4014ec SHA256 d1a9b5333a198e7e949511b738c16eeadb97a3ae7342bb6680aff97721be235c
+EBUILD gtk+extra-3.0.1.ebuild 1197 RMD160 8bdfb2e57365e5e482982a61050d3d715e772405 SHA1 225578e2734c91b50804acf325f00384c5bb8b6b SHA256 0a10c9a3342ff317866d179be1f383d9a8d19747713dbfe532c8bf6220770c64
+MISC ChangeLog 5710 RMD160 fcbd4db69051546515cda7d6ff2ed765e89f844b SHA1 ca648aad105bce360b32966203eb718406d62c1e SHA256 15591574e72872a8748a971f66f293e7b9894a0905dc0404aae37519fd782d00
+MISC metadata.xml 274 RMD160 8af80b495a9229fed210308d7c40add13039ca68 SHA1 c35820b2533d8a834e346c4fd21e1c2552915ed9 SHA256 624a014a9903b5d6808bad7691e52c0fe3cece7d11062be9b81681d30730f659
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEARECAAYFAk7RCuoACgkQCaWpQKGI+9T1VgCfWbJCssFr5jibGoT9U/Epi+XM
+NDMAn26JRCvQ+ap+jQQHJ4/AORWY0F7P
+=ohs6
+-----END PGP SIGNATURE-----
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 (file)
index 0000000..1aa60d2
--- /dev/null
@@ -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 (file)
index 0000000..22cb70b
--- /dev/null
@@ -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 '{}' +
+}
index f588029709a8280fef0fa0001e3562d08df2cfef..7f2246c36d255023b805534f1522aa6a017f0791 100644 (file)
@@ -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>