Package Details: cdesktopenv-git 2.5.2.1.g76812a911-2

Git Clone URL: https://aur.archlinux.org/cdesktopenv-git.git (read-only, click to copy)
Package Base: cdesktopenv-git
Description: Common Desktop Environment
Upstream URL: http://sourceforge.net/projects/cdesktopenv/
Keywords: cde desktop
Licenses: LGPL2
Conflicts: cdesktopenv
Submitter: yjftsjthsd
Maintainer: autinerd
Last Packager: autinerd
Votes: 2
Popularity: 0.000014
First Submitted: 2019-11-18 21:29 (UTC)
Last Updated: 2023-12-09 07:26 (UTC)

Latest Comments

1 2 Next › Last »

topcat01aur commented on 2025-09-14 19:58 (UTC) (edited on 2025-09-14 20:01 (UTC) by topcat01aur)

I can build and run this with the following changes:

PKGBUILD diff:

diff --git a/PKGBUILD b/PKGBUILD
index b1d404c..2b38c19 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,8 +6,8 @@

 _gitname=cdesktopenv
 pkgname="$_gitname"-git
-pkgver=2.5.2.1.g76812a911
-pkgrel=2
+pkgver=2.5.2.24.g9f0f015c4
+pkgrel=1
 pkgdesc="Common Desktop Environment"
 url="http://sourceforge.net/projects/cdesktopenv/"
 arch=('i686' 'x86_64') # Some parts of CDE are not stable on x86_64 yet.
