[arch-commits] Commit in librsvg/repos/extra-x86_64 (PKGBUILD PKGBUILD lto.diff)
Jan Steffens
heftig at archlinux.org
Tue May 25 21:51:59 UTC 2021
Date: Tuesday, May 25, 2021 @ 21:51:59
Author: heftig
Revision: 416458
archrelease: copy trunk to extra-x86_64
Added:
librsvg/repos/extra-x86_64/PKGBUILD
(from rev 416457, librsvg/trunk/PKGBUILD)
Deleted:
librsvg/repos/extra-x86_64/PKGBUILD
librsvg/repos/extra-x86_64/lto.diff
----------+
PKGBUILD | 108 +++++++++++++++++++++++++++++--------------------------------
lto.diff | 10 -----
2 files changed, 53 insertions(+), 65 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-25 21:51:43 UTC (rev 416457)
+++ PKGBUILD 2021-05-25 21:51:59 UTC (rev 416458)
@@ -1,55 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: Jan de Groot <jgc at archlinux.org>
-
-pkgname=librsvg
-pkgver=2.50.5
-pkgrel=1
-epoch=2
-pkgdesc="SVG rendering library"
-url="https://wiki.gnome.org/Projects/LibRsvg"
-arch=(x86_64)
-license=(LGPL)
-depends=(gdk-pixbuf2 pango)
-makedepends=(gobject-introspection vala gtk-doc git rust)
-provides=(librsvg-${pkgver%%.*}.so)
-_commit=fd385e68b4eb50cdeffbd120d8165f5a695f44e8 # tags/2.50.5^0
-source=("git+https://gitlab.gnome.org/GNOME/librsvg.git#commit=$_commit"
- lto.diff)
-sha256sums=('SKIP'
- '3cc8ad1af515b2cb4071f0647319c1cf3280dc054875634239061800af1616b6')
-
-pkgver() {
- cd librsvg
- git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
- cd librsvg
-
- # Turn LTO back on
- git apply -3 ../lto.diff
-
- NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
- cd librsvg
- ./configure --prefix=/usr --disable-static --enable-vala \
- --enable-gtk-doc
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool
- make
-}
-
-check() {
- cd librsvg
- # Test suite is very dependent on the versions of
- # Cairo, Pango, FreeType and HarfBuzz
- make check || :
-}
-
-package() {
- cd librsvg
- make DESTDIR="$pkgdir" install
-}
-
-# vim: ts=2 sw=2 et:
Copied: librsvg/repos/extra-x86_64/PKGBUILD (from rev 416457, librsvg/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-25 21:51:59 UTC (rev 416458)
@@ -0,0 +1,53 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=librsvg
+pkgver=2.50.6
+pkgrel=1
+epoch=2
+pkgdesc="SVG rendering library"
+url="https://wiki.gnome.org/Projects/LibRsvg"
+arch=(x86_64)
+license=(LGPL)
+depends=(gdk-pixbuf2 pango)
+makedepends=(gobject-introspection vala gtk-doc git rust)
+provides=(librsvg-${pkgver%%.*}.so)
+_commit=b78911f8dbcc218ac3fda63de37304fb332ca7fe # tags/2.50.6^0
+source=("git+https://gitlab.gnome.org/GNOME/librsvg.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd librsvg
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd librsvg
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd librsvg
+
+ # Use LTO
+ export CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
+
+ ./configure --prefix=/usr --disable-static --enable-vala \
+ --enable-gtk-doc
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool
+ make
+}
+
+check() {
+ cd librsvg
+ # Test suite is very dependent on the versions of
+ # Cairo, Pango, FreeType and HarfBuzz
+ make check || :
+}
+
+package() {
+ cd librsvg
+ make DESTDIR="$pkgdir" install
+}
+
+# vim: ts=2 sw=2 et:
Deleted: lto.diff
===================================================================
--- lto.diff 2021-05-25 21:51:43 UTC (rev 416457)
+++ lto.diff 2021-05-25 21:51:59 UTC (rev 416458)
@@ -1,10 +0,0 @@
-diff --git i/Cargo.toml w/Cargo.toml
-index 818fa620..c776b113 100644
---- i/Cargo.toml
-+++ w/Cargo.toml
-@@ -8,3 +8,5 @@ members = [
-
- [profile.release]
- debug = true
-+lto = "fat"
-+codegen-units = 1
More information about the arch-commits
mailing list