diff --git a/LICENSE.CNCL b/LICENSE.CNCL new file mode 100644 index 00000000..c0aced3a --- /dev/null +++ b/LICENSE.CNCL @@ -0,0 +1,83 @@ +# CNCL — Could Not Care Less License +Version 1.1 (2026-11-19) + +Version 1.1 adds the paragraph on military use; the grant is unchanged: 1.0 and +1.1 permit exactly the same things. + +No rights reserved. No obligations imposed. Couldn't care less. + +## Preamble + +Software is the product of collective human knowledge. + +Every idea builds upon ideas that came before. Every invention stands on the accumulated discoveries, mistakes, experiments, and imagination of generations. + +We do not believe in artificial boundaries around creativity. + +We do not believe that creating something grants us the moral authority to dictate what others may do with it. + +We live in an age where knowledge, tools, and artificial intelligence make creation accessible to everyone. The distinction between author, user, modifier, and creator is becoming increasingly meaningless. + +We are not here to control what happens next. + +We are here to create. + +## The License + +This software is made available to the world. + +Do whatever you want with it. + +Use it. Copy it. Modify it. Break it. Fix it. Sell it. Give it away. Incorporate it into something else. Keep your modifications private. Publish them. Feed it to AI. Build something nobody has thought of yet. + +Use it commercially or personally. Combine it with other software. Release it under another license. + +You owe the original author nothing. + +No attribution required. No royalties. No source disclosure. No reciprocal licensing. No contribution requirements. No permission needed. + +There are no conditions attached to your use of this software. + +There is no expectation that you will give anything back. + +There is no expectation that you will even care. + +## Military use + +We have no illusions about armies, and no say over them either. If this software +ends up in a weapon, that is your business, not ours. + +But since you asked: using it to defend people is not the same as using it to +attack them. Use it to protect. Do not use it to conquer. + +There is nothing to enforce here either. This paragraph is the author's position, +not a term of the license: no condition, no revocation, no court. It does not add +an obligation to CNCL 1.0, and it is not a promise that the license is "ethical". +It is one sentence of opinion in a license that has no terms -- take it or leave +it, as with everything else here. + +## Disclaimer + +The software is provided "AS IS", without warranty of any kind. + +The authors accept no responsibility for its use, misuse, modification, distribution, or consequences. + +## The CNCL Principle + +We acknowledge that everything we create is built upon something that existed before us. + +We do not claim ownership over the collective intelligence of humanity. + +We do not expect recognition, compensation, or control. + +Take it. Change it. Make it better. Make it worse. Make something entirely different. + +Or don't. + +We Could Not Care Less. + +--- + +CNCL — Could Not Care Less. + +Created for everyone. Controlled by no one. diff --git a/README.md b/README.md index 9ce8e7f6..fb77240a 100644 --- a/README.md +++ b/README.md @@ -1,100 +1,89 @@ -CDE - The Common Destop Environment -=== +# MCDE — the Makronix Common Desktop Environment -In 2012, CDE was opensourced under the terms of the LGPL V2 license by -the Open Group. +MCDE is a fork of [CDE](https://sourceforge.net/projects/cdesktopenv/), the +Common Desktop Environment, reshaped into the desktop Makronix ships: the +look of IRIX 4Dwm, the interaction of Mac OS X 10.4 where it is better, and +CDE's own front panel where it is right. -You may reuse and redistribute this code under the terms of this -license. See the COPYING file for details. +It is a working desktop, not a theme: dtwm, the front panel, the top bar, the +file manager, System Settings and the session manager are all here and all +changed. -# Downloading +![The MCDE desktop: IRIX icons, the front panel and a terminal](docs/screenshots/desktop.png) -Downloading this release: +![System Settings, one window with all panes](docs/screenshots/system-settings.png) -CDE may be downloaded in source form from the Common Desktop -Environment website: +## What MCDE changes -http://sourceforge.net/projects/cdesktopenv/ +**The desktop** follows IRIX 4Dwm. The icons are the IRIX Foundation pictures +rastered at 64x64 (`tools/fti2xpm.py` in the Makronix tree, from the `.fti` +sources), a medium picks its own by file system — CD, DVD, diskette, tape, +disk — the label is drawn on the backdrop with a shadow instead of into a +tile, and the icon window is shaped to picture and text. The icons sit at the +bottom of the stack: a raised window, a full screen program included, covers +them, as 4Dwm's desktop does. -Or via git: +**The top bar** is the global menu of the program that has the keyboard. It is +no focus target (`_MCDE_NO_FOCUS`): moving the pointer from a program to the +bar leaves the keyboard where it was, so the bar keeps showing that program's +menu and an item acts on the program the menu came from. -git clone git://git.code.sf.net/p/cdesktopenv/code CDE +**The front panel** is CDE's, with its drawers and its own pointer. The +programs kept on it live in `~/.dt/panel-apps` and have a pane of their own, +System Settings > Dock, which adds, removes and applies them by restarting +dtwm. -The git repository will always be more up to date than the -downloadable tarballs we make available, so if you have problems, -please try the latest version from git master. +**System Settings is one window**, 1022x550, minimum equal to maximum. Every +pane lives in it; a pane taller than the window scrolls instead of growing it, +the tab strip behaves as one radio group, and every pane has its own picture. -Note also that the master branch may be unstable, so your milage may -vary. +**The keyboard** is asked what it is before it is mapped: `dtkeys` checks +`hw.model` first (`Mac...`), then usbdevs, because the internal keyboard of a +MacBook may not be enumerated when the session starts. On Apple hardware Alt +and Command keep their places; on a PC keyboard they are exchanged if asked. -# Compiling +**The toolchest** window is called `dttoolchest` and its menu is the session's +own, not a second copy of the bar. -Complete build and installation instructions can be found on the CDE -wiki: +## Building -http://sourceforge.net/p/cdesktopenv/wiki/Home/ +MCDE is built like CDE: autoconf, GNU make, Motif and X11. On NetBSD (and +Makronix) the build needs `gmake`, `ksh93`, `gettext`, `bison`, `flex` and +Motif; the X11 tree provides the rest. -Please go there and read the appropriate section(s) for your OS (Linux -or FreeBSD/OpenBSD/NetBSD currently) prior to attmpting to build it. - -There are a variety of dependencies that must be met, as well as -specific set up steps required to build, especially relating to -localization and locales. - -Do not expect to just type 'make' and have it actually work without -meeting the prerequisites and following the correct steps as spelled -out on the wiki. - -There are also a lot of other documents and information there that you -might find useful. - -Assuming you've met all of the requirements regarding packages needed -for the build, you can follow the standard autoconf method: - -``` -$ ./autogen.sh -$ ./configure -$ make -$ sudo make install +```sh +./autogen.sh +./configure --prefix=/usr/pkg/dt --with-x +gmake +gmake install ``` -NOTE: BSD users must currently install and use gmake to compile, as -well as specify the location of the TCL libraries and headers. So -the instructions for them would looke like: - -``` -$ ./autogen.sh -$ ./configure --with-tcl=/usr/local/lib/tcl8.6 MAKE="gmake" -$ gmake -$ sudo gmake install -``` - -Of course change to location of your TCL directory as needed for your -system. - -# Support - -## Mailing list - -https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel - -## IRC - -There is a CDE IRC channel on irc.libera.chat, channel #cde - -## Patches welcome - -Please see - -https://sourceforge.net/p/cdesktopenv/wiki/Contributing%20to%20CDE/ - -for information on how to contribute. - - +Makronix does not build it by hand: `ext/src/mcde` is a submodule of the +Makronix repository, its pkgsrc recipe is `ext/src/mcde/pkgsrc` (and +`pkgsrc-motif` for the Motif library), and `make release` in the Makronix tree +builds and packages it with everything else. +## Licence +MCDE is a fork of CDE. The code that came from CDE stays under the **LGPL 2.0 +or later** — the full text is in [COPYING](COPYING) — and a file that came from +CDE keeps the notice it has. The files Makronix wrote for MCDE are under the +**CNCL 1.0**, the Could Not Care Less License: no rights reserved, no +obligations imposed, see [LICENSE.CNCL](LICENSE.CNCL). +The CNCL adds nothing on top of the LGPL for the CDE-derived work: if you +redistribute MCDE, the LGPL applies to the parts that came from CDE, and the +CNCL only says that Makronix's own additions ask nothing of you. +The IRIX Foundation icons are SGI's artwork, rastered from the `.fti` sources +that came with IRIX 6.5; they are used here for the look they describe. +## Where it lives +- Repository: +- In Makronix: `ext/src/mcde`, a submodule; the desktop is built by + `make release` and installed to `/usr/pkg/dt`. +- Upstream CDE: +MCDE is not a CDE release and does not speak for the CDE project. Bugs belong +in the MCDE repository. diff --git a/docs/screenshots/desktop.png b/docs/screenshots/desktop.png new file mode 100644 index 00000000..36455aa1 Binary files /dev/null and b/docs/screenshots/desktop.png differ diff --git a/docs/screenshots/system-settings.png b/docs/screenshots/system-settings.png new file mode 100644 index 00000000..f3502c89 Binary files /dev/null and b/docs/screenshots/system-settings.png differ