Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34012 - ctwm 3.7 alpha4 released and no ebuild
Summary: ctwm 3.7 alpha4 released and no ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Desktop WM Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-21 05:38 UTC by J.O. Aho
Modified: 2004-02-23 06:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ctwm-3.7_alpha4.ebuild (ctwm-3.7_alpha4.ebuild,1.06 KB, text/plain)
2003-11-22 05:29 UTC, Mamoru KOMACHI (RETIRED)
Details
ctwm-3.7_alpha4-gentoo.diff (ctwm-3.7_alpha4-gentoo.diff,1.78 KB, patch)
2003-11-22 05:29 UTC, Mamoru KOMACHI (RETIRED)
Details | Diff
digest-ctwm-3.7_alpha4 (digest-ctwm-3.7_alpha4,67 bytes, text/plain)
2003-11-26 03:44 UTC, J.O. Aho
Details

Note You need to log in before you can comment on or make changes to this bug.
Description J.O. Aho 2003-11-21 05:38:44 UTC
The CTWM 3.7 alpha4 has been long time released, but the latest ctwm ebuild that
is, is 3.6 and without XPM support.

Reproducible: Always
Steps to Reproduce:
1. Check http://ctwm.free.lp.se




XPM support had been nice, this allows you to use most of the themes examples
for ctwm and allows you to make a lot nicer looking ctwm.

Changes that should be done, is to make ctwm depend on xpm, or that ctwm ebuild
can make a check if it's installed, if not then patch the Makefile as it's
patched in ebuild fro ctwm3.6, if xpm is installed, don't patch Makefile at all.

The ctwm 3.6 tarball lacks the premade XPM-images, but those seems to be in the
3.5 and 3.7 tarballs.
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-11-22 05:29:09 UTC
Created attachment 21076 [details]
ctwm-3.7_alpha4.ebuild
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-11-22 05:29:44 UTC
Created attachment 21077 [details, diff]
ctwm-3.7_alpha4-gentoo.diff
Comment 3 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-11-22 05:35:08 UTC
Hi. I cannot get ctwm-3.7-alpha4 running with xpm support
(unfortunately, I don't have much time to look at it at the moment).
Please attach your ebuild and patch that enables xpm support (just FYI
I attached my ebuild and patch, although ctwm segfaults when I try to
run ctwm).
Comment 4 J.O. Aho 2003-11-26 03:42:04 UTC
As I haven't had time to try to understand the ebuilds, I haven't made any, still more used to how to build RPMs.

But I did make a try with your ebuild and diff (had to make the digest-ctwm-3.7_alpha4) and built a tbz2 (didn't want to loose my binary in case this wouldn't work) and then replcaed the ctwm in /usr/bin and started the ctwm session.

Everything works well here (just light testing this far). So everything may not be well with your system, maybe you don't have the rquiered jpeg libs installed? As reading the Changes, you can now have jpeg backgrounds (guess that should be included as dependency into ctwm too).

If you doubt I'm running the 3.7, here is the info from my ctwm:
$ ctwm -info    
Twm version:  MIT X Consortium, R6, ctwm 3.7
Compile time options : XPM USEM4


This next is a bit off topic... but the default system.ctwmrc is really limited and I guess most people don't want to take the time to add all usefull stuff into the menus, so what about making a "gentoo system.ctwmrc" which includes a bit more and usefull applications in the menus, that usually are included into the system?

Comment 5 J.O. Aho 2003-11-26 03:44:16 UTC
Created attachment 21307 [details]
digest-ctwm-3.7_alpha4
Comment 6 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-12-01 09:14:09 UTC
Thanks for testing. I straced ctwm and found that my .twmrc causes the
problem (if there is no .ctwmrc in my home directory, ctwm tries to
use .twmrc and segfaults. If you don't have either ctwm uses system
default ctwmrc), so it was my fault. Sorry for that.

I committed ctwm-3.7_alpha4.ebuild. Menu system like you described
above is under development by desktop project, so it will probably be
available in the future. If you contribute your menu intented for
general gentoo users for the moment, it would be much appreciated.
Comment 7 J.O. Aho 2004-01-17 11:34:42 UTC
Haven't had much time with CTWM for a while, so what I have done is quite half finished and I do use quite much from both KDE and Gnome2 so it's not really a clean config file I have.

But I had a small idea here, not completly sure if it will work, but wasn't there options in make.conf you could have for have KDE/Gnome2 support? if yes, then maybe have two patch files, which could be applied if the options are detected.

Sadly Gentoo/portage don't have support for automatically include stuff to menus/menu systems, this could have been neat so when someone install a new software, that it had been automatically added to all the windowmanagers/desktop environments default menus.
Comment 8 J.O. Aho 2004-02-23 06:00:57 UTC
Oh, .twmrc, yes ctwm uses those files too, remeber that from my univeristy days when we had SunOS based machines and they run twm by default, but no one was good on tweaking it and there had been a student who was a wiz on ctwm, so those who wanted their own look copied those config files and adjusted them a bit and run ctwm instead.

I'm not sure if ctwm does look first for .ctwmrc and then falls back to .twmrc, at least in the begining they had quite similare settings.