Waldemar Brodkorb 3 месяцев назад
Родитель
Сommit
f96478d817

+ 0 - 44
package/qingy/Makefile

@@ -1,44 +0,0 @@
-# This file is part of the OpenADK project. OpenADK is copyrighted
-# material, please see the LICENCE file in the top-level directory.
-
-include $(ADK_TOPDIR)/rules.mk
-
-PKG_NAME:=		qingy
-PKG_VERSION:=		1.0.0
-PKG_RELEASE:=		3
-PKG_HASH:=		de4b4b398d5ba81ab2544729864676a04ddc6ae818b357ee09a8770293740cd3
-PKG_DESCR:=		directfb getty replacement
-PKG_SECTION:=		sys/misc
-PKG_DEPENDS:=		directfb libncurses
-PKG_BUILDDEP:=		DirectFB ncurses
-PKG_NEEDS:=		threads c++
-PKG_URL:=		http://qingy.sourceforge.net/
-PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=qingy/}
-
-DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-
-include $(ADK_TOPDIR)/mk/package.mk
-
-$(eval $(call PKG_template,QINGY,qingy,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-
-TARGET_CFLAGS+=		-fcommon
-TARGET_LDFLAGS+=	-ltinfo
-CONFIGURE_ARGS+=	--disable-screen-savers \
-			--disable-optimizations \
-			--disable-pam \
-			--disable-x-support \
-			--disable-crypto
-
-qingy-install:
-	$(INSTALL_DIR) $(IDIR_QINGY)/etc/qingy/sessions
-	${INSTALL_BIN} ./files/{pre,post}_GUI.sh ${IDIR_QINGY}/etc/qingy/
-	${INSTALL_DATA} ./files/{settings,welcomes} ${IDIR_QINGY}/etc/qingy/
-	touch ${IDIR_QINGY}/etc/qingy/sessions/.keep_me
-	$(INSTALL_DIR) $(IDIR_QINGY)/usr/lib/qingy
-	${CP} $(WRKINST)/usr/lib/qingy/libqingy*.so ${IDIR_QINGY}/usr/lib/qingy/
-	$(INSTALL_DIR) $(IDIR_QINGY)/usr/sbin
-	${INSTALL_BIN} $(WRKINST)/usr/sbin/qingy* ${IDIR_QINGY}/usr/sbin/
-	$(INSTALL_DIR) $(IDIR_QINGY)/usr/share/qingy
-	${CP} $(WRKINST)/usr/share/qingy/themes ${IDIR_QINGY}/usr/share/qingy
-
-include ${ADK_TOPDIR}/mk/pkg-bottom.mk

+ 0 - 10
package/qingy/files/post_GUI.sh

@@ -1,10 +0,0 @@
-#!/bin/sh
-
-filename="/tmp/qingy_restart_gpm"
-
-if [ -f $filename ]; then
-
-	/etc/init.d/gpm start >/dev/null 2>/dev/null
-	rm $filename
-
-fi

+ 0 - 11
package/qingy/files/pre_GUI.sh

@@ -1,11 +0,0 @@
-#!/bin/sh
-
-filename="/tmp/qingy_restart_gpm"
-status=`pgrep gpm`
-
-if [ "$status" != "" ]; then
-
-	/etc/init.d/gpm stop >/dev/null 2>/dev/null
-	touch $filename
-
-fi

+ 0 - 4
package/qingy/files/qingy.conffiles

@@ -1,4 +0,0 @@
-/etc/qingy/settings
-/etc/qingy/welcomes
-/etc/qingy/pre_GUI.sh
-/etc/qingy/post_GUI.sh

+ 0 - 12
package/qingy/files/qingy.postinst

@@ -1,12 +0,0 @@
-#!/bin/sh
-
-cat <<EOF
-
-To enjoy the qingy experience, edit /etc/inittab like so:
-
-- tty7::respawn:/sbin/getty -i -L tty7 115200 vt100
-+ tty7::respawn:/usr/sbin/qingy tty7 -n -r 1024x600 -f /dev/fb0
-
-for an explanation of the used options, run 'qingy -h'.
-
-EOF

+ 0 - 90
package/qingy/files/settings

@@ -1,90 +0,0 @@
-# Directory containing X sessions
-x_sessions = "/etc/X11/Sessions/"
-# Directory containing text mode sessions
-text_sessions = "/etc/qingy/sessions/"
-# Directory where qingy should put its temporary files
-temp_files_dir = "/tmp"
-# Where are the themes?
-themes_dir = "/usr/share/qingy/themes"
-
-# Full path to the X server
-# x_server = "/usr/X11R6/bin/XFree86"
-# Full path to the 'xinit' executable
-xinit = "/usr/bin/xinit"
-
-# Parameter we should pass to the X server
-x_args = "-nolisten tcp -br"
-
-# How verbose should qingy be?
-# Possible values are debug, error
-# Default value is error
-log_level = error
-
-# Where should qingy messages be logged?
-# Values can be one or more of the following:
-# console, file, syslog
-# Default value is console
-# log_facilities = console, file
-log_facilities = console, syslog
-
-# Offset to search for an available X server number.
-# This number affects the DISPLAY env variable.
-# Default is 1, setting it to 0 will make buggy OpenGL implementations
-# (like the ATI one) work with qingy, but it will also make it impossible
-# to start an X server from console using startx without passing it
-# extra parameters.
-#x_server_offset = 1
-
-# Where should we start the X server?
-# Accepted values are:
-#   qingy_tty (default) to start it in the same tty qingy is running in
-#   unused_tty to start it into an unused tty
-x_server_tty = qingy_tty
-
-# Scripts that should be executed just before/after qingy GUI is fired up/shut down
-pre_gui_script  = "/etc/qingy/pre_GUI.sh"
-post_gui_script = "/etc/qingy/post_GUI.sh"
-
-# What theme do you want (you can also specify 'random')
-# theme = random
-theme = "default"
-
-# What happens when we press the 'sleep' button?
-#sleep = "/usr/local/sbin/hibernate"
-
-# whether we should clear background image during dialogs (default is no)...
-# this is the default setting, it gets overridden if the theme you are using
-# sets the same setting differently...
-# clear_background = yes
-
-# whether to allow session locking; if you enable this, when you try to
-# switch to a qingy-controlled tty whose owner is not your current
-# user, you will be asked for the password of that user before being
-# allowed to continue. If you are root, of course, you can switch
-# to any tty you chose to. Default setting is 'no'.
-#lock_sessions = yes
-
-# whether to allow session timeout; if you enable this, after the amount
-# of minutes specified in idle_timeout variable, idle_action will be
-# performed. Allowed actions are:
-# lock     will lock user session asking you for your password
-# logout   will close your session
-#idle_timeout = 30
-#idle_action  = lock
-
-# prevent qingy from logging in user or firing up its GUI if system
-# is restarting / shutting down
-#check_runlevel = yes
-#exclude_runlevels = 0, 6
-
-keybindings
-{
-	prev_tty    = "win"      # switch to left tty
-	next_tty    = "menu"     # switch to right tty
-	poweroff    = "ALT-p"    # shutdown your system
-	reboot      = "ALT-r"    # restart your system
-	screensaver = "ALT-s"    # activate screen saver
-	sleep       = "ALT-z"    # put machine to sleep
-	kill        = "CTRL-c"   # kill qingy
-	text_mode   = "CTRL-ESC" # Revert to text mode
-}

+ 0 - 1
package/qingy/files/welcomes

@@ -1 +0,0 @@
-root	Greetings, Master...

+ 0 - 11
package/qingy/patches/patch-ltmain_sh

@@ -1,11 +0,0 @@
---- qingy-1.0.0.orig/ltmain.sh	2008-07-08 17:15:32.000000000 +0200
-+++ qingy-1.0.0/ltmain.sh	2011-01-16 22:03:22.000000000 +0100
-@@ -1690,7 +1690,7 @@ EOF
-       # -F/path gives path to uninstalled frameworks, gcc on darwin
-       # @file GCC response files
-       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
--      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
-+      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto)
- 
- 	# Unknown arguments in both finalize_command and compile_command need
- 	# to be aesthetically quoted because they are evaled later.

+ 0 - 10
package/qingy/patches/patch-src_libraries_misc_h

@@ -1,10 +0,0 @@
---- qingy-1.0.0.orig/src/libraries/misc.h	2008-11-27 10:29:01.000000000 +0100
-+++ qingy-1.0.0/src/libraries/misc.h	2014-01-20 07:38:44.000000000 +0100
-@@ -29,6 +29,7 @@
- #include <config.h>
- #endif
- 
-+#include <time.h>
- #include "qingy_constants.h"
- 
- /* Computes the integer part of the base 10 log */

+ 0 - 39
package/qingy/patches/patch-src_libraries_vt_c

@@ -1,39 +0,0 @@
---- qingy-1.0.0.orig/src/libraries/vt.c	2008-11-25 12:21:28.000000000 +0100
-+++ qingy-1.0.0/src/libraries/vt.c	2014-01-20 07:53:43.000000000 +0100
-@@ -98,14 +98,15 @@ static int getfd()
- int switch_to_tty(int tty)
- {
-   char *ttyname = create_tty_name(tty);
-+  FILE *_stdin, *_stdout, *_stderr;
-   
-   if (!ttyname) return 0;
-   /* we set stdin, stdout and stderr to the new tty */
--  stdin  = freopen(ttyname, "r", stdin);
--  stdout = freopen(ttyname, "w", stdout);
--  stderr = freopen(ttyname, "w", stderr);
-+  _stdin  = freopen(ttyname, "r", stdin);
-+  _stdout = freopen(ttyname, "w", stdout);
-+  _stderr = freopen(ttyname, "w", stderr);
-   free(ttyname);
--  if (!stdin || !stdout || !stderr) return 0;
-+  if (!_stdin || !_stdout || !_stderr) return 0;
- 
-   return 1;
- }
-@@ -197,6 +198,7 @@ void stderr_disable(void)
- void stderr_enable(int *vt)
- {
-   char *ttyname;
-+  FILE *_stderr;
- 
- 	if (!vt)
- 		ttyname = create_tty_name(get_active_tty());
-@@ -205,7 +207,7 @@ void stderr_enable(int *vt)
-   
-   if (!ttyname) return;
- 
--	stderr = fopen(ttyname, "w");
-+	_stderr = freopen(ttyname, "w", stderr);
-   free(ttyname);
- }
-