Initial Commit
- initial default booting image
This commit is contained in:
28
package/xscreensaver/0001-allow_unrecognized_conf_opts.patch
Normal file
28
package/xscreensaver/0001-allow_unrecognized_conf_opts.patch
Normal file
@@ -0,0 +1,28 @@
|
||||
Description: Allow unrecognized configure options
|
||||
Fix an oddity in upstream-generated configure.
|
||||
Our dh_auto_configure will add several unrecognized options.
|
||||
Forwarded: not-needed
|
||||
Author: Tormod Volden <debian.tormod@gmail.com>
|
||||
|
||||
Downloaded from
|
||||
https://sources.debian.org/data/main/x/xscreensaver/6.09%2Bdfsg1-1/debian/patches/94_allow_unrecognized_conf_opts.patch
|
||||
|
||||
Upstream: not applicable
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
|
||||
Index: xscreensaver-git/configure
|
||||
===================================================================
|
||||
--- xscreensaver-git.orig/configure
|
||||
+++ xscreensaver-git/configure
|
||||
@@ -2856,8 +2856,8 @@ echo "current directory: `pwd`"
|
||||
echo "command line was: $0 $@"
|
||||
|
||||
if ! test -z "$ac_unrecognized_opts" ; then
|
||||
- echo "" >&2
|
||||
- exit 2
|
||||
+ echo "ignored options $ac_unrecognized_opts" >&2
|
||||
+ #exit 2
|
||||
fi
|
||||
|
||||
###############################################################################
|
||||
35
package/xscreensaver/0002-configure_allow_warnings.patch
Normal file
35
package/xscreensaver/0002-configure_allow_warnings.patch
Normal file
@@ -0,0 +1,35 @@
|
||||
Description: Allow warnings from configure
|
||||
Since 6.03 the original configure script returns non-zero if a
|
||||
warning about configuration options versus detected capabilities
|
||||
has been issued, presumably to increase awareness of the warnings.
|
||||
To allow building on all architectures, while relying on the
|
||||
resulting HAVE_XX flags as usual, return with success at the end
|
||||
of the script.
|
||||
Forwarded: not-needed
|
||||
Author: Tormod Volden <debian.tormod@gmail.com>
|
||||
|
||||
Downloaded from
|
||||
https://sources.debian.org/src/xscreensaver/6.09%2Bdfsg1-1/debian/patches/100_configure_allow_warnings.patch
|
||||
|
||||
Upstream: not applicable
|
||||
|
||||
[Bernd: s/Debian/buildroot]
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
|
||||
Index: xscreensaver-git/configure
|
||||
===================================================================
|
||||
--- xscreensaver-git.orig/configure
|
||||
+++ xscreensaver-git/configure
|
||||
@@ -23273,5 +23273,11 @@ echo " Extra Fonts: ${FONT
|
||||
echo " App Defaults: ${APPDEFAULTS}/$addir_err"
|
||||
echo ""
|
||||
|
||||
-exit $CONF_STATUS
|
||||
+if test "$CONF_STATUS" != 0; then
|
||||
+ echo ""
|
||||
+ echo "Warning: Buildroot build will proceed regardless of above warnings"
|
||||
+ echo ""
|
||||
+fi
|
||||
+
|
||||
+exit 0
|
||||
|
||||
40
package/xscreensaver/Config.in
Normal file
40
package/xscreensaver/Config.in
Normal file
@@ -0,0 +1,40 @@
|
||||
config BR2_PACKAGE_XSCREENSAVER
|
||||
bool "xscreensaver"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
depends on BR2_PACKAGE_HAS_LIBGL # libglu
|
||||
depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS # libgtk3
|
||||
depends on BR2_USE_WCHAR # libgtk3, libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libgtk3, libglib2
|
||||
depends on BR2_USE_MMU # libgtk3, libglib2
|
||||
depends on BR2_INSTALL_LIBSTDCPP # libgtk3
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk3
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libgtk3
|
||||
select BR2_PACKAGE_GDK_PIXBUF
|
||||
select BR2_PACKAGE_LIBGLU
|
||||
select BR2_PACKAGE_LIBGTK3
|
||||
select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
|
||||
select BR2_PACKAGE_LIBXML2
|
||||
select BR2_PACKAGE_JPEG
|
||||
select BR2_PACKAGE_XLIB_LIBX11
|
||||
select BR2_PACKAGE_XLIB_LIBXFT
|
||||
select BR2_PACKAGE_XLIB_LIBXI
|
||||
select BR2_PACKAGE_XLIB_LIBXT
|
||||
help
|
||||
XScreenSaver is the standard screen saver collection shipped
|
||||
on most Linux and Unix systems running the X11 Window
|
||||
System.
|
||||
|
||||
On X11 systems, XScreenSaver is two things: it is both a
|
||||
large collection of screen savers; and it is also the
|
||||
framework for blanking and locking the screen.
|
||||
|
||||
http://www.jwz.org/xscreensaver/
|
||||
|
||||
comment "xscreensaver needs a toolchain w/ wchar, C++, threads, gcc >= 4.9, OpenGL backend"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
|
||||
!BR2_USE_WCHAR || !BR2_PACKAGE_HAS_LIBGL
|
||||
4
package/xscreensaver/xscreensaver.hash
Normal file
4
package/xscreensaver/xscreensaver.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# Locally calculated
|
||||
sha256 07f310eb60ece3a6c57abaa722d7209a2c4f54309a5a7b09b6eed20152d073f2 xscreensaver-6.14.tar.gz
|
||||
sha256 8a03451ba5c4c9af669b53e47e50c38c149b9e152d3d627809b962da7b760bbd hacks/screenhack.h
|
||||
sha256 56db580415bb313a4a82c5e08f106304904d15d42faf8e6ab14b34e14e2087a5 hacks/glx/chessmodels.h
|
||||
83
package/xscreensaver/xscreensaver.mk
Normal file
83
package/xscreensaver/xscreensaver.mk
Normal file
@@ -0,0 +1,83 @@
|
||||
################################################################################
|
||||
#
|
||||
# xscreensaver
|
||||
#
|
||||
################################################################################
|
||||
|
||||
XSCREENSAVER_VERSION = 6.14
|
||||
XSCREENSAVER_SITE = https://www.jwz.org/xscreensaver
|
||||
|
||||
# N.B. GPL-2.0+ code (in the hacks/glx subdirectory) is not currently built.
|
||||
XSCREENSAVER_LICENSE = MIT-like, GPL-2.0+
|
||||
XSCREENSAVER_LICENSE_FILES = hacks/screenhack.h hacks/glx/chessmodels.h
|
||||
XSCREENSAVER_CPE_ID_VALID = YES
|
||||
XSCREENSAVER_SELINUX_MODULES = xdg xscreensaver xserver
|
||||
|
||||
define XSCREENSAVER_FIX_INCLUDE_GL
|
||||
$(SED) 's%OpenGL/gl.h%GL/gl.h%' $(@D)/driver/subprocs.c
|
||||
endef
|
||||
XSCREENSAVER_POST_EXTRACT_HOOKS = XSCREENSAVER_FIX_INCLUDE_GL
|
||||
|
||||
XSCREENSAVER_DEPENDENCIES = \
|
||||
gdk-pixbuf \
|
||||
jpeg \
|
||||
libgl \
|
||||
libglu \
|
||||
libgtk3 \
|
||||
libxml2 \
|
||||
xlib_libX11 \
|
||||
xlib_libXft \
|
||||
xlib_libXi \
|
||||
xlib_libXt \
|
||||
$(TARGET_NLS_DEPENDENCIES) \
|
||||
host-intltool
|
||||
|
||||
# otherwise we end up with host include/library dirs passed to the
|
||||
# compiler/linker
|
||||
XSCREENSAVER_CONF_OPTS = \
|
||||
--includedir=$(STAGING_DIR)/usr/include \
|
||||
--libdir=$(STAGING_DIR)/usr/lib \
|
||||
--with-gl=yes
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBPNG),y)
|
||||
XSCREENSAVER_CONF_OPTS += --with-png=yes
|
||||
XSCREENSAVER_DEPENDENCIES += libpng
|
||||
else
|
||||
XSCREENSAVER_CONF_OPTS += --with-png=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
|
||||
XSCREENSAVER_DEPENDENCIES += libxcrypt
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
||||
XSCREENSAVER_CONF_OPTS += --with-systemd=yes
|
||||
XSCREENSAVER_DEPENDENCIES += systemd
|
||||
else
|
||||
XSCREENSAVER_CONF_OPTS += --with-systemd=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y)
|
||||
XSCREENSAVER_CONF_OPTS += --with-xinerama-ext=yes
|
||||
XSCREENSAVER_DEPENDENCIES += xlib_libXinerama
|
||||
else
|
||||
XSCREENSAVER_CONF_OPTS += --with-xinerama-ext=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y)
|
||||
XSCREENSAVER_CONF_OPTS += --with-randr-ext=yes
|
||||
XSCREENSAVER_DEPENDENCIES += xlib_libXrandr
|
||||
else
|
||||
XSCREENSAVER_CONF_OPTS += --with-randr-ext=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBXXF86VM),y)
|
||||
XSCREENSAVER_CONF_OPTS += --with-xf86vmode-ext=yes
|
||||
XSCREENSAVER_DEPENDENCIES += xlib_libXxf86vm
|
||||
else
|
||||
XSCREENSAVER_CONF_OPTS += --with-xf86vmode-ext=no
|
||||
endif
|
||||
|
||||
XSCREENSAVER_INSTALL_TARGET_OPTS = DESTDIR="$(TARGET_DIR)" install
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user