From ef5ac3352a54a0ec96c6184335524a4781039cad5e5524c1f155c416629d6f76 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 15 Sep 2023 14:28:34 +0000 Subject: [PATCH] Accepting request 1111516 from GNOME:Next - Switch to full cargo packaging, add service and setup vendoring. - Update to version 0.1.0: + Update dependencies. OBS-URL: https://build.opensuse.org/request/show/1111516 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glycin-loaders?expand=0&rev=3 --- _service | 28 ++++++++++++++++++++++++++++ cargo_config | 5 +++++ glycin-loaders-0.1.0.obscpio | 3 +++ glycin-loaders-0.1.rc.tar.xz | 3 --- glycin-loaders.changes | 11 +++++++++++ glycin-loaders.obsinfo | 4 ++++ glycin-loaders.spec | 13 ++++++++++--- vendor.tar.zst | 3 +++ 8 files changed, 64 insertions(+), 6 deletions(-) create mode 100644 _service create mode 100644 cargo_config create mode 100644 glycin-loaders-0.1.0.obscpio delete mode 100644 glycin-loaders-0.1.rc.tar.xz create mode 100644 glycin-loaders.obsinfo create mode 100644 vendor.tar.zst diff --git a/_service b/_service new file mode 100644 index 0000000..0f009aa --- /dev/null +++ b/_service @@ -0,0 +1,28 @@ + + + + https://gitlab.gnome.org/sophie-h/glycin.git + git + refs/tags/0.1.0 + 0.1.0 + glycin-loaders + + + + + + + *.tar + zst + + + glycin + true + + + glycin + + + diff --git a/cargo_config b/cargo_config new file mode 100644 index 0000000..6fb4ff4 --- /dev/null +++ b/cargo_config @@ -0,0 +1,5 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor" \ No newline at end of file diff --git a/glycin-loaders-0.1.0.obscpio b/glycin-loaders-0.1.0.obscpio new file mode 100644 index 0000000..73e990e --- /dev/null +++ b/glycin-loaders-0.1.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37df295543f273d78e6bd5cdfa2bc86027247d1104ffe64baf5793927332f787 +size 11084301 diff --git a/glycin-loaders-0.1.rc.tar.xz b/glycin-loaders-0.1.rc.tar.xz deleted file mode 100644 index 88e9714..0000000 --- a/glycin-loaders-0.1.rc.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ab430c70e9c52e14a3786427072b8aaca0bb21d32061c139d9d82575798a1e42 -size 41006864 diff --git a/glycin-loaders.changes b/glycin-loaders.changes index 7b7475d..4bd03a5 100644 --- a/glycin-loaders.changes +++ b/glycin-loaders.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Sep 15 09:31:16 UTC 2023 - Bjørn Lie + +- Switch to full cargo packaging, add service and setup vendoring. + +------------------------------------------------------------------- +Thu Sep 14 18:31:22 UTC 2023 - Bjørn Lie + +- Update to version 0.1.0: + + Update dependencies. + ------------------------------------------------------------------- Sun Sep 3 21:28:52 UTC 2023 - Luciano Santos diff --git a/glycin-loaders.obsinfo b/glycin-loaders.obsinfo new file mode 100644 index 0000000..2ee3a66 --- /dev/null +++ b/glycin-loaders.obsinfo @@ -0,0 +1,4 @@ +name: glycin-loaders +version: 0.1.0 +mtime: 1694691871 +commit: 0a4a9ad0eef182adbaa19191ab8c16b346b8c7dd diff --git a/glycin-loaders.spec b/glycin-loaders.spec index b80a96e..50bf231 100644 --- a/glycin-loaders.spec +++ b/glycin-loaders.spec @@ -17,12 +17,15 @@ Name: glycin-loaders -Version: 0.1.rc +Version: 0.1.0 Release: 0 Summary: Sandboxed image rendering License: MPL-2.0 OR LGPL-2.1-or-later URL: https://gitlab.gnome.org/sophie-h/glycin -Source0: https://download.gnome.org/sources/glycin-loaders/0.1/%{name}-%{version}.tar.xz +Source0: %{name}-%{version}.tar.zst +Source2: vendor.tar.zst +Source3: cargo_config + BuildRequires: cargo-packaging BuildRequires: git BuildRequires: meson @@ -36,15 +39,19 @@ BuildRequires: pkgconfig(libxml-2.0) Sandboxed and extendable image decoding. %prep -%autosetup +%autosetup -p1 -a2 +mkdir .cargo +cp %{SOURCE3} .cargo/config %build +export RUSTFLAGS="%{build_rustflags}" %meson \ -Dloaders=glycin-heif,glycin-image-rs,glycin-jxl,glycin-svg \ %{nil} %meson_build %install +export RUSTFLAGS="%{build_rustflags}" %meson_install %files diff --git a/vendor.tar.zst b/vendor.tar.zst new file mode 100644 index 0000000..5391faa --- /dev/null +++ b/vendor.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b84ab9d82bd2e4eca9702d94d2052ac2860707ca6ddee227cb721f6dd5a2e662 +size 34237527