@@ -28,7 +28,7 @@ source=("git+https://git.code.sf.net/p/cdesktopenv/code"
        'fonts.dir'
        'startcdesession.sh'
        'cde.desktop'
-       'mksh.patch')
+       'xec.patch')

 sha512sums=('SKIP'
            '25148b543e787394e1842c7c697ae684af0ac0bd5c0f50e53d456c1cf62a345346cd4a37e2c356f245f6c12acceedaba2f1ba463fd94b882619ee67d67af5cc5'
@@ -37,7 +37,7 @@ sha512sums=('SKIP'
            'a546d1300f49037a465ecec8bc1ebd07d57015a5ff1abfa1c94da9b30576933fb68e3898ff764d4de6e6741da822a7c93adc6e845806a266a63aa14c8bb09ebb'
            'fdeea1adaf0de5da63e3cc8760893451e7ad1b2bb5c383f70208e3ac62e8fbce3092d6036e70ac46d4ccfb0a4884029cbf0088e58e56004bc9aeb7aa53983548'
            '02f01ecf1ba32d9a5fe75d10de1948c4f087725f1e38be55992ef21dd8f22680763cd3a073f97efeea0324db729d41692223ebc0cec620b00fc69685d2cc34e2'
-           '4821925f902481bf59cda0f7a51b35c834c80f676e37608030e7cd64b1e18269cd7cbe1f37cffedd0f1205a6621f51c1b22293c959cffa3602bfdcdba82fd8f4')
+           '9aa502d68f20cd89633244a28a9692a952e504bcc1ed56a48894326fa61b247fe9a65d2c0550f87e7078d8082b748588604ebc8c45132e25e02f75e1b1f21a13')

 pkgver() {
    cd "$srcdir/code/cde"
@@ -45,8 +45,8 @@ pkgver() {
 }

 prepare() {
-   # Sets autoconf to accept mksh, which is much easier to build then the original ksh93
-   patch -p1 -i mksh.patch
+   # Fixes a conflict with C99 nullptr keyword.
+   patch -p1 -i xec.patch
 }

 build() {
@@ -54,7 +54,7 @@ build() {
    ./autogen.sh
    export TIC="/usr/bin/tic -o${pkgdir}/usr/share/terminfo"
    ./configure --with-gnu-ld --prefix=/usr/dt
-   make LDFLAGS=-lm
+   make CFLAGS="-std=c99 -I /usr/include/tirpc" LDFLAGS=-lm

 }

xec.patch

--- a/code/cde/programs/dtksh/ksh93/src/cmd/ksh93/sh/xec.c
+++ b/code/cde/programs/dtksh/ksh93/src/cmd/ksh93/sh/xec.c
@@ -1963,7 +1963,7 @@ int sh_exec(register const Shnode_t *t, int flags)
            int flag = errorflg|OPTIMIZE_FLAG;
            struct dolnod   *argsav=0;
            struct comnod   *tp;
-           char *cp, *trap, *nullptr = 0;
+           char *cp, *trap, *nullptr_t = 0;
            int nameref, refresh=1;
            char *av[5];
 #if SHOPT_OPTIMIZE
@@ -2008,7 +2008,7 @@ int sh_exec(register const Shnode_t *t, int flags)
                    save_prompt = sh.nextprompt;
                    sh.nextprompt = 3;
                    sh.timeout = 0;
-                   sh.exitval=sh_readline(&nullptr,0,1,(size_t)0,1000*sh.st.tmout);
+                   sh.exitval=sh_readline(&nullptr_t,0,1,(size_t)0,1000*sh.st.tmout);
                    sh.nextprompt = save_prompt;
                    if(sh.exitval||sfeof(sfstdin)||sferror(sfstdin))
                    {

It's running on the latest Arch now.

autinerd commented on 2023-12-09 07:26 (UTC)

Thanks, is fixed!

b.r commented on 2023-12-08 21:19 (UTC)

Hi, could I please ask about adding opensp as a dependency? I see it was mentioned in the past, and on a fresh Arch Linux container it appears to still be required. I got a build error suggesting I install ONSGMLS.

autinerd commented on 2022-08-26 16:05 (UTC)

Is fixed :)

haawda commented on 2022-08-25 18:38 (UTC) (edited on 2022-08-25 18:38 (UTC) by haawda)

One of the patche soes no longer apply.

patching file code/cde/configure.ac
Hunk #1 succeeded at 341 (offset -14 lines).
patching file code/cde/programs/fontaliases/Makefile.am
Hunk #1 FAILED at 33. 1 out of 1 hunk FAILED -- saving rejects to file code/cde/programs/fontaliases/Makefile.am.rej

autinerd commented on 2022-06-17 06:11 (UTC)

Hello, I changed the dependencies to use mksh instead of the original ksh (the build is not a big mess, and it's compatible).

@bbaovanc: Yes, I can rename the sh script.

bbaovanc commented on 2022-06-17 00:09 (UTC)

Update: it works for me now on the latest commit. Another thing I noticed: can /usr/bin/startxsession.sh be renamed to something less general, like maybe startcdesession?

bbaovanc commented on 2022-06-05 00:50 (UTC) (edited on 2022-06-05 00:50 (UTC) by bbaovanc)

I had to install opensp just like strangeautomaton said (it should be a git dependency probably). But then I got another error near the end:

collect2: error: ld returned 1 exit status
mamake [cmd/ksh93]: *** exit code 1 making ksh
mamake: *** exit code 1 making cmd/ksh93
mamake: *** exit code 1 making all
package: make done  at Sat Jun  4 19:42:08 CDT 2022 in /home/bbaovanc/.cache/yay/cdesktopenv-git/src/code/cde/programs/dtksh/ksh93/arch/linux.i386-64
make[2]: *** [Makefile:1136: init.c] Error 1
make[2]: Leaving directory '/home/bbaovanc/.cache/yay/cdesktopenv-git/src/code/cde/programs/dtksh'
make[1]: *** [Makefile:445: all-recursive] Error 1
make[1]: Leaving directory '/home/bbaovanc/.cache/yay/cdesktopenv-git/src/code/cde/programs'
make: *** [Makefile:584: all-recursive] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: cdesktopenv-git

Has anyone else seen this? What should I do?

strangeautomaton commented on 2022-02-13 21:47 (UTC)

Cknight70: I don't have onsgmis on my build system at all as far as I can tell... but if it requires it ( perhaps a new dependency in the git sources??? ) you shouldn't need to install openjade, you should be able to get away with just the opensp package which is the part of it that contains onsgmis.

Cknight70 commented on 2022-02-13 09:37 (UTC)

When trying to build it said onsgmls was missing, installing OpenJade from the Arch repos it built