diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /gnome-extra/yelp | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'gnome-extra/yelp')
-rw-r--r-- | gnome-extra/yelp/Manifest | 3 | ||||
-rw-r--r-- | gnome-extra/yelp/files/yelp-3.0.3-man-compatibility.patch | 117 | ||||
-rw-r--r-- | gnome-extra/yelp/files/yelp-3.16.0-man-compatibility.patch | 114 | ||||
-rw-r--r-- | gnome-extra/yelp/metadata.xml | 5 | ||||
-rw-r--r-- | gnome-extra/yelp/yelp-3.14.1.ebuild | 54 | ||||
-rw-r--r-- | gnome-extra/yelp/yelp-3.14.2.ebuild | 53 | ||||
-rw-r--r-- | gnome-extra/yelp/yelp-3.16.1.ebuild | 51 |
7 files changed, 397 insertions, 0 deletions
diff --git a/gnome-extra/yelp/Manifest b/gnome-extra/yelp/Manifest new file mode 100644 index 000000000000..ee7ecf770132 --- /dev/null +++ b/gnome-extra/yelp/Manifest @@ -0,0 +1,3 @@ +DIST yelp-3.14.1.tar.xz 1401680 SHA256 1df24b0afa000fd7b003b43448be5227d72757e95e678a7be1832ebea685f072 SHA512 272992b9635853b9a1031969e6f3bdac6710b3ed07704cf9aeeb9358544356927db428828bbcd9fdcb73ceed0b8407b747847f16c4becb0fef36dcf0c0880fee WHIRLPOOL a35e55b26e382567a8db4d4cfac3e54a5ed1b994cb2ba7f39747a4a505094b4d11f55a59e82898274eec999508ee6bf44da18bb543b93edacb31b0909b80861b +DIST yelp-3.14.2.tar.xz 1413432 SHA256 6c39d323ad26b9d44de54d6c7b79b8f3a983f4cb272bc79b05cb92922aa37dc6 SHA512 d6ba613340c16380ca8853b78cadb8f903b69206e206935535152be5658d8b0ee7cb610cb3c05ac0ac8da33f09ab973b5a4d39d28f3398deff4399112f760749 WHIRLPOOL 033a7a1d446c5cbd1af0c25ce833da181c88e8059063da74038dbc953b346cdc6c7b41d5074253393f285dc417c73763a8b4d801043d79e645939e32fbed6241 +DIST yelp-3.16.1.tar.xz 1416752 SHA256 60810b8ddf5d2bf525a70a80a982af5053db061e0d823ed883d3671d9a5267ca SHA512 bfbce5c86dd6ee6d95cd4fc14acf8285616f4aef52b14d0b68f6844fbdad17631c84c2bc029e7ee0599055c00dd8599bf20341686290060b8c27ffddc2265103 WHIRLPOOL bab7e1f4297bcef0896a497c3d2a8d016405a77f77ae9810c80425dfb7234f018e6eb4688f2c408e9a71408684d107fef4de113bb007a0fe7f0850ba4d6a6e87 diff --git a/gnome-extra/yelp/files/yelp-3.0.3-man-compatibility.patch b/gnome-extra/yelp/files/yelp-3.0.3-man-compatibility.patch new file mode 100644 index 000000000000..b57591c14ca6 --- /dev/null +++ b/gnome-extra/yelp/files/yelp-3.0.3-man-compatibility.patch @@ -0,0 +1,117 @@ +From 7e181e8d74f7e67b8b3acb8524fc85157ed39c8e Mon Sep 17 00:00:00 2001 +From: Alexandre Rostovtsev <tetromino@gmail.com> +Date: Sun, 1 May 2011 22:52:14 -0400 +Subject: [PATCH] Enable compatibility with traditional man (#648854) + +As of commit 46a82ade3e6f0fac8f08b18e7fc23d8665f6f728, Yelp runs +"man -Z -Tutf8 -EUTF-8 [FILE]" to obtain the groff intermediate format +of the man page. However, the only implementation of man that accepts +these options is man-db (used by Debian, Fedora, SUSE & Ubuntu). +The traditional Linux man used by other distros and man implementations +on non-Linux Unixes (FreeBSD, Solaris) do not have command-line options +for outputting groff intermediate format. +Therefore, on systems that do not use man-db, we need to manually +uncompress the nroff source file and feed it to groff. This is best done +using a small shell script (/usr/libexec/yelp-groff), both for for +clarity and for ease of modification on systems with weird man setups. + +Signed-off-by: Alexandre Rostovtsev <tetromino@gmail.com> +--- + libyelp/Makefile.am | 2 + + libyelp/yelp-groff | 49 +++++++++++++++++++++++++++++++++++++++++++++ + libyelp/yelp-man-parser.c | 4 +- + 3 files changed, 53 insertions(+), 2 deletions(-) + create mode 100755 libyelp/yelp-groff + +diff --git a/libyelp/Makefile.am b/libyelp/Makefile.am +index a4dd68b..5d55bf1 100644 +--- a/libyelp/Makefile.am ++++ b/libyelp/Makefile.am +@@ -1,4 +1,5 @@ + lib_LTLIBRARIES = libyelp.la ++libexec_SCRIPTS = yelp-groff + + libyelp_la_SOURCES = \ + yelp-bookmarks.c \ +@@ -49,6 +50,7 @@ endif + libyelp_la_CFLAGS = \ + $(YELP_CFLAGS) \ + -DDATADIR=\""$(datadir)"\" \ ++ -DLIBEXECDIR=\"$(libexecdir)\" \ + -DYELP_ICON_PATH=\"$(YELP_ICON_PATH)\" + + libyelp_la_LIBADD = $(YELP_LIBS) +diff --git a/libyelp/yelp-groff b/libyelp/yelp-groff +new file mode 100755 +index 0000000..5348024 +--- /dev/null ++++ b/libyelp/yelp-groff +@@ -0,0 +1,49 @@ ++#!/bin/sh ++# ++# Copyright (c) 2011 Alexandre Rostovtsev <tetromino@gmail.com> ++# ++# This program is free software; you can redistribute it and/or ++# modify it under the terms of the GNU General Public License as ++# published by the Free Software Foundation; either version 2 of the ++# License, or (at your option) any later version. ++# ++# This program is distributed in the hope that it will be useful, ++# but WITHOUT ANY WARRANTY; without even the implied warranty of ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++# General Public License for more details. ++# ++# You should have received a copy of the GNU General Public ++# License along with this program; if not, write to the ++# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, ++# Boston, MA 02110-1301, USA. ++# ++### ++# ++# Process the requested compressed source nroff file and output groff ++# intermediate format. ++# ++ ++filename=$1 ++ ++if [ -z ${filename} ] ; then ++ echo "Usage: yelp-groff [FILE]" >&2 ++ echo "Process a man FILE and output groff intermediate format." ++ exit 1 ++fi ++ ++# If "man -Z -Tutf8 -EUTF-8" works (i.e. if man is man-db), use that. ++man -Z -Tutf8 -EUTF-8 ${filename} 2>/dev/null && exit 0 ++ ++# Otherwise, manually uncompress the file ... ++cat="cat" ++case ${filename} in ++ *.bz2) cat="bzip2 -c -d" ;; ++ *.gz) cat="gunzip -c" ;; ++ *.lzma) cat="unlzma -c -d" ;; ++ *.xz) cat="unxz -c" ;; ++ *.Z) cat="zcat" ;; ++esac ++ ++# ... and run groff to get the intermediate format; preprocess with tbl ++# unless MANROFFSEQ is defined. ++${cat} ${filename} | groff -${MANROFFSEQ:-t} -man -Z -Tutf8 +diff --git a/libyelp/yelp-man-parser.c b/libyelp/yelp-man-parser.c +index 4001d38..9818803 100644 +--- a/libyelp/yelp-man-parser.c ++++ b/libyelp/yelp-man-parser.c +@@ -371,9 +371,9 @@ get_troff (gchar *path, GError **error) + { + gint stdout; + GError *err = NULL; +- gchar *argv[] = { "man", "-Z", "-Tutf8", "-EUTF-8", NULL, NULL }; ++ gchar *argv[] = { LIBEXECDIR "/yelp-groff", NULL, NULL }; + +- argv[4] = path; ++ argv[1] = path; + + if (!g_spawn_async_with_pipes (NULL, argv, NULL, + G_SPAWN_SEARCH_PATH, NULL, NULL, +-- +1.7.5.rc3 + diff --git a/gnome-extra/yelp/files/yelp-3.16.0-man-compatibility.patch b/gnome-extra/yelp/files/yelp-3.16.0-man-compatibility.patch new file mode 100644 index 000000000000..9df6ef491793 --- /dev/null +++ b/gnome-extra/yelp/files/yelp-3.16.0-man-compatibility.patch @@ -0,0 +1,114 @@ +From fb83e8cea7e9e521599e73180ecff8f1374edb8d Mon Sep 17 00:00:00 2001 +From: Alexandre Rostovtsev <tetromino@gmail.com> +Date: Sun, 1 May 2011 22:52:14 -0400 +Subject: [PATCH] Enable compatibility with traditional man (#648854) + +As of commit 46a82ade3e6f0fac8f08b18e7fc23d8665f6f728, Yelp runs +"man -Z -Tutf8 -EUTF-8 [FILE]" to obtain the groff intermediate format +of the man page. However, the only implementation of man that accepts +these options is man-db (used by Debian, Fedora, SUSE & Ubuntu). +The traditional Linux man used by other distros and man implementations +on non-Linux Unixes (FreeBSD, Solaris) do not have command-line options +for outputting groff intermediate format. +Therefore, on systems that do not use man-db, we need to manually +uncompress the nroff source file and feed it to groff. This is best done +using a small shell script (/usr/libexec/yelp-groff), both for for +clarity and for ease of modification on systems with weird man setups. + +Signed-off-by: Alexandre Rostovtsev <tetromino@gmail.com> +--- + libyelp/Makefile.am | 2 ++ + libyelp/yelp-groff | 49 +++++++++++++++++++++++++++++++++++++++++++++++ + libyelp/yelp-man-parser.c | 2 +- + 3 files changed, 52 insertions(+), 1 deletion(-) + create mode 100755 libyelp/yelp-groff + +diff --git a/libyelp/Makefile.am b/libyelp/Makefile.am +index 0ae9d60..0037ecd 100644 +--- a/libyelp/Makefile.am ++++ b/libyelp/Makefile.am +@@ -1,4 +1,5 @@ + lib_LTLIBRARIES = libyelp.la ++libexec_SCRIPTS = yelp-groff + + libyelp_la_SOURCES = \ + yelp-bookmarks.c \ +@@ -51,6 +52,7 @@ libyelp_la_CFLAGS = \ + $(YELP_CFLAGS) \ + -Wno-deprecated-declarations \ + -DDATADIR=\""$(datadir)"\" \ ++ -DLIBEXECDIR=\"$(libexecdir)\" \ + -DYELP_ICON_PATH=\"$(YELP_ICON_PATH)\" + + libyelp_la_LIBADD = $(YELP_LIBS) +diff --git a/libyelp/yelp-groff b/libyelp/yelp-groff +new file mode 100755 +index 0000000..5348024 +--- /dev/null ++++ b/libyelp/yelp-groff +@@ -0,0 +1,49 @@ ++#!/bin/sh ++# ++# Copyright (c) 2011 Alexandre Rostovtsev <tetromino@gmail.com> ++# ++# This program is free software; you can redistribute it and/or ++# modify it under the terms of the GNU General Public License as ++# published by the Free Software Foundation; either version 2 of the ++# License, or (at your option) any later version. ++# ++# This program is distributed in the hope that it will be useful, ++# but WITHOUT ANY WARRANTY; without even the implied warranty of ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++# General Public License for more details. ++# ++# You should have received a copy of the GNU General Public ++# License along with this program; if not, write to the ++# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, ++# Boston, MA 02110-1301, USA. ++# ++### ++# ++# Process the requested compressed source nroff file and output groff ++# intermediate format. ++# ++ ++filename=$1 ++ ++if [ -z ${filename} ] ; then ++ echo "Usage: yelp-groff [FILE]" >&2 ++ echo "Process a man FILE and output groff intermediate format." ++ exit 1 ++fi ++ ++# If "man -Z -Tutf8 -EUTF-8" works (i.e. if man is man-db), use that. ++man -Z -Tutf8 -EUTF-8 ${filename} 2>/dev/null && exit 0 ++ ++# Otherwise, manually uncompress the file ... ++cat="cat" ++case ${filename} in ++ *.bz2) cat="bzip2 -c -d" ;; ++ *.gz) cat="gunzip -c" ;; ++ *.lzma) cat="unlzma -c -d" ;; ++ *.xz) cat="unxz -c" ;; ++ *.Z) cat="zcat" ;; ++esac ++ ++# ... and run groff to get the intermediate format; preprocess with tbl ++# unless MANROFFSEQ is defined. ++${cat} ${filename} | groff -${MANROFFSEQ:-t} -man -Z -Tutf8 +diff --git a/libyelp/yelp-man-parser.c b/libyelp/yelp-man-parser.c +index 46073a2..792e695 100644 +--- a/libyelp/yelp-man-parser.c ++++ b/libyelp/yelp-man-parser.c +@@ -369,7 +369,7 @@ get_troff (gchar *path, GError **error) + { + gint ystdout; + GError *err = NULL; +- const gchar *argv[] = { "man", "-Z", "-Tutf8", "-EUTF-8", path, NULL }; ++ const gchar *argv[] = { LIBEXECDIR "/yelp-groff", path, NULL }; + gchar **my_argv; + + /* g_strdupv() should accept a "const gchar **". */ +-- +2.3.6 + diff --git a/gnome-extra/yelp/metadata.xml b/gnome-extra/yelp/metadata.xml new file mode 100644 index 000000000000..da6fd63d0085 --- /dev/null +++ b/gnome-extra/yelp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>gnome</herd> +</pkgmetadata> diff --git a/gnome-extra/yelp/yelp-3.14.1.ebuild b/gnome-extra/yelp/yelp-3.14.1.ebuild new file mode 100644 index 000000000000..e8c441724d81 --- /dev/null +++ b/gnome-extra/yelp/yelp-3.14.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GCONF_DEBUG="yes" + +inherit autotools eutils gnome2 + +DESCRIPTION="Help browser for GNOME" +HOMEPAGE="https://wiki.gnome.org/Apps/Yelp" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="" +KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" + +RDEPEND=" + app-arch/bzip2:= + >=app-arch/xz-utils-4.9:= + dev-db/sqlite:3= + >=dev-libs/glib-2.38:2 + >=dev-libs/libxml2-2.6.5:2 + >=dev-libs/libxslt-1.1.4 + >=gnome-extra/yelp-xsl-3.12 + >=net-libs/webkit-gtk-1.3.10:3 + >=x11-libs/gtk+-3.13.3:3 + x11-themes/gnome-icon-theme-symbolic +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.13 + >=dev-util/intltool-0.41.0 + >=sys-devel/gettext-0.17 + virtual/pkgconfig + gnome-base/gnome-common +" +# If eautoreconf: +# gnome-base/gnome-common + +src_prepare() { + # Fix compatibility with Gentoo's sys-apps/man + # https://bugzilla.gnome.org/show_bug.cgi?id=648854 + epatch "${FILESDIR}/${PN}-3.0.3-man-compatibility.patch" + eautoreconf + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --disable-static \ + --enable-bz2 \ + --enable-lzma \ + ITSTOOL=$(type -P true) +} diff --git a/gnome-extra/yelp/yelp-3.14.2.ebuild b/gnome-extra/yelp/yelp-3.14.2.ebuild new file mode 100644 index 000000000000..872eb9091bb8 --- /dev/null +++ b/gnome-extra/yelp/yelp-3.14.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GCONF_DEBUG="yes" + +inherit autotools eutils gnome2 + +DESCRIPTION="Help browser for GNOME" +HOMEPAGE="https://wiki.gnome.org/Apps/Yelp" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="" +KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" + +RDEPEND=" + app-arch/bzip2:= + >=app-arch/xz-utils-4.9:= + dev-db/sqlite:3= + >=dev-libs/glib-2.38:2 + >=dev-libs/libxml2-2.6.5:2 + >=dev-libs/libxslt-1.1.4 + >=gnome-extra/yelp-xsl-3.12 + >=net-libs/webkit-gtk-1.3.10:3 + >=x11-libs/gtk+-3.13.3:3 + x11-themes/gnome-icon-theme-symbolic +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.13 + >=dev-util/intltool-0.41.0 + >=sys-devel/gettext-0.17 + virtual/pkgconfig + gnome-base/gnome-common +" +# If eautoreconf: +# gnome-base/gnome-common + +src_prepare() { + # Fix compatibility with Gentoo's sys-apps/man + # https://bugzilla.gnome.org/show_bug.cgi?id=648854 + epatch "${FILESDIR}/${PN}-3.0.3-man-compatibility.patch" + eautoreconf + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --disable-static \ + --enable-bz2 \ + --enable-lzma +} diff --git a/gnome-extra/yelp/yelp-3.16.1.ebuild b/gnome-extra/yelp/yelp-3.16.1.ebuild new file mode 100644 index 000000000000..6ebc64be434f --- /dev/null +++ b/gnome-extra/yelp/yelp-3.16.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GCONF_DEBUG="no" + +inherit autotools eutils gnome2 + +DESCRIPTION="Help browser for GNOME" +HOMEPAGE="https://wiki.gnome.org/Apps/Yelp" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" + +RDEPEND=" + app-arch/bzip2:= + >=app-arch/xz-utils-4.9:= + dev-db/sqlite:3= + >=dev-libs/glib-2.38:2 + >=dev-libs/libxml2-2.6.5:2 + >=dev-libs/libxslt-1.1.4 + >=gnome-extra/yelp-xsl-3.12 + >=net-libs/webkit-gtk-1.3.10:3 + >=x11-libs/gtk+-3.13.3:3 + x11-themes/gnome-icon-theme-symbolic +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.13 + >=dev-util/intltool-0.41.0 + >=sys-devel/gettext-0.17 + virtual/pkgconfig +" + +src_prepare() { + # Fix compatibility with Gentoo's sys-apps/man + # https://bugzilla.gnome.org/show_bug.cgi?id=648854 + epatch "${FILESDIR}"/${PN}-3.16.0-man-compatibility.patch + eautoreconf + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --disable-static \ + --enable-bz2 \ + --enable-lzma \ + ITSTOOL=$(type -P true) +} |