Skip to content

Commit 12be1f7

Browse files
authored
Merge pull request swiftlang#143 from apple/add-swift-experimental-string-processing-repo-main
[main] Add support for swift-experimental-string-processing repo
2 parents 69243e1 + cbf5742 commit 12be1f7

File tree

9 files changed

+23
-10
lines changed

9 files changed

+23
-10
lines changed

platforms/Linux/DEB/Shared/build_source_package.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ get_component swift-nio-ssl https://github.com/apple/swift-nio-ssl/archive/${swi
122122
get_component swift-format https://github.com/apple/swift-format/archive/swift-${swift_version}.tar.gz
123123
get_component swift-lmdb https://github.com/apple/swift-lmdb/archive/swift-${swift_version}.tar.gz
124124
get_component swift-markdown https://github.com/apple/swift-markdown/archive/swift-${swift_version}.tar.gz
125+
get_component swift-experimental-string-processing https://github.com/apple/swift-experimental-string-processing/archive/swift-${swift_version}.tar.gz
125126

126127
# Refresh patches, if any
127128
if [ -s swiftlang-${debversion}/debian/patches/series ]; then

platforms/Linux/DEB/Shared/versions.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/sh
22

3-
debversion=5.6.3
3+
debversion=5.7.0
44

5-
swift_version=5.6.3-RELEASE
5+
swift_version=5.7-RELEASE
66
icu_version=65-1
77
yams_version=4.0.2
88
swift_argument_parser_version=1.0.3

platforms/Linux/DEB/Ubuntu/focal/debian/control.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Architecture: amd64 arm64
3333
Depends: ${shlibs:Depends}, ${misc:Depends},
3434
libc6-dev, libcurl4-openssl-dev, libgcc-9-dev, libstdc++-9-dev, libxml2-dev,
3535
libz3-dev, uuid-dev, zlib1g-dev,
36-
binutils, git, pkg-config, tzdata,
36+
binutils, git, pkg-config, tzdata, unzip
3737
python3
3838
Description: Swift programming language, release x.y.z
3939
Swift is a general-purpose programming language built using

platforms/Linux/RPM/Amazonlinux/2/swiftlang.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Source30: https://github.com/apple/swift-nio-ssl/archive/%{swift_nio_ssl_v
3535
Source31: https://github.com/apple/swift-format/archive/swift-%{swift_version}.tar.gz#/swift-format.tar.gz
3636
Source32: https://github.com/apple/swift-lmdb/archive/swift-%{swift_version}.tar.gz#/swift-lmdb.tar.gz
3737
Source33: https://github.com/apple/swift-markdown/archive/swift-%{swift_version}.tar.gz#/swift-markdown.tar.gz
38+
Source34: https://github.com/apple/swift-experimental-string-processing/archive/swift-%{swift_version}.tar.gz#/swift-experimental-string-processing.tar.gz
3839

3940
Patch0: patches/hwasan_symbolize.patch
4041

@@ -81,14 +82,15 @@ Requires: libxml2-devel
8182
Requires: sqlite
8283
Requires: tar
8384
Requires: tzdata
85+
Requires: unzip
8486

8587
ExclusiveArch: x86_64 aarch64
8688

8789
%description
8890
%include description.inc
8991

9092
%prep
91-
%setup -q -c -n %{swift_source_location} -a 0 -a 1 -a 2 -a 3 -a 4 -a 5 -a 6 -a 7 -a 8 -a 9 -a 10 -a 11 -a 12 -a 13 -a 14 -a 15 -a 16 -a 17 -a 18 -a 19 -a 20 -a 21 -a 22 -a 23 -a 24 -a 25 -a 26 -a 27 -a 28 -a 29 -a 30 -a 31 -a 32 -a 33
93+
%setup -q -c -n %{swift_source_location} -a 0 -a 1 -a 2 -a 3 -a 4 -a 5 -a 6 -a 7 -a 8 -a 9 -a 10 -a 11 -a 12 -a 13 -a 14 -a 15 -a 16 -a 17 -a 18 -a 19 -a 20 -a 21 -a 22 -a 23 -a 24 -a 25 -a 26 -a 27 -a 28 -a 29 -a 30 -a 31 -a 32 -a 33 -a 34
9294

