Initial Commit
- initial default booting image
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
From 55054532589041e3c7b970fefaeeeee871f4f6be Mon Sep 17 00:00:00 2001
|
||||
From: Tianon Gravi <tianon@debian.org>
|
||||
Date: Wed, 25 Feb 2026 08:24:26 +0100
|
||||
Subject: [PATCH] fix gcc-15+ compatibility (explicit fallthrough,
|
||||
undeclared/unused arguments)
|
||||
|
||||
Downloaded from Debian:
|
||||
https://sources.debian.org/src/docker/1.5-6/debian/patches/gcc-15.patch
|
||||
|
||||
Upstream: https://github.com/mdomlop/wmdocker/commit/55054532589041e3c7b970fefaeeeee871f4f6be
|
||||
|
||||
[Bernd: rebased patch]
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
docker.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/docker.c b/docker.c
|
||||
index 4cc8d78..6105ab8 100644
|
||||
--- a/docker.c
|
||||
+++ b/docker.c
|
||||
@@ -46,7 +46,7 @@ void signal_handler(int signal)
|
||||
}
|
||||
|
||||
|
||||
-void parse_cmd_line()
|
||||
+void parse_cmd_line(int argc, char **argv)
|
||||
{
|
||||
int i;
|
||||
gboolean help = FALSE;
|
||||
@@ -283,6 +283,7 @@ void event_loop()
|
||||
case ReparentNotify:
|
||||
if (e.xany.window == win) /* reparented to us */
|
||||
break;
|
||||
+ /* fallthrough */
|
||||
case UnmapNotify:
|
||||
case DestroyNotify:
|
||||
for (it = icons; it; it = g_slist_next(it)) {
|
||||
17
package/docker/Config.in
Normal file
17
package/docker/Config.in
Normal file
@@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_DOCKER
|
||||
bool "docker"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
depends on BR2_USE_WCHAR # glib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
|
||||
depends on BR2_USE_MMU # glib2
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
select BR2_PACKAGE_XLIB_LIBX11
|
||||
help
|
||||
a system tray dock for X
|
||||
|
||||
http://icculus.org/openbox/2/docker
|
||||
|
||||
comment "docker needs a toolchain w/ wchar, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
4
package/docker/docker.hash
Normal file
4
package/docker/docker.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# Locally calculated
|
||||
sha256 47629578e89d96d1541c91d040aec4316f03ad6d01dc3eecb8f82a33445c1e4e docker-1.5.tar.gz
|
||||
sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING
|
||||
sha256 fd82a1ac93bfe0a5afcf28cfb5342dd02015555fc23529a87bd77a7b271d3262 README
|
||||
25
package/docker/docker.mk
Normal file
25
package/docker/docker.mk
Normal file
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
#
|
||||
# docker
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DOCKER_VERSION = 1.5
|
||||
DOCKER_SITE = http://icculus.org/openbox/2/docker
|
||||
DOCKER_DEPENDENCIES = host-pkgconf libglib2 xlib_libX11
|
||||
|
||||
DOCKER_LICENSE = GPL-2.0+
|
||||
# The 'or later' is specified at the end of the README, so include that one too.
|
||||
DOCKER_LICENSE_FILES = COPYING README
|
||||
|
||||
define DOCKER_BUILD_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
||||
XLIBPATH=$(STAGING_DIR)/usr/lib
|
||||
endef
|
||||
|
||||
define DOCKER_INSTALL_TARGET_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
||||
XLIBPATH=$(STAGING_DIR)/usr/lib PREFIX=$(TARGET_DIR)/usr install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user