CDE - The Common Desktop Environment is X Windows desktop environment
that was commonly used on commercial UNIX variants such as Sun Solaris,
HP-UX and IBM AIX. Developed between 1993 and 1999, it has now been
released under an Open Source licence by The Open Group.
databases/lmdb: allow to install both 0.x and 1.x together
LMDB 1.0 and the legacy 0.9 ABI cannot be mixed, the datanase format are
incompatibles as well.
Rename or relocate everything databases/lmdb0 installs so that it no
longer overlaps with databases/lmdb:
- the utilities are now mdb_copy0, mdb_dump0, mdb_load0 and mdb_stat0
- the header is include/lmdb0/lmdb.h
- the linker name is liblmdb0.so, the shared object keeps its ABI name
liblmdb.so.0 so already linked programs are unaffected
- the pkg-config file is lmdb0.pc
A compatibility prefix holding the previous layout is also installed
under ${PREFIX}/lmdb0/ (include/, lib/ and libdata/pkgconfig/) so that
build systems which expect to find lmdb.h and -llmdb relative to a
single directory only need a path change.
Now all ports should migrate to lmdb 1.X and use the lmdb 0.9 port to ease
in the migration path, lmdb, the lmdb 0.x is supposed to get removed at
some point.
Approved by: mat (portmgr)
Reviewed by: mat
Differential Revision: https://reviews.freebsd.org/D60741
x11/cde-devel: Add newly required pkgconf build dependency
Add a pkgconf build requirement. While at it also document an autoconf
and autoconf-archive requirement.
Fixes: e4db654d831a
databases/lmdb0: Add port for LMDB 0.9.x legacy ABI
LMDB 1.0 introduced an incompatible on-disk format change and subtle
API breakage: applications that compiled cleanly against 1.0 headers
could fail silently at run time. Known affected ports include dns/knot3,
mail/bogofilter, and mail/postfix; the postfix issue has been confirmed
upstream. Linux distributions such as Arch Linux have observed the same
breakage. Samba can also be affected in certain configurations.
Because the regression is not detectable in an -exp build run -- the
postfix failure only manifests at run time, and bogofilter was caught
only because post-build self-tests happen to exercise this path -- we
cannot rely on package builds to validate the 1.0 upgrade.
This commit introduces databases/lmdb0 as a holding port for the 0.9.35
(Only the first 15 lines of the commit message are shown above )
x11/cde*: Work around bus errors and looping CDE apps
-O2 optimization is too aggressive for CDE. Scaling it back to -O
eliminates bus errors on some systems and dtcalc looping with the
error, *** M .LE. T IN CALL TO MPCHK.
Reported by: Jeremy Doolin <jrdoolin@pm.me>
MFH: 2026Q2
x11/cde*: Remove unused iconv dependencies
CDE only uses iconv.h. It does not need libiconv nor does it need binconv.
Remove the redundant dependencies.
Reported by: arrowd
Initial patcy by: arrowd
PR: 290743
MFH: 2025Q4
x11/cde-devel: Update to the latest cdesktopenv-code commit
Update to the latest cdedesktop-code commit proxied through my GH account.
This includes an upstreamed fix (see bcdfa5b4d8af) to a dtcm link issue
caused by src bb421be6c117 moving ftime(3) from libcompat to libutil.
x11/cde*: Catch up to src bb421be6c117
src bb421be6c117 moved ftime(3) to libutil. This resulted in this
error:
ld: error: undefined symbol: ftime
>>> referenced by getdate.c
>>> libDtCmP_a-getdate.o:(cm_getdate) in archive
../libDtCmP/libDtCmP.a
There are other programs and libraries that also reference ftime(3).
Rather than patch each Makefile.am, add -lutil to LDFLAGS.
MFH: 2024Q2
x11/cde-devel: Update to the latest cdesktopenv-code commit
Update to the latest cdedesktop-code commit proxied through my GH account.
This includes a fix to dtterm title and icon Sun esc seqs, where replies
with "%s" when given either "CSI 20 t" or "CSI 21 t". i.e.,
Example of wrong behaviour:
$ echo "^[[21t"
$ l%s
Example of correct behaviour:
$ echo "^[[21t"
$ lTerminal
x11/cde*: Work around a SIGBUS in dtcreate
dtcreate has been experiencing SIGBUS since llvm 17 import. Fall back
to llvm 16 until this problem can be more thoroughly investigated.
x11/cde*: Add missing shebang script
During 2023Q3 testing (using pudriere bulk -t, which enables
DEVELOPER mode), it was discovered that a tcl script was not getting
fixed by shabangfix. This commit fixes that.
Reported by: dizzy
MFH: 2023Q3
x11/cde-devel: Address multiple build failures with LLVM16
/usr/local/include/Xm/Xm.h:1516:25: error: ISO C++17 does not allow 'register'
storage class specifier [-Wregister]
register int to_type) ;
^~~~~~~~~
x11/cde-devel: Update to the latest cdesktopenv-code commit
Update to the latest cdedesktop-code commit proxied through my GH account.
This commit in effect reverts ba49bacd3954 as our cdedesktoptools upstream
have accepted and committed my pull request to fix build errors flagged by
LLVM15.
x11/cde*: Fix build under LLVM15
Fix many -Wint-conversion error such as the example below, including
an aso atomics.
connect.c:87:12: error: incompatible pointer to integer conversion initializing
'LONG' (aka 'int') with an expression of type 'void *' [-Wint-conversion]
DB_ADDR mdba = NULL; /* db address of current member record */
^ ~~~~
x11/cde*: Remove call to tzsetall()
As of src d5c85ac6526d, the tzcode update removed the tzsetwall()
function. Our tzcode upstream removed tzsetwall() in their commit
d36f8f5b6983. The reason they did this was that tzsetwall() was
"undocumented and ineffective."
MFH: 2023Q1
x11/cde-{25,devel}: Remove BROKEN for imake build issues
As of 2.5.0 (from HISTORY in the tarball),
This release is the first to use autotools for building. The Imake
build system is gone. No doubt there is more improvement that can be
done here (support cross compiling, make uninstall, etc), but
everything is functional.
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
x11/cde-devel: Update to the latest cdesktopenv-code commit
Update to the latest cdedesktop-code commit proxied through my GH account.
The notable change in this update is dtsession loading the appropriate
font for xterm as needed.
x11/cde-devel: Introduce x11/cde-devel
The x11/cde-devel port will track the CDE master development branch.
The cdesktopenv-code git repo on sourceforge is mirrored using my github
account and FreeBSD ports plumbing is used to fetch tarballs from github.
This port uses the x11/cde-25 port/pkg coexistence methodology to allow
it to be installed while a more stable version of x11/cde* is installed,
allowing users to safely use the port with a quick fallback should the
upstream software significanly break.
Users should ensure that their ~/.dt is backed up prior to switching
from a stable version of x11/cde* to x11/cde-devel or back again.