You are not logged in.

#1 2014-07-22 20:33:36

ivanborodin
Member
Registered: 2013-08-30
Posts: 58

terminus-font package without X dependecies ?

I'd like more sizes to the Lat2-Terminus16 font installed by default in arch, but, after looking at the package details:

terminus-font package info dependencies:

- fontconfig
- xorg-font-utils
- xorg-fonts-encodings
- xorg-fonts-alias (optional)
- fontconfig (make)
- xorg-bdftopcf (make)
- xorg-mkfontdir (make)
- xorg-mkfontscale (make)

I see there are lots of dependencies to X software components.

I don't have X installed neither I like to install it.

Anyone knows if there is any other package for the console font alone without the X things ?

Offline

#2 2014-07-22 20:45:15

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,613
Website

Re: terminus-font package without X dependecies ?

You can easily rebuild the package with ABS and remove one configure flag and all the X11 deps.

EDIT: you can also remove the install script, and all the fontconfig bits in the package function:

pkgname=terminus-font
pkgver=4.39
pkgrel=1
pkgdesc='Monospace bitmap font'
arch=('any')
url='http://sourceforge.net/projects/terminus-font/'
license=('GPL2' 'custom:OFL')
source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('3108383986b365a4b9cc08c31a4195196f6de974d2735d77f6c6efa9feb1f5bf')

prepare() {
  chmod +x "$pkgname-$pkgver/configure"
}

build() {
  cd "$pkgname-$pkgver"
  ./configure --prefix=/usr \
    --psfdir=/usr/share/kbd/consolefonts
  make
}

package() {
  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
  install -Dm644 "$srcdir/$pkgname-$pkgver/OFL.TXT" \
    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

Last edited by Trilby (2014-07-22 20:48:45)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB