Giter Site home page Giter Site logo

cderpm's People

Contributors

dcantrell avatar edorig avatar ntcrotser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cderpm's Issues

dtksh build fix for f29/30 and centos7

Someone on the main CDE SourceForge message board helped me with the following fix for dtksh failing to build:

$ cat cde-2.3.0-fmtdev.c.patch
--- a/cde/programs/dtksh/ksh93/src/lib/libast/string/fmtdev.c 2019-08-02 08:05:30.130385082 -0400
+++ b/cde/programs/dtksh/ksh93/src/lib/libast/string/fmtdev.c 2019-08-02 08:06:40.333766407 -0400
@@ -93,6 +93,7 @@
#include <ast.h>
#include <ctype.h>
#include <ls.h>
+#include <sys/sysmacros.h>

char*
fmtdev PARAM((struct stat* st), (st)) OTORP(struct stat* st;){

TERM variable set to dtterm causing warning

Dave, awesome work you've done here! I just installed the RPM from your COPR repo and I am so pleased. Having played with the env for a bit, I notice the following behaviour:

[root@localhost ~]# less /var/log/messages
WARNING: terminal is not fully functional
/var/log/messages (press RETURN)
...

After looking at the TERM variable:

[root@localhost ~]# echo $TERM
dtterm

... and some google searching, I figured that the TERM variable should be xterm or vt100 or some such. But, I can't find where this variable is being set? I thought /usr/dt/bin/Xsession, but no dice.

Any ideas on where this is getting set?

Thanks,
Michael G

Building the RPM on Scientific Linux 7

On Scientific Linux 7, the compilation of the CDE sources succeed, but the call to InstallCDE does not place the files under the BUILDROOT directory. Instead of going to BUILDROOT/usr, BUILDROOT/var and BUILDROOT/etc they are installed in /usr /var /etc even though the rpmbuild is passing the correct options to installCDE. Running manually installCDE after the build step either to install the files in BUILDROOT or to create a tar file fails for the same reason. I don't know yet if this is caused by a change in installCDE or by installCDE being run with the wrong shell (bash instead of ksh).
I can send a log of the build process if needed.

Dual monitors

Has any body got this working with dual monitors?

CDE does not seem aware of my setup as MATE does (NVidia GPU, 2x iiyama monitors) and places the task/utility bar right in the middle of the combined "virtual screen" which doesn't really work for me.

COPR repo?

Hi,

Do you have the RPMs in some COPR repo?

Build failure under Fedora 21

Building under Fedora 21 (which is not a target platform) is failing.

Installed chrpath, openmotif-devel, xorg-x11-xbitmaps. Transcript of make all follows:

Already have cde-2.2.0-20120816gitce4004f.tar.xz and it checks out.
rpmbuild --define='_topdir /export/home/projects/cderpm' --define='_sourcedir /export/home/projects/cderpm' --define='_specdir /export/home/projects/cderpm' -ba cde.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SjS4sg
+ umask 022
+ cd /export/home/projects/cderpm/BUILD
+ cd /export/home/projects/cderpm/BUILD
+ rm -rf cdesktopenv-code/cde
+ /usr/bin/xz -dc /export/home/projects/cderpm/cde-2.2.0-20120816gitce4004f.tar.xz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd cdesktopenv-code/cde
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (cde-fix-udbParseLib.awk.patch):'
Patch #0 (cde-fix-udbParseLib.awk.patch):
+ /usr/bin/cat /export/home/projects/cderpm/cde-fix-udbParseLib.awk.patch
+ /usr/bin/patch -p1 --fuzz=0
patching file admin/IntegTools/dbTools/udbParseLib.awk
+ echo 'Patch #1 (cde-use-sh-over-ksh.patch):'
Patch #1 (cde-use-sh-over-ksh.patch):
+ /usr/bin/cat /export/home/projects/cderpm/cde-use-sh-over-ksh.patch
+ /usr/bin/patch -p1 --fuzz=0
patching file admin/IntegTools/dbTools/dinstallCDE.src
patching file admin/IntegTools/dbTools/installCDE.src
patching file admin/IntegTools/dbTools/linksLast
patching file admin/IntegTools/dbTools/mkProd
patching file admin/IntegTools/dbTools/udbToAny.ksh
patching file admin/IntegTools/dbTools/uncomment
+ mkdir -p imports/x11/include
+ cd imports/x11/include
+ ln -s /usr/include/X11 .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.sMTPy1
+ umask 022
+ cd /export/home/projects/cderpm/BUILD
+ cd cdesktopenv-code/cde
+ '[' -d /export/home/projects/cderpm/BUILDROOT/cde-2.2.0-3.20120816gitce4004f.fc21.x86_64 ']'
+ rm -rf /export/home/projects/cderpm/BUILDROOT/cde-2.2.0-3.20120816gitce4004f.fc21.x86_64
+ /usr/bin/make World.dev 'BOOTSTRAPCFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -m64'
make[1]: Entering directory '/export/home/projects/cderpm/BUILD/cdesktopenv-code/cde'

Building Release 2.2.0 of CDE excluding DOC

Thu Dec 25 19:21:46 BRST 2014

cd ./config/imake && make -w -f Makefile.ini BOOTSTRAPCFLAGS="-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -m64" clean
make[2]: Entering directory '/export/home/projects/cderpm/BUILD/cdesktopenv-code/cde/config/imake'
rm -f ccimake imake.o imake
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a tags TAGS make.log \#*
rm -f -r Makefile.proto Makefile Makefile.dep bootstrap
make[2]: Leaving directory '/export/home/projects/cderpm/BUILD/cdesktopenv-code/cde/config/imake'
make -w Makefile.boot
make[2]: Entering directory '/export/home/projects/cderpm/BUILD/cdesktopenv-code/cde'
cd ./config/imake && make -w -f Makefile.ini BOOTSTRAPCFLAGS="-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -m64"
make[3]: Entering directory '/export/home/projects/cderpm/BUILD/cdesktopenv-code/cde/config/imake'
making imake with BOOTSTRAPCFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -m64 in config/imake
cc -o ccimake -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -m64 -O -I../../include -I../../imports/x11/include/X11 ccimake.c
ccimake.c:59:1: warning: return type defaults to 'int' [-Wreturn-type]
 main()
 ^
ccimake.c: In function 'main':
ccimake.c:61:2: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration]
  write(1, imake_ccflags, sizeof(imake_ccflags) - 1);
  ^
