summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-libs/libgit2-glib
downloadgentoo-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 'dev-libs/libgit2-glib')
-rw-r--r--dev-libs/libgit2-glib/Manifest5
-rw-r--r--dev-libs/libgit2-glib/files/libgit2-glib-0.0.24-automagic-ssh.patch75
-rw-r--r--dev-libs/libgit2-glib/files/libgit2-glib-0.22.0-automagic-ssh.patch93
-rw-r--r--dev-libs/libgit2-glib/libgit2-glib-0.0.12.ebuild38
-rw-r--r--dev-libs/libgit2-glib/libgit2-glib-0.0.16.ebuild37
-rw-r--r--dev-libs/libgit2-glib/libgit2-glib-0.0.24.ebuild51
-rw-r--r--dev-libs/libgit2-glib/libgit2-glib-0.22.0.ebuild54
-rw-r--r--dev-libs/libgit2-glib/libgit2-glib-0.22.8.ebuild50
-rw-r--r--dev-libs/libgit2-glib/metadata.xml8
9 files changed, 411 insertions, 0 deletions
diff --git a/dev-libs/libgit2-glib/Manifest b/dev-libs/libgit2-glib/Manifest
new file mode 100644
index 00000000000..dd333074560
--- /dev/null
+++ b/dev-libs/libgit2-glib/Manifest
@@ -0,0 +1,5 @@
+DIST libgit2-glib-0.0.12.tar.xz 396768 SHA256 193125b314f588894b769058be28101fb0b2bec345520ca6398ee4e8b7319762 SHA512 b3299a20a1a24243604f33dff1e9df0ac0c244049d99e6ec29e9ae405e4370ff229b4b8186593347515930fd483a2b78dcb041d33749076f9dc9778d3674da06 WHIRLPOOL 41adce53f6b08172bcb9940f21141665fbcde04962ede9f68f1797cceeca8c68f156c5668d5a84f392a92ef57f2bc45a9e8b706cd2df98ec0e352ec66463b9cd
+DIST libgit2-glib-0.0.16.tar.xz 396212 SHA256 36fa374e2c01b42aab885c91f9a0da184a21fa06c9e3a273a3d4f593c083627e SHA512 1fcdec0dea0a5ba580e49ebc9805765adbeb827292f9a2686f8289dc98604a332bb4e553f4c74927020352f15eb3e0589c211c4b96d524167dc447268a382194 WHIRLPOOL 236286633c9aec5bcaeaa762e07ea4615081fb610dcf712bea48943aa34cd17ba371c5ec77cf3906ca16c83efe1d710feec486c7fc7c4743a82d1128fd21437e
+DIST libgit2-glib-0.0.24.tar.xz 422768 SHA256 8a0a6f65d86f2c8cb9bcb20c5e0ea6fd02271399292a71fc7e6852f13adbbdb8 SHA512 4500abd0e478293a86db1cd82536c6cc818b500b4784b03c168a2827509586d1f3670767e6e410e7e52e827e4e3c6086a538398287cbf1a274dce45edb72874d WHIRLPOOL dbecc4d146ab6f7c4f6bcb919ccda1e1cb5acca5b580cf6dd86c9a989b5a35e56222eab7d70832957a1c87a43e032f2a295869cf01264a10cf5459682e05baad
+DIST libgit2-glib-0.22.0.tar.xz 428776 SHA256 8ae19e1dd2a6b37dd81843182d96dc5f8d439013c26658670a08287abfedaee2 SHA512 8c1d76e93eb21fab823fcaf1067c703d05bf844d16653769c6c58c8b890e1439c8f9fe49bd4035a116785030ffc8d2c3927e42f8c69306233c9990c47621179a WHIRLPOOL 514a47886649e352a9e9589dc0a793ce01dae850ad2e1115761bfe1db4fd10d240dcdf6916c37bd1268e5e252f5dfa2af71aed4d7edcbc9eaaa3588aa6dd0dfe
+DIST libgit2-glib-0.22.8.tar.xz 429300 SHA256 05c9453b195f1af0df2a5d8bc71472c9fb26d14bb8fbb5b688ad1b8ef7a30959 SHA512 caa0076127cd846b31bc9d341ecb0a07b0a4e960b16387b241f1e322627d304636bf59c34a657675444a7a5be66ab645416be0be14cc0e841078f5ce2ac7c9fd WHIRLPOOL 831b57d9da81c5fb3e5ad06a6e7080b1570e2b215eb193a3704cb4b7caa2e361c3290e0b15ab3d27ecc4402756e9d1cd4e8db0da0ea4cd119eafefe32a987213
diff --git a/dev-libs/libgit2-glib/files/libgit2-glib-0.0.24-automagic-ssh.patch b/dev-libs/libgit2-glib/files/libgit2-glib-0.0.24-automagic-ssh.patch
new file mode 100644
index 00000000000..5c3904cc006
--- /dev/null
+++ b/dev-libs/libgit2-glib/files/libgit2-glib-0.0.24-automagic-ssh.patch
@@ -0,0 +1,75 @@
+diff --git a/configure.ac b/configure.ac
+index 8c1559c..94175c9 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -79,32 +79,44 @@ dnl ===========================================================================
+ dnl Check for libgit2 ssh support
+ dnl ===========================================================================
+
+-AC_MSG_CHECKING([for libgit2 ssh support])
+-
+-cflags_save="${CFLAGS}"
+-libs_save="${LIBS}"
+-
+-CFLAGS="${LIBGIT2_GLIB_CFLAGS}"
+-LIBS="${LIBGIT2_GLIB_LIBS}"
+-
+-AC_TRY_RUN([
+- #include <git2.h>
+- int
+- main(int argc, const char *argv[])
+- {
+- git_threads_init ();
+- return ((git_libgit2_features() & GIT_FEATURE_SSH) != 0) ? 0 : 1;
+- }
+-],[
+- AC_MSG_RESULT([yes])
+- git_ssh=yes
+-],[
+- AC_MSG_RESULT([no])
+- git_ssh=no
+-])
+-
+-CFLAGS="${cflags_save}"
+-LIBS="${libs_save}"
++AC_ARG_ENABLE([ssh],
++ AS_HELP_STRING([--enable-ssh[=@<:@no/auto/yes@:>@]],[Build with libgit2 ssh support]),
++ [enable_ssh=$enableval],
++ [enable_ssh="auto"])
++
++git_ssh=no
++
++if test "x$enable_ssh" != "xno"; then
++ AC_MSG_CHECKING([for libgit2 ssh support])
++
++ cflags_save="${CFLAGS}"
++ libs_save="${LIBS}"
++
++ CFLAGS="${LIBGIT2_GLIB_CFLAGS}"
++ LIBS="${LIBGIT2_GLIB_LIBS}"
++
++ AC_TRY_RUN([
++ #include <git2.h>
++ int
++ main(int argc, const char *argv[])
++ {
++ git_threads_init ();
++ return ((git_libgit2_features() & GIT_FEATURE_SSH) != 0) ? 0 : 1;
++ }
++ ],[
++ AC_MSG_RESULT([yes])
++ git_ssh=yes
++ ],[
++ AC_MSG_RESULT([no])
++ git_ssh=no
++ if test "x$enable_ssh" = "xyes"; then
++ AC_MSG_ERROR([libgit2 ssh support was requiested, but not found])
++ fi
++ ])
++
++ CFLAGS="${cflags_save}"
++ LIBS="${libs_save}"
++fi
+
+ if test "x$git_ssh" = "xyes"; then
+ LIBGIT2_GLIB_CFLAGS="${LIBGIT2_GLIB_CFLAGS} -DGIT_SSH=1"
diff --git a/dev-libs/libgit2-glib/files/libgit2-glib-0.22.0-automagic-ssh.patch b/dev-libs/libgit2-glib/files/libgit2-glib-0.22.0-automagic-ssh.patch
new file mode 100644
index 00000000000..9ec626486f6
--- /dev/null
+++ b/dev-libs/libgit2-glib/files/libgit2-glib-0.22.0-automagic-ssh.patch
@@ -0,0 +1,93 @@
+From e67a9ba456bc7f4b6b8c4899179d6b7a2863d592 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?R=C3=A9mi=20Cardona?= <remi@gentoo.org>
+Date: Tue, 20 Jan 2015 08:12:41 +0100
+Subject: [PATCH] configure: Add flag to force on or off SSH support
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Remove an automagic dependency on libgit2's SSH support.
+
+Signed-off-by: Rémi Cardona <remi@gentoo.org>
+---
+ configure.ac | 64 ++++++++++++++++++++++++++++++++++++------------------------
+ 1 file changed, 38 insertions(+), 26 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 1bd96bc..61744db 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -79,32 +79,44 @@ dnl ===========================================================================
+ dnl Check for libgit2 ssh support
+ dnl ===========================================================================
+
+-AC_MSG_CHECKING([for libgit2 ssh support])
+-
+-cflags_save="${CFLAGS}"
+-libs_save="${LIBS}"
+-
+-CFLAGS="${LIBGIT2_GLIB_CFLAGS}"
+-LIBS="${LIBGIT2_GLIB_LIBS}"
+-
+-AC_TRY_RUN([
+- #include <git2.h>
+- int
+- main(int argc, const char *argv[])
+- {
+- git_libgit2_init ();
+- return ((git_libgit2_features() & GIT_FEATURE_SSH) != 0) ? 0 : 1;
+- }
+-],[
+- AC_MSG_RESULT([yes])
+- git_ssh=yes
+-],[
+- AC_MSG_RESULT([no])
+- git_ssh=no
+-])
+-
+-CFLAGS="${cflags_save}"
+-LIBS="${libs_save}"
++AC_ARG_ENABLE([ssh],
++ AS_HELP_STRING([--enable-ssh[=@<:@no/auto/yes@:>@]],[Build with libgit2 ssh support]),
++ [enable_ssh=$enableval],
++ [enable_ssh="auto"])
++
++git_ssh=no
++
++if test "x$enable_ssh" != "xno"; then
++ AC_MSG_CHECKING([for libgit2 ssh support])
++
++ cflags_save="${CFLAGS}"
++ libs_save="${LIBS}"
++
++ CFLAGS="${LIBGIT2_GLIB_CFLAGS}"
++ LIBS="${LIBGIT2_GLIB_LIBS}"
++
++ AC_TRY_RUN([
++ #include <git2.h>
++ int
++ main(int argc, const char *argv[])
++ {
++ git_libgit2_init ();
++ return ((git_libgit2_features() & GIT_FEATURE_SSH) != 0) ? 0 : 1;
++ }
++ ],[
++ AC_MSG_RESULT([yes])
++ git_ssh=yes
++ ],[
++ AC_MSG_RESULT([no])
++ git_ssh=no
++ if test "x$enable_ssh" = "xyes"; then
++ AC_MSG_ERROR([libgit2 ssh support was requiested, but not found])
++ fi
++ ])
++
++ CFLAGS="${cflags_save}"
++ LIBS="${libs_save}"
++fi
+
+ if test "x$git_ssh" = "xyes"; then
+ LIBGIT2_GLIB_CFLAGS="${LIBGIT2_GLIB_CFLAGS} -DGIT_SSH=1"
+--
+2.2.1
+
diff --git a/dev-libs/libgit2-glib/libgit2-glib-0.0.12.ebuild b/dev-libs/libgit2-glib/libgit2-glib-0.0.12.ebuild
new file mode 100644
index 00000000000..cc79364132f
--- /dev/null
+++ b/dev-libs/libgit2-glib/libgit2-glib-0.0.12.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+GCONF_DEBUG="no"
+PYTHON_COMPAT=( python3_3 )
+
+inherit gnome2 python-r1
+
+DESCRIPTION="Git library for GLib"
+HOMEPAGE="https://wiki.gnome.org/Projects/Libgit2-glib"
+
+LICENSE="LGPL-2+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="python"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ >=dev-libs/libgit2-0.20.0:=
+ <dev-libs/libgit2-0.21
+ >=dev-libs/glib-2.28.0:2
+ >=dev-libs/gobject-introspection-0.10.1
+ python? (
+ ${PYTHON_DEPS}
+ dev-python/pygobject:3[${PYTHON_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+ >=dev-util/gtk-doc-am-1.11
+ virtual/pkgconfig
+"
+
+src_configure() {
+ gnome2_src_configure $(use_enable python)
+}
diff --git a/dev-libs/libgit2-glib/libgit2-glib-0.0.16.ebuild b/dev-libs/libgit2-glib/libgit2-glib-0.0.16.ebuild
new file mode 100644
index 00000000000..ef4e7f8012f
--- /dev/null
+++ b/dev-libs/libgit2-glib/libgit2-glib-0.0.16.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+GCONF_DEBUG="no"
+PYTHON_COMPAT=( python{3_3,3_4} )
+
+inherit gnome2 python-r1
+
+DESCRIPTION="Git library for GLib"
+HOMEPAGE="https://wiki.gnome.org/Projects/Libgit2-glib"
+
+LICENSE="LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="python"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ >=dev-libs/libgit2-0.21.0:=
+ >=dev-libs/glib-2.28.0:2
+ >=dev-libs/gobject-introspection-0.10.1
+ python? (
+ ${PYTHON_DEPS}
+ dev-python/pygobject:3[${PYTHON_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+ >=dev-util/gtk-doc-am-1.11
+ virtual/pkgconfig
+"
+
+src_configure() {
+ gnome2_src_configure $(use_enable python)
+}
diff --git a/dev-libs/libgit2-glib/libgit2-glib-0.0.24.ebuild b/dev-libs/libgit2-glib/libgit2-glib-0.0.24.ebuild
new file mode 100644
index 00000000000..72317accae4
--- /dev/null
+++ b/dev-libs/libgit2-glib/libgit2-glib-0.0.24.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"
+PYTHON_COMPAT=( python{3_3,3_4} )
+VALA_MIN_API_VERSION="0.22"
+VALA_USE_DEPEND="vapigen"
+
+inherit autotools eutils gnome2 python-r1 vala
+
+DESCRIPTION="Git library for GLib"
+HOMEPAGE="https://wiki.gnome.org/Projects/Libgit2-glib"
+
+LICENSE="LGPL-2+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="python ssh +vala"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ =dev-libs/libgit2-0.21*:=
+ >=dev-libs/glib-2.28.0:2
+ >=dev-libs/gobject-introspection-0.10.1
+ python? (
+ ${PYTHON_DEPS}
+ dev-python/pygobject:3[${PYTHON_USEDEP}] )
+ ssh? ( dev-libs/libgit2[ssh] )
+"
+DEPEND="${RDEPEND}
+ >=dev-util/gtk-doc-am-1.11
+ virtual/pkgconfig
+ vala? ( $(vala_depend) )
+"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-0.0.24-automagic-ssh.patch" # make libgit2[ssh] dep non-magic
+ eautoreconf
+ use vala && vala_src_prepare
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ $(use_enable python) \
+ $(use_enable ssh) \
+ $(use_enable vala)
+}
diff --git a/dev-libs/libgit2-glib/libgit2-glib-0.22.0.ebuild b/dev-libs/libgit2-glib/libgit2-glib-0.22.0.ebuild
new file mode 100644
index 00000000000..873bc26db0c
--- /dev/null
+++ b/dev-libs/libgit2-glib/libgit2-glib-0.22.0.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="no"
+PYTHON_COMPAT=( python{3_3,3_4} )
+VALA_MIN_API_VERSION="0.22"
+VALA_USE_DEPEND="vapigen"
+
+inherit autotools eutils gnome2 python-r1 vala
+
+DESCRIPTION="Git library for GLib"
+HOMEPAGE="https://wiki.gnome.org/Projects/Libgit2-glib"
+
+LICENSE="LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="python ssh +vala"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ >=dev-libs/libgit2-0.21.0:=
+ <dev-libs/libgit2-0.23
+ >=dev-libs/glib-2.28.0:2
+ >=dev-libs/gobject-introspection-0.10.1
+ python? (
+ ${PYTHON_DEPS}
+ dev-python/pygobject:3[${PYTHON_USEDEP}] )
+ ssh? ( dev-libs/libgit2[ssh] )
+"
+DEPEND="${RDEPEND}
+ >=dev-util/gtk-doc-am-1.11
+ virtual/pkgconfig
+ vala? ( $(vala_depend) )
+"
+
+src_prepare() {
+ # Make libgit2[ssh] dep non-magic, upstream bug #743236
+ epatch "${FILESDIR}/${PN}-0.22.0-automagic-ssh.patch"
+
+ eautoreconf
+ use vala && vala_src_prepare
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ $(use_enable python) \
+ $(use_enable ssh) \
+ $(use_enable vala)
+}
diff --git a/dev-libs/libgit2-glib/libgit2-glib-0.22.8.ebuild b/dev-libs/libgit2-glib/libgit2-glib-0.22.8.ebuild
new file mode 100644
index 00000000000..e4d8b1f5a9b
--- /dev/null
+++ b/dev-libs/libgit2-glib/libgit2-glib-0.22.8.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+GCONF_DEBUG="no"
+PYTHON_COMPAT=( python{3_3,3_4} )
+VALA_MIN_API_VERSION="0.22"
+VALA_USE_DEPEND="vapigen"
+
+inherit eutils gnome2 python-r1 vala
+
+DESCRIPTION="Git library for GLib"
+HOMEPAGE="https://wiki.gnome.org/Projects/Libgit2-glib"
+
+LICENSE="LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="python ssh +vala"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ >=dev-libs/libgit2-0.21.0:=
+ <dev-libs/libgit2-0.23
+ >=dev-libs/glib-2.28.0:2
+ >=dev-libs/gobject-introspection-0.10.1
+ python? (
+ ${PYTHON_DEPS}
+ dev-python/pygobject:3[${PYTHON_USEDEP}] )
+ ssh? ( dev-libs/libgit2[ssh] )
+"
+DEPEND="${RDEPEND}
+ >=dev-util/gtk-doc-am-1.11
+ virtual/pkgconfig
+ vala? ( $(vala_depend) )
+"
+
+src_prepare() {
+ use vala && vala_src_prepare
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ $(use_enable python) \
+ $(use_enable ssh) \
+ $(use_enable vala)
+}
diff --git a/dev-libs/libgit2-glib/metadata.xml b/dev-libs/libgit2-glib/metadata.xml
new file mode 100644
index 00000000000..a0afca69a12
--- /dev/null
+++ b/dev-libs/libgit2-glib/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>gnome</herd>
+ <use>
+ <flag name="ssh">Enable SSH transport support</flag>
+ </use>
+</pkgmetadata>