Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Guix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ogs
inf
Guix
Commits
5ebba61a
Unverified
Commit
5ebba61a
authored
7 years ago
by
Ricardo Wurmus
Browse files
Options
Downloads
Patches
Plain Diff
gnu: Add texlive-fonts-knuth-lib.
* gnu/packages/tex.scm (texlive-fonts-knuth-lib): New variable.
parent
3c4f1ec7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gnu/packages/tex.scm
+63
-0
63 additions, 0 deletions
gnu/packages/tex.scm
with
63 additions
and
0 deletions
gnu/packages/tex.scm
+
63
−
0
View file @
5ebba61a
...
...
@@ -500,6 +500,69 @@ (define-public texlive-fonts-cm
8A."
)
(
license
license:knuth
)))
(
define-public
texlive-fonts-knuth-lib
(
package
(
name
"texlive-fonts-knuth-lib"
)
(
version
(
number->string
%texlive-revision
))
(
source
(
origin
(
method
svn-fetch
)
(
uri
(
svn-reference
(
url
(
string-append
"svn://www.tug.org/texlive/tags/"
%texlive-tag
"/Master/texmf-dist/"
"/fonts/source/public/knuth-lib"
))
(
revision
%texlive-revision
)))
(
sha256
(
base32
"0in9aqyi8jkyf9d16z0li50z5fpwj1iwgwm83gmvwqcf7chfs04y"
))))
(
build-system
gnu-build-system
)
(
arguments
`
(
#
:modules
((
guix
build
gnu-build-system
)
(
guix
build
utils
)
(
srfi
srfi-26
))
#
:tests?
#f
; no tests
#
:phases
(
modify-phases
%standard-phases
(
delete
'configure
)
(
replace
'build
(
lambda*
(
#
:key
inputs
#
:allow-other-keys
)
(
let
((
mf
(
assoc-ref
inputs
"texlive-metafont-base"
)))
;; Tell mf where to find mf.base
(
setenv
"MFBASES"
(
string-append
mf
"/share/texmf-dist/web2c"
))
;; Tell mf where to look for source files
(
setenv
"MFINPUTS"
(
string-append
(
getcwd
)
":"
mf
"/share/texmf-dist/metafont/base"
)))
(
mkdir
"build"
)
(
zero?
(
system*
"mf"
"-progname=mf"
"-output-directory=build"
(
string-append
"\\"
"mode:=ljfour; "
"mag:=1; "
"batchmode; "
"input manfnt"
)))))
(
replace
'install
(
lambda*
(
#
:key
outputs
#
:allow-other-keys
)
(
let*
((
out
(
assoc-ref
outputs
"out"
))
(
tfm
(
string-append
out
"/share/texmf-dist/fonts/tfm/public/knuth-lib"
))
(
mf
(
string-append
out
"/share/texmf-dist/fonts/source/public/knuth-lib"
)))
(
for-each
(
cut
install-file
<>
tfm
)
(
find-files
"build"
"\\.*"
))
(
for-each
(
cut
install-file
<>
mf
)
(
find-files
"."
"\\.mf"
))
#t
))))))
(
native-inputs
`
((
"texlive-bin"
,
texlive-bin
)
(
"texlive-metafont-base"
,
texlive-metafont-base
)))
(
home-page
"https://www.ctan.org/pkg/knuth-lib"
)
(
synopsis
"Small library of METAFONT sources"
)
(
description
"This is a collection of core TeX and METAFONT macro files
from Donald Knuth, including the plain format, plain base, and the MF logo
fonts."
)
(
license
license:knuth
)))
(
define
texlive-texmf
(
package
(
name
"texlive-texmf"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment