Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 316329 - Version bump: app-text/dvipng-1.13
Summary: Version bump: app-text/dvipng-1.13
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-20 10:26 UTC by Samuli Suominen (RETIRED)
Modified: 2010-04-22 13:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
--enable/--disable-freetype (dvipng-1.13-freetype.patch,727 bytes, patch)
2010-04-20 18:30 UTC, Samuli Suominen (RETIRED)
Details | Diff
--enable/--disable for freetype and t1lib (dvipng-1.13-optional.patch,1.24 KB, patch)
2010-04-20 19:13 UTC, Samuli Suominen (RETIRED)
Details | Diff
Patch from 1.12-r1 ebuild to 1.13. (dvipng-1.13.ebuild.patch,847 bytes, patch)
2010-04-22 12:52 UTC, Samuli Suominen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2010-04-20 10:26:18 UTC
http://nongnu.uib.no/dvipng/dvipng-1.13.tar.gz
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2010-04-20 18:14:51 UTC
There is no configure option for freetype support.  It is autodetected.  Shall we patch out the test or go with mandatory freetype?
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-04-20 18:30:18 UTC
Created attachment 228539 [details, diff]
--enable/--disable-freetype

Patch for --enable and --disable-freetype. It's enabled by default if --disable-freetype is not given.
Comment 3 Ulrich Müller gentoo-dev 2010-04-20 18:57:43 UTC
(In reply to comment #2)
> Patch for --enable and --disable-freetype. It's enabled by default if
> --disable-freetype is not given.

We should handle the t1lib and freetype USE flags in a uniform way. I.e., either patch configure.ac for both of them, or use a solution as it is done for t1lib in 1.12-r1.

Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-04-20 19:13:34 UTC
Created attachment 228543 [details, diff]
--enable/--disable for freetype and t1lib

eautoreconf

[ ... ]

$(use_enable truetype freetype)
$(use_enable t1lib)
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-04-21 21:08:39 UTC
I've mailed the -optional.patch to upstream mailing list minute ago...
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2010-04-22 11:31:03 UTC
Upstream reply:

<quote>

This is of course quite possible, and I'll include this in the next
release, I don't see why not.

But I'd recommend making Freetype mandatory because image quality is not
as good with the other options. Freetype is better at hinting. Also,
using Freetype is the only way to get subfont support (CJK). At this
point, I mainly view t1lib and PK support as (more and more obsolete)
fallbacks. From what I can understand, both texlive and MIKTeX include
Freetype.

</quote>
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2010-04-22 12:02:20 UTC
configure.ac:133: error: possibly undefined macro: AC_HAS_KPSE_ENC_FORMATS
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

Hrm?
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2010-04-22 12:52:33 UTC
Created attachment 228753 [details, diff]
Patch from 1.12-r1 ebuild to 1.13.

This should do, while waiting for upstream to release 1.14 with my patch.

Note that I only reverted the KEYWORDS to ~ and added the freetype disable stuff there, so if it needs more ebuild changes... please check
Comment 9 Christian Faulhammer (RETIRED) gentoo-dev 2010-04-22 13:14:00 UTC
Thanks.  Bumped.