Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mingw32-filesystem for 
openSUSE:Factory checked in at 2022-08-06 22:08:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mingw32-filesystem (Old)
 and      /work/SRC/openSUSE:Factory/.mingw32-filesystem.new.1521 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mingw32-filesystem"

Sat Aug  6 22:08:17 2022 rev:18 rq:993444 version:20220805

Changes:
--------
--- /work/SRC/openSUSE:Factory/mingw32-filesystem/mingw32-filesystem.changes    
2022-07-28 20:59:41.955764670 +0200
+++ 
/work/SRC/openSUSE:Factory/.mingw32-filesystem.new.1521/mingw32-filesystem.changes
  2022-08-06 22:08:31.758721296 +0200
@@ -1,0 +2,17 @@
+Thu Jul 28 15:22:52 UTC 2022 - Ralf Habacker <ralf.habac...@freenet.de>
+
+- Update to 20220805
+- Fix for generating the source file list for the debug package (boo#1201107).
+  * Added the script 'mingw-objdump-srcfiles' to determine the
+    source files used by the package in question.
+  * The gawk script is based on a perl script from jengelh, which was
+    not adopted due to an additional runtime dependency. 
+  * With this change, *.sym files are no longer included in generated
+    debug packages. 
+  * The now obsolete runtime dependency to mingw32-cross-breakpad-tools
+    has been removed
+- Exclude 'mlang.dll' and other dll's from automatic runtime library
+  detection required for win_iconv and libqt5 packages
+- Fix spelling in *.changes
+
+-------------------------------------------------------------------
@@ -4 +21 @@
-- Add 'arch-independent-package-conatins-binary-or-object' filter also
+- Add 'arch-independent-package-contains-binary-or-object' filter also
@@ -110 +127 @@
-  * w: non-etc-or-var-file-marked-as-conffile 
/usr/libexec/rpm/mingw32-cmake.prov
+  * W: non-etc-or-var-file-marked-as-conffile 
/usr/libexec/rpm/mingw32-cmake.prov

New:
----
  mingw-objdump-srcfiles

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

Other differences:
------------------
++++++ mingw32-filesystem.spec ++++++
--- /var/tmp/diff_new_pack.WQTaFc/_old  2022-08-06 22:08:32.390723133 +0200
+++ /var/tmp/diff_new_pack.WQTaFc/_new  2022-08-06 22:08:32.394723145 +0200
@@ -31,7 +31,7 @@
 %define _rpmmacrodir %{_sysconfdir}/rpm
 %endif
 Name:           mingw32-filesystem
-Version:        20220801
+Version:        20220805
 Release:        0
 Summary:        MinGW base filesystem and environment
 License:        GPL-2.0-or-later
@@ -53,6 +53,9 @@
 Source13:       mingw32-cmake.attr
 Source14:       macros.mingw32-cmake
 Source15:       mingw32-filesystem-rpmlintrc
+Source16:       mingw-objdump-srcfiles
+# add excluded system libraries to mingw32-find-requires.sh
+# TODO: The following provides could be removed after all packages has been 
rebuild
 Provides:       mingw32(bcrypt.dll)
 Provides:       mingw32(dbghelp.dll)
 Provides:       mingw32(mpr.dll)
@@ -199,6 +202,8 @@
   done
 done < %{SOURCE11}
 
+install -m 0755 %{SOURCE16} 
%{buildroot}%{_bindir}/i686-w64-mingw32-objdump-srcfiles
+
 %files
 %defattr(-,root,root,-)
 %doc COPYING
@@ -218,6 +223,7 @@
 %{_rpmconfigdir}/mingw32-cmake.prov
 %{_fileattrsdir}/mingw32-cmake.attr
 %{_bindir}/mingw32-*
+%{_bindir}/i686-w64-mingw32-*
 %{_libexecdir}/mingw32-scripts
 %{_prefix}/i686-w64-mingw32/
 %{_rpmconfigdir}/mingw32-*

++++++ mingw-objdump-srcfiles ++++++
#!/bin/sh

# SPDX-FileCopyrightText: 2022 Jan Engelhardt <jeng...@inai.de>
# SPDX-FileCopyrightText: 2022 Ralf Habacker <ralf.habac...@freenet.de>
# SPDX-License-Identifier: GPL-2.0-or-later

# get source filenames from dwarf debug sections

gawk '
BEGIN { state = 0 }

state == 1 && $2 ~ /DW_AT_name/ {
    atname = $NF
}

state == 1 && $2 ~ /DW_AT_comp_dir/ {
    atdir = $NF
    if (atdir != "" && atname != "") {
        print atdir "/" atname
        state = 0
    }
}

state == 0 && $0 ~ /DW_TAG_compile_unit/ {
    state = 1
    atdir = ""
    atname = ""
}
'

++++++ mingw32-find-debuginfo.sh ++++++
--- /var/tmp/diff_new_pack.WQTaFc/_old  2022-08-06 22:08:32.538723563 +0200
+++ /var/tmp/diff_new_pack.WQTaFc/_new  2022-08-06 22:08:32.542723575 +0200
@@ -26,7 +26,6 @@
 srcdir=`realpath $PWD`
 
 ROOT_DIR="/usr/$host/sys-root/mingw"
-SYMBOL_DIR="${ROOT_DIR}/symbols"
 SOURCE_DIR="${ROOT_DIR}/src"
 DEBUGSOURCE_DIR="${SOURCE_DIR}/debug"
 
@@ -44,14 +43,8 @@
 
        echo extracting debug info from $f
 
-       # breakpad symbols
-       symfile=`"$host-gen_sym_files" "$f" "$RPM_BUILD_ROOT$SYMBOL_DIR"`
-       echo $symfile
-       # grep all listed source files belonging to this package into temporary 
source file list
-       cat $symfile | grep "FILE" | cut -d' ' -f3 | grep $srcdir >> 
$SOURCEFILE.tmp
-       # remap file path in symbol file to src debug location
-       # we remap all files to make finding src files from other packages 
possible
-       sed -i "s,$BUILDDIR,$DEBUGSOURCE_DIR,g" $symfile
+       # grep all listed source files belonging to this package into temporary 
source file list.
+       "$host-objdump" -Wi "$f" | "$host-objdump-srcfiles" | grep $srcdir 
>>"$SOURCEFILE.tmp"
 
        "$host-objcopy" --only-keep-debug "$f" "$f.debug" || :
        pushd `dirname $f`
@@ -70,10 +63,6 @@
 | sort \
 | sed -n -e "s#^$RPM_BUILD_ROOT##p" > $BUILDDIR/$target-debugfiles.list
 
-if [ -e "$RPM_BUILD_ROOT/$SYMBOL_DIR" ]; then
-       echo "$SYMBOL_DIR" >> $BUILDDIR/$target-debugfiles.list
-fi
-
 echo creating debugsource file structure
 
 destdir=${RPM_BUILD_ROOT}${DEBUGSOURCE_DIR}
@@ -94,9 +83,6 @@
        fi
        echo copying $f to $o
        install -m 644 $f $o
-       # create debugsource.list
-       # we do not add each single file, see below
-       #echo $o | sed "s,${RPM_BUILD_ROOT},,g" >> $SOURCEFILE
 done
 rm $SOURCEFILE.tmp
 

++++++ mingw32-find-requires.sh ++++++
--- /var/tmp/diff_new_pack.WQTaFc/_old  2022-08-06 22:08:32.566723645 +0200
+++ /var/tmp/diff_new_pack.WQTaFc/_new  2022-08-06 22:08:32.570723656 +0200
@@ -31,16 +31,24 @@
 
 libs_to_exclude+="
     advapi32
+    bcrypt
     cfgmgr32
     comctl32
     comdlg32
     crypt32
+    d2d1
+    d3d11
+    d3d12
     d3d8
     d3d9
+    dbghelp
+    dcomp
     ddraw
     dnsapi
     dsound
     dwmapi
+    dwrite
+    dxgi
     dxva2
     evr
     gdi32
@@ -53,6 +61,8 @@
     ksuser
     mf
     mfplat
+    mlang
+    mpr
     mpr
     mscms
     mscoree
@@ -62,8 +72,10 @@
     msvcr90
     msvcrt
     mswsock
+    ncrypt
     netapi32
     odbc32
+    odbccp32
     ole32
     oleacc
     oleaut32
@@ -75,14 +87,17 @@
     shell32
     shlwapi
     user32
+    userenv
     usp10
+    uxtheme
     version
+    winhttp
     wininet
     winmm
     wldap32
     ws2_32
     wsock32
-    winhttp
+    wtsapi32
 "
 
 exclude_pattern=""

Reply via email to