forked from pool/libgit2-glib
Compare commits
7 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| e3d8b7573f | |||
| e6f5903d77 | |||
| 3fd8c0cf23 | |||
| 577b6f35fb | |||
| 85ede5908e | |||
| 05e8a37cf3 | |||
| 3e7fca2a50 |
9
_service
9
_service
@@ -3,16 +3,17 @@
|
||||
<service name="obs_scm" mode="manual">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://gitlab.gnome.org/GNOME/libgit2-glib.git</param>
|
||||
<param name="revision">v1.2.0</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
<param name="revision">v1.2.1</param>
|
||||
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
|
||||
<param name="versionrewrite-pattern">v?(.*)\+0</param>
|
||||
<param name="versionrewrite-replacement">\1</param>
|
||||
<!-- <param name="changesgenerate">enable</param>
|
||||
-->
|
||||
</service>
|
||||
<service name="tar" mode="buildtime"/>
|
||||
<service name="recompress" mode="buildtime">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
<param name="compression">zst</param>
|
||||
</service>
|
||||
<service name="set_version" mode="manual" />
|
||||
</services>
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:074aa1391c72979617cdb9e8aca4573e7aedc7a1a1b7bf32edcecb5197dc33d8
|
||||
size 1171468
|
||||
3
libgit2-glib-1.2.1.obscpio
Normal file
3
libgit2-glib-1.2.1.obscpio
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:53bca78bd6110bdaded80be5d91d9045f9c428400808ecedbbb17f88ba4d3511
|
||||
size 1182220
|
||||
@@ -1,73 +0,0 @@
|
||||
diff --git a/libgit2-glib/ggit-clone-options.c b/libgit2-glib/ggit-clone-options.c
|
||||
index b47fdb1..30c7d86 100644
|
||||
--- a/libgit2-glib/ggit-clone-options.c
|
||||
+++ b/libgit2-glib/ggit-clone-options.c
|
||||
@@ -19,6 +19,7 @@
|
||||
*/
|
||||
|
||||
#include <git2.h>
|
||||
+#include <git2/sys/errors.h>
|
||||
#include <gio/gio.h>
|
||||
|
||||
#include "ggit-clone-options.h"
|
||||
diff --git a/libgit2-glib/ggit-cred-ssh-interactive.c b/libgit2-glib/ggit-cred-ssh-interactive.c
|
||||
index 4f60f8b..0bdca95 100644
|
||||
--- a/libgit2-glib/ggit-cred-ssh-interactive.c
|
||||
+++ b/libgit2-glib/ggit-cred-ssh-interactive.c
|
||||
@@ -191,7 +191,7 @@ callback_wrapper (const char *name,
|
||||
{
|
||||
gchar *text;
|
||||
|
||||
- text = g_strndup (prompts[i].text, prompts[i].length);
|
||||
+ text = g_strndup ((const gchar *)prompts[i].text, prompts[i].length);
|
||||
|
||||
wprompts[i] = ggit_cred_ssh_interactive_prompt_new (wname,
|
||||
winstruction,
|
||||
diff --git a/libgit2-glib/ggit-remote-callbacks.h b/libgit2-glib/ggit-remote-callbacks.h
|
||||
index 3005ff4..2340712 100644
|
||||
--- a/libgit2-glib/ggit-remote-callbacks.h
|
||||
+++ b/libgit2-glib/ggit-remote-callbacks.h
|
||||
@@ -24,6 +24,7 @@
|
||||
|
||||
#include <glib-object.h>
|
||||
#include <git2.h>
|
||||
+#include <git2/sys/errors.h>
|
||||
#include <libgit2-glib/ggit-cred.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
diff --git a/libgit2-glib/ggit-repository.c b/libgit2-glib/ggit-repository.c
|
||||
index bf099f6..936c6fc 100644
|
||||
--- a/libgit2-glib/ggit-repository.c
|
||||
+++ b/libgit2-glib/ggit-repository.c
|
||||
@@ -3182,7 +3182,7 @@ ggit_repository_create_commit (GgitRepository *repository,
|
||||
message,
|
||||
_ggit_native_get (tree),
|
||||
parent_count,
|
||||
- (const git_commit **)parents_native);
|
||||
+ (gpointer)parents_native);
|
||||
|
||||
g_free (parents_native);
|
||||
|
||||
@@ -3323,7 +3323,7 @@ ggit_repository_create_commit_buffer(GgitRepository *repository,
|
||||
message,
|
||||
_ggit_tree_get_tree (tree),
|
||||
parent_count,
|
||||
- (git_commit const **)parents_native);
|
||||
+ (gpointer)parents_native);
|
||||
|
||||
g_free (parents_native);
|
||||
|
||||
diff --git a/libgit2-glib/ggit-types.h b/libgit2-glib/ggit-types.h
|
||||
index 7e28975..5666edd 100644
|
||||
--- a/libgit2-glib/ggit-types.h
|
||||
+++ b/libgit2-glib/ggit-types.h
|
||||
@@ -355,7 +355,8 @@ typedef enum
|
||||
GGIT_CONFIG_LEVEL_XDG = 3,
|
||||
GGIT_CONFIG_LEVEL_GLOBAL = 4,
|
||||
GGIT_CONFIG_LEVEL_LOCAL = 5,
|
||||
- GGIT_CONFIG_LEVEL_APP = 6,
|
||||
+ GGIT_CONFIG_LEVEL_WORKTREE = 6,
|
||||
+ GGIT_CONFIG_LEVEL_APP = 7,
|
||||
GGIT_CONFIG_LEVEL_HIGHEST = -1
|
||||
} GgitConfigLevel;
|
||||
|
||||
@@ -1,3 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 26 11:54:07 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Update to version 1.2.1:
|
||||
+ Compatibility changes for libgit2 >=1.8.0
|
||||
+ Fix definition of GGIT_MICRO_VERSION.
|
||||
+ examples: free allocated objects
|
||||
- Drop patches fixed upstream:
|
||||
+ 0001-fix-don-t-confuse-GGIT_MICRO_VERSION-and-GGIT_MINOR_.patch
|
||||
+ 0002-build-Fix-build-against-and-require-libgit2-1.8.0.patch
|
||||
+ 0003-chore-support-libgit2-1.9.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 29 14:42:57 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Remove libgit2-glib-include.patch and replace it with series of
|
||||
patches from the upstream issue tracker:
|
||||
+ 0001-fix-don-t-confuse-GGIT_MICRO_VERSION-and-GGIT_MINOR_.patch
|
||||
+ 0002-build-Fix-build-against-and-require-libgit2-1.8.0.patch
|
||||
+ 0003-chore-support-libgit2-1.9.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 3 07:32:07 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: libgit2-glib
|
||||
version: 1.2.0
|
||||
mtime: 1693730808
|
||||
commit: f9843757630160f1222ef084a47931c7d0b90fe3
|
||||
version: 1.2.1
|
||||
mtime: 1740564601
|
||||
commit: 4684169522f31796e1d1daedd90aae35e89c4d86
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libgit2-glib
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2013 Dominique Leuenberger, Amsterdam, The Netherlands.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -18,14 +18,13 @@
|
||||
|
||||
|
||||
Name: libgit2-glib
|
||||
Version: 1.2.0
|
||||
Version: 1.2.1
|
||||
Release: 0
|
||||
Summary: GLib wrapper library around libgit2
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://wiki.gnome.org/Projects/Libgit2-glib
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Patch0: libgit2-glib-include.patch
|
||||
Source0: %{name}-%{version}.tar.zst
|
||||
|
||||
BuildRequires: meson
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
Reference in New Issue
Block a user