diff options
author | Deposite Pirate | 2018-09-16 18:48:36 +0200 |
---|---|---|
committer | Deposite Pirate | 2018-09-16 18:48:36 +0200 |
commit | d150a5f3e462fa7fe194a805a4aa0076f4d03ab9 (patch) | |
tree | ce5e44d69c5f3175bfdbd1e3717b52c5dcca5638 /base/framebuffer | |
parent | f29d3519ce073ec30f99754d93304324f7f26d65 (diff) |
Add ports.
Diffstat (limited to 'base/framebuffer')
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 Binary files differnew file mode 100644 index 0000000..bc544c9 --- /dev/null +++ b/base/framebuffer/fbcat-0.3-man.patch.xz diff --git a/base/framebuffer/fbida-2.09-cflags.patch.xz b/base/framebuffer/fbida-2.09-cflags.patch.xz Binary files differnew file mode 100644 index 0000000..646d84c --- /dev/null +++ b/base/framebuffer/fbida-2.09-cflags.patch.xz diff --git a/base/framebuffer/fbida-2.09-config.patch.xz b/base/framebuffer/fbida-2.09-config.patch.xz Binary files differnew file mode 100644 index 0000000..cf5f17e --- /dev/null +++ b/base/framebuffer/fbida-2.09-config.patch.xz diff --git a/base/framebuffer/fbida-2.09-extraldflags.patch.xz b/base/framebuffer/fbida-2.09-extraldflags.patch.xz Binary files differnew file mode 100644 index 0000000..0e96eb1 --- /dev/null +++ b/base/framebuffer/fbida-2.09-extraldflags.patch.xz diff --git a/base/framebuffer/fbida-2.09-fontsutf8.patch.xz b/base/framebuffer/fbida-2.09-fontsutf8.patch.xz Binary files differnew file mode 100644 index 0000000..877ee5e --- /dev/null +++ b/base/framebuffer/fbida-2.09-fontsutf8.patch.xz diff --git a/base/framebuffer/fbida-2.09-nocurl.patch.xz b/base/framebuffer/fbida-2.09-nocurl.patch.xz Binary files differnew file mode 100644 index 0000000..269b205 --- /dev/null +++ b/base/framebuffer/fbida-2.09-nocurl.patch.xz diff --git a/base/framebuffer/fbset-2.1-fbmodes.patch.xz b/base/framebuffer/fbset-2.1-fbmodes.patch.xz Binary files differnew file mode 100644 index 0000000..d71cc3f --- /dev/null +++ b/base/framebuffer/fbset-2.1-fbmodes.patch.xz diff --git a/base/framebuffer/fbset-2.1-kernelfbh.patch.xz b/base/framebuffer/fbset-2.1-kernelfbh.patch.xz Binary files differnew file mode 100644 index 0000000..cc1c583 --- /dev/null +++ b/base/framebuffer/fbset-2.1-kernelfbh.patch.xz diff --git a/base/framebuffer/fbset-2.1-makefile.patch.xz b/base/framebuffer/fbset-2.1-makefile.patch.xz Binary files differnew file mode 100644 index 0000000..ba346f8 --- /dev/null +++ b/base/framebuffer/fbset-2.1-makefile.patch.xz diff --git a/base/framebuffer/fbset-2.1-manpages.patch.xz b/base/framebuffer/fbset-2.1-manpages.patch.xz Binary files differnew file mode 100644 index 0000000..469ffad --- /dev/null +++ b/base/framebuffer/fbset-2.1-manpages.patch.xz diff --git a/base/framebuffer/fbset-2.1-newaccels.patch.xz b/base/framebuffer/fbset-2.1-newaccels.patch.xz Binary files differnew file mode 100644 index 0000000..7813cea --- /dev/null +++ b/base/framebuffer/fbset-2.1-newaccels.patch.xz diff --git a/base/framebuffer/fbset-2.1-rgbkeyword.patch.xz b/base/framebuffer/fbset-2.1-rgbkeyword.patch.xz Binary files differnew file mode 100644 index 0000000..ed98f97 --- /dev/null +++ b/base/framebuffer/fbset-2.1-rgbkeyword.patch.xz diff --git a/base/framebuffer/fbset-2.1-usage.patch.xz b/base/framebuffer/fbset-2.1-usage.patch.xz Binary files differnew file mode 100644 index 0000000..c11b17b --- /dev/null +++ b/base/framebuffer/fbset-2.1-usage.patch.xz diff --git a/base/framebuffer/fbset-2.1-warnings.patch.xz b/base/framebuffer/fbset-2.1-warnings.patch.xz Binary files differnew file mode 100644 index 0000000..97ec63a --- /dev/null +++ b/base/framebuffer/fbset-2.1-warnings.patch.xz 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 +} |