Package Details: gbdfed 1.6-3

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: 39
Popularity: 0.028801
First Submitted: 2006-06-16 13:20
Last Updated: 2019-01-14 14:36

Latest Comments

1 2 Next › Last »

mythsunwind commented on 2021-06-22 21:58

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

thanks, sources updated

pablo1 commented on 2019-01-14 14:04

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

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

katie commented on 2018-11-28 11:10

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

@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

Ypnose commented on 2012-09-11 16:54

The sources are offline. Could you upload them, somewhere?

Anonymous comment on 2012-07-24 18:35

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

Updated! Thanks OK100 (weird nickname).

OK100 commented on 2011-11-19 20:56

Hi, please include this patch. It fixes the problem described here:
https://bbs.archlinux.org/viewtopic.php?id=121113

--- glyphedit.c.orig 2010-04-16 16:39:04.000000000 +0200
+++ glyphedit.c 2011-11-19 21:38:26.467479537 +0100
@@ -104,7 +104,8 @@ enum {
GLYPH_MODIFIED = 0,
POINTER_MOVED,
OPERATION_CHANGE,
- COLOR_CHANGE
+ COLOR_CHANGE,
+ NUM_SIGNALS
};

/**************************************************************************
@@ -114,7 +115,7 @@ enum {
**************************************************************************/

static GtkWidgetClass *parent_class = 0;
-static guint glyphedit_signals[OPERATION_CHANGE + 1];
+static guint glyphedit_signals[NUM_SIGNALS];

/**************************************************************************
*

bbenne10 commented on 2011-03-26 17:32

As of the time of me writing this, it seems that the homepage for gbdfed is down. I've rewritten the source array in the PKGBUILD to include a different download location for both the source tarball and the imge (though the image isn't exactly the same, it's a tango icon that fits relatively well). You can find the updated PKGBUILD here: http://www.ompldr.org/vN3o0dQ

I didn't generate new md5sums, so this'll need to be built with 'makepkg --skipinteg'.