ALT repositories
Last updated at Fri, 24 Jul 2020 16:39:53 +0000 | SRPMs: 19056
en ru
SRPMs in branches
hide window
  • 1:4.0.1-alt1
  • 1:3.8.2-alt1.M80P.1
  • 1:3.8.2-alt1.M80P.1
  • 3.9devel-alt2
  • 3.9devel-alt2
  • 3.9devel-alt2
  • 3.9devel-alt2
  • 3.9devel-alt2
  • 3.9devel-alt2
  • 3.8a-alt1.qa1.1
Group :: Graphical desktop/Other
Source RPM: ctwm
Raw spec file

Summary: Twm based window manager for the X Window System
Основанный на twm оконный менеджер для X Window System
Name: ctwm
Version: 4.0.1
Epoch: 1
Release: alt1

Source: %name-%version.tar.xz
Packager: Fr. Br. George <george at>


Source1: startctwm
Source2: %name.wmsession
Source3: %name.icon64x64.xpm
#Source4: ctwm-3.7-Imakefile.local-additional

Patch: ctwm-3.8.2-GetFont.patch
License: BSD
Group: Graphical desktop/Other

# Automatically added by buildreq on Mon May 29 2017

# optimized out: asciidoc cmake-modules dblatex docbook-dtds docbook-style-xsl libICE-devel libSM-devel libX11-devel libXau-devel libXt-devel libgpg-error python-base python-modules python-modules-compiler python-modules-email python-modules-encodings python-modules-xml xml-common xml-utils xorg-kbproto-devel xorg-xextproto-devel xorg-xproto-devel xsltproc xz

BuildRequires: asciidoc-a2x cmake flex libXext-devel libXmu-devel libXpm-devel libjpeg-devel time

Ctwm is a window manager for the X Window System. It provides
titlebars, shaped windows, virtual screens (workspaces), several forms
of icon management, user-defined macro functions, click-to-type and
pointer-driven keyboard focus, and user-specified key and pointer
button bindings. It is actually twm (Tab Window Manager) from the MIT
X11 distribution slightly modified to accommodate the use of several
virtual screens (workspaces). It is heavily inspired from the
Hewlett-Packard vuewm window manager. In addition, ctwm can use
coloured, shaped icons and background root pixmaps in XPM format [from
Arnaud Le Hors], any format understood by the imconv package [from the
San Diego Supercomputer Center] and xwd files. Ctwm can be compiled
to use both, either or none of the above icon/pixmap formats.

%description -l ru-RU
Ctwm -- оконный менеждер для X Windows System, основанный на одном из
старейших оконных менеджеров для X11 -- twm (Tab Window Manager) из
дистрибутива Mit X11. Под влиянием vuewm от Hewlett-Packard в ctwm
добавлена поддержка "трёхмерных" заголовков, рамоки меню, виртуальные
экраны и многое другое. Ctwm поддерживает макросы в настройках,
разнообразные стили перемещения фокуса, заливку фона и т. д., а также
имеет несколько уникальных функций, например movepush, когда окно,
перемещаемое по экрану, расталкивает прочие окна в стороны.

#patch -p1

sed -ri 's/(#define[[:space:]]+MAX_BUTTONS[[:space:]]+).*/\1 24/' ctwm.h
ln -s build BUILD
%cmake \
-DETCDIR=%_sysconfdir/X11/ctwm \
-DDOCDIR=%_defaultdocdir/%name-%version \



#make_build CDEBUGFLAGS="-g -Og"

install -pD -m644 %SOURCE3 %buildroot/%_iconsdir/hicolor/64x64/apps/%name.xpm
install -pD -m644 %SOURCE2 %buildroot/%_sysconfdir/X11/wmsession.d/07%name
install -pD -m644 system.ctwmrc %buildroot/%_sysconfdir/X11/%name/system.ctwmrc
install -Dm 755 %SOURCE1 %buildroot/%_bindir/startctwm

%doc %_defaultdocdir/%name-%version
%config(noreplace) %_sysconfdir/X11/%name/system.ctwmrc

* Fri Aug 25 2017 Fr. Br. George <george at> 1:4.0.1-alt1
- Autobuild version bump to 4.0.1

* Mon May 29 2017 Fr. Br. George <george at> 1:4.0.0-alt1
- Autobuild version bump to 4.0.0

* Wed Sep 21 2016 Fr. Br. George <george at> 1:3.8.2-alt2
- Fix fonset usage

* Mon Jul 14 2014 Fr. Br. George <george at> 1:3.8.2-alt1
- Autobuild version bump to 3.8.2
- Clean up spec

* Thu Aug 29 2013 Fr. Br. George <george at> 1:3.8.1-alt1
- Update to current mtn
- Introducing epoch (version switched back to 3.8.*)

* Mon Mar 14 2011 Fr. Br. George <george at> 3.9devel-alt2
- Buildreq regenerated

* Mon Feb 14 2011 Fr. Br. George <george at> 3.9devel-alt1
- Version up to MTN development

* Sat Nov 21 2009 Repocop Q. A. Robot <repocop at> 3.8a-alt1.qa2
- NMU (by repocop): the following fixes applied:
* pixmap-in-deprecated-location for ctwm
* postclean-05-filetriggers for spec file

* Tue Dec 02 2008 Valery Inozemtsev <shrek at> 3.8a-alt1.qa1.1
- NMU:
* updated build dependencies
* removed obsolete %%update_wms/%%clean_wms calls

* Thu Apr 10 2008 Igor Vlasenko <viy at> 3.8a-alt1.qa1
- NMU (by repocop): the following fixes applied:
* update_wms for ctwm

* Wed Apr 18 2007 Fr. Br. George <george at> 3.8a-alt1
- version up
- another strcpy() without \0 fix
- MAX_BUTTONS is 24 now

* Mon Dec 11 2006 Fr. Br. George <george at> 3.7-alt5
- Poor strcpy() bugfix

* Thu Nov 16 2006 Fr. Br. George <george at> 3.7-alt4
- Bug 10256 closed (/usr/X11R6 -> /usr)

* Thu Sep 14 2006 Fr. Br. George <george at> 3.7-alt3
- GEAR tuning

* Sun Oct 09 2005 Fr. Br. George <george at> 3.7-alt2
- Trivial description bugs fixed, russian description added

* Thu Aug 25 2005 Fr. Br. George <george at> 3.7-alt1
- Version upping
- Upstream changed

* Fri Jul 01 2005 Fr. Br. George <george at> 3.6-alt3
- Change startctwm to be used both with or without m4

* Mon Jul 26 2004 Fr. Br. George <george at> 3.6-alt2
- Add startctwm simple script, move pixmaps out of /etc/X11

* Fri Oct 17 2003 Fr. Br. George <george at> 3.6-alt1
- First time ported under ALT Linux

The Geyser project is based on code from Prometheus2.0, which had been made available under the MIT License.