[info=7ebb83d8ceaedf201b5074812286555b6e0edd8406610adcc2358c61ce651e7c]

OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-winpthreads?expand=0&rev=41
This commit is contained in:
Jan Engelhardt 2024-08-28 12:23:45 +00:00 committed by Git OBS Bridge
commit d9e9b1bdc9
8 changed files with 249 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

4
_scmsync.obsinfo Normal file
View File

@ -0,0 +1,4 @@
mtime: 1699910303
commit: 7ebb83d8ceaedf201b5074812286555b6e0edd8406610adcc2358c61ce651e7c
url: https://src.opensuse.org/mingw/mingw32-winpthreads
revision: master

3
build.specials.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:07d3ad372e5ac70cafc67e49c7eb952222499ef7cd73ca69b8b7cbb9158fb8e2
size 256

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3f66bce069ee8bed7439a1a13da7cb91a5e67ea6170f21317ac7f5794625ee10
size 10057401

View File

@ -0,0 +1,3 @@
addFilter("arch-independent-package-contains-binary-or-object")
addFilter("devel-file-in-non-devel-package")
addFilter("spurious-executable-perm")

120
mingw32-winpthreads.changes Normal file
View File

@ -0,0 +1,120 @@
-------------------------------------------------------------------
Fri Nov 3 12:37:48 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Update to release 11.0.1
* crt: Fix .seh_handler directives for ARM
-------------------------------------------------------------------
Mon Jun 27 16:37:24 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Update to release 10
* New msvcrt10, 20, 40, 70 and 71 import libraries.
-------------------------------------------------------------------
Wed Sep 22 07:54:22 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Add arch-independent-package-contains-binary-or-object
to rpmlintrc
-------------------------------------------------------------------
Sat Jul 3 10:32:57 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Update to release 9.0.0
* unspecified winpthreads fixes
-------------------------------------------------------------------
Wed Mar 17 15:52:33 UTC 2021 - Jeff Kowalczyk <jkowalczyk@suse.com>
- Update to new upstream release 8.0.0
* Always define `__USE_MINGW_ANSI_STDIO` to zero
* Remove unused dwFlags variable in sched.c
* Don't call SetThreadContext in winstore builds
* Do not call GetHandleInformation in winstore build
* Simplify the handle validity in pthread_check()
* Always return 0 in pthread_check() if the thread ended is 0
* Do not use the XXXExceptionHandler API in winstore builds
* Simplify the USE_VEH_FOR_MSC_SETTHREADNAME check
-------------------------------------------------------------------
Mon Nov 25 17:31:02 UTC 2019 - Ralf Habacker <ralf.habacker@freenet.de>
- Use macro _mingw32_ldflags_bootstrap from mingw32-filesystem package
for setting LDFLAGS to keep common settings in one place
- Revert to use mingw32-cross-gcc-bootstrap again
-------------------------------------------------------------------
Mon Nov 25 09:23:14 UTC 2019 - Ralf Habacker <ralf.habacker@freenet.de>
- Use mingw32-cross-gcc to fix a compile error caused by
mingw32-cross-gcc-bootstrap-9.2 does not provide ssp library
-------------------------------------------------------------------
Sat Nov 23 14:48:55 UTC 2019 - Ismail Dönmez <idonmez@suse.com>
- Update to new upstream release 7.0.0
* No changelog entries specific to winphtreads found.
-------------------------------------------------------------------
Wed Oct 17 19:02:09 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Update to new upstream release 6.0.0
* No changelog entries specific to winpthreads found.
-------------------------------------------------------------------
Wed Nov 22 09:51:09 UTC 2017 - idonmez@suse.com
- Update to version 5.0.3
-------------------------------------------------------------------
Tue Mar 28 11:43:07 UTC 2017 - idonmez@suse.com
- Update to version 5.0.2
* Fix some crashes in due to misaligned memory access when
used with some SSE instructions.
- Drop memleak.patch, fixed upstream.
-------------------------------------------------------------------
Sat Jan 14 20:40:09 UTC 2017 - idonmez@suse.com
- Update to version 5.0.1
-------------------------------------------------------------------
Wed Mar 23 21:33:34 UTC 2016 - jengelh@inai.de
- Update to new upstream release 5.0~rc1
* Winpthreads performance improvements
* ARM, gcc-5 support
-------------------------------------------------------------------
Fri Sep 4 11:58:16 UTC 2015 - idonmez@suse.com
- Update to version 4.0.4
* Major speed improvements to mutex & spinlock implementation
-------------------------------------------------------------------
Fri May 29 09:27:48 UTC 2015 - idonmez@suse.com
- Enable static libraries
-------------------------------------------------------------------
Wed Mar 25 10:38:10 UTC 2015 - jengelh@inai.de
- Update to winpthreads from mingw-w64-4.0.1
* Reentrant time functions localtime_r, gmtime_r, etc. are removed
from pthread.h and are now available through time.h ONLY.
-------------------------------------------------------------------
Mon Jul 14 10:47:35 UTC 2014 - jengelh@inai.de
- Implement shlib package naming guidelines
-------------------------------------------------------------------
Thu Jun 19 12:24:42 UTC 2014 - jw@owncloud.com
- BuildRequires: mingw32-runtime
Linker fails miserably without.
-------------------------------------------------------------------
Mon Feb 3 12:07:45 UTC 2014 - jengelh@inai.de
- Initial package (version 3.1.0) for build.opensuse.org

