You are not logged in.
Hello,
I've problems with generate package ttf-mac-fonts:
$ sudo yaourt -S aur/ttf-mac-fonts
...
...
...
A Macbuntu-10.04
A Macbuntu-10.04/install.sh
A Macbuntu-10.04/panel
A Macbuntu-10.04/panel/panel.entries
A Macbuntu-10.04/upgrade.sh
A Macbuntu-10.04/compiz
A Macbuntu-10.04/compiz/x64
A Macbuntu-10.04/compiz/x64/original
A Macbuntu-10.04/compiz/x64/original/libanimation.la
A Macbuntu-10.04/compiz/x64/original/libanimation.a
A Macbuntu-10.04/compiz/x64/original/libanimation.so
A Macbuntu-10.04/compiz/x64/original/animation.xml
A Macbuntu-10.04/compiz/x64/libanimation.a
A Macbuntu-10.04/compiz/x64/libanimation.so
A Macbuntu-10.04/compiz/x64/animation.xml
A Macbuntu-10.04/compiz/x32
A Macbuntu-10.04/compiz/x32/original
A Macbuntu-10.04/compiz/x32/original/libanimation.la
A Macbuntu-10.04/compiz/x32/original/libanimation.a
A Macbuntu-10.04/compiz/x32/original/libanimation.so
A Macbuntu-10.04/compiz/x32/original/animation.xml
A Macbuntu-10.04/compiz/x32/libanimation.a
A Macbuntu-10.04/compiz/x32/libanimation.so
A Macbuntu-10.04/compiz/x32/animation.xml
A Macbuntu-10.04/uninstall.sh
A Macbuntu-10.04/readme
Checked out revision 134.
install: cannot stat 'gbk/*.ttf': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
==> ERROR: Makepkg was unable to build ttf-mac-fonts.
==> Restart building ttf-mac-fonts ? [y/N]
==> --------------------------------------
==>
How can I solve this problem?.
Regards.
Offline
I just confirmed the error here - report it upstream, it looks like one of the tracked files was removed from the svn tree.
Also, you may want to suggest the aur maintainer update the PKGBUILD for makepkg 4.x.
Last edited by Trilby (2013-08-21 13:35:44)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I've reported this bug in upstream, and I've comment the problem to maintainer.
Regards.
Offline
Crap - sorry, I typed too quick, the upstream source if fine. But as that PKGBUILD does some odd things, I missed the problem. The simplest (but far from best) fix is to change the lines in the package function to the following:
svn co https://macbuntu.svn.sourceforge.net/svnroot/macbuntu/Macbuntu/fonts/ ./
install -d $pkgdir/usr/share/fonts/{TTF,Type1}
install -m644 ./Macbuntu/fonts/gbk/*.ttf $pkgdir/usr/share/fonts/TTF
install -m644 ./Macbuntu/fonts/mac/*.ttf $pkgdir/usr/share/fonts/TTF
install -m644 ./Macbuntu/fonts/mac/*.pfb $pkgdir/usr/share/fonts/Type1
That is, add the proper paths to the install commands.
EDIT: or here is one that is at least a lot closer to the right way - though it's the first svn PKGBUILD I've worked on:
_svn=ttf-mac-fonts
pkgname=${_svn}-svn
pkgver=134
pkgrel=1
pkgdesc="Mac fonts including Lucida Grande, Apple Garamond and other fonts from Apple"
arch=('any')
url="http://www.apple.com/safari/"
license=('custom')
depends=()
makedepends=('subversion')
conflicts=('macfonts' 'ttf-mac-fonts-svn')
source=(
"${_svn}::svn+http://svn.code.sf.net/p/macbuntu/code/Macbuntu/fonts"
"http://images.apple.com/legal/sla/docs/SafariWindows.pdf"
)
sha256sums=(
'SKIP'
'd1c9697ea430a3ddad6548c7b9c961c4b06f9da5a5ba1f1007fe998b3354df4a'
)
install='ttf-mac-fonts.install'
pkgver() {
cd ${srcdir}/${_svn}
svnversion | tr -d [A-z]
}
package() {
cd ${srcdir}
install -d $pkgdir/usr/share/licenses/${_svn}
install -m644 SafariWindows.pdf $pkgdir/usr/share/licenses/${_svn}/
cd ${srcdir}/${_svn}
install -d $pkgdir/usr/share/fonts/{TTF,Type1}
install -m644 gbk/*.ttf $pkgdir/usr/share/fonts/TTF
install -m644 mac/*.ttf $pkgdir/usr/share/fonts/TTF
install -m644 mac/*.pfb $pkgdir/usr/share/fonts/Type1
}
Last edited by Trilby (2013-08-21 13:35:55)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline