Initial Commit
- initial default booting image
This commit is contained in:
15
package/x11r7/xapp_xdm/Config.in
Normal file
15
package/x11r7/xapp_xdm/Config.in
Normal file
@@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_XAPP_XDM
|
||||
bool "xdm"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
# Runtime dependency: can't start an X server unless there is one
|
||||
depends on BR2_PACKAGE_XSERVER_XORG_SERVER
|
||||
select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
|
||||
select BR2_PACKAGE_XAPP_SESSREG
|
||||
select BR2_PACKAGE_XAPP_XRDB
|
||||
select BR2_PACKAGE_XLIB_LIBX11
|
||||
select BR2_PACKAGE_XLIB_LIBXAW
|
||||
select BR2_PACKAGE_XLIB_LIBXDMCP
|
||||
select BR2_PACKAGE_XLIB_LIBXT
|
||||
select BR2_PACKAGE_XORGPROTO
|
||||
help
|
||||
X.Org xdm application
|
||||
25
package/x11r7/xapp_xdm/S99xdm
Normal file
25
package/x11r7/xapp_xdm/S99xdm
Normal file
@@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
|
||||
XDM_BIN=/usr/bin/xdm
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
printf "Starting XDM: "
|
||||
$XDM_BIN
|
||||
echo "done"
|
||||
;;
|
||||
stop)
|
||||
echo "Stopping XDM"
|
||||
killall -q xdm
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
$0 start
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {start|stop|restart}"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
5
package/x11r7/xapp_xdm/xapp_xdm.hash
Normal file
5
package/x11r7/xapp_xdm/xapp_xdm.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# From https://lists.x.org/archives/xorg/2025-March/061902.html
|
||||
sha256 9494aef0911a031c53670725b5c8c9bb9d3f7c5ea7318b1f72ddd9dcbbeceb6a xdm-1.1.17.tar.xz
|
||||
sha512 68499cdf73c9b6b48b974a724e5d045bb8333cfd17f1d7e36132e7aec51922c22260b361517c4f0d9fb7d28ce4909e0638e00180e93544bc7200d9bef55e822b xdm-1.1.17.tar.xz
|
||||
# Locally computed
|
||||
sha256 74cda705693518c793f05074a79bfc6876f97c8ce560856e2ba36e2d9bf0ab5a COPYING
|
||||
42
package/x11r7/xapp_xdm/xapp_xdm.mk
Normal file
42
package/x11r7/xapp_xdm/xapp_xdm.mk
Normal file
@@ -0,0 +1,42 @@
|
||||
################################################################################
|
||||
#
|
||||
# xapp_xdm
|
||||
#
|
||||
################################################################################
|
||||
|
||||
XAPP_XDM_VERSION = 1.1.17
|
||||
XAPP_XDM_SOURCE = xdm-$(XAPP_XDM_VERSION).tar.xz
|
||||
XAPP_XDM_SITE = https://xorg.freedesktop.org/archive/individual/app
|
||||
XAPP_XDM_LICENSE = MIT
|
||||
XAPP_XDM_LICENSE_FILES = COPYING
|
||||
XAPP_XDM_CONF_ENV = ac_cv_file__dev_urandom=yes
|
||||
XAPP_XDM_DEPENDENCIES = \
|
||||
xapp_sessreg \
|
||||
xapp_xrdb \
|
||||
xlib_libX11 \
|
||||
xlib_libXaw \
|
||||
xlib_libXdmcp \
|
||||
xlib_libXt \
|
||||
xorgproto
|
||||
XAPP_XDM_CONF_OPTS = \
|
||||
--with-appdefaultdir=/usr/share/X11/app-defaults \
|
||||
--with-utmp-file=/var/adm/utmpx \
|
||||
--with-wtmp-file=/var/adm/wtmpx
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y)
|
||||
XAPP_XDM_CONF_OPTS += --with-xinerama
|
||||
XAPP_XDM_DEPENDENCIES += xlib_libXinerama
|
||||
else
|
||||
XAPP_XDM_CONF_OPTS += --without-xinerama
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
|
||||
XAPP_XDM_DEPENDENCIES += libxcrypt
|
||||
endif
|
||||
|
||||
define XAPP_XDM_INSTALL_INIT_SYSV
|
||||
$(INSTALL) -m 0755 -D package/x11r7/xapp_xdm/S99xdm \
|
||||
$(TARGET_DIR)/etc/init.d/S99xdm
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user