9395
# The Swift build script requires directories to be named
9496
# in a specific way so renaming the source directories is
@@ -127,6 +129,7 @@ mv swift-system-%{swift_system_version} swift-system
127129
mv swift-tools-support-core-swift-%{swift_version} swift-tools-support-core
128130
mv swift-xcode-playground-support-swift-%{swift_version} swift-xcode-playground-support
129131
mv Yams-%{yams_version} yams
132+
mv swift-experimental-string-processing-swift-%{swift_version} swift-experimental-string-processing
130133

131134
# Adjust python version hwasan_symbolize
132135
%patch0 -p1

platforms/Linux/RPM/Centos/7/swiftlang.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Source30: https://github.com/apple/swift-nio-ssl/archive/%{swift_nio_ssl_v
3535
Source31: https://github.com/apple/swift-format/archive/swift-%{swift_version}.tar.gz#/swift-format.tar.gz
3636
Source32: https://github.com/apple/swift-lmdb/archive/swift-%{swift_version}.tar.gz#/swift-lmdb.tar.gz
3737
Source33: https://github.com/apple/swift-markdown/archive/swift-%{swift_version}.tar.gz#/swift-markdown.tar.gz
38+
Source34: https://github.com/apple/swift-experimental-string-processing/archive/swift-%{swift_version}.tar.gz#/swift-experimental-string-processing.tar.gz
3839

3940
Patch0: patches/hwasan_symbolize.patch
4041

@@ -83,14 +84,15 @@ Requires: pkgconfig
8384
Requires: python3
8485
Requires: sqlite
8586
Requires: zlib-devel
87+
Requires: unzip
8688

8789
ExclusiveArch: x86_64 aarch64
8890

8991
%description
9092
%include description.inc
9193

9294
%prep
93-
%setup -q -c -n %{swift_source_location} -a 0 -a 1 -a 2 -a 3 -a 4 -a 5 -a 6 -a 7 -a 8 -a 9 -a 10 -a 11 -a 12 -a 13 -a 14 -a 15 -a 16 -a 17 -a 18 -a 19 -a 20 -a 21 -a 22 -a 23 -a 24 -a 25 -a 26 -a 27 -a 28 -a 29 -a 30 -a 31 -a 32 -a 33
95+
%setup -q -c -n %{swift_source_location} -a 0 -a 1 -a 2 -a 3 -a 4 -a 5 -a 6 -a 7 -a 8 -a 9 -a 10 -a 11 -a 12 -a 13 -a 14 -a 15 -a 16 -a 17 -a 18 -a 19 -a 20 -a 21 -a 22 -a 23 -a 24 -a 25 -a 26 -a 27 -a 28 -a 29 -a 30 -a 31 -a 32 -a 33 -a 34
9496

9597
# The Swift build script requires directories to be named
9698
# in a specific way so renaming the source directories is
@@ -129,6 +131,7 @@ mv swift-system-%{swift_system_version} swift-system
129131
mv swift-tools-support-core-swift-%{swift_version} swift-tools-support-core
130132
mv swift-xcode-playground-support-swift-%{swift_version} swift-xcode-playground-support
131133
mv Yams-%{yams_version} yams
134+
mv swift-experimental-string-processing-swift-%{swift_version} swift-experimental-string-processing
132135

133136
# Adjust python version hwasan_symbolize
134137
%patch0 -p1

