diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-24 23:59:54 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-24 23:59:54 +0000 |
commit | 401101f9c8077911929d3f2b60a37098460a5d89 (patch) | |
tree | c2bef4719f6787550f0916aeaa8f4f403a9296af /x11-misc/colord | |
parent | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (diff) |
gentoo resync : 25.03.2022
Diffstat (limited to 'x11-misc/colord')
-rw-r--r-- | x11-misc/colord/Manifest | 2 | ||||
-rw-r--r-- | x11-misc/colord/files/1.4.5-optional-introspection.patch | 64 | ||||
-rw-r--r-- | x11-misc/colord/files/1.4.5-tests-Don-t-use-exact-floating-point-comparisons.patch | 39 |
3 files changed, 0 insertions, 105 deletions
diff --git a/x11-misc/colord/Manifest b/x11-misc/colord/Manifest index de1fd32f5379..35d1247a6323 100644 --- a/x11-misc/colord/Manifest +++ b/x11-misc/colord/Manifest @@ -1,5 +1,3 @@ -AUX 1.4.5-optional-introspection.patch 2436 BLAKE2B d2572caf95e94e12f64a1a15bdb2f686a0fc5196cd29b66f2ff7f312bd904167442b60e6cce05c738ffec0c06ed8da280e6738082afca2a9117576fcafd5f0a8 SHA512 46a0b28dccb54adfe562f3f5763ae6160588be7ce7d4bd6f691d15e4df3007d08a28c1c4f787abe05eb37ae5d07a058021553989c584180c924e6ab4a6a06016 -AUX 1.4.5-tests-Don-t-use-exact-floating-point-comparisons.patch 1768 BLAKE2B b8620120b46b9095235d33d92a862971ed6d3944ed7cdbfb44eb161104e96c571327965267ee8de10cfac71fa3956639f87c6d16dde81571f5f2e0c7db073779 SHA512 ca08f1325fde85da14f7a348df054ff47bc2a008f57f33c7cb8a8f60394bdb453da1e94402bc69cd16a9ac4899f0b75766b879b1a1cd8217b39557d4a3856158 DIST colord-1.4.6.tar.xz 1872528 BLAKE2B bf87ed1abe0a827ad81b5467847975d70e4cb83c1973fac3bcb1650875b7a0b375d48633bb1b01c7da1e8acd62cc4cf19f0efe9722e12bde3d8ec4833800ef2c SHA512 d55d3322199d0bfee74eee9e183c9246ec33e755f0144d96087acb3c43ab5a3d872086fcef9f29cdd2295be71daac703cdf90ad10bf183622fdd84347e7af123 EBUILD colord-1.4.6.ebuild 3350 BLAKE2B 6b6badab6b2ab5780f14936386566467a6c3925ab58f45563331d32fe3c81b48f14603bb9bfa476eca202c113a71fff30aa0bd72634eea9250f676c16a49adfd SHA512 6f00b9fcc94a7a21d456499ea830a80a4311fdffff50aa322545edac919e2c46c67b200e6e9789c5db0f1f71212d1d423a95025501f80ac3d9a9eb5981843105 MISC metadata.xml 459 BLAKE2B 6d8217206edfdae4ed92783b04004d62c6eed7c8d684ad6b921d44c8830fee2aeb5480de68fbbe78535e4825333b1c312bb70196e18102e62d696e26597e8441 SHA512 4f255205fc902918b48a3c653e5c732a117df2e5a8f7ce6e4a7517b03694e14882e484440fce98e9c4cc13aa62739e01666d969e19947a5ae6e3b37130260508 diff --git a/x11-misc/colord/files/1.4.5-optional-introspection.patch b/x11-misc/colord/files/1.4.5-optional-introspection.patch deleted file mode 100644 index 8bc4580bebe3..000000000000 --- a/x11-misc/colord/files/1.4.5-optional-introspection.patch +++ /dev/null @@ -1,64 +0,0 @@ -From e73723cabe4d5a2e2b281d2f1ea751b2d75bccc6 Mon Sep 17 00:00:00 2001 -From: David Michael <fedora.dm0@gmail.com> -Date: Fri, 30 Apr 2021 16:28:17 -0400 -Subject: [PATCH] build: Make introspection optional in meson - -It defaults to enabled to preserve existing behavior. ---- - lib/colord/meson.build | 2 ++ - lib/colorhug/meson.build | 2 ++ - meson_options.txt | 1 + - 3 files changed, 5 insertions(+) - -diff --git a/lib/colord/meson.build b/lib/colord/meson.build -index dbb3d196..fe9d1cdb 100644 ---- a/lib/colord/meson.build -+++ b/lib/colord/meson.build -@@ -146,6 +146,7 @@ pkgg.generate( - description : 'colord is a system daemon for managing color devices', - ) - -+if get_option('introspection') - libcolord_girtarget = gnome.generate_gir(colord, - sources : [ - 'cd-client.c', -@@ -202,6 +203,7 @@ libcolord_girtarget = gnome.generate_gir(colord, - ) - libcolord_gir = libcolord_girtarget[0] - libcolord_typelib = libcolord_girtarget[1] -+endif - - if get_option('vapi') - gnome.generate_vapi('colord', -diff --git a/lib/colorhug/meson.build b/lib/colorhug/meson.build -index 9526ea4d..c0ce2887 100644 ---- a/lib/colorhug/meson.build -+++ b/lib/colorhug/meson.build -@@ -73,6 +73,7 @@ pkgg.generate( - description : 'ColorHug is a simple display hardware colorimeter', - ) - -+if get_option('introspection') - libcolorhug_gir = gnome.generate_gir(colorhug, - sources : [ - 'ch-common.c', -@@ -107,6 +108,7 @@ libcolorhug_gir = gnome.generate_gir(colorhug, - ], - install : true - ) -+endif - - if get_option('tests') - e = executable( -diff --git a/meson_options.txt b/meson_options.txt -index c184898e..10517622 100644 ---- a/meson_options.txt -+++ b/meson_options.txt -@@ -7,6 +7,7 @@ option('systemd', type : 'boolean', value : true, description : 'Enable systemd - option('argyllcms_sensor', type : 'boolean', value : true, description : 'Enable ArgllCMS sensor') - option('reverse', type : 'boolean', value : false, description : 'Enable reverse engineering tools') - option('sane', type : 'boolean', value : false, description : 'Enable SANE support') -+option('introspection', type : 'boolean', value : true, description : 'Build gobject-introspection typelib files') - option('vapi', type : 'boolean', value : false, description : 'Build vala bindings') - option('print_profiles', type : 'boolean', value : false, description : 'Build extra print profiles') - option('tests', type : 'boolean', value : true, description : 'Build self tests') diff --git a/x11-misc/colord/files/1.4.5-tests-Don-t-use-exact-floating-point-comparisons.patch b/x11-misc/colord/files/1.4.5-tests-Don-t-use-exact-floating-point-comparisons.patch deleted file mode 100644 index de56fe145440..000000000000 --- a/x11-misc/colord/files/1.4.5-tests-Don-t-use-exact-floating-point-comparisons.patch +++ /dev/null @@ -1,39 +0,0 @@ -From d68cd11cd31d379e4f3bb4c964b17fd50c8c54a6 Mon Sep 17 00:00:00 2001 -From: Christopher James Halse Rogers <raof@ubuntu.com> -Date: Wed, 11 Nov 2020 17:13:19 +1100 -Subject: [PATCH] tests: Don't use exact floating point comparisons. - -The tests asserting that cd_icc_get_version are exactly equal to 3.4 or -2.09 fail on (at least) i386, armel, and s390x because floating point is -hateful. - -Signed-off-by: Christopher James Halse Rogers <raof@ubuntu.com> ---- - lib/colord/cd-test-private.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/lib/colord/cd-test-private.c b/lib/colord/cd-test-private.c -index 4b16ca5..231c4ae 100644 ---- a/lib/colord/cd-test-private.c -+++ b/lib/colord/cd-test-private.c -@@ -1494,7 +1494,7 @@ colord_icc_func (void) - /* check profile properties */ - g_assert_cmpint (cd_icc_get_size (icc), ==, 25244); - g_assert_cmpstr (cd_icc_get_checksum (icc), ==, "9ace8cce8baac8d492a93a2a232d7702"); -- g_assert_cmpfloat (cd_icc_get_version (icc), ==, 3.4); -+ g_assert_cmpfloat_with_epsilon (cd_icc_get_version (icc), 3.4, 0.01); - g_assert (g_str_has_suffix (cd_icc_get_filename (icc), "ibm-t61.icc")); - g_assert_cmpint (cd_icc_get_kind (icc), ==, CD_PROFILE_KIND_DISPLAY_DEVICE); - g_assert_cmpint (cd_icc_get_colorspace (icc), ==, CD_COLORSPACE_RGB); -@@ -1727,7 +1727,7 @@ colord_icc_save_func (void) - g_object_unref (file); - - /* verify changed values */ -- g_assert_cmpfloat (cd_icc_get_version (icc), ==, 2.09); -+ g_assert_cmpfloat_with_epsilon (cd_icc_get_version (icc), 2.09, 0.001); - g_assert_cmpint (cd_icc_get_kind (icc), ==, CD_PROFILE_KIND_OUTPUT_DEVICE); - g_assert_cmpint (cd_icc_get_colorspace (icc), ==, CD_COLORSPACE_XYZ); - g_assert_cmpstr (cd_icc_get_metadata_item (icc, "SelfTest"), ==, "true"); --- -2.26.3 - |