4 Commits

Author SHA256 Message Date
27b1076099 Accepting request 1323645 from graphics
OBS-URL: https://build.opensuse.org/request/show/1323645
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/babl?expand=0&rev=70
2025-12-20 20:45:24 +00:00
190e003388 - Added 4efc8b827e.patch
Ensure git is really an optional dependency.
  Can be removed with the next update.
- Drop the buildrequires for git-core again

- Add BuildRequires for git-core as the meson build now needs
  git

- Update to 0.1.118:
  - build and portability fixes, babl is now relocatedable.

OBS-URL: https://build.opensuse.org/package/show/graphics/babl?expand=0&rev=103
2025-12-19 09:57:38 +00:00
826229ba39 Accepting request 1309399 from graphics
Forwarded request #1309282 from polslinux

- Update to 0.1.116:
  * build process updates
  * script cleanups

OBS-URL: https://build.opensuse.org/request/show/1309399
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/babl?expand=0&rev=69
2025-10-08 16:12:29 +00:00
67b17cf1a1 - Update to 0.1.116:
* build process updates
  * script cleanups

OBS-URL: https://build.opensuse.org/package/show/graphics/babl?expand=0&rev=101
2025-10-07 00:41:26 +00:00
5 changed files with 68 additions and 5 deletions

View File

@@ -0,0 +1,34 @@
From 4efc8b827e008417c4995a93ae3310697318cfab Mon Sep 17 00:00:00 2001
From: Bruno Lopes <brunvonlope@outlook.com>
Date: Thu, 11 Dec 2025 10:48:39 -0300
Subject: [PATCH] meson: Check for repository with python (not git executable)
Closes: #114
As per line 415 of the Meson file, git is not a mandatory dep.
---
meson.build | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/meson.build b/meson.build
index 1baefa88e..f7ae8bcc0 100644
--- a/meson.build
+++ b/meson.build
@@ -497,11 +497,9 @@ configure_file(
# updated. If git is not available, don't do anything if git-version.h
# already exists because then we are probably working with a tarball
# in which case the git-version.h we ship is correct.
-is_git_repository = run_command(
- git_bin,
- 'rev-parse',
- '--is-inside-work-tree',
- check: false,
+is_git_repository = run_command(python, '-c',
+ 'import sys,os; sys.exit(0 if os.path.exists(".git") else 1)',
+ check: false
).returncode() == 0
has_version_h = run_command(python, '-c',
--
GitLab

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bcbb7786c1e447703db3bc7fa34d62d0d2d117b22f04d8834c7b2d5ded456487
size 321456

3
babl-0.1.118.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c3febe923e225c2a58f952689a89bb1db956788bfecb18a7eff6fc94da9e2469
size 325412

View File

@@ -1,3 +1,30 @@
-------------------------------------------------------------------
Mon Dec 15 16:09:45 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Added https://gitlab.gnome.org/GNOME/babl/-/commit/4efc8b827e008417c4995a93ae3310697318cfab.patch
Ensure git is really an optional dependency.
Can be removed with the next update.
- Drop the buildrequires for git-core again
-------------------------------------------------------------------
Mon Dec 15 00:58:22 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Add BuildRequires for git-core as the meson build now needs
git
-------------------------------------------------------------------
Mon Dec 15 00:51:14 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Update to 0.1.118:
- build and portability fixes, babl is now relocatedable.
-------------------------------------------------------------------
Mon Oct 6 13:38:57 UTC 2025 - Paolo Stivanin <info@paolostivanin.com>
- Update to 0.1.116:
* build process updates
* script cleanups
-------------------------------------------------------------------
Mon May 19 07:15:36 UTC 2025 - Paolo Stivanin <info@paolostivanin.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package babl
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%define debug_package_requires libbabl-0_1-0 = %{version}-%{release}
Name: babl
Version: 0.1.114
Version: 0.1.118
Release: 0
Summary: Dynamic Pixel Format Translation Library
License: GPL-3.0-or-later AND LGPL-3.0-or-later
@@ -27,6 +27,8 @@ Group: Development/Libraries/C and C++
URL: https://gegl.org/babl/
Source0: https://download.gimp.org/pub/babl/0.1/%{name}-%{version}.tar.xz
Source99: baselibs.conf
# PATCH-FIX-UPSTREAM https://gitlab.gnome.org/GNOME/babl/-/commit/4efc8b827e008417c4995a93ae3310697318cfab.patch - really make git an optional dependency
Patch0: 4efc8b827e008417c4995a93ae3310697318cfab.patch
BuildRequires: meson >= 0.54.0
BuildRequires: pkgconfig
BuildRequires: vala