diff options
author | Sebastian Pipping <sping@gentoo.org> | 2011-03-27 20:55:42 +0000 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2011-03-27 20:55:42 +0000 |
commit | 7b0ee2509e7da35fb70a3105771edc1b2f63c1e6 (patch) | |
tree | 7a2690a168efd6b204e0a474d0bc2ff90dbf8e6b /dev-vcs | |
parent | Add new maintainer + proxy-maintainer (diff) | |
download | gentoo-2-7b0ee2509e7da35fb70a3105771edc1b2f63c1e6.tar.gz gentoo-2-7b0ee2509e7da35fb70a3105771edc1b2f63c1e6.tar.bz2 gentoo-2-7b0ee2509e7da35fb70a3105771edc1b2f63c1e6.zip |
dev-vcs/gitg: Bump to 0.1.2
(Portage version: 2.1.9.44/cvs/Linux x86_64)
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/gitg/ChangeLog | 8 | ||||
-rw-r--r-- | dev-vcs/gitg/files/gitg-0.1.2-fix-disable-debug.patch | 58 | ||||
-rw-r--r-- | dev-vcs/gitg/gitg-0.1.2.ebuild | 53 | ||||
-rw-r--r-- | dev-vcs/gitg/metadata.xml | 4 |
4 files changed, 121 insertions, 2 deletions
diff --git a/dev-vcs/gitg/ChangeLog b/dev-vcs/gitg/ChangeLog index edfe7c3e5b94..f1aeb44c488b 100644 --- a/dev-vcs/gitg/ChangeLog +++ b/dev-vcs/gitg/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-vcs/gitg # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitg/ChangeLog,v 1.9 2011/03/21 23:15:13 nirbheek Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitg/ChangeLog,v 1.10 2011/03/27 20:55:41 sping Exp $ + +*gitg-0.1.2 (27 Mar 2011) + + 27 Mar 2011; Sebastian Pipping <sping@gentoo.org> +gitg-0.1.2.ebuild, + +files/gitg-0.1.2-fix-disable-debug.patch, metadata.xml: + Bump to 0.1.2 21 Mar 2011; Nirbheek Chauhan <nirbheek@gentoo.org> -gitg-0.0.5.ebuild, gitg-0.0.6.ebuild, -gitg-0.0.8.ebuild, gitg-0.1.0.ebuild: diff --git a/dev-vcs/gitg/files/gitg-0.1.2-fix-disable-debug.patch b/dev-vcs/gitg/files/gitg-0.1.2-fix-disable-debug.patch new file mode 100644 index 000000000000..3c0b88133485 --- /dev/null +++ b/dev-vcs/gitg/files/gitg-0.1.2-fix-disable-debug.patch @@ -0,0 +1,58 @@ +From eeec06ef06073b28f011a2be5417f4398d187c2e Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping <sebastian@pipping.org> +Date: Sun, 27 Mar 2011 22:42:29 +0200 +Subject: [PATCH] Fix --disable-debug + +--- + gitg-debug.c | 7 +++++++ + gitg-debug.h | 4 ++-- + 2 files changed, 9 insertions(+), 2 deletions(-) + +diff --git a/libgitg/gitg-debug.c b/libgitg/gitg-debug.c +index 6530e7a..781101e 100644 +--- a/libgitg/gitg-debug.c ++++ b/libgitg/gitg-debug.c +@@ -21,6 +21,7 @@ + */ + + #include "gitg-debug.h" ++#if ENABLE_DEBUG + #include <glib.h> + #include <stdio.h> + +@@ -72,3 +73,9 @@ gitg_debug_message (guint level, + g_free (msg); + } + } ++ ++#else ++ ++void gitg_debug_init (void) { } ++ ++#endif /* ENABLE_DEBUG */ +diff --git a/libgitg/gitg-debug.h b/libgitg/gitg-debug.h +index 55d4428..ab81b4e 100644 +--- a/libgitg/gitg-debug.h ++++ b/libgitg/gitg-debug.h +@@ -35,8 +35,9 @@ enum + GITG_DEBUG_CONFIG = 1 << 3 + }; + +-#if ENABLE_DEBUG + void gitg_debug_init (void); ++ ++#if ENABLE_DEBUG + gboolean gitg_debug_enabled (guint debug); + + void gitg_debug_message (guint level, +@@ -49,7 +50,6 @@ void gitg_debug_message (guint level, + #define gitg_debug(level,args...) gitg_debug_message (level, __FILE__, __LINE__, G_STRFUNC, args) + #else + +-#define gitg_debug_init ; + #define gitg_debug_enabled(x) FALSE + #define gitg_debug(level,args...) ; + +-- +1.7.4.1 + diff --git a/dev-vcs/gitg/gitg-0.1.2.ebuild b/dev-vcs/gitg/gitg-0.1.2.ebuild new file mode 100644 index 000000000000..03a72586f9dc --- /dev/null +++ b/dev-vcs/gitg/gitg-0.1.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitg/gitg-0.1.2.ebuild,v 1.1 2011/03/27 20:55:41 sping Exp $ + +EAPI="3" + +inherit eutils gnome2 + +DESCRIPTION="git repository viewer for GNOME" +HOMEPAGE="http://trac.novowork.com/gitg/" + +LICENSE="|| ( GPL-2 GPL-3 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug glade" + +RDEPEND=">=dev-libs/glib-2.26:2 + >=x11-libs/gtk+-2.19:2 + >=x11-libs/gtksourceview-2.8:2.0 + >=gnome-base/gconf-2.10:2 + >=gnome-base/gsettings-desktop-schemas-0.1.1 + dev-vcs/git + glade? ( dev-util/glade )" + +DEPEND="${RDEPEND} + >=sys-devel/gettext-0.17 + >=dev-util/pkgconfig-0.15 + >=dev-util/intltool-0.40" + +pkg_setup() { + G2CONF="${G2CONF} + --disable-dependency-tracking + $(use_enable debug) + $(use_enable glade glade-catalog)" + + DOCS="AUTHORS ChangeLog NEWS README" +} + +src_prepare() { + # Fix intltoolize broken file, see <https://bugzilla.gnome.org/show_bug.cgi?id=577133> + sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i "${S}/po/Makefile.in.in" || die "sed failed" + + epatch "${FILESDIR}"/${P}-fix-disable-debug.patch +} + +src_install() { + gnome2_src_install + find "${ED}" -name "*.la" -delete || die "Removal of .la files failed" +} + +src_test() { + emake check || die +} diff --git a/dev-vcs/gitg/metadata.xml b/dev-vcs/gitg/metadata.xml index 72602c0e7838..65b392ded667 100644 --- a/dev-vcs/gitg/metadata.xml +++ b/dev-vcs/gitg/metadata.xml @@ -13,5 +13,7 @@ <longdescription lang="en"> GTK+ based frontend for GIT </longdescription> + <use> + <flag name="glade">Install a glade catalog file</flag> + </use> </pkgmetadata> - |