Package Details: ttf2eot 0.0.2-2

Git Clone URL: https://aur.archlinux.org/ttf2eot.git (read-only)
Package Base: ttf2eot
Description: Utility to convert TTF files to EOT
Upstream URL: http://code.google.com/p/ttf2eot/
Licenses: GPL
Submitter: wooptoo
Maintainer: rws (wooptoo)
Last Packager: rws
Votes: 20
Popularity: 0.032059
First Submitted: 2009-08-29 22:06
Last Updated: 2015-07-09 07:13

Dependencies (0)

Required by (1)

Sources (2)

Latest Comments

wooptoo commented on 2013-10-15 12:39

ttf2eot has a release number in the original package name like: ttf2eot-0.0.2-2.zip which conflicts with arch's pkgrel. So it will stay fixed at -2 until i find a solution.

Markus00000 commented on 2013-10-15 12:32

Thanks for the quick update. As you didn't increase the pkgrel, people who have installed the empty package won't get updated. No idea how long the package had been broken and whether this is a problem.

I guess they'll find the comments here after wondering where their executable has gone. :)

wooptoo commented on 2013-10-15 12:25

Thank you, that worked :)

Markus00000 commented on 2013-10-15 12:16

The PKGBUILD is broken. Here is one that is working: http://pastie.org/8403640 (please read it carefully, I'm not very experienced creating these).

Markus00000 commented on 2013-10-09 07:42

Is this package broken? The installation went through but "pacman -Ql ttf2eot" doesn't show any files being installed and ttf2eot is not in the path.

Anonymous comment on 2011-11-15 20:40

Tnx voor the patch andreagi.

andreagi commented on 2011-10-14 15:37

I had some problems in compiling it, the header file is lacking of an "#include <cstddef>".

Patch:

=======================================
diff -aur ttf2eot-0.0.2-2/OpenTypeUtilities.h ttf2eot-new/OpenTypeUtilities.h
--- ttf2eot-0.0.2-2/OpenTypeUtilities.h 2009-04-30 11:18:46.000000000 +0200
+++ ttf2eot-new/OpenTypeUtilities.h 2011-10-14 17:15:09.982065512 +0200
@@ -28,6 +28,8 @@
#ifndef OpenTypeUtilities_h
#define OpenTypeUtilities_h

+#include <cstddef>
+
using std::vector;

bool getEOTHeader(unsigned char * fontData, size_t fontSize, vector<uint8_t>& eotHeader, size_t& overlayDst, size_t& overlaySrc, size_t& overlayLength);
=======================================

Updated PKGBUILD:

=======================================
# Contributor: wooptoo <wooptoo@gmail.com>

pkgname=ttf2eot
pkgver=0.0.2
pkgrel=2
arch=('i686' 'x86_64')
pkgdesc="Utility to convert TTF files to EOT"
url="http://code.google.com/p/ttf2eot/"
license=('GPL')
depends=()
makedepends=()
source=(http://$pkgname.googlecode.com/files/$pkgname-$pkgver-$pkgrel.tar.gz
cstddef.diff)
md5sums=(97c9ceb0ded362bf2e6dd3a3a9360f8d
5c79d1bde0a624d048c8f9540a3b6b59)

build() {
cd $srcdir
patch -Np0 -i "$srcdir/cstddef.diff"
cd $srcdir/$pkgname-$pkgver-$pkgrel
make || return 1
mkdir -p $startdir/pkg/usr/bin
cp $pkgname $startdir/pkg/usr/bin
}

=======================================