summaryrefslogtreecommitdiff
path: root/dev-util/glade
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/glade')
-rw-r--r--dev-util/glade/Manifest6
-rw-r--r--dev-util/glade/files/glade-3.14.1-doc-version.patch29
-rw-r--r--dev-util/glade/glade-3.20.0.ebuild89
-rw-r--r--dev-util/glade/metadata.xml8
4 files changed, 132 insertions, 0 deletions
diff --git a/dev-util/glade/Manifest b/dev-util/glade/Manifest
new file mode 100644
index 000000000000..4232d78f33c6
--- /dev/null
+++ b/dev-util/glade/Manifest
@@ -0,0 +1,6 @@
+AUX glade-3.14.1-doc-version.patch 853 SHA256 6fb39133bf00abd38f56b3a79cbd8b714a922cca231db59cd8dcb00693604fdf SHA512 cc9aec06f6acdfdf538de7043f9f753768e0e4c26fa9eef7e52b4e42aa6fd3836185c18ffd51abfc2aa3e6f5b2472e68914112230d2b8856e8a3c61e9d865ecf WHIRLPOOL 2f5315144afc183db4599134a23ebab098df1708474180c27aaf4143cf5db5a70260bbfed756d00f54a35f37b6379134cb24f6567edaaff0a9bae72b19433f99
+DIST glade-3.20.0.tar.xz 3492928 SHA256 82d96dca5dec40ee34e2f41d49c13b4ea50da8f32a3a49ca2da802ff14dc18fe SHA512 58c8da3522c75470f5b42492bddd83f61d828fa2a3fb8a78d15813f6d1f1df22bd808f25ae7228bf2e821bacdcc5665b889bac3ea8364c4dac288f95e817e98a WHIRLPOOL 403bccfa596c306d997df2db115496885db70e04610340e3ceb1ddbd9d2868a1188cf3d164d4ea101442ae8e9cbcc6f2dea351bcc4b59c1bac41f0c315f9a6d8
+EBUILD glade-3.20.0.ebuild 2390 SHA256 e888d63bc4d193a9dadd3038cb2dbd596f0272592936df832f81c9b14b6575f1 SHA512 98673ca19010e2a63c5c7c9c79dbfdb65939324004c7be6d8b846684411af444ef1fc499234296bfff24d5f8e03842781378d6099356af8b6dc236e757bdf047 WHIRLPOOL 68a917d4e2d4d703bf43824918d2b4d489706422b7d94f9030a2203b520aa6787073a9ae5790c8521d67f3e87108f9936e2d62bdc98b71a2fd14fa8cf6dbc652
+MISC ChangeLog 3662 SHA256 084e9256d2b18b459540830bde4664d37e88ea9b1393061a9aebc41722387678 SHA512 018a6f1174c90d586e762b3168eb230d047639879cf9b1ca295b1ff5262e1508d12dd014ebf74833f5ce81dbcda9b4dc445df05c2ae50e6ee2756a0b5702fe05 WHIRLPOOL 6cae44cb264fdbebc252e95c5a92299e9aae0d0274d080cb10d5fa41ea86f2f25e44e146158b5c3dbf35d8546fa26ff668abe8bb5c8ed4b9b69caf58556b9381
+MISC ChangeLog-2015 29491 SHA256 2d38f0450cf75c6f86aa2d235357be90b7e3c0b12b528808eab9603858f5ae8d SHA512 1e3bdc80a8a624e8a0ead341c3d8eb0e68251f3092865bc5cd84b3220515f589d5dae58686630bb1b488fe61d623d2c9c9d233dc7ffafacd5024526c96ce9db4 WHIRLPOOL 8a3049eb82a927b74fe66ba5b073de1b838482a9282804778e1d2983cea34fc9630997e15001b341d4acf8eb65c1a3a8adfea890cb0927b859b299c8d32e7471
+MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92
diff --git a/dev-util/glade/files/glade-3.14.1-doc-version.patch b/dev-util/glade/files/glade-3.14.1-doc-version.patch
new file mode 100644
index 000000000000..39c9641719a4
--- /dev/null
+++ b/dev-util/glade/files/glade-3.14.1-doc-version.patch
@@ -0,0 +1,29 @@
+From e3e91245e730f0532e913fde910054f464085241 Mon Sep 17 00:00:00 2001
+From: Alexandre Rostovtsev <tetromino@gentoo.org>
+Date: Sun, 6 May 2012 22:40:47 -0400
+Subject: [PATCH] Version glade documentation
+
+Rename gnome help files to prevent collision with other versions.
+
+Avoid loading glade-3.8's devhelp files.
+---
+ help/Makefile.am | 5 ++++-
+ src/glade-window.c | 2 +-
+ 2 files changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/src/glade-window.c b/src/glade-window.c
+index 89a4549..4eb8be5 100644
+--- a/src/glade-window.c
++++ b/src/glade-window.c
+@@ -2041,7 +2041,7 @@ show_developer_manual_cb (GtkAction * action, GladeWindow * window)
+ {
+ if (glade_util_have_devhelp ())
+ {
+- glade_util_search_devhelp ("gladeui", NULL, NULL);
++ glade_util_search_devhelp ("gladeui-2", NULL, NULL);
+ return;
+ }
+
+--
+1.7.8.6
+
diff --git a/dev-util/glade/glade-3.20.0.ebuild b/dev-util/glade/glade-3.20.0.ebuild
new file mode 100644
index 000000000000..d2a03c7b833d
--- /dev/null
+++ b/dev-util/glade/glade-3.20.0.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+PYTHON_COMPAT=( python2_7 )
+
+inherit gnome2 python-single-r1 versionator virtualx
+
+DESCRIPTION="A user interface designer for GTK+ and GNOME"
+HOMEPAGE="https://glade.gnome.org/"
+
+LICENSE="GPL-2+ FDL-1.1+"
+SLOT="3.10/6" # subslot = suffix of libgladeui-2.so
+KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
+
+IUSE="debug +introspection python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ dev-libs/atk[introspection?]
+ >=dev-libs/glib-2.32:2
+ >=dev-libs/libxml2-2.4.0:2
+ x11-libs/cairo:=
+ x11-libs/gdk-pixbuf:2[introspection?]
+ >=x11-libs/gtk+-3.20.0:3[introspection?]
+ x11-libs/pango[introspection?]
+ introspection? ( >=dev-libs/gobject-introspection-1.32:= )
+ python? (
+ ${PYTHON_DEPS}
+ >=dev-python/pygobject-3.8:3[${PYTHON_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+ app-text/docbook-xml-dtd:4.1.2
+ app-text/yelp-tools
+ dev-libs/libxslt
+ >=dev-util/gtk-doc-am-1.13
+ >=dev-util/intltool-0.41.0
+ dev-util/itstool
+ virtual/pkgconfig
+
+ dev-libs/gobject-introspection-common
+ gnome-base/gnome-common
+"
+# eautoreconf requires:
+# dev-libs/gobject-introspection-common
+# gnome-base/gnome-common
+
+PATCHES=(
+ # To avoid file collison with other slots, rename help module.
+ # Prevent the UI from loading glade:3's gladeui devhelp documentation.
+ "${FILESDIR}"/${PN}-3.14.1-doc-version.patch
+)
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_configure() {
+ gnome2_src_configure \
+ --disable-static \
+ --enable-gladeui \
+ --enable-libtool-lock \
+ $(usex debug --enable-debug ' ') \
+ $(use_enable introspection) \
+ $(use_enable python)
+}
+
+src_test() {
+ virtx emake check
+}
+
+src_install() {
+ # modify Name in .desktop file to avoid confusion with other slots
+ sed -e 's:^\(Name.*=Glade\):\1 '$(get_version_component_range 1-2): \
+ -i data/glade.desktop || die "sed of data/glade.desktop failed"
+ # modify name in .devhelp2 file to avoid shadowing with glade:3 docs
+ sed -e 's:name="gladeui":name="gladeui-2":' \
+ -i doc/html/gladeui.devhelp2 || die "sed of gladeui.devhelp2 failed"
+ gnome2_src_install
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+ if ! has_version dev-util/devhelp ; then
+ elog "You may want to install dev-util/devhelp for integration API"
+ elog "documentation support."
+ fi
+}
diff --git a/dev-util/glade/metadata.xml b/dev-util/glade/metadata.xml
new file mode 100644
index 000000000000..39980802b1da
--- /dev/null
+++ b/dev-util/glade/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+</maintainer>
+</pkgmetadata>