Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293314 - media-fonts/jsmath little fix + media-fonts/jsmath-extra-dark , media-fonts/jsmath-extra-light
Summary: media-fonts/jsmath little fix + media-fonts/jsmath-extra-dark , media-fonts/j...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-15 20:06 UTC by Simone Scanzoni
Modified: 2009-11-17 06:50 UTC (History)
0 users

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


Attachments
jsmath-extra-dark-1.0.ebuild (jsmath-extra-dark-1.0.ebuild,1.56 KB, text/plain)
2009-11-15 20:07 UTC, Simone Scanzoni
Details
jsmath-extra-light-1.0.ebuild (jsmath-extra-light-1.0.ebuild,1.56 KB, text/plain)
2009-11-15 20:07 UTC, Simone Scanzoni
Details
jsmath-extra-dark-1.0.ebuild (jsmath-extra-dark-1.0.ebuild,1.46 KB, text/plain)
2009-11-15 20:11 UTC, Simone Scanzoni
Details
jsmath-extra-light-1.0.ebuild (jsmath-extra-light-1.0.ebuild,1.46 KB, text/plain)
2009-11-15 20:12 UTC, Simone Scanzoni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simone Scanzoni 2009-11-15 20:06:15 UTC
I got the opportunity to fix in jsmath-1.0 this:
/var/tmp/portage/media-fonts/jsmath-1.0/temp/environment: line 1334: cd: /var/tmp/portage/media-fonts/jsmath-1.0/work/jsmath-1.0: No such file or directory
And added USE flags for extra jsMath fonts (used by PlanetMath.org ), with their ebuilds.

--- /usr/portage/media-fonts/jsmath/jsmath-1.0.ebuild   2009-11-12 19:03:03.000000000 +0100
+++ jsmath-1.0.ebuild   2009-11-15 21:03:34.000000000 +0100
@@ -13,11 +13,19 @@
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
+IUSE="extra-dark extra-light"
 
 DEPEND=""
-RDEPEND=""
+RDEPEND="|| ( extra-dark? ( media-fonts/jsmath-extra-dark ) extra-light? ( media-fonts/jsmath-extra-light ) )"
 
 S="${WORKDIR}/${MYPN}"
+FONT_S=${S}
 FONT_PN="jsMath"
 FONT_SUFFIX="ttf"
+
+pkg_postinst() {
+       if use extra-dark && use extra-light ; then
+               ewarn "Light and dark versions of extra fonts cannot be"
+               ewarn "installed together, the dark version has been used."
+       fi
+}
Comment 1 Simone Scanzoni 2009-11-15 20:07:21 UTC
Created attachment 210340 [details]
jsmath-extra-dark-1.0.ebuild
Comment 2 Simone Scanzoni 2009-11-15 20:07:54 UTC
Created attachment 210341 [details]
jsmath-extra-light-1.0.ebuild
Comment 3 Simone Scanzoni 2009-11-15 20:11:42 UTC
Created attachment 210342 [details]
jsmath-extra-dark-1.0.ebuild
Comment 4 Simone Scanzoni 2009-11-15 20:12:20 UTC
Created attachment 210343 [details]
jsmath-extra-light-1.0.ebuild
Comment 5 Sébastien Fabbro (RETIRED) gentoo-dev 2009-11-17 06:50:17 UTC
Thanks! I did all the changes in cvs.