Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=dfc8d583e83374c4423c016dd4eb771c1b5277ef

commit dfc8d583e83374c4423c016dd4eb771c1b5277ef
Author: James Buren <r...@frugalware.org>
Date:   Tue Jul 14 20:59:16 2009 -0500

fbterm-1.5-1-i686
* new package

diff --git a/source/apps-extra/fbterm/FrugalBuild 
b/source/apps-extra/fbterm/FrugalBuild
new file mode 100644
index 0000000..5056a5b
--- /dev/null
+++ b/source/apps-extra/fbterm/FrugalBuild
@@ -0,0 +1,21 @@
+# Compiling Time: 0.02 SBU
+# Maintainer: James Buren <r...@frugalware.org>
+
+pkgname=fbterm
+pkgver=1.5
+pkgrel=1
+pkgdesc="A terminal emulator that runs in the framebuffer."
+depends=('fontconfig' 'zlib' 'libstdc++')
+groups=('apps-extra')
+archs=('i686')
+Finclude googlecode
+source=(${sour...@]} $pkgname-bi)
+sha1sums=('45a74a11b13f9e9b8a8f29fe9155c9cab3772f13' \
+          '3991beb7e20033dc9cee2f1a1dd08a789cdb057f')
+
+build() {
+        Fbuild
+        Fexe   /usr/bin/$pkgname-bi
+}
+
+# optimization OK
diff --git a/source/apps-extra/fbterm/README.Frugalware 
b/source/apps-extra/fbterm/README.Frugalware
new file mode 100644
index 0000000..6395a48
--- /dev/null
+++ b/source/apps-extra/fbterm/README.Frugalware
@@ -0,0 +1,3 @@
+To use fbterm, your user needs to be a member of the video group.
+
+To use a background image, install the fbv package and run fbterm-bi.
diff --git a/source/apps-extra/fbterm/fbterm-bi 
b/source/apps-extra/fbterm/fbterm-bi
new file mode 100644
index 0000000..fd2b8a8
--- /dev/null
+++ b/source/apps-extra/fbterm/fbterm-bi
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+/usr/bin/pacman-g2 -Qi fbv &> /dev/null
+
+if [ $? -ne 0 ]; then
+        echo "The fbv package must be installed to use this command."
+        exit 1
+fi
+
+if [ -x $1 ]; then
+        echo "Usage: $0 <image path> <fbterm flags>"
+        exit 1
+fi
+
+echo -ne "\033[?25l"
+
+fbv -cuik "$1" << EOF
+q
+EOF
+
+shift
+
+export FBTERM_BACKGROUND_IMAGE=1
+
+exec fbterm "$@"
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to