Package Details: ttf-mac-fonts 1-7

Git Clone URL: https://aur.archlinux.org/ttf-mac-fonts.git (read-only)
Package Base: ttf-mac-fonts
Description: Mac fonts including Lucida Grande, Apple Garamond and other fonts from Apple
Upstream URL: http://www.apple.com/safari/
Licenses: custom
Conflicts: macfonts
Submitter: Shanto
Maintainer: jnbek
Last Packager: jnbek
Votes: 274
Popularity: 6.119400
First Submitted: 2011-05-08 09:00
Last Updated: 2015-06-16 22:23

Dependencies (2)

Required by (2)

Sources (0)

Latest Comments

Marcel_K commented on 2016-11-30 23:09

A year and a half ago I asked: "Why not let makepkg do the checkout of the Subversion repository?" You still do this manually. Moreover, you do not enclose instances of $srcdir and $pkgdir within double quotes. Those are at least the things that should be fixed. And since the appearance of hooks in pacman, you don't need the install file anymore, which is not complete anyway.

jnbek commented on 2016-11-30 17:04

@Scimmia, it's not working still? all seems ok over here... o_O

Scimmia commented on 2016-11-26 00:00

jnbek, things have been settled a long time, this PKGBUILD really, really needs fixed.

jnbek commented on 2015-07-16 20:45

Sourceforge is reporting:

The sourceforge.net website is temporarily in static offline mode.
Only a very limited set of project pages are available until the main website returns to service.

this is an upstream problem that will resolve itself eventually.

GAumala commented on 2015-07-16 19:59

Can't make package

svn: E000111: Unable to connect to a repository at URL 'https://svn.code.sf.net/p/macbuntu/code/Macbuntu/fonts'

jnbek commented on 2015-06-18 00:20

@Marcel_K, I'll take care of it once things are better settled with the aur4 migration.

Marcel_K commented on 2015-06-17 22:09

Why not let makepkg do the checkout of the Subversion repository?

Shanto commented on 2013-08-21 20:08

SourceForge.net changed its SVN server's URL layout. Fixed and updated.

Trilby commented on 2013-08-21 13:31

The below error is due to the wrong source path provided to the install commands. This can be patched by simply prepending "Macbuntu/fonts/" to the three font paths. However, this pkgbuild needs other revision. This draws on svn sources, so it should be named ttf-mac-fonts-svn. Since makepkg 4.0, makepkg will handle downloading the svn source. And the other source (license) should always have been handled by makepkg rather than using wget in a package function.

A revised PKGBUILD that addresses these issues can be found here:
https://bbs.archlinux.org/viewtopic.php?pid=1314973#p1314973

Anonymous comment on 2013-08-21 12:06

Hello,

I've problems with this package:

...
...
...
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?.

Regards.

viniavila commented on 2013-04-24 13:35

My files:

PKGBUILD:

#Base: macfonts
#Fixes: https://bugzilla.mozilla.org/show_bug.cgi?id=491114
#Maintainer: Shanto (at hotmail.com)
#Contributor: Erus <erus.iluvatar@gmail.com>
pkgname=ttf-mac-fonts
pkgver=1
pkgrel=6
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' 'wget')
conflicts=('macfonts')
source=()
md5sums=()
install='macfonts.install'

package() {
cd $srcdir

svn co https://macbuntu.svn.sourceforge.net/svnroot/macbuntu/Macbuntu/fonts/ ./
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

wget http://images.apple.com/legal/sla/docs/SafariWindows.pdf
install -d $pkgdir/usr/share/licenses/$pkgname
install -m644 SafariWindows.pdf $pkgdir/usr/share/licenses/$pkgname/
}

macfonts.install:

post_install() {
fc-cache -vf
}

post_remove() {
fc-cache -vf
}

viniavila commented on 2013-04-24 13:27

@bluerider,

the command "fc-cache -vf" needs to be in the .install file, and this have to be added together this PKGBUILD because it doesn't need to be called after building/packaging the package, but only during installing/uninstalling...

The correct is create a .install file (/usr/share/pacmam/proto.install has a model) and put the fc-cache -vf inside the funcions post_install and post_remove... I'm not sure but I think it's necessary add execute permission to .install after create it and before package with makepkg --source.

Don't forget to add this line --> install='xxxx.install' to the PKGBUILD

bluerider commented on 2013-04-23 16:49

Please modify the package build to use "install -m644" for all font files and the license (so the fonts are not executable). In addition please add "fc-cache -vf" after installation of fonts to update the font cache.

roukoswarf commented on 2013-04-15 03:15

Please remove depreciated functions from PKGBUILD and use package(), would not want this package to break.

scor commented on 2013-02-15 13:20

Getting error in build()

Anonymous comment on 2011-06-13 01:27

SourceForge SVN seems to be down now too.

Shanto commented on 2011-05-25 21:52

Updated package with links to SourceForge SVN.

Shanto commented on 2011-05-17 18:59

Seems to be down for me too. Get it from http://paste.xinu.at/6IFv0/ for now.

I will also see if I can manage to have this PKGBUILD download from one of the official channels.

Shanto commented on 2011-05-17 18:57

Seems to be down for me too. Let me see if I can manage to have this PKGBUILD download from one of the official channels.

Anonymous comment on 2011-05-17 12:06

I can't connect to http://ompldr.org/ and the site seems down.Anyone else having this problem ?

Anonymous comment on 2011-05-15 23:20

thanks! works great.