platforms/Linux/RPM/Fedora/34/swiftlang.spec

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Source30: https://github.com/apple/swift-nio-ssl/archive/%{swift_nio_ssl_v
3535
Source31: https://github.com/apple/swift-format/archive/swift-%{swift_version}.tar.gz#/swift-format.tar.gz
3636
Source32: https://github.com/apple/swift-lmdb/archive/swift-%{swift_version}.tar.gz#/swift-lmdb.tar.gz
3737
Source33: https://github.com/apple/swift-markdown/archive/swift-%{swift_version}.tar.gz#/swift-markdown.tar.gz
38+
Source34: https://github.com/apple/swift-experimental-string-processing/archive/swift-%{swift_version}.tar.gz#/swift-experimental-string-processing.tar.gz
3839

3940
Patch0: nocyclades.patch
4041
Patch1: unusedvariable.patch
@@ -73,7 +74,7 @@ ExclusiveArch: x86_64 aarch64
7374
%include description.inc
7475

7576
%prep
76-
%setup -q -c -n %{swift_source_location} -a 0 -a 1 -a 2 -a 3 -a 4 -a 5 -a 6 -a 7 -a 8 -a 9 -a 10 -a 11 -a 12 -a 13 -a 14 -a 15 -a 16 -a 17 -a 18 -a 19 -a 20 -a 21 -a 22 -a 23 -a 24 -a 25 -a 26 -a 27 -a 28 -a 29 -a 30 -a 31 -a 32 -a 33
77+
%setup -q -c -n %{swift_source_location} -a 0 -a 1 -a 2 -a 3 -a 4 -a 5 -a 6 -a 7 -a 8 -a 9 -a 10 -a 11 -a 12 -a 13 -a 14 -a 15 -a 16 -a 17 -a 18 -a 19 -a 20 -a 21 -a 22 -a 23 -a 24 -a 25 -a 26 -a 27 -a 28 -a 29 -a 30 -a 31 -a 32 -a 33 -a 34
7778

7879
# The Swift build script requires directories to be named
7980
# in a specific way so renaming the source directories is
@@ -112,6 +113,7 @@ mv swift-system-%{swift_system_version} swift-system
112113
mv swift-tools-support-core-swift-%{swift_version} swift-tools-support-core
113114
mv swift-xcode-playground-support-swift-%{swift_version} swift-xcode-playground-support
114115
mv Yams-%{yams_version} yams
116+
mv swift-experimental-string-processing-swift-%{swift_version} swift-experimental-string-processing
115117

116118
# Remove Cyclades as it has been removed from the Linux kernel
117119
%patch0 -p0

platforms/Linux/RPM/Fedora/35/swiftlang.spec

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Source30: https://github.com/apple/swift-nio-ssl/archive/%{swift_nio_ssl_v
3535
Source31: https://github.com/apple/swift-format/archive/swift-%{swift_version}.tar.gz#/swift-format.tar.gz
3636
Source32: https://github.com/apple/swift-lmdb/archive/swift-%{swift_version}.tar.gz#/swift-lmdb.tar.gz
3737
Source33: https://github.com/apple/swift-markdown/archive/swift-%{swift_version}.tar.gz#/swift-markdown.tar.gz
38+
Source34: https://github.com/apple/swift-experimental-string-processing/archive/swift-%{swift_version}.tar.gz#/swift-experimental-string-processing.tar.gz
3839

3940
Patch0: nocyclades.patch
4041
Patch1: unusedvariable.patch
@@ -73,7 +74,7 @@ ExclusiveArch: x86_64 aarch64
7374
%include description.inc
7475

7576
%prep
76-
%setup -q -c -n %{swift_source_location} -a 0 -a 1 -a 2 -a 3 -a 4 -a 5 -a 6 -a 7 -a 8 -a 9 -a 10 -a 11 -a 12 -a 13 -a 14 -a 15 -a 16 -a 17 -a 18 -a 19 -a 20 -a 21 -a 22 -a 23 -a 24 -a 25 -a 26 -a 27 -a 28 -a 29 -a 30 -a 31 -a 32 -a 33
77+
%setup -q -c -n %{swift_source_location} -a 0 -a 1 -a 2 -a 3 -a 4 -a 5 -a 6 -a 7 -a 8 -a 9 -a 10 -a 11 -a 12 -a 13 -a 14 -a 15 -a 16 -a 17 -a 18 -a 19 -a 20 -a 21 -a 22 -a 23 -a 24 -a 25 -a 26 -a 27 -a 28 -a 29 -a 30 -a 31 -a 32 -a 33 -a 34
7778

