summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2013-03-29 08:22:05 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2013-03-29 08:22:05 +0000
commitf4643ea136ba6f9de3dc7468f23f507d1c09e153 (patch)
tree6c23186d201ca1bc917cd0d653ad113c2721536c /dev-vcs
parentFix pcie-aspm issue, per bug#462900, thanks to Manuel Rüger (diff)
downloadgentoo-2-f4643ea136ba6f9de3dc7468f23f507d1c09e153.tar.gz
gentoo-2-f4643ea136ba6f9de3dc7468f23f507d1c09e153.tar.bz2
gentoo-2-f4643ea136ba6f9de3dc7468f23f507d1c09e153.zip
Version bump to latest and add patch to make it work with huge repos (libreoffice). Drop overshadowed packages to reduce versions clutter.
(Portage version: 2.2.0_alpha169/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8)
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/gitg/ChangeLog14
-rw-r--r--dev-vcs/gitg/files/gitg-0.2.1-fix-disable-debug.patch58
-rw-r--r--dev-vcs/gitg/files/gitg-0.2.6-fix-libreoffice.patch371
-rw-r--r--dev-vcs/gitg/gitg-0.1.0.ebuild49
-rw-r--r--dev-vcs/gitg/gitg-0.2.2.ebuild58
-rw-r--r--dev-vcs/gitg/gitg-0.2.6.ebuild (renamed from dev-vcs/gitg/gitg-0.2.4.ebuild)32
6 files changed, 403 insertions, 179 deletions
diff --git a/dev-vcs/gitg/ChangeLog b/dev-vcs/gitg/ChangeLog
index ac77db09dbff..f51a2111f401 100644
--- a/dev-vcs/gitg/ChangeLog
+++ b/dev-vcs/gitg/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-vcs/gitg
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitg/ChangeLog,v 1.20 2012/06/11 09:19:31 ago Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitg/ChangeLog,v 1.21 2013/03/29 08:22:05 scarabeus Exp $
+
+*gitg-0.2.6 (29 Mar 2013)
+
+ 29 Mar 2013; Tomáš Chvátal <scarabeus@gentoo.org>
+ +files/gitg-0.2.6-fix-libreoffice.patch, +gitg-0.2.6.ebuild,
+ -files/gitg-0.2.1-fix-disable-debug.patch, -gitg-0.1.0.ebuild,
+ -gitg-0.2.2.ebuild, -gitg-0.2.4.ebuild:
+ Version bump to latest and add patch to make it work with huge repos
+ (libreoffice). Drop overshadowed packages to reduce versions clutter.
11 Jun 2012; Agostino Sarubbo <ago@gentoo.org> gitg-0.1.2.ebuild:
Stable for amd64, wrt bug #419893
@@ -134,4 +143,3 @@
08 Mar 2009; Mike Auty <ikelos@gentoo.org> +metadata.xml,
+gitg-0.0.1.ebuild:
Initial import, ebuild courtesy of Thorsten Vollmer (bug 258741).
-
diff --git a/dev-vcs/gitg/files/gitg-0.2.1-fix-disable-debug.patch b/dev-vcs/gitg/files/gitg-0.2.1-fix-disable-debug.patch
deleted file mode 100644
index 3c0b88133485..000000000000
--- a/dev-vcs/gitg/files/gitg-0.2.1-fix-disable-debug.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-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/files/gitg-0.2.6-fix-libreoffice.patch b/dev-vcs/gitg/files/gitg-0.2.6-fix-libreoffice.patch
new file mode 100644
index 000000000000..48f875a612c2
--- /dev/null
+++ b/dev-vcs/gitg/files/gitg-0.2.6-fix-libreoffice.patch
@@ -0,0 +1,371 @@
+From 9fda4e3c22475059f4910d3072e01c4436bfeca9 Mon Sep 17 00:00:00 2001
+From: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
+Date: Thu, 28 Mar 2013 00:08:17 +0100
+Subject: [PATCH] lp#1056378: make end to nonsensical premature 8-bit
+ optimization
+
+- 128 lanes are _not_ enough for everyone
+---
+ gitg/gitg-cell-renderer-path.c | 8 ++++----
+ libgitg/gitg-color.c | 6 +++---
+ libgitg/gitg-color.h | 2 +-
+ libgitg/gitg-lane.h | 2 +-
+ libgitg/gitg-lanes.c | 40 ++++++++++++++++++++--------------------
+ libgitg/gitg-lanes.h | 2 +-
+ libgitg/gitg-repository.c | 4 ++--
+ libgitg/gitg-revision.c | 8 ++++----
+ libgitg/gitg-revision.h | 6 +++---
+ 9 files changed, 39 insertions(+), 39 deletions(-)
+
+diff --git a/gitg/gitg-cell-renderer-path.c b/gitg/gitg-cell-renderer-path.c
+index 97902ee..e2ae957 100644
+--- a/gitg/gitg-cell-renderer-path.c
++++ b/gitg/gitg-cell-renderer-path.c
+@@ -151,7 +151,7 @@ static void
+ draw_arrow (GitgCellRendererPath *self,
+ cairo_t *cr,
+ const GdkRectangle *area,
+- gint8 laneidx,
++ gint32 laneidx,
+ gboolean top)
+ {
+ gdouble cw = self->priv->lane_width;
+@@ -187,7 +187,7 @@ draw_paths_real (GitgCellRendererPath *self,
+ }
+
+ GSList *lanes = gitg_revision_get_lanes (revision);
+- gint8 to = 0;
++ gint32 to = 0;
+ gdouble cw = self->priv->lane_width;
+ gdouble ch = area->height / 2.0;
+ GitgLane *lane;
+@@ -201,7 +201,7 @@ draw_paths_real (GitgCellRendererPath *self,
+
+ for (item = lane->from; item; item = item->next)
+ {
+- gint8 from = (gint8)GPOINTER_TO_INT (item->data);
++ gint32 from = (gint32)GPOINTER_TO_INT (item->data);
+
+ cairo_move_to (cr, area->x + from * cw + cw / 2.0,
+ area->y + yoffset * ch);
+@@ -241,7 +241,7 @@ draw_arrows (GitgCellRendererPath *self,
+ const GdkRectangle *area)
+ {
+ GSList *item;
+- gint8 to = 0;
++ gint32 to = 0;
+
+ for (item = gitg_revision_get_lanes (self->priv->revision); item; item = item->next)
+ {
+diff --git a/libgitg/gitg-color.c b/libgitg/gitg-color.c
+index d5eeb85..f13dd77 100644
+--- a/libgitg/gitg-color.c
++++ b/libgitg/gitg-color.c
+@@ -23,7 +23,7 @@
+ #include "gitg-color.h"
+ #include <gdk/gdk.h>
+
+-static gint8 current_index = 0;
++static gint32 current_index = 0;
+
+ static gchar const *palette[] = {
+ "#c4a000",
+@@ -72,10 +72,10 @@ gitg_color_set_cairo_source (GitgColor *color, cairo_t *cr)
+ cairo_set_source_rgb(cr, r, g, b);
+ }
+
+-static gint8
++static gint32
+ next_index ()
+ {
+- gint8 next = current_index++;
++ gint32 next = current_index++;
+
+ if (current_index == sizeof(palette) / sizeof(gchar const *))
+ current_index = 0;
+diff --git a/libgitg/gitg-color.h b/libgitg/gitg-color.h
+index c3c9bd3..1968597 100644
+--- a/libgitg/gitg-color.h
++++ b/libgitg/gitg-color.h
+@@ -33,7 +33,7 @@ typedef struct _GitgColor GitgColor;
+ struct _GitgColor
+ {
+ gulong ref_count;
+- gint8 index;
++ gint32 index;
+ };
+
+ void gitg_color_reset (void);
+diff --git a/libgitg/gitg-lane.h b/libgitg/gitg-lane.h
+index 61664db..4ce0737 100644
+--- a/libgitg/gitg-lane.h
++++ b/libgitg/gitg-lane.h
+@@ -47,7 +47,7 @@ typedef struct
+ {
+ GitgColor *color; /** Pointer to color */
+ GSList *from; /** List of lanes merging on this lane */
+- gint8 type;
++ gint32 type;
+ } GitgLane;
+
+ typedef struct
+diff --git a/libgitg/gitg-lanes.c b/libgitg/gitg-lanes.c
+index 41b8650..f3aaa61 100644
+--- a/libgitg/gitg-lanes.c
++++ b/libgitg/gitg-lanes.c
+@@ -46,7 +46,7 @@ typedef struct
+ typedef struct
+ {
+ GitgColor *color;
+- gint8 index;
++ gint32 index;
+ gchar const *from;
+ gchar const *to;
+ } CollapsedLane;
+@@ -109,10 +109,10 @@ free_lanes (GitgLanes *lanes)
+ static LaneContainer *
+ find_lane_by_hash (GitgLanes *lanes,
+ gchar const *hash,
+- gint8 *pos)
++ gint32 *pos)
+ {
+ GSList *item;
+- gint8 p = 0;
++ gint32 p = 0;
+
+ if (!hash)
+ {
+@@ -344,14 +344,14 @@ lane_container_next (LaneContainer *container,
+
+ static void
+ update_lane_merge_indices (GSList *from,
+- gint8 index,
++ gint32 index,
+ gint direction)
+ {
+ GSList *item;
+
+ for (item = from; item; item = g_slist_next (item))
+ {
+- gint8 idx = GPOINTER_TO_INT (item->data);
++ gint32 idx = GPOINTER_TO_INT (item->data);
+
+ if ((direction < 0 && idx > index) || (direction > 0 && idx >= index))
+ {
+@@ -362,7 +362,7 @@ update_lane_merge_indices (GSList *from,
+
+ static void
+ update_merge_indices (GSList *lanes,
+- gint8 index,
++ gint32 index,
+ gint direction)
+ {
+ GSList *item;
+@@ -378,7 +378,7 @@ update_merge_indices (GSList *lanes,
+ static void
+ add_collapsed (GitgLanes *lanes,
+ LaneContainer *container,
+- gint8 index)
++ gint32 index)
+ {
+ CollapsedLane *collapsed = collapsed_lane_new (container);
+ collapsed->index = index;
+@@ -389,7 +389,7 @@ add_collapsed (GitgLanes *lanes,
+ static void
+ collapse_lane (GitgLanes *lanes,
+ LaneContainer *container,
+- gint8 index)
++ gint32 index)
+ {
+ /* backtrack for inactive-collapse revisions and remove this container from
+ those revisions, appropriately updating merge indices etc */
+@@ -409,7 +409,7 @@ collapse_lane (GitgLanes *lanes,
+ GSList *collapsed = g_slist_nth(lns, index);
+ GitgLane *lane = (GitgLane *)collapsed->data;
+
+- gint8 newindex = GPOINTER_TO_INT(lane->from->data);
++ gint32 newindex = GPOINTER_TO_INT(lane->from->data);
+
+ lns = gitg_revision_remove_lane(revision, lane);
+
+@@ -445,8 +445,8 @@ collapse_lane (GitgLanes *lanes,
+
+ static void
+ update_current_lanes_merge_indices (GitgLanes *lanes,
+- gint8 index,
+- gint8 direction)
++ gint32 index,
++ gint32 direction)
+ {
+ GSList *item;
+
+@@ -462,7 +462,7 @@ static void
+ collapse_lanes (GitgLanes *lanes)
+ {
+ GSList *item = lanes->priv->lanes;
+- gint8 index = 0;
++ gint32 index = 0;
+
+ while (item)
+ {
+@@ -490,9 +490,9 @@ collapse_lanes (GitgLanes *lanes)
+ }
+ }
+
+-static gint8
++static gint32
+ ensure_correct_index (GitgRevision *revision,
+- gint8 index)
++ gint32 index)
+ {
+ guint len = g_slist_length (gitg_revision_get_lanes (revision));
+
+@@ -509,11 +509,11 @@ expand_lane (GitgLanes *lanes,
+ CollapsedLane *lane)
+ {
+ GSList *item;
+- gint8 index = lane->index;
++ gint32 index = lane->index;
+
+ GitgLane *ln = gitg_lane_new_with_color (lane->color);
+ guint len = g_slist_length (lanes->priv->lanes);
+- gint8 next;
++ gint32 next;
+
+ if (index > len)
+ {
+@@ -614,7 +614,7 @@ static void
+ init_next_layer (GitgLanes *lanes)
+ {
+ GSList *item = lanes->priv->lanes;
+- gint8 index = 0;
++ gint32 index = 0;
+
+ /* Initialize new set of lanes based on 'lanes'. It copies the lane (refs
+ the color) and adds the lane index as a merge (so it basicly represents
+@@ -628,7 +628,7 @@ init_next_layer (GitgLanes *lanes)
+ }
+
+ static void
+-prepare_lanes (GitgLanes *lanes, GitgRevision *next, gint8 *pos)
++prepare_lanes (GitgLanes *lanes, GitgRevision *next, gint32 *pos)
+ {
+ LaneContainer *mylane;
+ guint num;
+@@ -647,7 +647,7 @@ prepare_lanes (GitgLanes *lanes, GitgRevision *next, gint8 *pos)
+ /* Iterate over all parents and find them a lane */
+ for (i = 0; i < num; ++i)
+ {
+- gint8 lnpos;
++ gint32 lnpos;
+ LaneContainer *container = find_lane_by_hash (lanes, parents[i], &lnpos);
+
+ if (container)
+@@ -710,7 +710,7 @@ prepare_lanes (GitgLanes *lanes, GitgRevision *next, gint8 *pos)
+ }
+
+ GSList *
+-gitg_lanes_next (GitgLanes *lanes, GitgRevision *next, gint8 *nextpos)
++gitg_lanes_next (GitgLanes *lanes, GitgRevision *next, gint32 *nextpos)
+ {
+ LaneContainer *mylane;
+ GSList *res;
+diff --git a/libgitg/gitg-lanes.h b/libgitg/gitg-lanes.h
+index ae71757..8e02bbb 100644
+--- a/libgitg/gitg-lanes.h
++++ b/libgitg/gitg-lanes.h
+@@ -55,7 +55,7 @@ GType gitg_lanes_get_type (void) G_GNUC_CONST;
+
+ GitgLanes *gitg_lanes_new(void);
+ void gitg_lanes_reset(GitgLanes *lanes);
+-GSList *gitg_lanes_next(GitgLanes *lanes, GitgRevision *next, gint8 *mylane);
++GSList *gitg_lanes_next(GitgLanes *lanes, GitgRevision *next, gint32 *mylane);
+
+ G_END_DECLS
+
+diff --git a/libgitg/gitg-repository.c b/libgitg/gitg-repository.c
+index f1d1b18..2751800 100644
+--- a/libgitg/gitg-repository.c
++++ b/libgitg/gitg-repository.c
+@@ -865,7 +865,7 @@ append_revision (GitgRepository *repository,
+ GitgRevision *rv)
+ {
+ GSList *lanes;
+- gint8 mylane = 0;
++ gint32 mylane = 0;
+
+ if (repository->priv->size == 0)
+ {
+@@ -1158,7 +1158,7 @@ repository_relane (GitgRepository *repository)
+
+ for (i = 0; i < repository->priv->size; ++i)
+ {
+- gint8 mylane;
++ gint32 mylane;
+ GitgRevision *revision = repository->priv->storage[i];
+
+ GSList *lanes = gitg_lanes_next (repository->priv->lanes,
+diff --git a/libgitg/gitg-revision.c b/libgitg/gitg-revision.c
+index 579c878..37ca641 100644
+--- a/libgitg/gitg-revision.c
++++ b/libgitg/gitg-revision.c
+@@ -45,7 +45,7 @@ struct _GitgRevision
+ char sign;
+
+ GSList *lanes;
+- gint8 mylane;
++ gint32 mylane;
+ };
+
+ G_DEFINE_BOXED_TYPE (GitgRevision, gitg_revision, gitg_revision_ref, gitg_revision_unref)
+@@ -303,7 +303,7 @@ update_lane_type (GitgRevision *revision)
+ void
+ gitg_revision_set_lanes (GitgRevision *revision,
+ GSList *lanes,
+- gint8 mylane)
++ gint32 mylane)
+ {
+ free_lanes (revision);
+ revision->lanes = lanes;
+@@ -316,7 +316,7 @@ gitg_revision_set_lanes (GitgRevision *revision,
+ update_lane_type (revision);
+ }
+
+-gint8
++gint32
+ gitg_revision_get_mylane (GitgRevision *revision)
+ {
+ return revision->mylane;
+@@ -324,7 +324,7 @@ gitg_revision_get_mylane (GitgRevision *revision)
+
+ void
+ gitg_revision_set_mylane (GitgRevision *revision,
+- gint8 mylane)
++ gint32 mylane)
+ {
+ g_return_if_fail (mylane >= 0);
+
+diff --git a/libgitg/gitg-revision.h b/libgitg/gitg-revision.h
+index e01a141..72051d7 100644
+--- a/libgitg/gitg-revision.h
++++ b/libgitg/gitg-revision.h
+@@ -64,13 +64,13 @@ gchar **gitg_revision_get_parents (GitgRevision *revision);
+
+ GSList *gitg_revision_get_lanes (GitgRevision *revision);
+ GitgLane *gitg_revision_get_lane (GitgRevision *revision);
+-void gitg_revision_set_lanes (GitgRevision *revision, GSList *lanes, gint8 mylane);
++void gitg_revision_set_lanes (GitgRevision *revision, GSList *lanes, gint32 mylane);
+
+ GSList *gitg_revision_remove_lane (GitgRevision *revision, GitgLane *lane);
+ GSList *gitg_revision_insert_lane (GitgRevision *revision, GitgLane *lane, gint index);
+
+-gint8 gitg_revision_get_mylane (GitgRevision *revision);
+-void gitg_revision_set_mylane (GitgRevision *revision, gint8 mylane);
++gint32 gitg_revision_get_mylane (GitgRevision *revision);
++void gitg_revision_set_mylane (GitgRevision *revision, gint32 mylane);
+
+ void gitg_revision_set_sign(GitgRevision *revision, char sign);
+ char gitg_revision_get_sign(GitgRevision *revision);
+--
+1.8.1.5
+
diff --git a/dev-vcs/gitg/gitg-0.1.0.ebuild b/dev-vcs/gitg/gitg-0.1.0.ebuild
deleted file mode 100644
index 442bd9cb012d..000000000000
--- a/dev-vcs/gitg/gitg-0.1.0.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitg/gitg-0.1.0.ebuild,v 1.4 2012/06/09 14:29:42 sping Exp $
-
-EAPI="3"
-
-inherit gnome2
-
-DESCRIPTION="git repository viewer for GNOME"
-HOMEPAGE="http://git.gnome.org/browse/gitg/"
-
-LICENSE="|| ( GPL-2 GPL-3 )"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND=">=dev-libs/glib-2.26:2
- >=x11-libs/gtk+-2.18: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"
-
-DEPEND="${RDEPEND}
- >=sys-devel/gettext-0.17
- virtual/pkgconfig
- >=dev-util/intltool-0.40"
-
-pkg_setup() {
- G2CONF="${G2CONF}
- --disable-dependency-tracking
- --with-gtk=2.0"
-
- 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"
-}
-
-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/gitg-0.2.2.ebuild b/dev-vcs/gitg/gitg-0.2.2.ebuild
deleted file mode 100644
index 9d29fa86455a..000000000000
--- a/dev-vcs/gitg/gitg-0.2.2.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitg/gitg-0.2.2.ebuild,v 1.3 2012/06/09 14:29:42 sping Exp $
-
-EAPI="3"
-GNOME2_LA_PUNT="yes"
-GCONF_DEBUG="no"
-
-inherit eutils gnome2
-
-DESCRIPTION="git repository viewer for GNOME"
-HOMEPAGE="http://git.gnome.org/browse/gitg/"
-
-LICENSE="|| ( GPL-2 GPL-3 )"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-# FIXME: debug changes CFLAGS
-IUSE="debug glade"
-
-RDEPEND=">=dev-libs/glib-2.26:2
- >=x11-libs/gtk+-3.0.0:3
- >=x11-libs/gtksourceview-2.91.8:3.0
- >=gnome-base/gconf-2.10:2
- >=gnome-base/gsettings-desktop-schemas-0.1.1
- dev-vcs/git
- glade? ( >=dev-util/glade-3.2:3.10 )
-"
-DEPEND="${RDEPEND}
- >=sys-devel/gettext-0.17
- virtual/pkgconfig
- >=dev-util/intltool-0.40"
-
-pkg_setup() {
- # Disable maintainer to get rid of -Werror (bug #363009)
- G2CONF="${G2CONF}
- --disable-static
- --disable-deprecations
- --disable-dependency-tracking
- --disable-maintainer-mode
- $(use_enable debug)
- $(use_enable glade glade-catalog)"
-
- DOCS="AUTHORS ChangeLog NEWS README"
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.2.1-fix-disable-debug.patch
-
- # fix typo, see upstream bug 650648
- sed -e 's:$(GLADE_CATALOGDIR):$(GLADE_CATALOG_DIR):' -i data/Makefile* ||
- die "sed of data/Makefile* failed"
-
- gnome2_src_prepare
-}
-
-src_test() {
- emake check || die
-}
diff --git a/dev-vcs/gitg/gitg-0.2.4.ebuild b/dev-vcs/gitg/gitg-0.2.6.ebuild
index 50c99625fb19..f9481a83a014 100644
--- a/dev-vcs/gitg/gitg-0.2.4.ebuild
+++ b/dev-vcs/gitg/gitg-0.2.6.ebuild
@@ -1,25 +1,24 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitg/gitg-0.2.4.ebuild,v 1.4 2012/06/09 14:29:42 sping Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitg/gitg-0.2.6.ebuild,v 1.1 2013/03/29 08:22:05 scarabeus Exp $
-EAPI="3"
-GNOME2_LA_PUNT="yes"
-GCONF_DEBUG="no"
+EAPI=5
-inherit eutils gnome2
+GCONF_DEBUG="no"
+inherit base eutils gnome2
DESCRIPTION="git repository viewer for GNOME"
HOMEPAGE="http://git.gnome.org/browse/gitg/"
LICENSE="|| ( GPL-2 GPL-3 )"
SLOT="0"
-KEYWORDS="~amd64 ~x86 ~x86-linux"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
# FIXME: debug changes CFLAGS
IUSE="debug glade"
RDEPEND=">=dev-libs/glib-2.26:2
>=x11-libs/gtk+-3.0.0:3
- >=x11-libs/gtksourceview-3.0.0:3.0
+ >=x11-libs/gtksourceview-3.1.3:3.0
>=gnome-base/gconf-2.10:2
>=gnome-base/gsettings-desktop-schemas-0.1.1
dev-vcs/git
@@ -30,7 +29,18 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
>=dev-util/intltool-0.40"
-pkg_setup() {
+PATCHES=(
+ "${FILESDIR}/${PN}-0.2.6-fix-libreoffice.patch"
+)
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+src_prepare() {
+ base_src_prepare
+ gnome2_src_prepare
+}
+
+src_configure() {
# Disable maintainer to get rid of -Werror (bug #363009)
G2CONF="${G2CONF}
--disable-static
@@ -40,9 +50,9 @@ pkg_setup() {
$(use_enable debug)
$(use_enable glade glade-catalog)"
- DOCS="AUTHORS ChangeLog NEWS README"
+ gnome2_src_configure
}
src_test() {
- emake check || die
+ default
}