You are not logged in.

#1 2006-05-05 19:06:35

eyolf
Member
From: Copenhagen
Registered: 2005-11-29
Posts: 339
Website

[Request] Lilypond 2.8

The current package is fairly old - how about an upgrade? V. 2.8 contains some features that I need...
I've tried making a package myself, but I've failed miserably so far, so...

Offline

#2 2006-05-06 20:51:59

sebcactus
Member
From: Germany
Registered: 2005-01-27
Posts: 277

Re: [Request] Lilypond 2.8

Try this smile

mftrace PKGBUILD:

# Maintainer: Simo Leone <neotuli>
# Update: Sebastien Piccand <sebcactus>
pkgname=mftrace
pkgver=1.2.4
pkgrel=1
pkgdesc="Traces TeX bitmap fonts into PFA, PFB, or TTF"
url="http://www.xs4all.nl/~hanwen/mftrace/"
license=""
depends=('python' 'potrace' 't1utils')
source=("http://www.xs4all.nl/~hanwen/mftrace/$pkgname-$pkgver.tar.gz")
md5sums=('8abde3284dc7dc25c829bd4262f836ee')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}

fontforge PKGBUILD

# Maintainer: simo <simo>
# Update Sebastien Piccand <sebcactus>
pkgname=fontforge
pkgver=20060501
pkgrel=1
pkgdesc="An outline and bitmap font editor"
url="http://fontforge.sourceforge.net/"
license=""
depends=('x-server')
source=(http://fontforge.sourceforge.net/${pkgname}_full-$pkgver.tar.bz2)
md5sums=('04bcc2e8efc79ee3729997865bdb4cb7')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
  find $startdir/pkg -name '*.la' -exec rm {} ;
}

lilypond PKGBUILD

# Maintainer: Simo Leone <neotuli>
# Update: Sebastien Piccand <sebcactus>
pkgname=lilypond
pkgver=2.9.3
pkgrel=1
pkgdesc="An automated music engraving system"
url="http://lilypond.org"
license=""
depends=('ec-fonts-mftraced' 'guile>=1.6.7' 'python>=2.3' 'fontforge>=20060125' 'fontconfig' 'freetype2' 'ghostscript' 'pango')
makedepends=('flex' 'bison' 'gettext' 'mftrace>=1.1.19' 'perl' 'texinfo>=4.8')
source=("http://lilypond.org/download/v2.9/$pkgname-$pkgver.tar.gz")
md5sums=('7dee3f59256e5acfe05e42fdf498d4f6')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --with-ncsb-dir=/usr/share/fonts/Type1
  #Stop from making info pages
  sed -i "s:SUBDIRS=user bibliography pictures topdocs  misc:SUBDIRS=bibliography pictures topdocs  misc:" Documentation/GNUmakefile
  make || return 1
  make DESTDIR=$startdir/pkg install
  install -D -m755 buildscripts/out/lilypond-words $startdir/pkg/usr/share/lilypond/$pkgver/buildscripts/out/lilypond-words
  find $startdir/pkg -name 'fonts.cache-1' -exec rm {} ;
}

Offline

#3 2006-05-07 01:16:47

eyolf
Member
From: Copenhagen
Registered: 2005-11-29
Posts: 339
Website

Re: [Request] Lilypond 2.8

Hey - that was quick. Thanks a lot!
One thing, though: now the screen output looks... - well, crappy. The music font seems to be un-antialiased, with the effect that every note looks black, even the whole/half notes. I suspect this has to do with the upgrade of fontforge, or? (or perhaps mftrace, since every other font looks fine?)

Offline

#4 2006-05-08 08:46:52

sebcactus
Member
From: Germany
Registered: 2005-01-27
Posts: 277

Re: [Request] Lilypond 2.8

Sorry I can't really help you since I am not using it actually.
Is the pb with the fonts also on the printed versions?

Offline

#5 2006-05-08 08:53:33

eyolf
Member
From: Copenhagen
Registered: 2005-11-29
Posts: 339
Website

Re: [Request] Lilypond 2.8

No, the printed version looks fine. So does the file if viewed in Adobe. It's just in xpdf or kpdf that the fonts look blurred. It seems that the font format has changed; the files I made with the earlier version still look fine, even in xpdf, so it's nothing to do with the font rendering itself (and the text fonts I use also look fine) - it's just the music symbols that are un-anti-aliased.
I will ask at the lilypond user list, but thanks for taking the time to do this - much appreciated (anti-aliasing or not)!

Offline

#6 2006-05-08 12:45:55

sebcactus
Member
From: Germany
Registered: 2005-01-27
Posts: 277

Re: [Request] Lilypond 2.8

You are probalby right, they must have changed the fonts.
If you manage to get the name of the fonts on the lilypond user list, you should ask xpdf/kpdf/poppler dev for its support.
Font support is one of the only reason I still have acroread on my computer.

Offline

Board footer

Powered by FluxBB