aboutsummaryrefslogtreecommitdiff
path: root/base/framebuffer
diff options
context:
space:
mode:
authorDeposite Pirate2018-09-16 18:48:36 +0200
committerDeposite Pirate2018-09-16 18:48:36 +0200
commitd150a5f3e462fa7fe194a805a4aa0076f4d03ab9 (patch)
treece5e44d69c5f3175bfdbd1e3717b52c5dcca5638 /base/framebuffer
parentf29d3519ce073ec30f99754d93304324f7f26d65 (diff)
Add ports.
Diffstat (limited to 'base/framebuffer')
-rw-r--r--base/framebuffer/fbcat-0.3-man.patch.xzbin0 -> 1588 bytes
-rw-r--r--base/framebuffer/fbida-2.09-cflags.patch.xzbin0 -> 320 bytes
-rw-r--r--base/framebuffer/fbida-2.09-config.patch.xzbin0 -> 340 bytes
-rw-r--r--base/framebuffer/fbida-2.09-extraldflags.patch.xzbin0 -> 300 bytes
-rw-r--r--base/framebuffer/fbida-2.09-fontsutf8.patch.xzbin0 -> 840 bytes
-rw-r--r--base/framebuffer/fbida-2.09-nocurl.patch.xzbin0 -> 556 bytes
-rw-r--r--base/framebuffer/fbset-2.1-fbmodes.patch.xzbin0 -> 1204 bytes
-rw-r--r--base/framebuffer/fbset-2.1-kernelfbh.patch.xzbin0 -> 13024 bytes
-rw-r--r--base/framebuffer/fbset-2.1-makefile.patch.xzbin0 -> 624 bytes
-rw-r--r--base/framebuffer/fbset-2.1-manpages.patch.xzbin0 -> 2592 bytes
-rw-r--r--base/framebuffer/fbset-2.1-newaccels.patch.xzbin0 -> 916 bytes
-rw-r--r--base/framebuffer/fbset-2.1-rgbkeyword.patch.xzbin0 -> 628 bytes
-rw-r--r--base/framebuffer/fbset-2.1-usage.patch.xzbin0 -> 468 bytes
-rw-r--r--base/framebuffer/fbset-2.1-warnings.patch.xzbin0 -> 448 bytes
-rwxr-xr-xbase/framebuffer/framebuffer.build98
15 files changed, 98 insertions, 0 deletions
diff --git a/base/framebuffer/fbcat-0.3-man.patch.xz b/base/framebuffer/fbcat-0.3-man.patch.xz
new file mode 100644
index 0000000..bc544c9
--- /dev/null
+++ b/base/framebuffer/fbcat-0.3-man.patch.xz
Binary files differ
diff --git a/base/framebuffer/fbida-2.09-cflags.patch.xz b/base/framebuffer/fbida-2.09-cflags.patch.xz
new file mode 100644
index 0000000..646d84c
--- /dev/null
+++ b/base/framebuffer/fbida-2.09-cflags.patch.xz
Binary files differ
diff --git a/base/framebuffer/fbida-2.09-config.patch.xz b/base/framebuffer/fbida-2.09-config.patch.xz
new file mode 100644
index 0000000..cf5f17e
--- /dev/null
+++ b/base/framebuffer/fbida-2.09-config.patch.xz
Binary files differ
diff --git a/base/framebuffer/fbida-2.09-extraldflags.patch.xz b/base/framebuffer/fbida-2.09-extraldflags.patch.xz
new file mode 100644
index 0000000..0e96eb1
--- /dev/null
+++ b/base/framebuffer/fbida-2.09-extraldflags.patch.xz
Binary files differ
diff --git a/base/framebuffer/fbida-2.09-fontsutf8.patch.xz b/base/framebuffer/fbida-2.09-fontsutf8.patch.xz
new file mode 100644
index 0000000..877ee5e
--- /dev/null
+++ b/base/framebuffer/fbida-2.09-fontsutf8.patch.xz
Binary files differ
diff --git a/base/framebuffer/fbida-2.09-nocurl.patch.xz b/base/framebuffer/fbida-2.09-nocurl.patch.xz
new file mode 100644
index 0000000..269b205
--- /dev/null
+++ b/base/framebuffer/fbida-2.09-nocurl.patch.xz
Binary files differ
diff --git a/base/framebuffer/fbset-2.1-fbmodes.patch.xz b/base/framebuffer/fbset-2.1-fbmodes.patch.xz
new file mode 100644
index 0000000..d71cc3f
--- /dev/null
+++ b/base/framebuffer/fbset-2.1-fbmodes.patch.xz
Binary files differ
diff --git a/base/framebuffer/fbset-2.1-kernelfbh.patch.xz b/base/framebuffer/fbset-2.1-kernelfbh.patch.xz
new file mode 100644
index 0000000..cc1c583
--- /dev/null
+++ b/base/framebuffer/fbset-2.1-kernelfbh.patch.xz
Binary files differ
diff --git a/base/framebuffer/fbset-2.1-makefile.patch.xz b/base/framebuffer/fbset-2.1-makefile.patch.xz
new file mode 100644
index 0000000..ba346f8
--- /dev/null
+++ b/base/framebuffer/fbset-2.1-makefile.patch.xz
Binary files differ
diff --git a/base/framebuffer/fbset-2.1-manpages.patch.xz b/base/framebuffer/fbset-2.1-manpages.patch.xz
new file mode 100644
index 0000000..469ffad
--- /dev/null
+++ b/base/framebuffer/fbset-2.1-manpages.patch.xz
Binary files differ
diff --git a/base/framebuffer/fbset-2.1-newaccels.patch.xz b/base/framebuffer/fbset-2.1-newaccels.patch.xz
new file mode 100644
index 0000000..7813cea
--- /dev/null
+++ b/base/framebuffer/fbset-2.1-newaccels.patch.xz
Binary files differ
diff --git a/base/framebuffer/fbset-2.1-rgbkeyword.patch.xz b/base/framebuffer/fbset-2.1-rgbkeyword.patch.xz
new file mode 100644
index 0000000..ed98f97
--- /dev/null
+++ b/base/framebuffer/fbset-2.1-rgbkeyword.patch.xz
Binary files differ
diff --git a/base/framebuffer/fbset-2.1-usage.patch.xz b/base/framebuffer/fbset-2.1-usage.patch.xz
new file mode 100644
index 0000000..c11b17b
--- /dev/null
+++ b/base/framebuffer/fbset-2.1-usage.patch.xz
Binary files differ
diff --git a/base/framebuffer/fbset-2.1-warnings.patch.xz b/base/framebuffer/fbset-2.1-warnings.patch.xz
new file mode 100644
index 0000000..97ec63a
--- /dev/null
+++ b/base/framebuffer/fbset-2.1-warnings.patch.xz
Binary files differ
diff --git a/base/framebuffer/framebuffer.build b/base/framebuffer/framebuffer.build
new file mode 100755
index 0000000..c3c8ce6
--- /dev/null
+++ b/base/framebuffer/framebuffer.build
@@ -0,0 +1,98 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=framebuffer
+VERSION=$(date +%Y%m%d)
+BUILD=1
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: framebuffer
+${NAME}:
+${NAME}: The Linux framebuffer makes it possible to use the console in
+${NAME}: graphics mode which allows among other things to have large
+${NAME}: consoles. This package includes the following framebuffer utilities:
+${NAME}:
+${NAME}: * fbset (view and change framebuffer settings)
+${NAME}: * fbi (display images)
+${NAME}: * fbcat (dump the console screen to a file)
+${NAME}:
+${NAME}:
+EOF
+
+cat > ${PKG}/install/doinst.sh <<EOF
+#!/bin/sh
+
+config() {
+ NEW="\$1"
+ OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r \$OLD ]; then
+ mv \$NEW \$OLD
+ elif [ "\$(cat \$OLD | md5sum)" = "\$(cat \$NEW | md5sum)" ]; then
+ # toss the redundant copy
+ rm \$NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+config etc/fb.modes.new
+EOF
+
+# Sources
+
+SRCNAME[0]=fbset
+SRCVERS[0]=2.1
+SRCPACK[0]=http://users.telenet.be/geertu/Linux/fbdev/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+SRCCOPY[0]="GPL2"
+
+build0()
+{
+make ${JOBS} CFLAGS="${FLAGS}"
+make install DESTDIR="${PKG}" PREFIX="${SYS_DIR[usr]}" MANDIR="${SYS_DIR[man]}"
+doc etc/fb.modes.{Falcon,NTSC,PAL,ATI}
+install.dir ${PKG}${SYS_DIR[etc]}
+install.cfg etc/fb.modes.ATI ${PKG}${SYS_DIR[etc]}/fb.modes.new
+}
+
+SRCNAME[1]=fbida
+SRCVERS[1]=2.09
+SRCPACK[1]=http://dl.bytesex.org/releases/fbida/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz
+SRCCOPY[1]="GPL2"
+
+build1()
+{
+make ${JOBS} verbose=yes OPTS="${FLAGS}"
+make install DESTDIR="${PKG}" prefix="${SYS_DIR[usr]}"
+changelog Changes
+rm -f \
+ ${PKG}${SYS_DIR[bin]}/{fbgs,exiftran} \
+ ${PKG}${SYS_DIR[man]}/man1/{fbgs,exiftran}.1
+}
+
+SRCNAME[2]=fbcat
+SRCVERS[2]=0.3
+SRCPACK[2]=http://fbcat.googlecode.com/files/${SRCNAME[2]}-${SRCVERS[2]}.tar.gz
+SRCCOPY[2]="GPL2"
+
+build2()
+{
+make ${JOBS} CFLAGS="${FLAGS}"
+changelog doc/changelog
+install.dir ${PKG}${SYS_DIR[bin]}
+install.bin fb{cat,grab} ${PKG}${SYS_DIR[bin]}
+install.dir ${PKG}${SYS_DIR[man]}/man1
+install.man doc/fb{cat,grab}.1 ${PKG}${SYS_DIR[man]}/man1
+}