Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package xiccd for openSUSE:Factory checked 
in at 2026-04-17 21:04:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xiccd (Old)
 and      /work/SRC/openSUSE:Factory/.xiccd.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xiccd"

Fri Apr 17 21:04:13 2026 rev:6 rq:1347626 version:0.4.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/xiccd/xiccd.changes      2020-08-17 
12:03:29.706631226 +0200
+++ /work/SRC/openSUSE:Factory/.xiccd.new.11940/xiccd.changes   2026-04-17 
21:04:43.394977766 +0200
@@ -1,0 +2,12 @@
+Thu Apr 16 20:14:38 UTC 2026 - Alexei Sorokin <[email protected]>
+
+- Update to version 0.4.0:
+  * Compatibility update.
+  * Use standard EDID parser instead of the own one.
+  * Various small cleanups.
+- Update to version 0.4.1:
+  * Fix sysconfdir name in Makefile.
+- Add xiccd-0.4.1-no-gamma-option.patch: Add --no-gamma (-G)
+  option (commit 06d3fa42).
+
+-------------------------------------------------------------------

Old:
----
  xiccd-0.3.0.tar.gz

New:
----
  xiccd-0.4.1-no-gamma-option.patch
  xiccd-0.4.1.tar.gz

----------(New B)----------
  New:  * Fix sysconfdir name in Makefile.
- Add xiccd-0.4.1-no-gamma-option.patch: Add --no-gamma (-G)
  option (commit 06d3fa42).
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xiccd.spec ++++++
--- /var/tmp/diff_new_pack.nJ5GeJ/_old  2026-04-17 21:04:43.955000692 +0200
+++ /var/tmp/diff_new_pack.nJ5GeJ/_new  2026-04-17 21:04:43.959000855 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package xiccd
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2026 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
@@ -17,13 +17,15 @@
 
 
 Name:           xiccd
-Version:        0.3.0
+Version:        0.4.1
 Release:        0
 Summary:        X11 ICC Daemon
 License:        GPL-3.0-or-later
 Group:          System/X11/Utilities
 URL:            https://github.com/agalakhov/xiccd
 Source:         
https://github.com/agalakhov/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# PATCH-FEATURE-UPSTREAM xiccd-0.4.1-no-gamma-option.patch [email protected] -- 
Add --no-gamma (-G) option.
+Patch0:         xiccd-0.4.1-no-gamma-option.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  pkgconfig
@@ -48,19 +50,22 @@
 few.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
-autoreconf -fi
+aclocal
+autoconf
+automake --add-missing --foreign
 %configure
 %make_build
 
 %install
 %make_install
+rm %{buildroot}%{_datadir}/doc/xiccd/README.md
 
 %files
 %license COPYING
-%doc ChangeLog README
+%doc ChangeLog README.md
 %{_sysconfdir}/xdg/autostart/
 %{_bindir}/%{name}
 %{_mandir}/man8/%{name}.8%{?ext_man}

++++++ xiccd-0.4.1-no-gamma-option.patch ++++++
--- a/src/randr-conn-private.c
+++ b/src/randr-conn-private.c
@@ -534,7 +534,7 @@ apply_icc (struct randr_display_priv *disp, GBytes 
*icc_bytes)
 }
 
 void
-randr_display_private_apply_icc (struct randr_display *disp, CdIcc *icc)
+randr_display_private_apply_icc (struct randr_display *disp, CdIcc *icc, 
gboolean no_gamma)
 {
        GBytes *icc_bytes = NULL;
        GError *err = NULL;
@@ -548,7 +548,8 @@ randr_display_private_apply_icc (struct randr_display 
*disp, CdIcc *icc)
                        g_clear_error (&err);
                }
        }
-       apply_gamma (pdisp, icc);
+       if (!no_gamma)
+               apply_gamma (pdisp, icc);
        apply_icc (pdisp, icc_bytes);
        if (icc_bytes)
                g_bytes_unref (icc_bytes);
