41 Commits

Author SHA256 Message Date
222d8d5142 Accepting request 1071509 from home:rhabacker:branches:windows:mingw:win64:cmake-fixes
- Update to version 20230309
  * Let cmake macros be based on associated macros from macros.cmake
  * Add support to define a custom rpm macro when running mingw64
    related shell scripts, see mingw64-scripts.sh for details
  * Drop using external dependency generator (boo#1175587)
  * Add mingw64_*.attr files to support actual used dependency generator
  * Fix bug that rpm does not use attribute file for cmake by renaming
    to mingw64_cmake.attr (rpm does not like '-' in those file name
    and keys inside)
  * Extend mingw64_cmake.attr to find cmake support files in
    share subdirectory as required for example by mingw64-dlfcn-win32
  * Print deprecated message when using %_mingw64_makeinstall or
    %__mingw64_cmake
  * Reduce some differences to mingw32 in changes and other files,
    which are mostly indentions, hours, trailing '/', variable
    definition rows - make it easier to compare

OBS-URL: https://build.opensuse.org/request/show/1071509
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=153
2023-03-15 21:41:19 +00:00
49fa538ad7 Accepting request 1036609 from home:rhabacker:branches:windows:mingw:win64:issue-1204985-3
- Update to version 20221115
  * Fix doc in macros.mingw64 how to define macro _mingw64_find_requires_exclude
  * Change dependency to mingw64-cross-binutils-utils and
    mingw64-cross-pkgconf-utils to avoid cyclic dependencies (boo#1204985)
------------------------------------------------------------------
- Fix generating invalid source file path when scanning binaries
  (boo#1202865) 
  
- Update to 20220826
- Speed up objdump scanning binaries for source files (boo#1202431)
- Drop dependency on breakpad, since we now have our own
  mingw-objdump-srcfiles.
- 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 mingw64-cross-breakpad-tools
    has been removed
- Exclude 'mlang.dll' from automatic runtime library detection required
  for win_iconv package
- Fix spelling in *.changes  
- Add 'arch-independent-package-contains-binary-or-object' filter also
  for static libraries (boo#1201173)
- When scanning libraries exclude non real dll file names e.g. '%s.dll'
- Add missing runtime dependencies (boo#1188144)
- Use newer $host-pkgconf
- Fix using undefined STRINGS env variable
- Update to 20220801
- Fetch real used shared library name from import libraries to avoid
  file name generation errors, for example with mingw64-glib2
- Scan all archives for shared library names as packages may not use
  the default import library extension
- Fix finding qm files for KDE Frameworks >= 5.76 (taken from rpm-4.14.1)
- Update to 20220620
- Add more provides required by libqt5 related packages
- Add optional support for excluding runtime DLL dependencies to avoid
  rebuilding the whole project, see macro %_mingw64_find_requires_exclude
  in macros.mingw64 for details
  
- Update to 20220524
- On finding provides and requirements do not generate temporary 
  files in the global temporary directory (boo#1182356)
- Add optional support to add runtime dependencies for import
  libraries, see macros.mingw64 for details (boo#1194430)
- Fix warning 'file format not recognized' in mingw64-find-requires.sh
  when parsing xxx-config files
- Change all version comparisons for Tumbleweed to >= 1550 (instead
  of == 1550). Anything in Tumbleweed counts for current Tumbleweed
  plus future CODE branches. Additionally, the Tumbleweed
  suse_version code is not chiseled in stone.
- Fix install path and file format for global rpmlint config file on
  openSUSE_Tumbleweed (bug boo#1190304, boo#1190438)
- Use rpmlint-mini also on Leap 15.x to fix the conflict breakage
- Be more verbose when version in generated xxxConfigVersion.cmake
  files is empty (see https://build.opensuse.org/request/show/915515)
- Sync with mingw32 variant
- Force rpmlint use and avoid using of rpmlint-mini
-  Add provides for bcrypt.dll required by mingw64-gdb 10.2
- Add provides for ncrypt.dll required by mingw64-gnutls clients
- Move RPM macros to %_rpmmacrodir (boo#1185671)
- Move profile.d entries to %_distconfdir
- Use %_fileattrsdir macro
- Update to 20201105
- Add macro _mingw64_create_macro_links
- Add macro _mingw64_gdb and command line wrapper /usr/bin/mingw64-gdb
- In mingw64-scripts support rpm macro processing to
  https://rpm.org/user_doc/macros.htm
- Add macro _mingw64_gdb and command line wrapper /usr/bin/mingw64-gdb
- Update to 20201017
- Fix bug not keeping quotes in bash arguments provided to mingw64-scripts.sh
  which is for example required to specify a different cmake generator 
- Fix architecture in generating cmake provides
- Update to 20200825
- Fix
  * W: non-etc-or-var-file-marked-as-conffile /usr/libexec/rpm/fileattrs/mingw64-cmake.attr
  * W: non-etc-or-var-file-marked-as-conffile /usr/libexec/rpm/mingw64-cmake.prov
  * W: script-without-shebang /usr/libexec/rpm/fileattrs/mingw64-cmake.attr
  * W: non-standard-group Development/Libraries
  * installing mingw64-scripts on Tumbleweed
  * not using present rpmlint config for building this package
- Add missing Fortran case into macros.mingw64* (boo#1173990)
- Fix warning about non standard group (boo#1173189)
- Make cmake package support to be more in sync with native package
  * Add mingw64-cmake.prov and mingw64-cmake.attr ported from native
    cmake package to support generating mingw64(cmake:xxx) dependencies
    required by newer KDE Frameworks 5 and other packages.
  * Move out cmake related macros from macros.mingw64 into macros.mingw64-cmake
  * Define macro _mingw64_cmake_build
  * Fix deprecated call to %make_jobs
  CMake support may be better located in a package named mingw64-cross-cmake
  but need to be used here until the deprecated dependency generator provided
  by this package is converted to sets of *.attr/*.prov files.
- Add additional man languages 'id' and 'uk' used by KDE Frameworks5 packages
- Process debuginfo in a reproducible way (boo#1041090)
- Revert -lssp 
- Add -lssp to the link flags, otherwise building of some packages
  (like mingw64-cairo) will be aborted with the error 'undefined
  reference to `__memcpy_chk`'. This library seems not be added by
  gcc 9.2 automatically.
- add macro _mingw64_ldflags_bootstrap for bootstrap packages
- Add -fstack-protector to LDFLAGS 
- disable default debug package only if the mingw debug macro is used
- inital package for Factory submission

OBS-URL: https://build.opensuse.org/request/show/1036609
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=151
2022-11-21 09:20:31 +00:00
36534d29fa Accepting request 988899 from home:rhabacker:branches:windows:mingw:win64:Qt512
- Update to 20220620
- Add more provides required by libqt5 related packages
- Add optional support for excluding runtime DLL dependencies to avoid
  rebuilding the whole project, see macro %_mingw64_find_requires_exclude
  in macros.mingw64 for details

OBS-URL: https://build.opensuse.org/request/show/988899
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=135
2022-07-15 07:07:27 +00:00
67e63d9c18 Accepting request 978864 from home:rhabacker:branches:windows:mingw:win64:devruntimedeps
- Update to 20220524
- On finding provides and requirements do not generate temporary 
  files in the global temporary directory (boo#1182356)
- Add optional support to add runtime dependencies for import
  libraries, see macros.mingw64 for details (boo#1194430)
- Fix warning 'file format not recognized' in mingw64-find-requires.sh
  when parsing xxx-config files

OBS-URL: https://build.opensuse.org/request/show/978864
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=133
2022-05-24 08:26:51 +00:00
Ismail Dönmez
2fee8d5632 Accepting request 847606 from windows:mingw:win64:snapshots
- Update to 20201105
- Add macro _mingw64_create_macro_links
- Add macro _mingw64_gdb and command line wrapper /usr/bin/mingw64-gdb
- In mingw64-scripts support rpm macro processing to
  https://rpm.org/user_doc/macros.htm
- Add macro _mingw64_gdb and command line wrapper /usr/bin/mingw64-gdb

OBS-URL: https://build.opensuse.org/request/show/847606
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=123
2020-11-11 07:22:07 +00:00
d5dd5b403b Accepting request 828163 from windows:mingw:win64:snapshots
- Add missing Fortran case into macros.mingw64* (boo#1173990)
- Fix warning about non standard group (boo#1173189)
- Make cmake package support to be more in sync with native package
  * Add mingw64-cmake.prov and mingw64-cmake.attr ported from native
    cmake package to support generating mingw64(cmake:xxx) dependencies
    required by newer KDE Frameworks 5 and other packages.
  * Move out cmake related macros from macros.mingw64 into macros.mingw64-cmake
  * Define macro _mingw64_cmake_build
  * Fix deprecated call to %make_jobs
  CMake support may be better located in a package named mingw64-cross-cmake
  but need to be used here until the deprecated dependency generator provided
  by this package is converted to sets of *.attr/*.prov files.
- Add additional man languages 'id' and 'uk' used by KDE Frameworks5 packages

OBS-URL: https://build.opensuse.org/request/show/828163
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=115
2020-08-24 14:03:28 +00:00
2c30c982aa Accepting request 758334 from home:e9925248:branches:windows:mingw:win32
Revert last change

Adding -lssp to LDFLAGS causes other faults like expat, because libtool also has issues with -lssp.

If fstack-protector is in use, it needs to be passed to all gcc call.  The root cause of the cairo build failures are an outdated libtool, which drops -fstack-protector. Such build system needs to be regenerated using a newer libtool or updated with a newer
upstream version.

OBS-URL: https://build.opensuse.org/request/show/758334
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=110
2019-12-20 08:16:24 +00:00
Ismail Dönmez
6df576063b Accepting request 757515 from home:rhabacker:branches:windows:mingw:win64:misc
- Add -lssp to the link flags, otherwise building of some packages  (like mingw64-cairo) will be aborted with the error 'undefined reference to `__memcpy_chk` and probably `__chk_fail`'. This library seems not be added by
  gcc 9.2 automatically.

OBS-URL: https://build.opensuse.org/request/show/757515
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=109
2019-12-17 15:47:14 +00:00
bb88710aa3 Accepting request 750807 from home:rhabacker:branches:windows:mingw:win64
- add macro _mingw64_ldflags_bootstrap for bootstrap packages

OBS-URL: https://build.opensuse.org/request/show/750807
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=108
2019-11-25 16:39:57 +00:00
Ismail Dönmez
52c55e23e0 - Add -fstack-protector to LDFLAGS
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=107
2019-11-25 05:05:25 +00:00
Ismail Dönmez
7bfb6a4a85 Accepting request 750324 from home:lnussel:mingw
- disable default debug package only if the mingw debug macro is used

OBS-URL: https://build.opensuse.org/request/show/750324
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=106
2019-11-22 15:35:58 +00:00
a1a2c4dce5 Accepting request 714260 from windows:mingw:win64:staging
- fix finding executables (required by kicad 5.1.2, which uses unusual shared library names)
- introduce _mingw32_cxxflags to be feature compatible to c
- add macro _mingw32_make_install to keep in sync with %_make_install
- provide odbccp32.dll (required by OpenSceneGraph)
- mingw32-find-requires.sh: fix parsing multiple libraries from pkg-config files

OBS-URL: https://build.opensuse.org/request/show/714260
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=103
2019-07-22 10:18:05 +00:00
6b1f91a9aa OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=102 2019-01-17 09:38:58 +00:00
82ef15158a Accepting request 511456 from home:rhabacker:branches:windows:mingw:win64
- fix errors in mingw64-find-lang.sh
- add missing pathes to path layout
- add macro _mingw64_cmake_install
- add sources to <packages>-debug packages to support source level debugging to gdb
- disabled native debuginfo/debugsource which confuses more than it does helps 
- fix language (forgot this fix to keep in sync with mingw32)

OBS-URL: https://build.opensuse.org/request/show/511456
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=98
2017-07-20 11:19:10 +00:00
7074cd5c6c OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=92 2015-09-09 07:32:20 +00:00
bc79a82054 Accepting request 316385 from home:rhabacker:branches:windows:mingw:win64
add language support

OBS-URL: https://build.opensuse.org/request/show/316385
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=91
2015-07-15 06:03:41 +00:00
3b3c57c1ca OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=86 2014-10-29 10:43:48 +00:00
bc441336f9 Allow specifying the name of debug package
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=85
2014-10-29 09:33:15 +00:00
e7e8663c59 buildsubdir is not defined at the time of %global expansion
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=83
2014-10-23 05:51:50 +00:00
c587057c20 Use new filelists
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=80
2014-10-22 17:07:28 +00:00
49d1f05cab rpm ticket 878 says we do need %global
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=76
2014-10-22 14:05:18 +00:00
d4aac84873 Newline in the expansion was missing
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=75
2014-10-22 01:03:02 +00:00
0309079717 %define is acceptable, since we are already in the global scope normally. Additionally, use the lazy evaluation behavior.
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=73
2014-10-21 13:22:51 +00:00
a616524364 mingw32(abc.dll) was not generated; switching to %global alleviates this
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=72
2014-10-21 13:11:07 +00:00
3fb5a661f5 Synchronize macros. Copy from win32.
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=70
2014-10-20 17:33:21 +00:00
f4af1fe163 As we consider PEs to be noarch, its debuginfo is too
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=69
2014-10-20 17:25:48 +00:00
Dominik Schmidt
d62ca52ed4 OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=65 2014-08-28 14:38:28 +00:00
Fridrich Strba
fb72c00055 OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=49 2013-07-24 20:03:52 +00:00
d0b794bdca Trying to make linker use less memory even though that means it will be a tad slower, but swapping is not fast either
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=46
2012-08-30 06:55:50 +00:00
f447494389 Trying to be (apart the _FORTIFY_SOURCE which is anyway glibc feature) compatible with Fedora
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=43
2011-11-10 09:01:58 +00:00
044d5c4aec OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=33 2011-04-13 09:24:16 +00:00
4047f83432 OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=32 2011-04-13 08:48:20 +00:00
2f035bb721 OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=30 2011-03-15 11:44:43 +00:00
a95d58ffcb OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=27 2010-12-20 02:23:37 +00:00
ddca6f2251 OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=26 2010-12-20 00:41:32 +00:00
Fridrich Strba
199b9c903d OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=19 2009-12-22 13:11:31 +00:00
40d6c5a0cf OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=12 2009-11-30 15:30:30 +00:00
47788e112e OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=11 2009-11-30 11:28:26 +00:00
888f186f0b OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=7 2009-11-17 17:49:00 +00:00
6095c5a8ee OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=3 2009-07-16 13:00:20 +00:00
7922a8ea9a OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=1 2009-04-08 13:11:27 +00:00