Skip to content

Does not compile #2

Open
Open

Description

@0Karakurt0

During those 7 ywers there was major update to X libraries, so nowadays it fails with

Package 'xfont', required by 'virtual:world', not found
while
1 extra/libxfont2 2.0.5-1 (116.1 KiB 243.7 KiB) (installed)

Googing helped to see that installed library has version 2 (which is the cause of the problem), but despite AUR package being 1.5 version
2 aur/libxfont 1.5.4-1 (+9 0.04)
it still no use, because it tries to pull other outdated dependencies, like xproto and fontsproto (xorgproto now).

So, on modern systems you cannot build it without updating repo or downgrading whole system.
This issue is not so much to developers, but to other internet strangers like me, so that they won't waste a bunch of hours trying to compile

Activity

  1. schrmh commented on Jan 15, 2022

    @schrmh

    @0Karakurt0 ,,Replace xproto and fontsproto dependencies with xorgproto in makedepends" (https://aur.archlinux.org/packages/libxfont/#comment-809492)
    This would be the fixed PKGBUILD:

    # Maintainer: Vi0L0 <vi0l093@gmai.com>
    # Previous Maintainer: Laurent Carlier <lordheavym@gmail.com>
    
    pkgname=libxfont
    pkgver=1.5.4
    pkgrel=1
    pkgdesc="X11 font rasterisation library"
    arch=('x86_64' 'armv6h')
    url="https://xorg.freedesktop.org/"
    license=('custom')
    depends=('freetype2' 'libfontenc' 'xorgproto')
    makedepends=('xorg-util-macros' 'xtrans')
    source=(${url}/archive/individual/lib/libXfont-${pkgver}.tar.bz2)
    #sha256sums=('0e8ab7fd737ccdfe87e1f02b55f221f0bd4503a1c5f28be4ed6a54586bac9c4e'
    #            'SKIP')
    sha256sums=('1a7f7490774c87f2052d146d1e0e64518d32e6848184a18654e8d0bb57883242')
    #validpgpkeys=('C383B778255613DFDB409D91DB221A6900000011') # Keith Packard <keithp@keithp.com>
    #validpgpkeys+=('995ED5C8A6138EB0961F18474C09DD83CAAA50B2') # "Adam Jackson <ajax@nwnk.net>"
    #validpgpkeys+=('C41C985FDCF1E5364576638B687393EE37D128F8') # "Matthieu Herrb <matthieu.herrb@laas.fr>"
    
    build() {
      cd "${srcdir}/libXfont-${pkgver}"
      ./configure --prefix=/usr --sysconfdir=/etc --disable-static
      make
    }
    
    package() {
      cd "${srcdir}/libXfont-${pkgver}"
      make DESTDIR="${pkgdir}" install
      install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
      install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
    }
    

    Run makepkg -si to sync dependencies and to then install the package.

    Then you still need to do one thing:
    Add --disable-xwayland \ to build-xsixel.sh.
    Compiling should then work by running ./build-xsixel.sh.
    After that I run sudo make install
    And was able to run this Xorg server by executing e.g. /usr/local/bin/Xsixel :2 in a SIXEL capable terminal.
    Applications can be started by adding DISPLAY=:2 before them in this case. E.g. DISPLAY=:2 awesome.

  2. 0Karakurt0 commented on May 5, 2022

    @0Karakurt0
    Author

    That helped.
    It compiled and displayed an output, but I could not give it focus to control the mouse.
    Neither could I launch mpv there...
    But still, it's cool to see this working.
    Thank you very much!

  3. 0Karakurt0 commented on May 5, 2022

    @0Karakurt0
    Author

    Tho, I won't be closing this issue, so that it would remain visible

  4. Kreijstal commented on Sep 4, 2024

    @Kreijstal

    wonder how hard ist to backport sixel to modern x11

  5. EeyoreTheDonkee commented on Jun 23, 2026

    @EeyoreTheDonkee

    Naive question: have you tried this with XLibre?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions