diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/fbida | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/fbida')
-rw-r--r-- | recipes/fbida/fbida_2.07.bb | 31 | ||||
-rw-r--r-- | recipes/fbida/files/GNUmakefile.patch | 24 | ||||
-rw-r--r-- | recipes/fbida/files/exiftran.c.patch | 13 | ||||
-rw-r--r-- | recipes/fbida/files/fbi.c.patch | 25 | ||||
-rw-r--r-- | recipes/fbida/files/makefile.patch | 13 | ||||
-rw-r--r-- | recipes/fbida/files/sys_siglist.patch | 12 |
6 files changed, 118 insertions, 0 deletions
diff --git a/recipes/fbida/fbida_2.07.bb b/recipes/fbida/fbida_2.07.bb new file mode 100644 index 0000000000..c3512e0fe7 --- /dev/null +++ b/recipes/fbida/fbida_2.07.bb @@ -0,0 +1,31 @@ +# - Currently this app needs ttf-dejavu-sans-mono[.ipk] installed! +# - think about using fbi -a option for autozoom on tiny screens +# - fbi displays in portrait-mode if your fb is in portrait (normal) mode too +# (fbcon:rotate stands only for the fb console) + +HOMEPAGE = "http://linux.bytesex.org/fbida/" +DESCRIPTION = "frame buffer image and doc viewer tools" +AUTHOR = "Gerd Knorr" +LICENSE = "GPL2" +SECTION = "utils" +PR = "r3" + +DEPENDS = "virtual/libiconv jpeg fontconfig freetype libexif" +RDEPENDS = "ttf-dejavu-sans-mono" + +SRC_URI = "http://dl.bytesex.org/releases/fbida/fbida-${PV}.tar.gz \ + file://exiftran.c.patch;patch=1 \ + file://fbi.c.patch;patch=1 \ + file://GNUmakefile.patch;patch=1 \ + file://sys_siglist.patch;patch=1 \ + " + +EXTRA_OEMAKE = "" + +do_compile() { + oe_runmake +} + +do_install() { + oe_runmake 'DESTDIR=${D}' install +} diff --git a/recipes/fbida/files/GNUmakefile.patch b/recipes/fbida/files/GNUmakefile.patch new file mode 100644 index 0000000000..2c0e8fbcd3 --- /dev/null +++ b/recipes/fbida/files/GNUmakefile.patch @@ -0,0 +1,24 @@ +Index: fbida-2.07/fbi.c +=================================================================== +--- fbida-2.07/GNUmakefile 2008-10-10 22:27:58.000000000 +0200 ++++ fbida-2.07/GNUmakefile.mod 2008-10-10 22:31:07.000000000 +0200 +@@ -181,16 +181,16 @@ + install: build + $(INSTALL_DIR) $(bindir) + $(INSTALL_DIR) $(mandir)/man1 +- $(INSTALL_BINARY) exiftran $(bindir) ++ $(INSTALL_SCRIPT) exiftran $(bindir) + $(INSTALL_DATA) $(srcdir)/exiftran.man $(mandir)/man1/exiftran.1 + ifeq ($(HAVE_LINUX_FB_H),yes) +- $(INSTALL_BINARY) fbi $(bindir) ++ $(INSTALL_SCRIPT) fbi $(bindir) + $(INSTALL_SCRIPT) fbgs $(bindir) + $(INSTALL_DATA) $(srcdir)/fbi.man $(mandir)/man1/fbi.1 + $(INSTALL_DATA) $(srcdir)/fbgs.man $(mandir)/man1/fbgs.1 + endif + ifeq ($(HAVE_MOTIF),yes) +- $(INSTALL_BINARY) ida $(bindir) ++ $(INSTALL_SCRIPT) ida $(bindir) + $(INSTALL_DATA) $(srcdir)/ida.man $(mandir)/man1/ida.1 + $(INSTALL_DIR) $(resdir)/app-defaults + $(INSTALL_DATA) $(srcdir)/Ida.ad $(resdir)/app-defaults/Ida diff --git a/recipes/fbida/files/exiftran.c.patch b/recipes/fbida/files/exiftran.c.patch new file mode 100644 index 0000000000..0441a5a1de --- /dev/null +++ b/recipes/fbida/files/exiftran.c.patch @@ -0,0 +1,13 @@ +Index: fbida-2.07/exiftran.c +=================================================================== +--- fbida-2.07/exiftran.c 2006-06-13 14:47:24.000000000 +0200 ++++ fbida-2.07/exiftran.c.mod 2008-10-07 01:43:07.000000000 +0200 +@@ -16,6 +16,8 @@ + #include "jpegtools.h" + #include "genthumbnail.h" + ++#define HAVE_NEW_EXIF ++ + /* ---------------------------------------------------------------------- */ + + static void dump_exif(FILE *out, ExifData *ed) diff --git a/recipes/fbida/files/fbi.c.patch b/recipes/fbida/files/fbi.c.patch new file mode 100644 index 0000000000..36942afa3d --- /dev/null +++ b/recipes/fbida/files/fbi.c.patch @@ -0,0 +1,25 @@ +Index: fbida-2.07/fbi.c +=================================================================== +--- fbida-2.07/fbi.c 2008-06-09 16:53:33.000000000 +0200 ++++ fbida-2.07/fbi.c.mod 2008-10-10 21:33:54.000000000 +0200 +@@ -46,6 +46,7 @@ + #include "jpeg/transupp.h" /* Support routines for jpegtran */ + #include "jpegtools.h" + ++#define HAVE_NEW_EXIF + #define TRUE 1 + #define FALSE 0 + #undef MAX +@@ -1465,10 +1466,10 @@ + + font_init(); + if (NULL == fontname) +- fontname = "monospace:size=16"; ++ fontname = "monospace:size=10"; + face = font_open(fontname); + if (NULL == face) { +- fprintf(stderr,"can't open font: %s\n",fontname); ++ fprintf(stderr,"can't open font: %s. Please install ttf-dejavu-sans-mono.ipk\n",fontname); + exit(1); + } + fd = fb_init(cfg_get_str(O_DEVICE), diff --git a/recipes/fbida/files/makefile.patch b/recipes/fbida/files/makefile.patch new file mode 100644 index 0000000000..8ed04dc1b9 --- /dev/null +++ b/recipes/fbida/files/makefile.patch @@ -0,0 +1,13 @@ +Index: fbida-2.07/GNUmakefile +=================================================================== +--- fbida-2.07/GNUmakefile 2006-06-13 15:35:48.000000000 +0200 ++++ fbida-2.07/GNUmakefile.mod 2008-10-07 22:55:51.000000000 +0200 +@@ -181,7 +181,7 @@ + install: build + $(INSTALL_DIR) $(bindir) + $(INSTALL_DIR) $(mandir)/man1 +- $(INSTALL_BINARY) exiftran $(bindir) ++ $(INSTALL_SCRIPT) exiftran $(bindir) + $(INSTALL_DATA) $(srcdir)/exiftran.man $(mandir)/man1/exiftran.1 + ifeq ($(HAVE_LINUX_FB_H),yes) + $(INSTALL_SCRIPT) fbi $(bindir) diff --git a/recipes/fbida/files/sys_siglist.patch b/recipes/fbida/files/sys_siglist.patch new file mode 100644 index 0000000000..ae816d4bd4 --- /dev/null +++ b/recipes/fbida/files/sys_siglist.patch @@ -0,0 +1,12 @@ +Index: fbida-2.07/fbtools.c +=================================================================== +--- fbida-2.07.orig/fbtools.c 2008-10-11 12:49:38.676243745 +0200 ++++ fbida-2.07/fbtools.c 2008-10-11 12:50:08.286262765 +0200 +@@ -519,6 +519,6 @@ + + /* cleanup */ + fb_cleanup(); +- fprintf(stderr,"Oops: %s\n",sys_siglist[termsig]); ++ fprintf(stderr,"Oops: %s\n",strsignal(termsig)); + exit(42); + } |