summaryrefslogtreecommitdiff
path: root/app-misc/g15composer/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
commitd87262dd706fec50cd150aab3e93883b6337466d (patch)
tree246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-misc/g15composer/files
parent71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/g15composer/files')
-rw-r--r--app-misc/g15composer/files/g15composer-3.1.confd17
-rw-r--r--app-misc/g15composer/files/g15composer-3.1.initd48
-rw-r--r--app-misc/g15composer/files/g15composer-3.2-freetype_pkgconfig.patch44
-rw-r--r--app-misc/g15composer/files/g15composer-3.2.confd17
-rw-r--r--app-misc/g15composer/files/g15composer-3.2.initd48
5 files changed, 0 insertions, 174 deletions
diff --git a/app-misc/g15composer/files/g15composer-3.1.confd b/app-misc/g15composer/files/g15composer-3.1.confd
deleted file mode 100644
index f42ab956e242..000000000000
--- a/app-misc/g15composer/files/g15composer-3.1.confd
+++ /dev/null
@@ -1,17 +0,0 @@
-# /etc/conf.d/g15composer: Configuration for the g15composer
-
-# The CONTROL_FIFO is the name of the FIFO that g15composer listens to.
-# It does not create a screen on the display, but allows programs to
-# create their own non-virtual screens.
-# Please make sure the file specified does not exist.
-CONTROL_FIFO="/var/run/g15composer"
-
-# Set the user who owns the CONTROL_FIFO.
-# As this is also the user as whom g15composer is run,
-# it has to be someone who can create further message channels
-# This should be the user who runs the LCD clients
-FIFO_USER=
-
-# Set the grop which owns the CONTROL_FIFO.
-# The users who want to display screens on the LCD need to be in this group.
-FIFO_GROUP=users
diff --git a/app-misc/g15composer/files/g15composer-3.1.initd b/app-misc/g15composer/files/g15composer-3.1.initd
deleted file mode 100644
index 0d7c24f85609..000000000000
--- a/app-misc/g15composer/files/g15composer-3.1.initd
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-PIDFILE=/var/run/${SVCNAME}.pid
-
-depend() {
- need g15daemon
-}
-
-start() {
- ebegin "Starting ${SVCNAME}"
-
- if [ -z "${FIFO_USER}" -o -z "${FIFO_GROUP}" ] ; then
- eerror "Please set the FIFO_USER and FIFO_GROUP variables in /etc/conf.d/${SVCNAME}"
- eend 1
- return 1
- fi
- if [ -e "${CONTROL_FIFO}" -a ! -p "${CONTROL_FIFO}" ] ; then
- eerror "${CONTROL_FIFO} exists and is not a FIFO. Please remove."
- eend 1
- return 1
- fi
- if [ ! -p "${CONTROL_FIFO}" ] ; then
- einfo "Creating FIFO at ${CONTROL_FIFO}"
- mkfifo -m660 "${CONTROL_FIFO}"
- else
- einfo "Reusing FIFO at ${CONTROL_FIFO}"
- fi
-
- chown ${FIFO_USER} "${CONTROL_FIFO}"
- chgrp ${FIFO_GROUP} "${CONTROL_FIFO}"
- start-stop-daemon --start --background --pidfile ${PIDFILE} --make-pidfile --exec \
- /usr/bin/g15composer -- -b -u "${FIFO_USER}" -g "${FIFO_GROUP}" "${CONTROL_FIFO}"
- eend $?
-}
-
-stop() {
- ebegin "Stoping ${SVCNAME}"
- start-stop-daemon --stop --pidfile ${PIDFILE} --name g15composer
- if [ -p "${CONTROL_FIFO}" ] ; then
- einfo "Removing FIFO at ${CONTROL_FIFO}"
- rm -f "${CONTROL_FIFO}"
- else
- ewarn "FIFO at ${CONTROL_FIFO} was lost"
- fi
- eend $?
-}
diff --git a/app-misc/g15composer/files/g15composer-3.2-freetype_pkgconfig.patch b/app-misc/g15composer/files/g15composer-3.2-freetype_pkgconfig.patch
deleted file mode 100644
index 9251e139322d..000000000000
--- a/app-misc/g15composer/files/g15composer-3.2-freetype_pkgconfig.patch
+++ /dev/null
@@ -1,44 +0,0 @@
---- g15composer-3.2/configure.in
-+++ g15composer-3.2/configure.in
-@@ -14,24 +14,24 @@
- AC_PROG_YACC
-
- # Checks for --enable args
--AC_MSG_CHECKING(whether to enable FreeType2 support)
--AC_ARG_ENABLE(ttf, [ --enable-ttf enable FreeType2 support],
-- if [[[ "$enableval" = "yes" ]]]; then
-- AC_CHECK_LIB([g15render], [g15r_ttfLoad],
-- AC_DEFINE(TTF_SUPPORT, [1], [Define to 1 to enable FreeType2 support])
-- CFLAGS="$CFLAGS `freetype-config --cflags`"
-- CXXFLAGS="$CXXFLAGS `freetype-config --cflags`"
-- FTLIB="-lfreetype"
-- ttf_support="yes",
-- AC_MSG_ERROR(["libg15render does not support ttf functions. please reconfigure with --enable-ttf"])
-- ttf_support="no"
-- )
-- else
-- ttf_support="no"
-- fi,
-- ttf_support="no"
-+AC_ARG_ENABLE(ttf, [ --enable-ttf enable FreeType2 support],,enable_ttf="no")
-+AS_IF([test "x$enable_ttf" = "xyes"], [
-+ PKG_PROG_PKG_CONFIG
-+ PKG_CHECK_MODULES(FREETYPE, freetype2,
-+ [
-+ CFLAGS="$CFLAGS $FREETYPE_CFLAGS"
-+ CXXFLAGS="$CXXFLAGS $FREETYPE_CFLAGS"
-+ FTLIB="$FREETYPE_LIBS"
-+ ],
-+ AC_MSG_ERROR([Cannot find freetype2])
-+ )
-+ AC_CHECK_LIB([g15render], [g15r_ttfLoad],
-+ AC_DEFINE(TTF_SUPPORT, [1], [Define to 1 to enable FreeType2 support]),
-+ AC_MSG_ERROR(["libg15render does not support ttf functions. please reconfigure with --enable-ttf"])
-+ )
-+],
-+ AC_MSG_RESULT(No Freetype is being used)
- )
--AC_MSG_RESULT($ttf_support)
-
- # Checks for libraries.
- AC_CHECK_LIB([g15daemon_client], [g15_send], ,AC_MSG_ERROR(["libg15daemon_client not found. please install it"]))
diff --git a/app-misc/g15composer/files/g15composer-3.2.confd b/app-misc/g15composer/files/g15composer-3.2.confd
deleted file mode 100644
index f42ab956e242..000000000000
--- a/app-misc/g15composer/files/g15composer-3.2.confd
+++ /dev/null
@@ -1,17 +0,0 @@
-# /etc/conf.d/g15composer: Configuration for the g15composer
-
-# The CONTROL_FIFO is the name of the FIFO that g15composer listens to.
-# It does not create a screen on the display, but allows programs to
-# create their own non-virtual screens.
-# Please make sure the file specified does not exist.
-CONTROL_FIFO="/var/run/g15composer"
-
-# Set the user who owns the CONTROL_FIFO.
-# As this is also the user as whom g15composer is run,
-# it has to be someone who can create further message channels
-# This should be the user who runs the LCD clients
-FIFO_USER=
-
-# Set the grop which owns the CONTROL_FIFO.
-# The users who want to display screens on the LCD need to be in this group.
-FIFO_GROUP=users
diff --git a/app-misc/g15composer/files/g15composer-3.2.initd b/app-misc/g15composer/files/g15composer-3.2.initd
deleted file mode 100644
index 0d7c24f85609..000000000000
--- a/app-misc/g15composer/files/g15composer-3.2.initd
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-PIDFILE=/var/run/${SVCNAME}.pid
-
-depend() {
- need g15daemon
-}
-
-start() {
- ebegin "Starting ${SVCNAME}"
-
- if [ -z "${FIFO_USER}" -o -z "${FIFO_GROUP}" ] ; then
- eerror "Please set the FIFO_USER and FIFO_GROUP variables in /etc/conf.d/${SVCNAME}"
- eend 1
- return 1
- fi
- if [ -e "${CONTROL_FIFO}" -a ! -p "${CONTROL_FIFO}" ] ; then
- eerror "${CONTROL_FIFO} exists and is not a FIFO. Please remove."
- eend 1
- return 1
- fi
- if [ ! -p "${CONTROL_FIFO}" ] ; then
- einfo "Creating FIFO at ${CONTROL_FIFO}"
- mkfifo -m660 "${CONTROL_FIFO}"
- else
- einfo "Reusing FIFO at ${CONTROL_FIFO}"
- fi
-
- chown ${FIFO_USER} "${CONTROL_FIFO}"
- chgrp ${FIFO_GROUP} "${CONTROL_FIFO}"
- start-stop-daemon --start --background --pidfile ${PIDFILE} --make-pidfile --exec \
- /usr/bin/g15composer -- -b -u "${FIFO_USER}" -g "${FIFO_GROUP}" "${CONTROL_FIFO}"
- eend $?
-}
-
-stop() {
- ebegin "Stoping ${SVCNAME}"
- start-stop-daemon --stop --pidfile ${PIDFILE} --name g15composer
- if [ -p "${CONTROL_FIFO}" ] ; then
- einfo "Removing FIFO at ${CONTROL_FIFO}"
- rm -f "${CONTROL_FIFO}"
- else
- ewarn "FIFO at ${CONTROL_FIFO} was lost"
- fi
- eend $?
-}