Package Details: gbdfed 1.6-4

Git Clone URL: https://aur.archlinux.org/gbdfed.git (read-only, click to copy)
Package Base: gbdfed
Description: A GTK2 bitmap font editor
Upstream URL: http://sofia.nmsu.edu/~mleisher/Software/gbdfed/
Licenses: MIT
Submitter: None
Maintainer: pzl
Last Packager: pzl
Votes: 40
Popularity: 0.000000
First Submitted: 2006-06-16 13:20 (UTC)
Last Updated: 2022-06-30 14:59 (UTC)

Latest Comments

1 2 Next › Last »

sschueller commented on 2024-10-21 07:08 (UTC) (edited on 2024-10-21 09:50 (UTC) by sschueller)

Upstream appears to be gone. Can we change this to use a github mirror like this https://github.com/andrewshadura/gbdfed ?

Edit: I have found the original tar.bz2 (same hash) and uploaded it to a fork of the code as release. If you change the following in the PKGBUILD it will work again:

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,8 +9,8 @@ arch=(i686 x86_64)
 url="http://sofia.nmsu.edu/~mleisher/Software/gbdfed/"
 license=('MIT')
 depends=(gtk2)
-source=(http://sofia.nmsu.edu/~mleisher/Software/gbdfed/$pkgname-$pkgver.tar.bz2 \
-       http://sofia.nmsu.edu/~mleisher/Software/gbdfed/gbdfed48x48.png \
+source=(https://github.com/StationDisplay/gbdfed/releases/download/v1.6/gbdfed-1.6.tar.bz2 \
+       https://github.com/StationDisplay/gbdfed/releases/download/v1.6/gbdfed48x48.png \

vaygr commented on 2022-06-29 23:07 (UTC)

Thanks for the patch. Can the package be updated to include it though?

mythsunwind commented on 2021-06-22 21:58 (UTC) (edited on 2021-06-22 22:00 (UTC) by mythsunwind)

The package currently does not compile anymore. It throws errors on all fprintf saying "format not a string literal and no format arguments".

To fix it you can include a patch from debian package called "format-security.patch" which looks like this:

--- a/bdf.c
+++ b/bdf.c
@@ -2843,14 +2843,14 @@
         bpr = ((c->bbx.width * font->bpp) + 7) >> 3;
         for (j = 0; bpr != 0 && j < c->bytes; j++) {
             if (j && j % bpr == 0)
-              fprintf(out, eol);
+              fprintf(out, "%s", eol);
             fprintf(out, "%02X", c->bitmap[j]);
         }
         /*
          * Handle empty bitmaps like this.
          */
         if (c->bbx.height > 0)
-          fprintf(out, eol);
+          fprintf(out, "%s", eol);
         fprintf(out, "ENDCHAR%s", eol);

         /*
@@ -2915,14 +2915,14 @@
         bpr = ((c->bbx.width * font->bpp) + 7) >> 3;
         for (j = 0; bpr != 0 && j < c->bytes; j++) {
             if (j && j % bpr == 0)
-              fprintf(out, eol);
+              fprintf(out, "%s", eol);
             fprintf(out, "%02X", c->bitmap[j]);
         }
         /*
          * Handle empty bitmaps like this.
          */
         if (c->bbx.height > 0)
-          fprintf(out, eol);
+          fprintf(out, "%s", eol);
         fprintf(out, "ENDCHAR%s", eol);

         /*

pzl commented on 2019-01-14 14:37 (UTC)

thanks, sources updated

pablo1 commented on 2019-01-14 14:04 (UTC)

Here is a up-to-date PKGBUILD with updated sources

https://gist.github.com/binaryplease/2e7f56d389f2ff08fad98e4bbac8e965

katie commented on 2018-11-28 11:10 (UTC)

The sources for this package have changed and need to be updated: http://sofia.nmsu.edu/~mleisher/Software/gbdfed/

speps commented on 2013-05-13 22:10 (UTC)

@oliwer Hi, you should put something like head -n21 $pkgname.c > "$pkgdir/usr/share/licenses/$pkgname/LICENSE" in your PKGBUILD to include the required custom MIT license. Cheers

<deleted-account> commented on 2012-07-24 18:35 (UTC)

This is amazing. I've been wanting to make bitmap fonts for years, and now I can! Thank you for finding and providing this package!

oliwer commented on 2011-11-23 20:40 (UTC)

Updated! Thanks OK100 (weird nickname).