Package Details: bb 1.3rc1-15

Git Clone URL: https://aur.archlinux.org/bb.git (read-only, click to copy)
Package Base: bb
Description: ASCII-art demo that uses AAlib
Upstream URL: http://aa-project.sourceforge.net/bb/
Licenses: GPL
Submitter: lucaswerkmeister
Maintainer: lucaswerkmeister (forcegk)
Last Packager: lucaswerkmeister
Votes: 25
Popularity: 0.025825
First Submitted: 2015-08-12 12:16 (UTC)
Last Updated: 2023-05-01 13:40 (UTC)

Latest Comments

1 2 Next › Last »

lucaswerkmeister commented on 2023-05-01 13:40 (UTC)

@sh1r4s3 Thanks, done!

sh1r4s3 commented on 2023-04-24 20:32 (UTC)

Seems that Debian dropped the diff files. I changed PKGBUILD to build and install the package. I'll post patch here if it might be useful:

diff --git a/PKGBUILD b/PKGBUILD
index 674e4c6..054e105 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,12 +24,12 @@ depends=('aalib'
          'xorg-fonts-encodings'
          'xorg-fonts-misc')
 source=("http://ftp.debian.org/debian/pool/main/b/bb/${pkgname}_$pkgver.orig.tar.gz"
-        "http://ftp.debian.org/debian/pool/main/b/bb/${pkgname}_$pkgver-8.3.diff.gz"
+        "http://ftp.debian.org/debian/pool/main/b/bb/${pkgname}_$pkgver-13.debian.tar.xz"
         'https://github.com/xaos-project/XaoS/archive/release-3.5.tar.gz'
         'xaos-3.5-libpng15.patch'
         'xaos-3.5-build-fix-i686.patch')
 sha256sums=('9355b9e0e73863aa473d312b40bb4b071e1d50a8f1c3db553ddf31e814e296c8'
-            '5bba79d9903480c47d94e8a042212abc538723af853ca0926b8310724d0e2f2e'
+            'a811c5b808fdc72e70045f60523463ab459ad464057d71b876722092758d477e'
             'e5246a748e040740f754e035bafd5cae6af57202764f7bbb01dcb81e74116d76'
             '177ac125fe109a8326df3326df5b50f3a416fa8b9e9703202aefaf7e50bcbe8e'
             'f17252481e9f59d8a599321a7a48d0a336702112c5f1c4cb173e592b87448475')
@@ -38,7 +38,7 @@ prepare() {
     cd "$srcdir/$pkgname-$pkgver.orig"

     # patch bb
-    patch -Np1 -i "../${pkgname}_$pkgver-8.3.diff"
+    find "$srcdir/debian/patches/" -type f -maxdepth 1 -exec patch --verbose -Np1 -i {} \;

     # patch xaos
     cd "$srcdir/XaoS-release-3.5"
@@ -57,7 +57,7 @@ prepare() {
 build() {
     cd "$srcdir/$pkgname-$pkgver.orig"

-    autoconf
+    autoreconf -fisv
     ./configure --prefix=/usr

     # enabling allegro or using clang doesn't help, ie CC='clang -D USE_ALLEGRO'

lucaswerkmeister commented on 2022-04-04 19:12 (UTC)

Thanks – I only have xorg-fonts-encodings and xorg-fonts-misc installed from that list (pacman -Q xorg-{font-util,fonts-{100dpi,75dpi,alias,encodings,misc,type1},mkfontscale}), and bb seems to work on my end, so I’m assuming xorg-fonts-encodings is the important package (apart from xorg-fonts-misc, which is already a dependency). I’ve added it, let’s see if it helps…

produnis commented on 2022-04-04 19:05 (UTC)

I installed these packages:

xorg-font-util xorg-fonts-100dpi xorg-fonts-75dpi xorg-fonts-alias xorg-fonts-encodings xorg-fonts-misc xorg-fonts-type1 xorg-mkfontscale

and rebooted my system. After that, bb runs well and the X_OpenFont-error is gone.

lucaswerkmeister commented on 2021-11-29 21:54 (UTC)

Strange, it still works on my system. Maybe you can strace the program to figure out which font it’s trying to load?

giovariot commented on 2021-11-28 18:14 (UTC)

This happens when I try to run it:

X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  45 (X_OpenFont)
  Serial number of failed request:  7
  Current serial number in output stream:  8

Changing xorg-fonts-misc with other versions from the AUR doesn't really solver the problem unfortunately

lucaswerkmeister commented on 2021-01-09 11:49 (UTC)

@pancho thanks, added the dependency now.

pancho commented on 2020-08-02 04:55 (UTC) (edited on 2020-08-02 05:12 (UTC) by pancho)

Thanks, @lukaswerkmeister! (and roger -p1)

BTW, this happens to me when I try to run it:

$ bb # or bb -font X8x16
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  45 (X_OpenFont)
  Serial number of failed request:  9
  Current serial number in output stream:  10

I've traced the default font to src/ui/ui-drv/x11/ui_x11.c L519 to "fixed", which seems available in my system.

Any idea of what did I get wrong? TIA.

EDIT: Only after writing this query did I read the previous report and proposed fix.

So, I suggest adding xorg-fonts-misc to the depends array, which fixes the issue for me (X needs restarting, though).

Sorry for the noise.

lucaswerkmeister commented on 2020-07-31 21:24 (UTC)

@pancho Thanks, I updated the PKGBUILD accordingly. (The patches are applied with -p1, so they didn’t need updating, just the PKGBUILD itself.)

pancho commented on 2020-07-31 06:41 (UTC) (edited on 2020-07-31 06:41 (UTC) by pancho)

Hi! SourceForge no longer hosts this project, and thus it can no longer be built. I see from the comments that updating to xaos 4.x is not trivial, so let me suggest that, for the time being, we keep being based on xaos 3.5, which can be obtained from github: https://github.com/xaos-project/XaoS/archive/release-3.5.tar.gz

CAVEAT PACKAGER :-) the base directory of the tar file is no longer xaos-3.5 but instead XaoS-release-3.5, so either the patches need updating, or a hackish mv is required...

Thanks!