[arch-commits] Commit in lilypond/repos/community-x86_64 (4 files)
Antonio Rojas
arojas at archlinux.org
Mon Mar 16 08:13:11 UTC 2020
Date: Monday, March 16, 2020 @ 08:13:11
Author: arojas
Revision: 599092
archrelease: copy trunk to community-x86_64
Added:
lilypond/repos/community-x86_64/PKGBUILD
(from rev 599091, lilypond/trunk/PKGBUILD)
lilypond/repos/community-x86_64/lilyfontsize.patch
(from rev 599091, lilypond/trunk/lilyfontsize.patch)
Deleted:
lilypond/repos/community-x86_64/PKGBUILD
lilypond/repos/community-x86_64/lilyfontsize.patch
--------------------+
PKGBUILD | 120 +++++++++++++++++++--------------------------------
lilyfontsize.patch | 26 +++++------
2 files changed, 58 insertions(+), 88 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-16 08:12:44 UTC (rev 599091)
+++ PKGBUILD 2020-03-16 08:13:11 UTC (rev 599092)
@@ -1,75 +0,0 @@
-# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot org>
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: Geoffroy Carrier <geoffroy at archlinux.org>
-# Contributor: William Rea <sillywilly at gmail.com>
-# Contributor: Robert Emil Berge <filoktetes at linuxophic.org>
-
-pkgname=lilypond
-pkgver=2.20.0
-pkgrel=2
-pkgdesc="An automated music engraving system"
-arch=('x86_64')
-url="http://lilypond.org"
-license=('GPL')
-depends=('guile1.8' 'python2' 'texlive-core' 'ghostscript' 'pango' 'fontconfig')
-makedepends=('flex' 'bison' 'gettext' 'mftrace' 'texinfo' 'fontforge' 't1utils'
- 'gsfonts' 'texi2html' 'dblatex' 'texlive-langcyrillic' 'imagemagick'
- 'zip' 'rsync' 'netpbm' 'tex-gyre-fonts')
-options=('emptydirs')
-source=("http://lilypond.org/downloads/sources/v${pkgver%.*}/$pkgname-$pkgver.tar.gz"
- lilyfontsize.patch
- https://arch.p5n.pp.ru/~sergej/dl/2017/gsfonts/c059013l.{pfb,pfm,afm}
- https://arch.p5n.pp.ru/~sergej/dl/2017/gsfonts/c059016l.{pfb,pfm,afm}
- https://arch.p5n.pp.ru/~sergej/dl/2017/gsfonts/c059033l.{pfb,pfm,afm}
- https://arch.p5n.pp.ru/~sergej/dl/2017/gsfonts/c059036l.{pfb,pfm,afm})
-sha256sums=('595901323fbc88d3039ca4bdbc2d8c5ce46b182edcb3ea9c0940eba849bba661'
- '17b86b7a0b09b73cb5cf8751464571cf6a785c0b1a23db425cc828855a9d8ae6'
- '34218d1c2710553f528cf8296b37eff98119b174aa48e454dc41ad31f855232c'
- 'aaf8da7af542c6de7b8a0954a3dbc282dd61fc7c80fd0cf1df31da3aad0aa576'
- 'e7775af4c475190d3f9c66be652622e204e5b7dff74ed142010c3b160f2c2d31'
- '1c8b6234cfb14703a33fdb8181c8c0c64d09180edddd37dc1594c0473425d994'
- 'b0aa88a7a87079240a5b89bd45781deacc35bc72ce2ec2b548a8800ec6983605'
- 'cb2e0ff8b76afd97c801da65fd3331adb51a3e7fcb69ae1751e7eebd07bec791'
- '2def00a5fb56aeb9e67bb1536eff45e19a898a63510a0104d12e1cd579c7bbc9'
- '0c2753b0e7e107d15b323883d1bef7466466d10f3d2ac9005902e249117f880d'
- '3c8744efa776a819fe04f0f87c9f7f2be6cb8dde8cbfbc122aa73f0d8e5046f1'
- '9a118f78b168a990dbff4788f0fcac33f876d771c06f61682c5c29165d8673be'
- '569645cadb0aaec15786bb67c5f0801154b71d092d138e4f407265a0130752ee'
- '6abb4172ca88db4a1a4cf006cee147f35988153d47e0072b25eb8f54b3be247a')
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
-
- # python2 fix
- for file in $(find . -name '*.py' -print); do
- sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
- sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
- done
-
- sed -e 's|1.82, 1.82|1.82|g' -i configure.ac # Remove version constraint on texi2html
-
- rm -rf lily/out/ python/out/
- patch -p1 -i "$srcdir/lilyfontsize.patch"
-
- ./autogen.sh
-}
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- export PYTHON=/usr/bin/python2
- export GUILE=/usr/bin/guile1.8
- export GUILE_CONFIG=/usr/bin/guile-config1.8
- export LDFLAGS="$LDFLAGS -lpthread"
- ./configure \
- --prefix=/usr \
- --with-ncsb-dir="$srcdir"
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" vimdir="/usr/share/vim/vimfiles" install
-
-# Fix paths is python scripts
- sed -e 's|/usr/local|/usr|g' -i "$pkgdir"/usr/bin/*
-}
Copied: lilypond/repos/community-x86_64/PKGBUILD (from rev 599091, lilypond/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-16 08:13:11 UTC (rev 599092)
@@ -0,0 +1,45 @@
+# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot org>
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Geoffroy Carrier <geoffroy at archlinux.org>
+# Contributor: William Rea <sillywilly at gmail.com>
+# Contributor: Robert Emil Berge <filoktetes at linuxophic.org>
+
+pkgname=lilypond
+pkgver=2.20.0
+pkgrel=3
+pkgdesc="An automated music engraving system"
+arch=('x86_64')
+url="http://lilypond.org"
+license=('GPL')
+depends=('fontconfig' 'freetype2' 'guile1.8' 'ghostscript' 'glib2' 'pango')
+optdepends=('python2: for lilypond-book and other scripts')
+makedepends=('flex' 'bison' 'gettext' 'mftrace' 'texinfo' 'fontforge' 't1utils'
+ 'gsfonts' 'texi2html' 'dblatex' 'texlive-langcyrillic' 'imagemagick'
+ 'zip' 'rsync' 'netpbm' 'texlive-core' 'tex-gyre-fonts' 'python2')
+options=('emptydirs')
+source=("http://lilypond.org/downloads/sources/v${pkgver%.*}/$pkgname-$pkgver.tar.gz"
+ lilyfontsize.patch)
+sha256sums=('595901323fbc88d3039ca4bdbc2d8c5ce46b182edcb3ea9c0940eba849bba661'
+ '17b86b7a0b09b73cb5cf8751464571cf6a785c0b1a23db425cc828855a9d8ae6')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ sed -e 's|1.82, 1.82|1.82|g' -i configure.ac # Remove version constraint on texi2html
+
+ patch -p1 -i "$srcdir/lilyfontsize.patch"
+
+ ./autogen.sh --noconf
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure \
+ --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" vimdir="/usr/share/vim/vimfiles" install
+}
Deleted: lilyfontsize.patch
===================================================================
--- lilyfontsize.patch 2020-03-16 08:12:44 UTC (rev 599091)
+++ lilyfontsize.patch 2020-03-16 08:13:11 UTC (rev 599092)
@@ -1,13 +0,0 @@
-diff -wbBur lilypond-2.18.2/lily/pango-font.cc lilypond-2.18.2.fix/lily/pango-font.cc
---- lilypond-2.18.2/lily/pango-font.cc 2014-03-17 19:29:16.000000000 +0400
-+++ lilypond-2.18.2.fix/lily/pango-font.cc 2016-12-02 19:36:55.634555707 +0300
-@@ -315,7 +315,8 @@
- pango_fc_font_unlock_face (fcfont);
- pango_glyph_string_free (pgs);
- pgs = 0;
-- PangoFontDescription *descr = pango_font_describe (pa->font);
-+// PangoFontDescription *descr = pango_font_describe (pa->font);
-+ PangoFontDescription *descr = pango_context_get_font_description (context_);
- Real size = pango_font_description_get_size (descr)
- / (Real (PANGO_SCALE));
-
Copied: lilypond/repos/community-x86_64/lilyfontsize.patch (from rev 599091, lilypond/trunk/lilyfontsize.patch)
===================================================================
--- lilyfontsize.patch (rev 0)
+++ lilyfontsize.patch 2020-03-16 08:13:11 UTC (rev 599092)
@@ -0,0 +1,13 @@
+diff -wbBur lilypond-2.18.2/lily/pango-font.cc lilypond-2.18.2.fix/lily/pango-font.cc
+--- lilypond-2.18.2/lily/pango-font.cc 2014-03-17 19:29:16.000000000 +0400
++++ lilypond-2.18.2.fix/lily/pango-font.cc 2016-12-02 19:36:55.634555707 +0300
+@@ -315,7 +315,8 @@
+ pango_fc_font_unlock_face (fcfont);
+ pango_glyph_string_free (pgs);
+ pgs = 0;
+- PangoFontDescription *descr = pango_font_describe (pa->font);
++// PangoFontDescription *descr = pango_font_describe (pa->font);
++ PangoFontDescription *descr = pango_context_get_font_description (context_);
+ Real size = pango_font_description_get_size (descr)
+ / (Real (PANGO_SCALE));
+
More information about the arch-commits
mailing list