-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2356 from gthao313/1.9.x
Cherry pick commits from develop into 1.9.x for 1.9.1 release
- Loading branch information
Showing
16 changed files
with
277 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[package] | ||
name = "liblzma" | ||
version = "0.1.0" | ||
edition = "2018" | ||
publish = false | ||
build = "build.rs" | ||
|
||
[lib] | ||
path = "pkg.rs" | ||
|
||
[package.metadata.build-package] | ||
releases-url = "https://tukaani.org/xz" | ||
|
||
[[package.metadata.build-package.external-files]] | ||
url = "https://tukaani.org/xz/xz-5.2.5.tar.xz" | ||
sha512 = "59266068a51cb616eb31b67cd8f07ffeb2288d1391c61665ae2ec6814465afac80fec69248f6a2f2db45b44475af001296a99af6a32287226a9c41419173ccbb" | ||
|
||
[build-dependencies] | ||
glibc = { path = "../glibc" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
use std::process::{exit, Command}; | ||
|
||
fn main() -> Result<(), std::io::Error> { | ||
let ret = Command::new("buildsys").arg("build-package").status()?; | ||
if !ret.success() { | ||
exit(1); | ||
} | ||
Ok(()) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
Name: %{_cross_os}liblzma | ||
Version: 5.2.5 | ||
Release: 1%{?dist} | ||
Summary: Library for XZ and LZMA compressed files | ||
URL: https://tukaani.org/xz | ||
License: LicenseRef-scancode-lzma-sdk-pd | ||
Source: https://tukaani.org/xz/xz-%{version}.tar.xz | ||
BuildRequires: %{_cross_os}glibc-devel | ||
|
||
%description | ||
%{summary}. | ||
|
||
%package devel | ||
Summary: Files for development using the library for XZ and LZMA compression | ||
Requires: %{name} | ||
|
||
%description devel | ||
%{summary}. | ||
|
||
%prep | ||
%setup -n xz-%{version} | ||
|
||
%build | ||
%cross_configure \ | ||
--disable-doc \ | ||
--disable-lzma-links \ | ||
--disable-lzmadec \ | ||
--disable-lzmainfo \ | ||
--disable-scripts \ | ||
--disable-xz \ | ||
--disable-xzdec | ||
%make_build | ||
|
||
%install | ||
%make_install | ||
|
||
%files | ||
%license COPYING | ||
%{_cross_attribution_file} | ||
%{_cross_libdir}/*.so.* | ||
%exclude %{_cross_localedir} | ||
|
||
%files devel | ||
%{_cross_includedir}/*.h | ||
%{_cross_includedir}/lzma/*.h | ||
%{_cross_libdir}/*.a | ||
%{_cross_libdir}/*.so | ||
%{_cross_pkgconfigdir}/*.pc | ||
%exclude %{_cross_libdir}/*.la |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
// not used |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.