ccimake.c:62:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
  exit(0);
  ^
ccimake.c:62:2: warning: incompatible implicit declaration of built-in function 'exit'
cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -m64 -O -I../../include -I../../imports/x11/include/X11 `./ccimake` imake.c
imake.c: In function 'get_libc_version':
imake.c:1006:2: error: format not a string literal and no format arguments [-Werror=format-security]
  fprintf (inFile, command);
  ^
imake.c: In function 'main':
imake.c:408:3: warning: ignoring return value of 'mkstemp', declared with attribute warn_unused_result [-Wunused-result]
   mkstemp(tmpMakefile);
   ^
imake.c: In function 'CleanCppInput':
imake.c:1289:4: warning: ignoring return value of 'mkstemp', declared with attribute warn_unused_result [-Wunused-result]
    mkstemp(tmpImakefile);
    ^
imake.c: In function 'get_ld_version':
imake.c:1028:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
     (void) fscanf (ldprog, "%d.%d", &ldmajor, &ldminor);
     ^
imake.c: In function 'ReadLine':
imake.c:1459:3: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
   ftruncate(fileno(tmpfd), (off_t) 0);
   ^
cc1: some warnings being treated as errors
Makefile.ini:31: recipe for target 'imake.o' failed
make[3]: *** [imake.o] Error 1
make[3]: Leaving directory '/export/home/projects/cderpm/BUILD/cdesktopenv-code/cde/config/imake'
Makefile:133: recipe for target 'imake.proto' failed
make[2]: *** [imake.proto] Error 2
make[2]: Leaving directory '/export/home/projects/cderpm/BUILD/cdesktopenv-code/cde'
Makefile:76: recipe for target 'World.dev' failed
make[1]: *** [World.dev] Error 2
make[1]: Leaving directory '/export/home/projects/cderpm/BUILD/cdesktopenv-code/cde'
error: Bad exit status from /var/tmp/rpm-tmp.sMTPy1 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.sMTPy1 (%build)
Makefile:11: recipe for target 'all' failed
make: *** [all] Error 1

Provide a release for Fedora 28

Fedora 28 is out now and a release should be made available for it if available.

Currently only 27 and rawhide are officially supported.

Thank you.

Fedora 29

Tried to install on Fedora 29. See below:

[root@dl380g8 ~]# dnf install cde
Last metadata expiration check: 0:01:41 ago on Tue 13 Nov 2018 09:21:06 AM EST.
Error:
Problem: conflicting requests

  • nothing provides /usr/dt/bin/dtksh needed by cde-2.3.0-2.fc29.x86_64
    [root@dl380g8 ~]#

I am not sure how to check what is causing this error.

-- Michael

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.