summaryrefslogtreecommitdiffstats
path: root/windowmanagers
diff options
context:
space:
mode:
authorIsmael Luceno2021-09-18 19:21:34 +0200
committerIsmael Luceno2021-09-19 02:23:27 +0200
commit3876469919112e8600af4e120a7569955c4f4be8 (patch)
treea3c862bcab0a4b185324e1b2d1a27c3bc1317c0a /windowmanagers
parenteb32cbc911ca0799fa64c0b37ba0a62e53beea0c (diff)
cde: new spell, The Common Desktop Environment
Diffstat (limited to 'windowmanagers')
-rwxr-xr-xwindowmanagers/cde/BUILD3
-rwxr-xr-xwindowmanagers/cde/DEPENDS32
-rwxr-xr-xwindowmanagers/cde/DETAILS16
-rw-r--r--windowmanagers/cde/HISTORY3
-rwxr-xr-xwindowmanagers/cde/INSTALL1
-rwxr-xr-xwindowmanagers/cde/PRE_BUILD13
-rw-r--r--windowmanagers/cde/patches/0001-Fix-usage-of-util_init-in-util_test.patch20
7 files changed, 88 insertions, 0 deletions
diff --git a/windowmanagers/cde/BUILD b/windowmanagers/cde/BUILD
new file mode 100755
index 0000000000..db8be9056a
--- /dev/null
+++ b/windowmanagers/cde/BUILD
@@ -0,0 +1,3 @@
+make_single &&
+make World CC="$CC" &&
+make_normal
diff --git a/windowmanagers/cde/DEPENDS b/windowmanagers/cde/DEPENDS
new file mode 100755
index 0000000000..ce0e224d51
--- /dev/null
+++ b/windowmanagers/cde/DEPENDS
@@ -0,0 +1,32 @@
+case "$HOST" in
+ (*-musl)
+ depends netbsd-gencat
+ ;;
+esac &&
+depends JPEG &&
+depends SSL &&
+depends bdftopcf &&
+depends bison &&
+depends flex &&
+depends freetype2 &&
+depends libtirpc
+depends libutempter &&
+depends libxaw &&
+depends libxdmcp &&
+depends libxft &&
+depends libxmu &&
+depends libxscrnsaver &&
+depends m4 &&
+depends motif &&
+depends ncompress &&
+depends patch &&
+depends tcl &&
+runtime_depends xbitmaps &&
+optional_depends libxinerama \
+ CDE_USEXINERAMA={YES,NO} \
+ 'for Xinerama support' &&
+optional_depends linux-pam \
+ HasPamLibrary={YES,NO} \
+ 'for PAM support' &&
+suggest_depends rpcbind '' '' '' &&
+suggest_depends xset '' '' ''
diff --git a/windowmanagers/cde/DETAILS b/windowmanagers/cde/DETAILS
new file mode 100755
index 0000000000..4dd05bfe05
--- /dev/null
+++ b/windowmanagers/cde/DETAILS
@@ -0,0 +1,16 @@
+ SPELL=cde
+ VERSION=2.4.0
+ SOURCE="$SPELL-$VERSION.tar.gz"
+ SOURCE_URL[0]="$SOURCEFORGE_URL/project/cdesktopenv/src/$SOURCE"
+ SOURCE_HASH=sha512:08405190f3aea8521a5af5063713ffbca190ec49c9d347bfe93e912aab06b3949d0589c8ead4bc8d01fbbb23ed9ee85f8609a0358839abc2294da6b6b6a5f4cd
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE="https://sourceforge.net/projects/cdesktopenv/"
+ LICENSE[0]="LGPL-2.1-only"
+ GATHER_DOCS=off
+ ENTERED=20210917
+ KEYWORDS=""
+ SHORT="The Common Desktop Environment"
+cat << EOF
+The Common Desktop Environment was created by a collaboration of Sun, HP,
+IBM, DEC, SCO, Fujitsu and Hitachi.
+EOF
diff --git a/windowmanagers/cde/HISTORY b/windowmanagers/cde/HISTORY
new file mode 100644
index 0000000000..4f4237fb33
--- /dev/null
+++ b/windowmanagers/cde/HISTORY
@@ -0,0 +1,3 @@
+2021-09-17 Ismael Luceno <ismael@sourcemage.org>
+ * BUILD, DEPENDS, DETAILS, INSTALL, PRE_BUILD,
+ patches/0001-Fix-usage-of-util_init-in-util_test.patch: spell created
diff --git a/windowmanagers/cde/INSTALL b/windowmanagers/cde/INSTALL
new file mode 100755
index 0000000000..98164fd804
--- /dev/null
+++ b/windowmanagers/cde/INSTALL
@@ -0,0 +1 @@
+admin/IntegTools/dbTools/installCDE -s "$SOURCE_DIRECTORY"
diff --git a/windowmanagers/cde/PRE_BUILD b/windowmanagers/cde/PRE_BUILD
new file mode 100755
index 0000000000..eea04ec978
--- /dev/null
+++ b/windowmanagers/cde/PRE_BUILD
@@ -0,0 +1,13 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+apply_patch_dir patches &&
+# Missing files
+touch config/cf/{os2,sv3}Lib.{rules,tmpl} \
+ config/cf/xf86.tmpl \
+ config/cf/{isc,mach,os2,svr3}.cf &&
+# FIXME intall in /opt/dt and manpages in /usr/share/man
+# SystemManDirectory="$INSTALL_ROOT"/usr/share/man \
+# ProjectRoot="$INSTALL_ROOT"/opt/dt
+for i in $OPTS; do
+ echo "#define ${i/=/ }"
+done >> config/cf/host.def
diff --git a/windowmanagers/cde/patches/0001-Fix-usage-of-util_init-in-util_test.patch b/windowmanagers/cde/patches/0001-Fix-usage-of-util_init-in-util_test.patch
new file mode 100644
index 0000000000..a2c92cc2aa
--- /dev/null
+++ b/windowmanagers/cde/patches/0001-Fix-usage-of-util_init-in-util_test.patch
@@ -0,0 +1,20 @@
+From 6d4c15f1d4d263e90fc29003043225209aaa2fab Mon Sep 17 00:00:00 2001
+From: Ismael Luceno <ismael@iodev.co.uk>
+Date: Sat, 18 Sep 2021 22:38:45 +0200
+Subject: Fix usage of util_init in util_test
+
+---
+ programs/dtappbuilder/src/libAButil/util_test.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/programs/dtappbuilder/src/libAButil/util_test.c
++++ b/programs/dtappbuilder/src/libAButil/util_test.c
+@@ -54,7 +54,7 @@ static int cvt_it(STRING path, STRING dir);
+
+ main (int argc, char *argv[])
+ {
+- util_init(argv[0]);
++ util_init(argc, argv);
+ test_verbosity();
+ test_output();
+ /* test_get_dir_name(); */