7879
# The Swift build script requires directories to be named
7980
# in a specific way so renaming the source directories is
@@ -112,6 +113,7 @@ mv swift-system-%{swift_system_version} swift-system
112113
mv swift-tools-support-core-swift-%{swift_version} swift-tools-support-core
113114
mv swift-xcode-playground-support-swift-%{swift_version} swift-xcode-playground-support
114115
mv Yams-%{yams_version} yams
116+
mv swift-experimental-string-processing-swift-%{swift_version} swift-experimental-string-processing
115117

116118
# Remove Cyclades as it has been removed from the Linux kernel
117119
%patch0 -p0

platforms/Linux/RPM/Fedora/rawhide/swiftlang.spec

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Source30: https://github.com/apple/swift-nio-ssl/archive/%{swift_nio_ssl_v
3535
Source31: https://github.com/apple/swift-format/archive/swift-%{swift_version}.tar.gz#/swift-format.tar.gz
3636
Source32: https://github.com/apple/swift-lmdb/archive/swift-%{swift_version}.tar.gz#/swift-lmdb.tar.gz
3737
Source33: https://github.com/apple/swift-markdown/archive/swift-%{swift_version}.tar.gz#/swift-markdown.tar.gz
38+
Source34: https://github.com/apple/swift-experimental-string-processing/archive/swift-%{swift_version}.tar.gz#/swift-experimental-string-processing.tar.gz
3839

3940
Patch0: nocyclades.patch
4041
Patch1: unusedvariable.patch
@@ -73,7 +74,7 @@ ExclusiveArch: x86_64 aarch64
7374
%include description.inc
7475

7576
%prep
76-
%setup -q -c -n %{swift_source_location} -a 0 -a 1 -a 2 -a 3 -a 4 -a 5 -a 6 -a 7 -a 8 -a 9 -a 10 -a 11 -a 12 -a 13 -a 14 -a 15 -a 16 -a 17 -a 18 -a 19 -a 20 -a 21 -a 22 -a 23 -a 24 -a 25 -a 26 -a 27 -a 28 -a 29 -a 30 -a 31 -a 32 -a 33
77+
%setup -q -c -n %{swift_source_location} -a 0 -a 1 -a 2 -a 3 -a 4 -a 5 -a 6 -a 7 -a 8 -a 9 -a 10 -a 11 -a 12 -a 13 -a 14 -a 15 -a 16 -a 17 -a 18 -a 19 -a 20 -a 21 -a 22 -a 23 -a 24 -a 25 -a 26 -a 27 -a 28 -a 29 -a 30 -a 31 -a 32 -a 33 -a 34
7778

7879
# The Swift build script requires directories to be named
7980
# in a specific way so renaming the source directories is
@@ -112,6 +113,7 @@ mv swift-system-%{swift_system_version} swift-system
112113
mv swift-tools-support-core-swift-%{swift_version} swift-tools-support-core
113114
mv swift-xcode-playground-support-swift-%{swift_version} swift-xcode-playground-support
114115
mv Yams-%{yams_version} yams
116+
mv swift-experimental-string-processing-swift-%{swift_version} swift-experimental-string-processing
115117

116118
# Remove Cyclades as it has been removed from the Linux kernel
117119
%patch0 -p0

platforms/Linux/RPM/Shared/metadata/global.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# versions
22

3-
%global package_version 5.6.3
4-
%global swift_version 5.6.3-RELEASE
3+
%global package_version 5.7.0
4+
%global swift_version 5.7-RELEASE
55

66
%global cmake_version 3.19.6
77
%global icu_version 65-1

0 commit comments

Comments
 (0)