summaryrefslogtreecommitdiff
path: root/package/xinit
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-02-17 23:19:48 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-17 23:19:55 -0600
commit3798b63c5f2b0baea3b24be48ede03bfbef7d81b (patch)
treedd137f0638f6ccbf53af170253a6c0aafd6d014b /package/xinit
parent268ddf223cd7303ddfd8b8ef07c2ce7406e3bc39 (diff)
add first preview of a firefox appliance. java plugin and kiosk addon missing.
Diffstat (limited to 'package/xinit')
-rw-r--r--package/xinit/Makefile20
-rw-r--r--package/xinit/patches/patch-startx_cpp32
2 files changed, 39 insertions, 13 deletions
diff --git a/package/xinit/Makefile b/package/xinit/Makefile
index 0c80a6379..a352a9495 100644
--- a/package/xinit/Makefile
+++ b/package/xinit/Makefile
@@ -5,7 +5,7 @@ include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xinit
PKG_VERSION:= 1.2.1
-PKG_RELEASE:= 5
+PKG_RELEASE:= 6
PKG_HASH:= 3079d3fb86af99f4c2c2907b5725e5820fdb2144d3be6002ec367bfcebc5c480
PKG_DESCR:= x window system initializer
PKG_SECTION:= x11/utils
@@ -14,13 +14,11 @@ PKG_BUILDDEP:= xorg-server
PKG_URL:= http://xorg.freedesktop.org/
PKG_SITES:= http://xorg.freedesktop.org/archive/individual/app/
-DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-
-PKG_ARCH_DEPENDS:= !m68k
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
include $(ADK_TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,XINIT,xinit,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,XINIT,xinit,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
TARGET_CPPFLAGS+= -D_POSIX_SOURCE
CONFIGURE_ARGS:= --without-launchd
@@ -28,10 +26,12 @@ XAKE_FLAGS+= RAWCPP="$(TARGET_CROSS)cpp"
xinit-install:
$(INSTALL_DIR) $(IDIR_XINIT)/usr/bin
- $(INSTALL_BIN) $(WRKINST)/usr/bin/{xinit,startx} \
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/startx \
+ $(IDIR_XINIT)/usr/bin/
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/xinit \
$(IDIR_XINIT)/usr/bin/
- ${INSTALL_DIR} ${IDIR_XINIT}/usr/lib/X11/xinit
- ${INSTALL_DATA} ${WRKINST}/usr/lib/X11/xinit/xinitrc \
- ${IDIR_XINIT}/usr/lib/X11/xinit/
+ $(INSTALL_DIR) $(IDIR_XINIT)/usr/lib/X11/xinit
+ $(INSTALL_DATA) $(WRKINST)/usr/lib/X11/xinit/xinitrc \
+ $(IDIR_XINIT)/usr/lib/X11/xinit/
-include ${ADK_TOPDIR}/mk/pkg-bottom.mk
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk
diff --git a/package/xinit/patches/patch-startx_cpp b/package/xinit/patches/patch-startx_cpp
index 2b3ee6aea..e80ee0ea8 100644
--- a/package/xinit/patches/patch-startx_cpp
+++ b/package/xinit/patches/patch-startx_cpp
@@ -1,6 +1,32 @@
---- xinit-1.2.1.orig/startx.cpp 2010-03-15 23:35:56.000000000 +0100
-+++ xinit-1.2.1/startx.cpp 2010-12-13 17:44:35.000000000 +0100
-@@ -242,18 +242,7 @@ if [ x"$enable_xauth" = x1 ] ; then
+--- xinit-1.2.1.orig/startx.cpp 2010-03-15 17:35:56.000000000 -0500
++++ xinit-1.2.1/startx.cpp 2015-02-14 12:26:05.423804908 -0600
+@@ -51,24 +51,8 @@ XCOMM so export the new PATH just in cas
+ export PATH
+ #endif
+
+-#if defined(__SCO__) || defined(__UNIXWARE__)
+-XCOMM Set up the XMERGE env var so that dos merge is happy under X
+-
+-if [ -f /usr/lib/merge/xmergeset.sh ]; then
+- . /usr/lib/merge/xmergeset.sh
+-elif [ -f /usr/lib/merge/console.disp ]; then
+- XMERGE=`cat /usr/lib/merge/console.disp`
+- export XMERGE
+-fi
+-
+-userclientrc=$HOME/.startxrc
+-sysclientrc=LIBDIR/sys.startxrc
+-scouserclientrc=$HOME/.xinitrc
+-scosysclientrc=XINITDIR/xinitrc
+-#else
+ userclientrc=$HOME/.xinitrc
+-sysclientrc=XINITDIR/xinitrc
+-#endif
++sysclientrc=/etc/xinitrc
+
+ userserverrc=$HOME/.xserverrc
+ sysserverrc=XINITDIR/xserverrc
+@@ -242,18 +226,7 @@ if [ x"$enable_xauth" = x1 ] ; then
removelist=
XCOMM set up default Xauth info for this machine