diff options
Diffstat (limited to 'x11-libs/gtksourceview')
-rw-r--r-- | x11-libs/gtksourceview/Manifest | 13 | ||||
-rw-r--r-- | x11-libs/gtksourceview/files/2.0/gentoo.lang | 111 | ||||
-rw-r--r-- | x11-libs/gtksourceview/files/gtksourceview-2.10.5-G_CONST_RETURN.patch | 139 | ||||
-rw-r--r-- | x11-libs/gtksourceview/gtksourceview-2.10.5-r3.ebuild | 59 | ||||
-rw-r--r-- | x11-libs/gtksourceview/gtksourceview-3.22.2.ebuild | 58 | ||||
-rw-r--r-- | x11-libs/gtksourceview/gtksourceview-3.24.3.ebuild | 58 | ||||
-rw-r--r-- | x11-libs/gtksourceview/gtksourceview-3.24.4.ebuild | 58 | ||||
-rw-r--r-- | x11-libs/gtksourceview/metadata.xml | 11 |
8 files changed, 507 insertions, 0 deletions
diff --git a/x11-libs/gtksourceview/Manifest b/x11-libs/gtksourceview/Manifest new file mode 100644 index 000000000000..49112dc1174c --- /dev/null +++ b/x11-libs/gtksourceview/Manifest @@ -0,0 +1,13 @@ +AUX 2.0/gentoo.lang 3910 SHA256 fcb5133892038174826d9ee1a720ec7204f3842c7bd3e9aabf0532b408e663d1 SHA512 245fe194ced813fc1cda732d446664af85a7cd9f4443ba6bec14aacd5b6243428e23100fb6f9099004d20b7e52de9bee14f4017f754c6d915c3db580e0a6f8d2 WHIRLPOOL 01b2482cde3f45bd61db77b9e2d546b01deee5d318b26032722ca4765bbdbb30f5871d7b6a609791912b9bbce80a902187d3d5846f58f41c450ac5925fb87d1c +AUX gtksourceview-2.10.5-G_CONST_RETURN.patch 6799 SHA256 3462673c6856a8435dbe970d4fef3716f8743ad56ad0150ee08fa694c0380040 SHA512 1a36c45a067cf999494b14f30d3322aa596343b5f77e54e337a382f6fc9857803cdf2f97a44433e4c055a0dc235fa270d335b6536fc682f0d952f06a2ce44546 WHIRLPOOL 96c692461f379ca938c72ac5854ea0dffa14882b532702504b0970dbdd3dda18c794f2ba170bdd1601b8036a2f7e88e261b239933a90e3bb8f5a7169d26109dc +DIST gtksourceview-2.10.5.tar.bz2 1253321 SHA256 c585773743b1df8a04b1be7f7d90eecdf22681490d6810be54c81a7ae152191e SHA512 6f64acef6196bfc5953e0b148d7e460d366073b5e21367c01b01fc4d1c86ffe8aca71ecd77cf0814e47d8fc3085495f25bbbdc69e746987b02fd02fcda64886d WHIRLPOOL 4bd2589d4e06bb5e5c4dc8c55af25c52fd2c2c318a1240d7a430c8cb442cc785b7048f0116d9df714f93c6c1cb87628459239a80ae317d8eb73d27e4c021281a +DIST gtksourceview-3.22.2.tar.xz 1596384 SHA256 6ce84231dd0931cc747708434ca2f344c65a092dd6e1a800283fe0748773af5e SHA512 1d51a975471172835cd9af64828ba93eb1b45e26fae91b1778c5963a8578404bbbdf1fe7f2c92953dff436bf2dac2d9e01a5188216d2a60a705e4635f0c91b81 WHIRLPOOL 76f333a55d868f6e56bdf8ead44b541c78083a5a64d5b19ae2423a9b22cb8cf17e2fe063dd1a569baab192597c34dde42c6f104c27c13d40b364a81f71e8a183 +DIST gtksourceview-3.24.3.tar.xz 1625584 SHA256 3eed05486a6420c3e2fdda0bbb19a0d905ed09ebf442302a026ab7e574204cbd SHA512 354a06502d55d7b237d5cbec5a35102225ae3d7e80e53d1ba42e506fc9c75470c4548b4ab8e9e6b2813d732617a2f13b978194240556b8d810066c94ec13de44 WHIRLPOOL 100e811aa7cc3194f4c63c84af2d4a45e413320c1b5fe3e09a5b506fd3cc910dcb9e1a71f8f4c647918d6c95c10d27b2bfe633b9dfac35d791caf55c50182858 +DIST gtksourceview-3.24.4.tar.xz 1619860 SHA256 207fb1958087d89393521eafac05f6dd67448ef6edb43ec2c708a79f3b1aa793 SHA512 fef2008dccae6bca859f99b7171851b84f30e7b4cdb00500972039bf111ab5901498820c91926374a7b446491330c55f7179e8522b90279d0169371981bc90fd WHIRLPOOL a0d1d6e9bf0e73545b489010abd823c236a24416c5374ff2ee1344536b2cc2a655b0a544cde96fe21f4734e9e398b9d806aac233d7e7f3f1696f2b317d8cd9ca +EBUILD gtksourceview-2.10.5-r3.ebuild 1353 SHA256 0063ba94c10a7d8cf696604acb2393090005915f97b72e3469c27a08b5c1abe4 SHA512 1d8dfed14a7bca7114fd4641949144781775cf02344e4b4fc886c82374f92a73b61a81666cd1c7ab5ff75daaff71ed368d4f80a18480237a32129b17ce086fb6 WHIRLPOOL 7aa72562001e0381830b7b7cbce960c99d2006f7ebc587f776a6e0acfff95e8e5e5ebb02daacc391dce82d23a045a887b31009bbd77918b8e6b57e02958b393e +EBUILD gtksourceview-3.22.2.ebuild 1323 SHA256 242eee0dee11bf0b9b1e87381bd69bd2a30457c43237f18f6e94a7dbd8c4131b SHA512 ff2ca2a7344608b335d59bb2391e85342e082a523ef1a799dd47c4c989f8e7bb294027f551b13546c2d84aac35913b2e0d122d52a1df03b5df289b652159fc45 WHIRLPOOL 77ae8c3d4ada10d9b83f36cff60a9e772af1c2f6322c33adf702c5b66c9dbd2aa0e75cb9aa5a3b97cf40eddf0cd0c3c879c22c687fec721145ec4ba8bc32a47a +EBUILD gtksourceview-3.24.3.ebuild 1331 SHA256 d0a04c73f8bb74235740273bac70ac8319feddf9adc9a891ea8b6cb3db3a99cb SHA512 9282a5de6620b638b901e49e493b7b538870ac0baf95d200a597ae99968115b85a2f566ecc4dc55142664259efe111a117cc06e96b7f3c596b2b47bb8d6fca26 WHIRLPOOL d0073f8460242f7ed2010481d38d371778f92059960706124fa7218127943da2a1a61bc68710129a0bf14df7107105bac79b90a8d7224af277177cf193491ed0 +EBUILD gtksourceview-3.24.4.ebuild 1331 SHA256 d0a04c73f8bb74235740273bac70ac8319feddf9adc9a891ea8b6cb3db3a99cb SHA512 9282a5de6620b638b901e49e493b7b538870ac0baf95d200a597ae99968115b85a2f566ecc4dc55142664259efe111a117cc06e96b7f3c596b2b47bb8d6fca26 WHIRLPOOL d0073f8460242f7ed2010481d38d371778f92059960706124fa7218127943da2a1a61bc68710129a0bf14df7107105bac79b90a8d7224af277177cf193491ed0 +MISC ChangeLog 8731 SHA256 47d267466ebb455102fc48abb4a337a9f5fcceb1f674336ae7fb5c216e131e71 SHA512 cae5f73ff322786025cfc634874278c79be1aaa340f7df6cb882a068470a1a1c6b94f8bee9d0a943bd872ffa80e42432eed166e4ebabba17384dc6b1559df1b4 WHIRLPOOL 87728981353e79bca0bd80fc8416e8f6b6f5526e5297740e4412be662c1ade9dafc3ebff423b1654589f000b8cd26d479532e6d830332cbba46b14e16abf3a1e +MISC ChangeLog-2015 40584 SHA256 6f34b75c3165f108831e228013dd2670825eebae8c92babd15bb93356537d3f6 SHA512 31fb5e2d28e92c92952aab95182efb0421cfc3c559d0cd07e1fa8e7569b10eb231efeab21ed7ff2110ee1c25c91380eae7ccfc5685aadab5cb90974b62d9b9f1 WHIRLPOOL 83f65d28baa75b3e33b38841a4b213389744e734127bfba4724065187996d7f855ca72862d73e77839656c462212483e200f644a0a0e7e3beea469f801833c50 +MISC metadata.xml 318 SHA256 e497ade2cab3c21d2ad658db031dc00055affdb90046406694bbac4fd3b445e0 SHA512 c0954dc93b8b12dbad5d31805afc40d8075c55aafc209d6292cdbc50727f4e17a24353d115004e1e6974fdbb4bdfdb1588ff86ad93b6a60cd1ed430c13865ac5 WHIRLPOOL be9e4fd24b0c1c6ec197e4214f9930cda4da1d1c7551437aabe711ea3b89a0b888859c7f7fe74fa6b5b73716e790e5a3f772f61a719a278c468fedfaf9e03001 diff --git a/x11-libs/gtksourceview/files/2.0/gentoo.lang b/x11-libs/gtksourceview/files/2.0/gentoo.lang new file mode 100644 index 000000000000..f1e0660c74fc --- /dev/null +++ b/x11-libs/gtksourceview/files/2.0/gentoo.lang @@ -0,0 +1,111 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + GtkSourceView syntax highlight for Gentoo-specific files + + Originally written for gtksourceview-1.x by: + Leonardo Ferreira Fontenelle <leo.fontenelle@gmail.com>, 2006. + Rewritten for gtksourceview-2 by: + Rene 'Necoro' Neumann <necoro@necoro.net>, 2007 + + Distributed under the same license(s) as gtksourceview. + + TODO: + - do not highlight "enable" in the configure options + - perhaps highlight portage variables and portage functions different + +--> + +<language name="gentoo" id="gentoo" version="2.0" _section="Scripts"> + <metadata> + <property name="globs">*.ebuild;*.eclass</property> + <property name="line-comment-start">#</property> + </metadata> + + <styles> + <style id="variable" _name="Portage variables" map-to="def:builtin" /> + <style id="command" _name="Portage command" map-to="def:type" /> + <style id="function" _name="Portage function" map-to="def:function" /> + <style id="string" _name="String" map-to="def:string" /> + </styles> + + <definitions> + + <!-- rewrite shell string to show highlighted variables --> + <context id="string" style-ref="def:string"> + <start>"</start> + <end>"</end> + <include> + <context ref="def:escape"/> + <context ref="def:line-continue"/> + <context ref="sh:variable"/> + </include> + </context> + + <context id="string-2" style-ref="def:string"> + <start>'</start> + <end>'</end> + <include> + <context ref="def:escape"/> + <context ref="def:line-continue"/> + <context ref="sh:variable"/> + </include> + </context> + + <!-- subprograms: + - $(..) is not supported currently in the normal sh.lang + - `...` is interpreted as string - I think the subshell behavior is more acurate --> + <context id="subprogram"> + <start>\$\(</start> + <end>\)</end> + <include> + <context sub-pattern="0" where="start" style-ref="sh:keyword"/> + <context sub-pattern="0" where="end" style-ref="sh:keyword"/> + <context ref="gentoo"/> + </include> + </context> + + <context id="subprogram-2"> + <start>`</start> + <end>`</end> + <include> + <context sub-pattern="0" where="start" style-ref="sh:keyword"/> + <context sub-pattern="0" where="end" style-ref="sh:keyword"/> + <context ref="gentoo"/> + </include> + </context> + + <!-- portage variables - currently unused --> + <context id="portvars" style-ref="variable"> + <match>\b((ARCH|HOMEPAGE|DESCRIPTION|IUSE|SRC_URI|LICENSE|SLOT|KEYWORDS|FILESDIR|WORKDIR|(P|R)?DEPEND|PROVIDE|DISTDIR|RESTRICT|USERLAND)|(S|D|T|PV|PF|P|PN|A)|C(XX)?FLAGS|LDFLAGS|C(HOST|TARGET|BUILD))\b</match> + </context> + + <!-- portage functions - currently unused --> + <context id="portfuncs" style-ref="function"> + <match>^(src_(unpack|compile|install|test)|pkg_(config|nofetch|setup|(pre|post)(inst|rm)))</match> + </context> + + <!-- extra portage commands --> + <context id="portcmds" style-ref="command"> + <match>\b(e(begin|end|conf|install|make|warn|infon?|error|patch)|die|use(_(with|enable))?|inherit|has|(has|best)_version|unpack|(do|new)(ins|s?bin|doc|lib(|\.so|\.a)|man|info|exe|initd|confd|envd|pam|menu|icon)|do(python|sed|dir|hard|sym|html|jar|mo)|keepdir|prepall(|docs|info|man|strip)|prep(info|lib|lib\.(so|a)|man|strip)|(|doc|ins|exe)into|f(owners|perms)|(exe|ins|dir)opts)\b</match> + </context> + + <context id="built-in-command"> + <include> <!-- do not include "sh:built-in-command" as it is replaced down there - which would lead to an endless loop --> + <context ref="sh:built-in-command-1" /> + <context ref="sh:built-in-command-2" /> + <context ref="portcmds" /> + </include> + </context> + + <!-- gentoo is just a shell with the replacements --> + <replace id="sh:built-in-command" ref="built-in-command" /> + <replace id="sh:backtick-subshell" ref="subprogram-2" /> + <context id="gentoo"> + <include> + <context ref="subprogram"/> + <context ref="sh:sh"/> + </include> + </context> + </definitions> +</language> diff --git a/x11-libs/gtksourceview/files/gtksourceview-2.10.5-G_CONST_RETURN.patch b/x11-libs/gtksourceview/files/gtksourceview-2.10.5-G_CONST_RETURN.patch new file mode 100644 index 000000000000..d42feacd3e3f --- /dev/null +++ b/x11-libs/gtksourceview/files/gtksourceview-2.10.5-G_CONST_RETURN.patch @@ -0,0 +1,139 @@ +From d27fec22c3f50bcd3c384256b8ad75d662033c7f Mon Sep 17 00:00:00 2001 +From: Ignacio Casal Quinteiro <icq@gnome.org> +Date: Sun, 13 Mar 2011 11:01:37 +0100 +Subject: [PATCH] Do not use G_CONST_RETURN anymore. This macro is going to be + deprecated. + +--- + gtksourceview/gtksourcelanguagemanager.c | 4 ++-- + gtksourceview/gtksourcelanguagemanager.h | 6 ++---- + gtksourceview/gtksourcestylescheme.c | 4 ++-- + gtksourceview/gtksourcestylescheme.h | 3 +-- + gtksourceview/gtksourcestyleschememanager.c | 4 ++-- + gtksourceview/gtksourcestyleschememanager.h | 6 ++---- + 6 files changed, 11 insertions(+), 16 deletions(-) + +diff --git a/gtksourceview/gtksourcelanguagemanager.c b/gtksourceview/gtksourcelanguagemanager.c +index b431e1f..31deba7 100644 +--- a/gtksourceview/gtksourcelanguagemanager.c ++++ b/gtksourceview/gtksourcelanguagemanager.c +@@ -275,7 +275,7 @@ gtk_source_language_manager_set_search_path (GtkSourceLanguageManager *lm, + * containg a list of language files directories. + * The array is owned by @lm and must not be modified. + */ +-G_CONST_RETURN gchar* G_CONST_RETURN * ++const gchar * const * + gtk_source_language_manager_get_search_path (GtkSourceLanguageManager *lm) + { + g_return_val_if_fail (GTK_IS_SOURCE_LANGUAGE_MANAGER (lm), NULL); +@@ -394,7 +394,7 @@ ensure_languages (GtkSourceLanguageManager *lm) + * no language is available. + * The array is owned by @lm and must not be modified. + */ +-G_CONST_RETURN gchar* G_CONST_RETURN * ++const gchar * const * + gtk_source_language_manager_get_language_ids (GtkSourceLanguageManager *lm) + { + g_return_val_if_fail (GTK_IS_SOURCE_LANGUAGE_MANAGER (lm), NULL); +diff --git a/gtksourceview/gtksourcelanguagemanager.h b/gtksourceview/gtksourcelanguagemanager.h +index ce234f5..de7a3aa 100644 +--- a/gtksourceview/gtksourcelanguagemanager.h ++++ b/gtksourceview/gtksourcelanguagemanager.h +@@ -63,14 +63,12 @@ GtkSourceLanguageManager *gtk_source_language_manager_new (void); + + GtkSourceLanguageManager *gtk_source_language_manager_get_default (void); + +-G_CONST_RETURN gchar* G_CONST_RETURN * +- gtk_source_language_manager_get_search_path (GtkSourceLanguageManager *lm); ++const gchar * const * gtk_source_language_manager_get_search_path (GtkSourceLanguageManager *lm); + + void gtk_source_language_manager_set_search_path (GtkSourceLanguageManager *lm, + gchar **dirs); + +-G_CONST_RETURN gchar* G_CONST_RETURN * +- gtk_source_language_manager_get_language_ids (GtkSourceLanguageManager *lm); ++const gchar * const * gtk_source_language_manager_get_language_ids (GtkSourceLanguageManager *lm); + + GtkSourceLanguage *gtk_source_language_manager_get_language (GtkSourceLanguageManager *lm, + const gchar *id); +diff --git a/gtksourceview/gtksourcestylescheme.c b/gtksourceview/gtksourcestylescheme.c +index 6b470e8..d9d41a3 100644 +--- a/gtksourceview/gtksourcestylescheme.c ++++ b/gtksourceview/gtksourcestylescheme.c +@@ -318,7 +318,7 @@ gtk_source_style_scheme_get_description (GtkSourceStyleScheme *scheme) + * + * Since: 2.0 + */ +-G_CONST_RETURN gchar* G_CONST_RETURN * ++const gchar * const * + gtk_source_style_scheme_get_authors (GtkSourceStyleScheme *scheme) + { + g_return_val_if_fail (GTK_IS_SOURCE_STYLE_SCHEME (scheme), NULL); +@@ -326,7 +326,7 @@ gtk_source_style_scheme_get_authors (GtkSourceStyleScheme *scheme) + if (scheme->priv->authors == NULL) + return NULL; + +- return (G_CONST_RETURN gchar* G_CONST_RETURN *)scheme->priv->authors->pdata; ++ return (const gchar * const *)scheme->priv->authors->pdata; + } + + /** +diff --git a/gtksourceview/gtksourcestylescheme.h b/gtksourceview/gtksourcestylescheme.h +index 501163c..fe74bd2 100644 +--- a/gtksourceview/gtksourcestylescheme.h ++++ b/gtksourceview/gtksourcestylescheme.h +@@ -62,8 +62,7 @@ const gchar *gtk_source_style_scheme_get_id (GtkSourceStyleS + const gchar *gtk_source_style_scheme_get_name (GtkSourceStyleScheme *scheme); + const gchar *gtk_source_style_scheme_get_description(GtkSourceStyleScheme *scheme); + +-G_CONST_RETURN gchar* G_CONST_RETURN * +- gtk_source_style_scheme_get_authors (GtkSourceStyleScheme *scheme); ++const gchar * const * gtk_source_style_scheme_get_authors (GtkSourceStyleScheme *scheme); + + const gchar *gtk_source_style_scheme_get_filename (GtkSourceStyleScheme *scheme); + +diff --git a/gtksourceview/gtksourcestyleschememanager.c b/gtksourceview/gtksourcestyleschememanager.c +index cba042f..eec5d45 100644 +--- a/gtksourceview/gtksourcestyleschememanager.c ++++ b/gtksourceview/gtksourcestyleschememanager.c +@@ -516,7 +516,7 @@ gtk_source_style_scheme_manager_prepend_search_path (GtkSourceStyleSchemeManager + * of string containing the search path. + * The array is owned by the @manager and must not be modified. + */ +-G_CONST_RETURN gchar* G_CONST_RETURN * ++const gchar * const * + gtk_source_style_scheme_manager_get_search_path (GtkSourceStyleSchemeManager *manager) + { + g_return_val_if_fail (GTK_IS_SOURCE_STYLE_SCHEME_MANAGER (manager), NULL); +@@ -555,7 +555,7 @@ gtk_source_style_scheme_manager_force_rescan (GtkSourceStyleSchemeManager *manag + * of string containing the ids of the available style schemes or %NULL if no + * style scheme is available. The array is owned by the @manager and must not be modified. + */ +-G_CONST_RETURN gchar* G_CONST_RETURN * ++const gchar * const * + gtk_source_style_scheme_manager_get_scheme_ids (GtkSourceStyleSchemeManager *manager) + { + g_return_val_if_fail (GTK_IS_SOURCE_STYLE_SCHEME_MANAGER (manager), NULL); +diff --git a/gtksourceview/gtksourcestyleschememanager.h b/gtksourceview/gtksourcestyleschememanager.h +index 6effc1c..456e8bf 100644 +--- a/gtksourceview/gtksourcestyleschememanager.h ++++ b/gtksourceview/gtksourcestyleschememanager.h +@@ -74,13 +74,11 @@ void gtk_source_style_scheme_manager_append_search_path (GtkSourceStyleSc + void gtk_source_style_scheme_manager_prepend_search_path (GtkSourceStyleSchemeManager *manager, + const gchar *path); + +-G_CONST_RETURN gchar* G_CONST_RETURN * +- gtk_source_style_scheme_manager_get_search_path (GtkSourceStyleSchemeManager *manager); ++const gchar * const * gtk_source_style_scheme_manager_get_search_path (GtkSourceStyleSchemeManager *manager); + + void gtk_source_style_scheme_manager_force_rescan (GtkSourceStyleSchemeManager *manager); + +-G_CONST_RETURN gchar* G_CONST_RETURN * +- gtk_source_style_scheme_manager_get_scheme_ids (GtkSourceStyleSchemeManager *manager); ++const gchar * const * gtk_source_style_scheme_manager_get_scheme_ids (GtkSourceStyleSchemeManager *manager); + + GtkSourceStyleScheme *gtk_source_style_scheme_manager_get_scheme (GtkSourceStyleSchemeManager *manager, + const gchar *scheme_id); +-- +1.7.8 + diff --git a/x11-libs/gtksourceview/gtksourceview-2.10.5-r3.ebuild b/x11-libs/gtksourceview/gtksourceview-2.10.5-r3.ebuild new file mode 100644 index 000000000000..9954aad33b57 --- /dev/null +++ b/x11-libs/gtksourceview/gtksourceview-2.10.5-r3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" +GNOME_TARBALL_SUFFIX="bz2" + +inherit eutils gnome2 virtualx + +DESCRIPTION="A text widget implementing syntax highlighting and other features" +HOMEPAGE="https://www.gnome.org/" + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="2.0" +KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="" + +RDEPEND=" + >=x11-libs/gtk+-2.12:2 + >=dev-libs/libxml2-2.5:2 + >=dev-libs/glib-2.14:2 +" +DEPEND="${RDEPEND} + dev-util/gtk-doc-am + >=dev-util/intltool-0.40 + >=sys-devel/gettext-0.17 + virtual/pkgconfig +" + +src_prepare() { + DOCS="AUTHORS ChangeLog HACKING MAINTAINERS NEWS README" + + # Skip broken test until upstream bug #621383 is solved + sed -i -e "/guess-language/d" tests/test-languagemanager.c || die + + # The same for another broken test, upstream bug #631214 + sed -i -e "/get-language/d" tests/test-languagemanager.c || die + + # Patch from 3.x for bug #394925 + epatch "${FILESDIR}/${P}-G_CONST_RETURN.patch" + + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure --disable-glade-catalog +} + +src_test() { + Xemake check +} + +src_install() { + gnome2_src_install + + insinto /usr/share/${PN}-2.0/language-specs + doins "${FILESDIR}"/2.0/gentoo.lang +} diff --git a/x11-libs/gtksourceview/gtksourceview-3.22.2.ebuild b/x11-libs/gtksourceview/gtksourceview-3.22.2.ebuild new file mode 100644 index 000000000000..2bb8038d61b2 --- /dev/null +++ b/x11-libs/gtksourceview/gtksourceview-3.22.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +VALA_MIN_API_VERSION="0.24" +VALA_USE_DEPEND="vapigen" + +inherit gnome2 vala virtualx + +DESCRIPTION="A text widget implementing syntax highlighting and other features" +HOMEPAGE="https://wiki.gnome.org/Projects/GtkSourceView" + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="3.0/3" + +IUSE="glade +introspection vala" +REQUIRED_USE="vala? ( introspection )" + +KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" + +RDEPEND=" + >=dev-libs/glib-2.48:2 + >=dev-libs/libxml2-2.6:2 + >=x11-libs/gtk+-3.20:3[introspection?] + glade? ( >=dev-util/glade-3.9:3.10 ) + introspection? ( >=dev-libs/gobject-introspection-1.42:= ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.25 + >=sys-devel/gettext-0.19.4 + dev-util/itstool + virtual/pkgconfig + vala? ( $(vala_depend) ) +" + +src_prepare() { + use vala && vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --disable-deprecations \ + $(use_enable glade glade-catalog) \ + $(use_enable introspection) \ + $(use_enable vala) +} + +src_test() { + virtx emake check +} + +src_install() { + gnome2_src_install + + insinto /usr/share/${PN}-3.0/language-specs + doins "${FILESDIR}"/2.0/gentoo.lang +} diff --git a/x11-libs/gtksourceview/gtksourceview-3.24.3.ebuild b/x11-libs/gtksourceview/gtksourceview-3.24.3.ebuild new file mode 100644 index 000000000000..1e25a7583c48 --- /dev/null +++ b/x11-libs/gtksourceview/gtksourceview-3.24.3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +VALA_MIN_API_VERSION="0.24" +VALA_USE_DEPEND="vapigen" + +inherit gnome2 vala virtualx + +DESCRIPTION="A text widget implementing syntax highlighting and other features" +HOMEPAGE="https://wiki.gnome.org/Projects/GtkSourceView" + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="3.0/3" + +IUSE="glade +introspection vala" +REQUIRED_USE="vala? ( introspection )" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" + +RDEPEND=" + >=dev-libs/glib-2.48:2 + >=dev-libs/libxml2-2.6:2 + >=x11-libs/gtk+-3.20:3[introspection?] + glade? ( >=dev-util/glade-3.9:3.10 ) + introspection? ( >=dev-libs/gobject-introspection-1.42:= ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.25 + >=sys-devel/gettext-0.19.4 + dev-util/itstool + virtual/pkgconfig + vala? ( $(vala_depend) ) +" + +src_prepare() { + use vala && vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --disable-deprecations \ + $(use_enable glade glade-catalog) \ + $(use_enable introspection) \ + $(use_enable vala) +} + +src_test() { + virtx emake check +} + +src_install() { + gnome2_src_install + + insinto /usr/share/${PN}-3.0/language-specs + doins "${FILESDIR}"/2.0/gentoo.lang +} diff --git a/x11-libs/gtksourceview/gtksourceview-3.24.4.ebuild b/x11-libs/gtksourceview/gtksourceview-3.24.4.ebuild new file mode 100644 index 000000000000..1e25a7583c48 --- /dev/null +++ b/x11-libs/gtksourceview/gtksourceview-3.24.4.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +VALA_MIN_API_VERSION="0.24" +VALA_USE_DEPEND="vapigen" + +inherit gnome2 vala virtualx + +DESCRIPTION="A text widget implementing syntax highlighting and other features" +HOMEPAGE="https://wiki.gnome.org/Projects/GtkSourceView" + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="3.0/3" + +IUSE="glade +introspection vala" +REQUIRED_USE="vala? ( introspection )" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" + +RDEPEND=" + >=dev-libs/glib-2.48:2 + >=dev-libs/libxml2-2.6:2 + >=x11-libs/gtk+-3.20:3[introspection?] + glade? ( >=dev-util/glade-3.9:3.10 ) + introspection? ( >=dev-libs/gobject-introspection-1.42:= ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.25 + >=sys-devel/gettext-0.19.4 + dev-util/itstool + virtual/pkgconfig + vala? ( $(vala_depend) ) +" + +src_prepare() { + use vala && vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --disable-deprecations \ + $(use_enable glade glade-catalog) \ + $(use_enable introspection) \ + $(use_enable vala) +} + +src_test() { + virtx emake check +} + +src_install() { + gnome2_src_install + + insinto /usr/share/${PN}-3.0/language-specs + doins "${FILESDIR}"/2.0/gentoo.lang +} diff --git a/x11-libs/gtksourceview/metadata.xml b/x11-libs/gtksourceview/metadata.xml new file mode 100644 index 000000000000..7bcd75b4aa2d --- /dev/null +++ b/x11-libs/gtksourceview/metadata.xml @@ -0,0 +1,11 @@ +<?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> +<use> + <flag name="glade">Install a glade catalog file</flag> +</use> +</pkgmetadata> |