Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
9572304ff5
!73 [sync] PR-70: add sw_64 support
From: @openeuler-sync-bot 
Reviewed-by: @weidongkl 
Signed-off-by: @weidongkl
2025-05-13 07:37:38 +00:00
Hailiang
a75cb179cb add sw_64 support
(cherry picked from commit e4a44c834ad1904ac4e91d45e40afec2f5f8a712)
2025-05-13 11:17:04 +08:00
openeuler-ci-bot
383a9ab10b
!65 modify vendor package format to tar.xz
From: @Venland 
Reviewed-by: @open-bot 
Signed-off-by: @open-bot
2024-04-19 06:23:04 +00:00
liweigang
cd956459b9 modify vendor package format to tar.xz
Signed-off-by: liweigang <liweiganga@uniontech.com>
2024-04-19 13:39:52 +08:00
openeuler-ci-bot
d65c5af1ca
!61 update to version 2.57.1
From: @Venland 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
2024-02-07 06:15:26 +00:00
lwg
a5b9187e69 update to version 2.57.1 2024-01-31 15:44:03 +08:00
openeuler-ci-bot
497d7a2863
!49 fix CVE-2023-38633
From: @zppzhangpan 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
2023-08-31 06:10:55 +00:00
zhangpan
fca1ebf0a6 fix CVE-2023-38633 2023-08-30 10:23:42 +00:00
openeuler-ci-bot
8ac63aef9e
!47 Upgrade to 2.55.90
From: @li-long315 
Reviewed-by: @dwl301 
Signed-off-by: @dwl301
2023-03-29 01:54:06 +00:00
li-long315
dc64acc5cd Upgrade to 2.55.90 2023-03-23 16:28:55 +08:00
7 changed files with 82 additions and 19 deletions

View File

@ -0,0 +1,27 @@
From 03a3d3d25f23dac11bb9a984cce028820b960da5 Mon Sep 17 00:00:00 2001
From: li-long315 <lilong@kylinos.cn>
Date: Thu, 23 Mar 2023 14:25:10 +0800
Subject: [PATCH] Modify cargo confign file
Signed-off-by: li-long315 <lilong@kylinos.cn>
---
.cargo/config | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/.cargo/config b/.cargo/config
index cea9e5be..930525eb 100644
--- a/.cargo/config
+++ b/.cargo/config
@@ -19,5 +19,7 @@ verbose = true
directory = "/usr/share/cargo/registry"
[source.crates-io]
-registry = "https://crates.io"
-replace-with = "local-registry"
+replace-with = "vendored-sources"
+
+[source.vendored-sources]
+directory = "vendor"
--
2.39.1

Binary file not shown.

Binary file not shown.

BIN
librsvg-2.57.1.tar.xz Normal file

Binary file not shown.

View File

@ -1,21 +1,40 @@
%undefine _strict_symbol_defs_build
%global _configure_disable_silent_rules 1
%global bundled_rust_deps 1
%global cairo_version 1.16.0
%bcond_without check
%undefine _strict_symbol_defs_build
%global _configure_disable_silent_rules 1
%global bundled_rust_deps 0
%global cairo_version 1.16.0
Name: librsvg2
Version: 2.55.1
Release: 1
Version: 2.57.1
Release: 3
Summary: An SVG library based on cairo
License: LGPLv2+
URL: https://wiki.gnome.org/Projects/LibRsvg
Source0: https://download.gnome.org/sources/librsvg/2.55/librsvg-%{version}.tar.xz
Source1: cargo.tar.gz
Source0: https://download.gnome.org/sources/librsvg/2.57/librsvg-%{version}.tar.xz
Source1: vendor.tar.xz
Source2: sw64-vendor.tar.xz
BuildRequires: chrpath gcc gobject-introspection-devel libxml2-devel gi-docgen
BuildRequires: fontconfig-devel gdk-pixbuf2-devel glib2-devel make
BuildRequires: pango-devel vala python3-docutils
BuildRequires: pkgconfig(cairo-gobject) >= %{cairo_version} cairo-devel >= %{cairo_version}
Patch0: 0001-Modify-cargo-confign-file.patch
BuildRequires: chrpath
BuildRequires: gcc
BuildRequires: gi-docgen
BuildRequires: gobject-introspection-devel
BuildRequires: make
BuildRequires: pkgconfig(cairo) >= %{cairo_version}
BuildRequires: pkgconfig(cairo-gobject) >= %{cairo_version}
BuildRequires: pkgconfig(cairo-png) >= %{cairo_version}
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(pangocairo)
BuildRequires: pkgconfig(pangoft2)
BuildRequires: vala
BuildRequires: python3-docutils
%if 0%{?bundled_rust_deps}
BuildRequires: cargo
BuildRequires: rust
@ -48,22 +67,24 @@ This package provides extra utilities based on the librsvg library.
%package_help
%prep
tar xf %{SOURCE1} -C ~/
%autosetup -n librsvg-%{version} -p1
%if ! 0%{?bundled_rust_deps}
%setup -q -n librsvg-%{version}
rm -vrf vendor .cargo Cargo.lock
tar xvf %{SOURCE1}
sed -i Makefile.am -e 's/$(CARGO) --locked/$(CARGO)/'
%cargo_prep
%ifarch sw_64
rm -rf vendor/{libc,target-lexicon}
tar -xf %{SOURCE2} -C vendor/
%endif
%cargo_prep
%patch0 -p1
%if ! 0%{?bundled_rust_deps}
%if 0%{?bundled_rust_deps}
%generate_buildrequires
%cargo_generate_buildrequires
%endif
%build
#export CARGO="%__cargo"
%configure --disable-static \
--disable-gtk-doc \
--docdir=%{_datadir}/doc/%{name} \
@ -108,6 +129,21 @@ rm -f %{buildroot}%{_pkgdocdir}/COMPILING.md
%{_mandir}/man1/*.1*
%changelog
* Mon May 12 2025 mahailiang <mahailiang@uniontech.com> - 2.57.1-3
- add sw_64 support
* Fri Apr 19 2024 liweigang <liweiganga@uniontech.com> - 2.57.1-2
- modify vendor package format to tar.xz
* Wed Jan 31 2024 Paul Thomas <paulthomas100199@gmail.com> - 2.57.1-1
- update to version 2.57.1
* Wed Aug 30 2023 zhangpan <zhangpan103@h-partners.com> - 2.55.90-2
- fix CVE-2023-38633
* Thu Mar 23 2023 li-long315 <lilong@kylinos.cn> - 2.55.90-1
- Upgrade to 2.55.90
* Mon Jan 02 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 2.55.1-1
- Update to 2.55.1 and add cargo compile files

BIN
sw64-vendor.tar.xz Normal file

Binary file not shown.

BIN
vendor.tar.xz Normal file

Binary file not shown.