diff --git a/src/randr-conn-private.h b/src/randr-conn-private.h
index dc0ece8..bbc8deb 100644
--- a/src/randr-conn-private.h
+++ b/src/randr-conn-private.h
@@ -52,7 +52,7 @@ void randr_conn_private_update (struct randr_conn *conn);
 struct randr_display *randr_conn_private_find_display (struct randr_conn *conn,
                                                       const gchar *key,
                                                       get_find_key_fn 
get_find_key);
-void randr_display_private_apply_icc (struct randr_display *disp, CdIcc *icc);
+void randr_display_private_apply_icc (struct randr_display *disp, CdIcc *icc, 
gboolean no_gamma);
 
 G_END_DECLS
 
diff --git a/src/randr-conn.c b/src/randr-conn.c
index 69608e3..2ef3257 100644
--- a/src/randr-conn.c
+++ b/src/randr-conn.c
@@ -135,9 +135,9 @@ struct randr_display *randr_conn_find_display_by_edid 
(RandrConn *conn, const gc
 }
 
 void
-randr_display_apply_icc (struct randr_display *disp, CdIcc *icc)
+randr_display_apply_icc (struct randr_display *disp, CdIcc *icc, gboolean 
no_gamma)
 {
-       randr_display_private_apply_icc (disp, icc);
+       randr_display_private_apply_icc (disp, icc, no_gamma);
 }
 
 /* vim: set ts=8 sw=8 tw=0 : */
diff --git a/src/randr-conn.h b/src/randr-conn.h
index 4f638a2..42fc75a 100644
--- a/src/randr-conn.h
+++ b/src/randr-conn.h
@@ -27,7 +27,7 @@ RandrConn *randr_conn_new (const gchar *display);
 void randr_conn_start (RandrConn *conn);
 struct randr_display *randr_conn_find_display_by_name (RandrConn *conn, const 
gchar *name);
 struct randr_display *randr_conn_find_display_by_edid (RandrConn *conn, const 
gchar *edid_cksum);
-void randr_display_apply_icc (struct randr_display *disp, CdIcc *icc);
+void randr_display_apply_icc (struct randr_display *disp, CdIcc *icc, gboolean 
no_gamma);
 
 G_END_DECLS
 
diff --git a/src/xiccd.c b/src/xiccd.c
index 568432b..d5f8077 100644
--- a/src/xiccd.c
+++ b/src/xiccd.c
@@ -15,6 +15,7 @@ typedef struct _Daemon {
 static struct {
        const gchar     *display;
              gboolean  edid;
+             gboolean  no_gamma;
 } config;
 
 static void
@@ -32,6 +33,8 @@ static GOptionEntry config_entries[] = {
                "Uses a specific display", NULL },
        { "edid", 'e', 0, G_OPTION_ARG_NONE, &config.edid,
                "Generates a default color profile based on the display model", 
NULL },
+       { "no-gamma", 'G', 0, G_OPTION_ARG_NONE, &config.no_gamma,
+               "Do not change display gamma tables", NULL },
        { NULL }
 };
 
@@ -111,13 +114,13 @@ update_device_cb (GObject *src, GAsyncResult *res, 
gpointer user_data)
                        }
                        g_debug ("loading profile '%s' for display %s",
                                 icc ? cd_icc_get_filename (icc) : "(none)", 
disp->name);
-                       randr_display_apply_icc (disp, icc);
+                       randr_display_apply_icc (disp, icc, config.no_gamma);
                        if (icc)
                                g_object_unref (icc);
                }
        } else {
                g_debug ("unloading profile for display %s", disp->name);
-               randr_display_apply_icc (disp, NULL);
+               randr_display_apply_icc (disp, NULL, config.no_gamma);
        }
 
 out:

++++++ xiccd-0.3.0.tar.gz -> xiccd-0.4.1.tar.gz ++++++
++++ 2018 lines of diff (skipped)

Reply via email to