initial import, ok sthen@
This commit is contained in:
parent
c564fff316
commit
f9af71a142
25
x11/wmdocker/Makefile
Normal file
25
x11/wmdocker/Makefile
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
COMMENT = a system tray for KDE, GNOME2 and WindowMaker
|
||||||
|
|
||||||
|
VERSION = 1.5
|
||||||
|
DISTNAME = docker-$(VERSION)
|
||||||
|
PKGNAME = wmdocker-$(VERSION)
|
||||||
|
CATEGORIES = x11
|
||||||
|
|
||||||
|
HOMEPAGE = https://icculus.org/openbox/2/docker/
|
||||||
|
|
||||||
|
#GPLv2
|
||||||
|
PERMIT_PACKAGE = Yes
|
||||||
|
|
||||||
|
MASTER_SITES = https://icculus.org/openbox/2/docker/
|
||||||
|
|
||||||
|
WANTLIB = X11 c glib-2.0 intl
|
||||||
|
|
||||||
|
MAKE_FLAGS = CFLAGS="-Wall -I${X11BASE}/include"
|
||||||
|
|
||||||
|
BUILD_DEPENDS = devel/glib2
|
||||||
|
|
||||||
|
LIB_DEPENDS = devel/glib2
|
||||||
|
|
||||||
|
USE_GMAKE = Yes
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
2
x11/wmdocker/distinfo
Normal file
2
x11/wmdocker/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
SHA256 (docker-1.5.tar.gz) = R2KVeOidltFUHJHQQK7EMW8DrW0B3D7suPgqM0RcHk4=
|
||||||
|
SIZE (docker-1.5.tar.gz) = 14863
|
20
x11/wmdocker/patches/patch-Makefile
Normal file
20
x11/wmdocker/patches/patch-Makefile
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
--- Makefile.orig Wed Nov 20 19:20:49 2002
|
||||||
|
+++ Makefile Thu Apr 28 05:30:13 2022
|
||||||
|
@@ -5,7 +5,7 @@
|
||||||
|
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
|
||||||
|
|
||||||
|
# Change this PREFIX to where you want docker to be installed
|
||||||
|
-PREFIX=/usr/local
|
||||||
|
+# PREFIX=/usr/local
|
||||||
|
# Change this XLIBPATH to point to your X11 development package's installation
|
||||||
|
XLIBPATH=/usr/X11R6/lib
|
||||||
|
|
||||||
|
@@ -21,7 +21,7 @@ CFLAGS=-pedantic -Wall -W -O
|
||||||
|
PACKAGE=docker
|
||||||
|
VERSION=1.5
|
||||||
|
|
||||||
|
-target=docker
|
||||||
|
+target=wmdocker
|
||||||
|
sources=docker.c kde.c icons.c xproperty.c net.c
|
||||||
|
headers=docker.h kde.h icons.h xproperty.h net.h version.h
|
||||||
|
extra=README COPYING version.h.in
|
11
x11/wmdocker/patches/patch-docker_c
Normal file
11
x11/wmdocker/patches/patch-docker_c
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- docker.c.orig Wed Nov 20 19:20:49 2002
|
||||||
|
+++ docker.c Sat Apr 23 19:35:24 2022
|
||||||
|
@@ -329,7 +329,7 @@ int main(int c, char **v)
|
||||||
|
sigaction(SIGINT, &act, NULL);
|
||||||
|
sigaction(SIGHUP, &act, NULL);
|
||||||
|
|
||||||
|
- parse_cmd_line(argc, argv);
|
||||||
|
+ parse_cmd_line();
|
||||||
|
|
||||||
|
display = XOpenDisplay(display_string);
|
||||||
|
if (!display) {
|
10
x11/wmdocker/patches/patch-icon_c
Normal file
10
x11/wmdocker/patches/patch-icon_c
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
--- icons.c.orig Wed Nov 20 19:20:49 2002
|
||||||
|
+++ icons.c Sat Apr 23 19:40:38 2022
|
||||||
|
@@ -6,7 +6,6 @@
|
||||||
|
gboolean error;
|
||||||
|
int window_error_handler(Display *d, XErrorEvent *e)
|
||||||
|
{
|
||||||
|
- d=d;e=e;
|
||||||
|
if (e->error_code == BadWindow) {
|
||||||
|
error = TRUE;
|
||||||
|
} else {
|
7
x11/wmdocker/pkg/DESCR
Normal file
7
x11/wmdocker/pkg/DESCR
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
Docker is a docking application (WindowMaker dock app) which acts as a
|
||||||
|
system tray for KDE and GNOME2. It can be used to replace the panel in
|
||||||
|
either environment, allowing you to have a system tray without running
|
||||||
|
the KDE/GNOME panel or environment.
|
||||||
|
|
||||||
|
To avoid conflicting with sysutils/docker-cli, the name of package and
|
||||||
|
binary is changed to "wmdocker".
|
1
x11/wmdocker/pkg/PLIST
Normal file
1
x11/wmdocker/pkg/PLIST
Normal file
|
@ -0,0 +1 @@
|
||||||
|
@bin bin/wmdocker
|
Loading…
Reference in New Issue
Block a user