92
mingw32-winpthreads.spec Normal file
View File

@ -0,0 +1,92 @@
#
# spec file for package mingw32-winpthreads
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: mingw32-winpthreads
Version: 11.0.1
Release: 0
Summary: A pthreads implementation for Windows
License: BSD-3-Clause AND MIT
Group: Development/Libraries/C and C++
URL: http://mingw-w64.sf.net/
Source: http://downloads.sf.net/mingw-w64/mingw-w64-v%{version}.tar.bz2
Source9: %name-rpmlintrc
BuildRequires: mingw32-cross-gcc-bootstrap
BuildRequires: mingw32-cross-pkg-config
BuildRequires: mingw32-filesystem
BuildRequires: mingw32-runtime
BuildRequires: xz
%_mingw32_package_header_debug
BuildArch: noarch
#!BuildIgnore: post-build-checks
%description
mingw-w64's implementation of POSIX threads for Windows.
%package -n mingw32-libwinpthread1
Summary: A pthreads implementation for Windows
Group: System/Libraries
Obsoletes: mingw32-winpthreads
%description -n mingw32-libwinpthread1
mingw-w64's implementation of POSIX threads for Windows.
%package devel
Summary: Development files for mingw32-winpthreads
Group: Development/Libraries/C and C++
Requires: mingw32-libwinpthread1 = %version
Provides: mingw32-unistd-pthread-devel
Obsoletes: mingw32-headers-dummy-pthread
Conflicts: mingw32-headers-dummy-pthread
Conflicts: otherproviders(mingw32-unistd-pthread-devel)
%description devel
mingw-w64's implementation of POSIX threads for Windows.
%_mingw32_debug_package
%prep
%autosetup -p1 -n mingw-w64-v%version/mingw-w64-libraries/winpthreads
%build
# The build is trying to link with libpthread.a but it has no need
# of any symbol from there, so just create a fake library and use it.
mkdir fakelib
pushd fakelib
touch empty.c
%_mingw32_cc -c empty.c
%_mingw32_ar rsc libpthread.a empty.o
popd
# No ssp support in gcc-cross-bootstrap
# Hence we use dedicated LDFLAGS (without -fstack-protector)
%_mingw32_configure \
--enable-static \
--enable-shared \
LDFLAGS="%{_mingw32_ldflags_bootstrap}"
%make_build
%install
%make_install
%files -n mingw32-libwinpthread1
%_mingw32_bindir/libwinpthread-1.dll
%files devel
%_mingw32_includedir/
%_mingw32_libdir/
%changelog