glib2.0 1:2.74.5-1 (znver1;x86_64;aarch64) 2023-17201
10000

Status published
Submitter angrypenguinpoland [@T] gmail.com
Platform rolling
Repository main
URL https://abf.openmandriva.org/build_lists/287276
Packages
gio2.0-32-1:2.74.5-1.znver1.binary
gio2.0-32-debuginfo-1:2.74.5-1.znver1.debuginfo
gio2.0-64-1:2.74.5-1.znver1.binary
gio2.0-64-debuginfo-1:2.74.5-1.znver1.debuginfo
glib-gettextize-1:2.74.5-1.znver1.binary
glib2.0-1:2.74.5-1.znver1.source
glib2.0-common-1:2.74.5-1.znver1.binary
glib2.0-common-debuginfo-1:2.74.5-1.znver1.debuginfo
glib2.0-debugsource-1:2.74.5-1.znver1.binary
glib2.0-systemtap-1:2.74.5-1.znver1.binary
lib64gio2.0_0-1:2.74.5-1.znver1.binary
lib64gio2.0_0-debuginfo-1:2.74.5-1.znver1.debuginfo
lib64glib2.0-devel-1:2.74.5-1.znver1.binary
lib64glib2.0-devel-debuginfo-1:2.74.5-1.znver1.debuginfo
lib64glib2.0_0-1:2.74.5-1.znver1.binary
lib64glib2.0_0-debuginfo-1:2.74.5-1.znver1.debuginfo
lib64gmodule2.0_0-1:2.74.5-1.znver1.binary
lib64gmodule2.0_0-debuginfo-1:2.74.5-1.znver1.debuginfo
lib64gobject2.0_0-1:2.74.5-1.znver1.binary
lib64gobject2.0_0-debuginfo-1:2.74.5-1.znver1.debuginfo
lib64gthread2.0_0-1:2.74.5-1.znver1.binary
lib64gthread2.0_0-debuginfo-1:2.74.5-1.znver1.debuginfo
libgio2.0_0-1:2.74.5-1.znver1.binary
libgio2.0_0-debuginfo-1:2.74.5-1.znver1.debuginfo
libglib2.0-devel-1:2.74.5-1.znver1.binary
libglib2.0_0-1:2.74.5-1.znver1.binary
libglib2.0_0-debuginfo-1:2.74.5-1.znver1.debuginfo
libgmodule2.0_0-1:2.74.5-1.znver1.binary
libgmodule2.0_0-debuginfo-1:2.74.5-1.znver1.debuginfo
libgobject2.0_0-1:2.74.5-1.znver1.binary
libgobject2.0_0-debuginfo-1:2.74.5-1.znver1.debuginfo
libgthread2.0_0-1:2.74.5-1.znver1.binary
libgthread2.0_0-debuginfo-1:2.74.5-1.znver1.debuginfo
gio2.0-32-1:2.74.5-1.x86_64.binary
gio2.0-32-debuginfo-1:2.74.5-1.x86_64.debuginfo
gio2.0-64-1:2.74.5-1.x86_64.binary
gio2.0-64-debuginfo-1:2.74.5-1.x86_64.debuginfo
glib-gettextize-1:2.74.5-1.x86_64.binary
glib2.0-1:2.74.5-1.x86_64.source
glib2.0-common-1:2.74.5-1.x86_64.binary
glib2.0-common-debuginfo-1:2.74.5-1.x86_64.debuginfo
glib2.0-debugsource-1:2.74.5-1.x86_64.binary
glib2.0-systemtap-1:2.74.5-1.x86_64.binary
lib64gio2.0_0-1:2.74.5-1.x86_64.binary
lib64gio2.0_0-debuginfo-1:2.74.5-1.x86_64.debuginfo
lib64glib2.0-devel-1:2.74.5-1.x86_64.binary
lib64glib2.0-devel-debuginfo-1:2.74.5-1.x86_64.debuginfo
lib64glib2.0_0-1:2.74.5-1.x86_64.binary
lib64glib2.0_0-debuginfo-1:2.74.5-1.x86_64.debuginfo
lib64gmodule2.0_0-1:2.74.5-1.x86_64.binary
lib64gmodule2.0_0-debuginfo-1:2.74.5-1.x86_64.debuginfo
lib64gobject2.0_0-1:2.74.5-1.x86_64.binary
lib64gobject2.0_0-debuginfo-1:2.74.5-1.x86_64.debuginfo
lib64gthread2.0_0-1:2.74.5-1.x86_64.binary
lib64gthread2.0_0-debuginfo-1:2.74.5-1.x86_64.debuginfo
libgio2.0_0-1:2.74.5-1.x86_64.binary
libgio2.0_0-debuginfo-1:2.74.5-1.x86_64.debuginfo
libglib2.0-devel-1:2.74.5-1.x86_64.binary
libglib2.0_0-1:2.74.5-1.x86_64.binary
libglib2.0_0-debuginfo-1:2.74.5-1.x86_64.debuginfo
libgmodule2.0_0-1:2.74.5-1.x86_64.binary
libgmodule2.0_0-debuginfo-1:2.74.5-1.x86_64.debuginfo
libgobject2.0_0-1:2.74.5-1.x86_64.binary
libgobject2.0_0-debuginfo-1:2.74.5-1.x86_64.debuginfo
libgthread2.0_0-1:2.74.5-1.x86_64.binary
libgthread2.0_0-debuginfo-1:2.74.5-1.x86_64.debuginfo
gio2.0-64-1:2.74.5-1.aarch64.binary
gio2.0-64-debuginfo-1:2.74.5-1.aarch64.debuginfo
glib-gettextize-1:2.74.5-1.aarch64.binary
glib2.0-1:2.74.5-1.aarch64.source
glib2.0-common-1:2.74.5-1.aarch64.binary
glib2.0-common-debuginfo-1:2.74.5-1.aarch64.debuginfo
glib2.0-debuginfo-1:2.74.5-1.aarch64.debuginfo
glib2.0-debugsource-1:2.74.5-1.aarch64.binary
glib2.0-systemtap-1:2.74.5-1.aarch64.binary
lib64gio2.0_0-1:2.74.5-1.aarch64.binary
lib64gio2.0_0-debuginfo-1:2.74.5-1.aarch64.debuginfo
lib64glib2.0-devel-1:2.74.5-1.aarch64.binary
lib64glib2.0-devel-debuginfo-1:2.74.5-1.aarch64.debuginfo
lib64glib2.0_0-1:2.74.5-1.aarch64.binary
lib64glib2.0_0-debuginfo-1:2.74.5-1.aarch64.debuginfo
lib64gmodule2.0_0-1:2.74.5-1.aarch64.binary
lib64gmodule2.0_0-debuginfo-1:2.74.5-1.aarch64.debuginfo
lib64gobject2.0_0-1:2.74.5-1.aarch64.binary
lib64gobject2.0_0-debuginfo-1:2.74.5-1.aarch64.debuginfo
lib64gthread2.0_0-1:2.74.5-1.aarch64.binary
lib64gthread2.0_0-debuginfo-1:2.74.5-1.aarch64.debuginfo
Build Date 2023-01-21 16:25:14 +0000 UTC
Last Updated 2023-01-25 19:10:22.886105609 +0000 UTC
$ git diff --patch-with-stat --summary af23fcb3c67e1bb6276a0b4bc37e16d5ddce43bd..613dff388e54b9f243b02b0460ab55e10f47be2d

 .abf.yml     |  2 +-
 glib2.0.spec | 62 ++++++++++++++++++++++++++++++++++++++++++++----------------
 2 files changed, 47 insertions(+), 17 deletions(-)

