Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

New formula: paps 0.6.8 #17920

Closed
wants to merge 1 commit into from

3 participants

@RuiPereira

paps reads a UTF-8 encoded file and generates a
PostScript language rendering of the file.
The rendering is done by creating outline curves
through the pango ft2 backend.

@RuiPereira RuiPereira New formula: paps 0.6.8
paps reads a UTF-8 encoded file and generates a 
PostScript language rendering of the file. 
The rendering is done by creating outline curves
through the pango ft2 backend.
36ba509
@jacknagel
Owner

When I run the test for this it just hangs, pegging a core.

@jacknagel
Owner

On Snow Leopard, that is. Can anyone else test this?

@RuiPereira

No problem for me under Snow Leopard (running in a Parallels VM):

$ brew --config
HOMEBREW_VERSION: 0.9.4
ORIGIN: https://github.com/mxcl/homebrew
HEAD: 35633640f3f322667ac067c73ab0b4c84022710c
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: single-core 64-bit core2
OS X: 10.6.8-x86_64
Xcode: 4.2
LLVM-GCC: build 2336
Clang: 3.0 build 211
X11: 2.7.4 => /opt/X11
System Ruby: 1.8.7-174
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby

$ brew test paps
Testing paps

$ brew test -v paps
Testing paps
echo 'paps by Dov Grobgeld (דב גרובגלד)
Printing through Παν語 (Pango)

Arabic السلام عليكم
Bengali (বাঙ্লা)  ষাগতোম
Greek (Ελληνικά)  Γειά σας
Hebrew שָׁלוֹם
Japanese  (日本語) こんにちは, コンニチハ
Chinese  (中文,普通话,汉语) 你好
Vietnamese  (Tiếng Việt)  Xin Chào
' |  /usr/local/Cellar/paps/0.6.8/bin/paps > paps.ps
@adamv adamv closed this pull request from a commit
@RuiPereira RuiPereira paps 0.6.8
Closes #17920.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2978099
@adamv adamv closed this in 2978099
@adamv
Owner

Didn't hang here; pulled.

@ekarulf ekarulf referenced this pull request from a commit in ekarulf/homebrew
@RuiPereira RuiPereira paps 0.6.8
Closes #17920.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
1c7b100
@rajeeja rajeeja referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
@brandt brandt referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
@dshean dshean referenced this pull request from a commit in dshean/homebrew
@RuiPereira RuiPereira paps 0.6.8
Closes #17920.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
36e59e7
@draftycode draftycode referenced this pull request from a commit in draftycode/homebrew
@RuiPereira RuiPereira paps 0.6.8
Closes #17920.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
8087ed4
@shelhamer shelhamer referenced this pull request from a commit
@RuiPereira RuiPereira paps 0.6.8
Closes #17920.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
9f02b51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 18, 2013
  1. @RuiPereira

    New formula: paps 0.6.8

    RuiPereira authored
    paps reads a UTF-8 encoded file and generates a 
    PostScript language rendering of the file. 
    The rendering is done by creating outline curves
    through the pango ft2 backend.
This page is out of date. Refresh to see the latest.
Showing with 33 additions and 0 deletions.
  1. +33 −0 Library/Formula/paps.rb
View
33 Library/Formula/paps.rb
@@ -0,0 +1,33 @@
+require 'formula'
+
+class Paps < Formula
+ homepage 'http://paps.sourceforge.net/'
+ url 'http://downloads.sourceforge.net/paps/paps-0.6.8.tar.gz'
+ sha1 '83646b0de89deb8321f260c2c5a665bc7c8f5928'
+
+ depends_on 'pkg-config' => :build
+ depends_on 'pango'
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+
+ test do
+ # http://paps.sourceforge.net/small-hello.utf8
+ utf8 = <<-EOS
+paps by Dov Grobgeld (דב גרובגלד)
+Printing through Παν語 (Pango)
+
+Arabic السلام عليكم
+Bengali (বাঙ্লা) ষাগতোম
+Greek (Ελληνικά) Γειά σας
+Hebrew שָׁלוֹם
+Japanese (日本語) こんにちは, コンニチハ
+Chinese (中文,普通话,汉语) 你好
+Vietnamese (Tiếng Việt) Xin Chào
+ EOS
+ safe_system "echo '#{utf8}' | #{bin}/paps > paps.ps"
+ end
+end
Something went wrong with that request. Please try again.