[arch-commits] Commit in librsvg/repos/extra-x86_64 (PKGBUILD PKGBUILD lto.diff)
Jan Steffens
heftig at archlinux.org
Sun Mar 8 03:39:53 UTC 2020
Date: Sunday, March 8, 2020 @ 03:39:53
Author: heftig
Revision: 376964
archrelease: copy trunk to extra-x86_64
Added:
librsvg/repos/extra-x86_64/PKGBUILD
(from rev 376963, librsvg/trunk/PKGBUILD)
librsvg/repos/extra-x86_64/lto.diff
(from rev 376963, librsvg/trunk/lto.diff)
Deleted:
librsvg/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++++-----------------------------
lto.diff | 10 +++++
2 files changed, 66 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-08 03:39:06 UTC (rev 376963)
+++ PKGBUILD 2020-03-08 03:39:53 UTC (rev 376964)
@@ -1,48 +0,0 @@
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=librsvg
-pkgver=2.46.4
-pkgrel=1
-epoch=2
-pkgdesc="SVG rendering library"
-url="https://wiki.gnome.org/Projects/LibRsvg"
-arch=(x86_64)
-license=(LGPL)
-depends=(gdk-pixbuf2 pango libcroco)
-makedepends=(gobject-introspection vala gtk-doc git rust)
-_commit=c7c2c6c280dec08d4dc804379d0fe389e28fbeb3 # tags/2.46.4^0
-source=("git+https://gitlab.gnome.org/GNOME/librsvg.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd $pkgname
- git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
- cd $pkgname
-
- NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
- cd $pkgname
- ./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 $pkgname
- # Reftests are probably broken
- # e.g. 91-nonzero-translation-ref.png's background is only 95% transparent,
- # while 91-nonzero-translation-out.png is 100% transparent
- make check || :
-}
-
-package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
-}
-
-# vim: ts=2 sw=2 et:
Copied: librsvg/repos/extra-x86_64/PKGBUILD (from rev 376963, librsvg/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-08 03:39:53 UTC (rev 376964)
@@ -0,0 +1,56 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=librsvg
+pkgver=2.48.0
+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)
+checkdepends=(ttf-dejavu)
+provides=(librsvg-${pkgver%%.*}.so)
+_commit=cc3b2fb0672052721e761ca9dd1c8ab6821cbdf9 # tags/2.48.0^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
+ # Reftests are probably broken
+ # some reference images were created without the requested fonts
+ make check || :
+}
+
+package() {
+ cd librsvg
+ make DESTDIR="$pkgdir" install
+}
+
+# vim: ts=2 sw=2 et:
Copied: librsvg/repos/extra-x86_64/lto.diff (from rev 376963, librsvg/trunk/lto.diff)
===================================================================
--- lto.diff (rev 0)
+++ lto.diff 2020-03-08 03:39:53 UTC (rev 376964)
@@ -0,0 +1,10 @@
+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