X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-pd0-f177.google.com (mail-pd0-f177.google.com [209.85.192.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id C686ADC0169 for ; Mon, 30 Jun 2014 21:51:49 +0000 (UTC) Received: by mail-pd0-f177.google.com with SMTP id y10so8894148pdj.22 for ; Mon, 30 Jun 2014 14:51:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=xJRYxxBkPAYRWOlZrrzyIP6anwBxbYEjTQ3v5RZhqic=; b=wvY6b8Wvpg5wW27YpYvyyGawf2+l94vx7jdpMcbn4FEhzIb+HZqIlahOc2aSzACXGu lbn/hSXgVuMrVlp6W322AIErpfxqGqzbipzwOPnxvvjG125XgX6sWCdF8/ZeQHAS9O2x 40dOAfCa6d5hzP77uwwDZFTyFDb90n8N+HwTcsLFxW99CjQx9c0d4UdQ+GFHDuXSjpMG diIkEz170PHHWUJHTNd5bYS/O40bO4Ed3FRDgxboMIG4oecIWA1NQAsC9Qakm19k5nuK gTHSVhB3hH+QGO7xlTpUxiq+SVsCPSEjVRCbFZDDS5e5zxCnmgOuWnat0bg6bFxFaOtQ KeDA== X-Received: by 10.66.137.109 with SMTP id qh13mr55131576pab.39.1404165108894; Mon, 30 Jun 2014 14:51:48 -0700 (PDT) Received: from localhost.localdomain ([50.0.227.219]) by mx.google.com with ESMTPSA id pq3sm29334303pbb.57.2014.06.30.14.51.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 30 Jun 2014 14:51:48 -0700 (PDT) From: Isaac Dunham To: alpine-devel@lists.alpinelinux.org Cc: Isaac Dunham Subject: [alpine-devel] [PATCH] main/cups-filters: fix text file printing Date: Mon, 30 Jun 2014 14:51:41 -0700 Message-Id: <1404165101-3500-1-git-send-email-ibid.ag@gmail.com> X-Mailer: git-send-email 2.0.1 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: ttf-freefont is needed for text printing to work. pdf.UTF-8 symlink is needed; pdf.utf-8 isn't good enough now. --- main/cups-filters/APKBUILD | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/main/cups-filters/APKBUILD b/main/cups-filters/APKBUILD index b9ed634..caa0580 100644 --- a/main/cups-filters/APKBUILD +++ b/main/cups-filters/APKBUILD @@ -1,13 +1,15 @@ # Maintainer: Natanael Copa pkgname=cups-filters pkgver=1.0.53 -pkgrel=0 +pkgrel=1 pkgdesc="OpenPrinting CUPS filters and backends" url="http://www.linuxfoundation.org/collaborate/workgroups/openprinting/pdf_as_standard_print_job_format" arch="all" license="GPLv2 and GPLv2+ and GPLv3 and MIT" # textonly is a bash script -depends="poppler-utils bc bash" +# texttops/textopdf need FreeMono from ttf-freefont +# for text printing to work +depends="poppler-utils bc bash ttf-freefont" depends_dev="" makedepends="$depends_dev cups-dev libjpeg-turbo-dev poppler-dev zlib-dev libpng-dev tiff-dev lcms-dev freetype-dev ghostscript-dev fontconfig-dev @@ -49,6 +51,9 @@ build() { package() { cd "$_builddir" make -j1 DESTDIR="$pkgdir" install || return 1 + #the pdf.utf-8 symlink isn't quite good enough + cd "$pkgdir"/usr/share/cups/charsets && \ + ln -s pdf.utf-8.simple pdf.UTF-8 || return 1 rm -f "$pkgdir"/usr/lib/*.la } -- 2.0.1 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---