[arch-commits] Commit in fontforge/repos (8 files)
Gaetan Bisson
bisson at archlinux.org
Sat Sep 19 18:58:28 UTC 2015
Date: Saturday, September 19, 2015 @ 20:58:28
Author: bisson
Revision: 246682
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
fontforge/repos/staging-i686/
fontforge/repos/staging-i686/PKGBUILD
(from rev 246681, fontforge/trunk/PKGBUILD)
fontforge/repos/staging-i686/install
(from rev 246681, fontforge/trunk/install)
fontforge/repos/staging-i686/python35.patch
(from rev 246681, fontforge/trunk/python35.patch)
fontforge/repos/staging-x86_64/
fontforge/repos/staging-x86_64/PKGBUILD
(from rev 246681, fontforge/trunk/PKGBUILD)
fontforge/repos/staging-x86_64/install
(from rev 246681, fontforge/trunk/install)
fontforge/repos/staging-x86_64/python35.patch
(from rev 246681, fontforge/trunk/python35.patch)
-------------------------------+
staging-i686/PKGBUILD | 56 ++++++++++++++++++++++++++++++++++++++++
staging-i686/install | 12 ++++++++
staging-i686/python35.patch | 12 ++++++++
staging-x86_64/PKGBUILD | 56 ++++++++++++++++++++++++++++++++++++++++
staging-x86_64/install | 12 ++++++++
staging-x86_64/python35.patch | 12 ++++++++
6 files changed, 160 insertions(+)
Copied: fontforge/repos/staging-i686/PKGBUILD (from rev 246681, fontforge/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-09-19 18:58:28 UTC (rev 246682)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgname=fontforge
+pkgver=20150612
+pkgrel=2
+pkgdesc='Outline and bitmap font editor'
+url='http://www.fontforge.org/'
+arch=('i686' 'x86_64')
+license=('BSD')
+makedepends=('git')
+depends=('libtool' 'libxkbui' 'libxi'
+ 'pango' 'giflib' 'libtiff' 'libxml2' 'libspiro' 'libunicodenames' 'zeromq'
+ 'python' 'desktop-file-utils' 'gtk-update-icon-cache' 'hicolor-icon-theme')
+source=("https://github.com/fontforge/fontforge/archive/${pkgver}.tar.gz"
+ 'http://fontforge.org/cidmaps.tgz'
+ 'python35.patch')
+sha1sums=('a29ef3ff4df9b77344e29b25c632b36fb79c13e9'
+ 'efbc7c9d3e95159f5600dc71f9cccb370e46bb94'
+ '8003bc30a56aee7378ac1d74639d2678a823d952')
+
+install=install
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 -i ../python35.patch
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ export LIBZMQ_LIBS=-lzmq
+ ./bootstrap --force
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --enable-python-extension \
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -d "${pkgdir}/usr/share/fontforge"
+ install -m644 ../Adobe-* "${pkgdir}/usr/share/fontforge"
+
+ install -d "${pkgdir}/usr/share/icons"
+ cp -a desktop/icons "${pkgdir}/usr/share/icons/hicolor"
+ rm -fr "${pkgdir}/usr/share/icons/hicolor/src"
+
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 desktop/fontforge.desktop "${pkgdir}/usr/share/applications/fontforge.desktop"
+}
Copied: fontforge/repos/staging-i686/install (from rev 246681, fontforge/trunk/install)
===================================================================
--- staging-i686/install (rev 0)
+++ staging-i686/install 2015-09-19 18:58:28 UTC (rev 246682)
@@ -0,0 +1,12 @@
+post_upgrade() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_install() {
+ post_upgrade
+}
+
+post_remove() {
+ post_upgrade
+}
Copied: fontforge/repos/staging-i686/python35.patch (from rev 246681, fontforge/trunk/python35.patch)
===================================================================
--- staging-i686/python35.patch (rev 0)
+++ staging-i686/python35.patch 2015-09-19 18:58:28 UTC (rev 246682)
@@ -0,0 +1,12 @@
+diff -Naur old/fontforge/python.c new/fontforge/python.c
+--- old/fontforge/python.c 2015-06-12 10:48:13.000000000 -1000
++++ new/fontforge/python.c 2015-09-19 08:44:21.523111860 -1000
+@@ -18175,7 +18175,7 @@
+ mdef->runtime.pymod_def.m_doc = mdef->docstring;
+ mdef->runtime.pymod_def.m_methods = mdef->methods;
+ mdef->runtime.pymod_def.m_size = -1;
+- mdef->runtime.pymod_def.m_reload = NULL;
++ mdef->runtime.pymod_def.m_slots = NULL;
+ mdef->runtime.pymod_def.m_traverse = NULL;
+ mdef->runtime.pymod_def.m_clear = NULL;
+ mdef->runtime.pymod_def.m_free = NULL;
Copied: fontforge/repos/staging-x86_64/PKGBUILD (from rev 246681, fontforge/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-09-19 18:58:28 UTC (rev 246682)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgname=fontforge
+pkgver=20150612
+pkgrel=2
+pkgdesc='Outline and bitmap font editor'
+url='http://www.fontforge.org/'
+arch=('i686' 'x86_64')
+license=('BSD')
+makedepends=('git')
+depends=('libtool' 'libxkbui' 'libxi'
+ 'pango' 'giflib' 'libtiff' 'libxml2' 'libspiro' 'libunicodenames' 'zeromq'
+ 'python' 'desktop-file-utils' 'gtk-update-icon-cache' 'hicolor-icon-theme')
+source=("https://github.com/fontforge/fontforge/archive/${pkgver}.tar.gz"
+ 'http://fontforge.org/cidmaps.tgz'
+ 'python35.patch')
+sha1sums=('a29ef3ff4df9b77344e29b25c632b36fb79c13e9'
+ 'efbc7c9d3e95159f5600dc71f9cccb370e46bb94'
+ '8003bc30a56aee7378ac1d74639d2678a823d952')
+
+install=install
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 -i ../python35.patch
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ export LIBZMQ_LIBS=-lzmq
+ ./bootstrap --force
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --enable-python-extension \
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -d "${pkgdir}/usr/share/fontforge"
+ install -m644 ../Adobe-* "${pkgdir}/usr/share/fontforge"
+
+ install -d "${pkgdir}/usr/share/icons"
+ cp -a desktop/icons "${pkgdir}/usr/share/icons/hicolor"
+ rm -fr "${pkgdir}/usr/share/icons/hicolor/src"
+
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 desktop/fontforge.desktop "${pkgdir}/usr/share/applications/fontforge.desktop"
+}
Copied: fontforge/repos/staging-x86_64/install (from rev 246681, fontforge/trunk/install)
===================================================================
--- staging-x86_64/install (rev 0)
+++ staging-x86_64/install 2015-09-19 18:58:28 UTC (rev 246682)
@@ -0,0 +1,12 @@
+post_upgrade() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_install() {
+ post_upgrade
+}
+
+post_remove() {
+ post_upgrade
+}
Copied: fontforge/repos/staging-x86_64/python35.patch (from rev 246681, fontforge/trunk/python35.patch)
===================================================================
--- staging-x86_64/python35.patch (rev 0)
+++ staging-x86_64/python35.patch 2015-09-19 18:58:28 UTC (rev 246682)
@@ -0,0 +1,12 @@
+diff -Naur old/fontforge/python.c new/fontforge/python.c
+--- old/fontforge/python.c 2015-06-12 10:48:13.000000000 -1000
++++ new/fontforge/python.c 2015-09-19 08:44:21.523111860 -1000
+@@ -18175,7 +18175,7 @@
+ mdef->runtime.pymod_def.m_doc = mdef->docstring;
+ mdef->runtime.pymod_def.m_methods = mdef->methods;
+ mdef->runtime.pymod_def.m_size = -1;
+- mdef->runtime.pymod_def.m_reload = NULL;
++ mdef->runtime.pymod_def.m_slots = NULL;
+ mdef->runtime.pymod_def.m_traverse = NULL;
+ mdef->runtime.pymod_def.m_clear = NULL;
+ mdef->runtime.pymod_def.m_free = NULL;
More information about the arch-commits
mailing list