diff --git a/.abf.yml b/.abf.yml
index 0319300..6c894e3 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
 sources:
-  glib-2.74.1.tar.xz: 91150e0471ebe3d37ba47f3ce74354812a202a84
+  glib-2.74.5.tar.xz: 0c0802e27b0835bc911a47952e885a5555f1873a
diff --git a/glib2.0.spec b/glib2.0.spec
index a70741a..c476f13 100644
--- a/glib2.0.spec
+++ b/glib2.0.spec
@@ -49,7 +49,7 @@ Summary:	GIMP Toolkit and GIMP Drawing Kit support library
 Name:		glib%{api}
 Epoch:		1
 # Do not upgrade to unstable release. 2.74 is stable, 2.75 unstable. Current unstable change ABI and is know to broke a lot of stuff.
-Version:	2.74.1
+Version:	2.74.5
 Release:	1
 Group:		System/Libraries
 License:	LGPLv2+
@@ -443,6 +443,36 @@ chrpath --delete %{buildroot}%{_libdir}/*.so
 
 rm -rf  %{buildroot}%{_libexecdir}/installed-tests %{buildroot}%{_datadir}/installed-tests
 
+# (tpg) strip LTO from "LLVM IR bitcode" files
+check_convert_bitcode() {
+    printf '%s\n' "Checking for LLVM IR bitcode"
+    llvm_file_name=$(realpath ${1})
+    llvm_file_type=$(file ${llvm_file_name})
+
+    if printf '%s\n' "${llvm_file_type}" | grep -q "LLVM IR bitcode"; then
+# recompile without LTO
+    clang %{optflags} -fno-lto -Wno-unused-command-line-argument -x ir ${llvm_file_name} -c -o ${llvm_file_name}
+    elif printf '%s\n' "${llvm_file_type}" | grep -q "current ar archive"; then
+    printf '%s\n' "Unpacking ar archive ${llvm_file_name} to check for LLVM bitcode components."
+# create archive stage for objects
+    archive_stage=$(mktemp -d)
+    archive=${llvm_file_name}
+    cd ${archive_stage}
+    ar x ${archive}
+    for archived_file in $(find -not -type d); do
+        check_convert_bitcode ${archived_file}
+        printf '%s\n' "Repacking ${archived_file} into ${archive}."
+        ar r ${archive} ${archived_file}
+    done
+    ranlib ${archive}
+    cd ..
+    fi
+}
+
+for i in $(find %{buildroot} -type f -name "*.[ao]"); do
+    check_convert_bitcode ${i}
+done
+
 # automatic gschema compilation on rpm installs/removals
 %transfiletriggerpostun -n %{name}-common --  %{_datadir}/glib-2.0/schemas/
 if [ -x %{_bindir}/glib-compile-schemas ]; then
@@ -471,10 +501,10 @@ fi
 %{_bindir}/gsettings
 %{_bindir}/gapplication
 %{_libexecdir}/gio-launch-desktop
-%{_mandir}/man1/gapplication.1*
-%{_mandir}/man1/glib-compile-schemas.1*
-%{_mandir}/man1/gsettings.1*
-%{_mandir}/man1/gdbus.1*
+%doc %{_mandir}/man1/gapplication.1*
+%doc %{_mandir}/man1/glib-compile-schemas.1*
+%doc %{_mandir}/man1/gsettings.1*
+%doc %{_mandir}/man1/gdbus.1*
 %dir %{_datadir}/glib-2.0/
 %dir %{_datadir}/glib-2.0/schemas/
 %{_datadir}/glib-2.0/schemas/gschema.dtd
@@ -500,8 +530,8 @@ fi
 %files -n %{gio}
 %{_bindir}/gio
 %{_bindir}/gio-querymodules-%{bit}
-%{_mandir}/man1/gio-querymodules*.1*
-%{_mandir}/man1/gio.1.*
+%doc %{_mandir}/man1/gio-querymodules*.1*
+%doc %{_mandir}/man1/gio.1.*
 %{_datadir}/bash-completion/completions/gio
 %ghost %{_libdir}/gio/modules/giomodule.cache
 
@@ -525,18 +555,18 @@ fi
 %{_datadir}/glib-%{api}/valgrind/
 %{_datadir}/bash-completion/completions/gresource
 %{_includedir}/*
-%{_mandir}/man1/gdbus-codegen.1*
-%{_mandir}/man1/glib-compile-resources.1*
-%{_mandir}/man1/glib-genmarshal.1*
-%{_mandir}/man1/glib-mkenums.1*
-%{_mandir}/man1/gobject-query.1*
-%{_mandir}/man1/gresource.1*
-%{_mandir}/man1/gtester-report.1*
-%{_mandir}/man1/gtester.1*
+%doc %{_mandir}/man1/gdbus-codegen.1*
+%doc %{_mandir}/man1/glib-compile-resources.1*
+%doc %{_mandir}/man1/glib-genmarshal.1*
+%doc %{_mandir}/man1/glib-mkenums.1*
+%doc %{_mandir}/man1/gobject-query.1*
+%doc %{_mandir}/man1/gresource.1*
+%doc %{_mandir}/man1/gtester-report.1*
+%doc %{_mandir}/man1/gtester.1*
 
 %files -n glib-gettextize
 %{_bindir}/glib-gettextize
-%{_mandir}/man1/glib-gettextize.1*
+%doc %{_mandir}/man1/glib-gettextize.1*
 %{_datadir}/aclocal/glib-gettext.m4
 %{_datadir}/glib-%{api}/gettext/
 
Not Available

angrypenguinpoland [@T] gmail.comGood672d 06hrs
benbullard79 [@T] cox.netNo Comment.672d 06hrs
benbullard79 [@T] cox.netNo Comment.669d 06hrs
benbullard79 [@T] cox.netNo Comment.669d 06hrs