Re: Summer of ctwm

2016-12-14 Thread Aaron Sloman

Thanks very much for all that. I'll look more closely later.

Aaron



Re: Summer of ctwm

2016-11-06 Thread Matthew D. Fuller

On Sun, Nov 06, 2016 at 04:13:34PM + I heard the voice of
Aaron Sloman, and lo! it spake thus:
> 
> 1. Is it possible to produce a list of required libraries ?

Yeah, it's sometimes a little tricky.  It's not just naming; the libs
can actually differ slightly even.  e.g., on my [FreeBSD] system, the
built ctwm links to libintl and libXdmcp, which Fedora 23 (what I've
got around for testing) doesn't, but the Fedora links to libuuid.  I
_think_ those wind up being all transitive links from other libs so
wouldn't add extra -devel's or direct depends, but I'd have to dig
around each case to be sure.

According to the RPM that cpack builds (see the bit in README), the X
library dependancies are

% rpm -qRp ctwm-3.8.2-post-Linux.rpm
[...]
libICE.so.6()(64bit)
libSM.so.6()(64bit)
libX11.so.6()(64bit)
libXext.so.6()(64bit)
libXmu.so.6()(64bit)
libXpm.so.4()(64bit)
libXt.so.6()(64bit)
[...]

so you'd need the -devel's that go with those at least.  Well, I'll
see if I can come up with something that's a reasonable balance of
"incorrect" and "too blasted long" for the README   :)


> flex
> byacc

(or bison in place of byacc)  And those of course you'd only need for
building from version control; they're pregen'd and shipped with
tarballs (though the build will still make local ones if it can).



> 2. Is it possible to add minimal instructions for using 'bzr' on the
> www.ctwm.org site
>
> I suspect most people who merely want to *use* ctwm will never need
> to look at all the details for developers here:

Reasonable enough.  I'll try and bung something up this week.


> [As far as I can tell "bzr init-repo ." is not necessary. I did not
> need that for the download to work.]

Yes, that usually wouldn't make much difference unless you've got
multiple branches around.



-- 
Matthew Fuller (MF4839)   |  fulle...@over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
   On the Internet, nobody can hear you scream.



Re: Summer of ctwm

2016-11-06 Thread Rhialto
On Wed 02 Nov 2016 at 03:26:59 -0500, Matthew D. Fuller wrote:
> So, consider this my What I Did This Summer report.

Congratulations! That is a serious amount of work, and we appreciate it!

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- Wayland: Those who don't understand X
\X/ rhialto/at/xs4all.nl-- are condemned to reinvent it. Poorly.


signature.asc
Description: PGP signature


Re: Summer of ctwm

2016-11-06 Thread Aaron Sloman

Matthew Fuller wrote:

> According to my system, it's November 2 now, which means (in this
> hemisphere, at least) summer really should be considered over.  Though
> I do question that a little, considering it's still getting close to
> 90 degrees most days[0].
>
> So, consider this my What I Did This Summer report.

Thanks very much for all that work.

I thought it was time for me to test the latest version, which I have
managed to fetch, compile and run, so far without any serious problems on
both a desktop machine and a laptop running Fedora24 (xfce version).

(With this in /etc/X11/xorg.conf.d/20-intel.conf

   Option "AccelMethod" "blt"

on the laptop.)

I have a couple of suggestions that may help other users, if you have time.

1. Is it possible to produce a list of required libraries ?

I had had F24 running for a few weeks with an older version of ctwm, so I
assumed I must have all the libraries. But it turned out that when I ran
'make' to build the latest version I got a sequence of error messages about
missing libraries, apparently not required by other things I was using.

After each failure I managed to install the missing library that had
triggered it. I ended up having to install these:

libXpm-devel
flex
byacc
libX11-devel.x86_64
libXext-devel.x86_64
libXt-devel.x86_64

[Some of these installed several other libraries.]

No doubt if I had tried compiling ctwm immediately after starting F24 there
would have been several more, as I've had to add a lot of libraries for
other things I use.

If I had started with a list of libraries required for ctwm that could have
saved time spent on several failed 'make' attempts.

I had earlier tried to work out which packages previously in F22 I needed
for F24. I did not wish to blindly reinstall everything in case some were
there only for things I had tried but no longer needed. But that process
had not caught all the requirements for ctwm.

I appreciate that library naming conventions are different for different
versions of linux, but I have nad no problem converting from debian/ubuntu
(dev) to fedora (devel). I don't know how many other conventions there are.
Arch perhaps?

2. Is it possible to add minimal instructions for using 'bzr' on the
www.ctwm.org site

I am thinking of something as simple as

Use your system command to install bzr

Fedora:
yum install bzr
or
dnf install bzr
Ubuntu

apt-get install bzr

Choose location to store sources and local build:

cd 

Fetch latest ctwm sources:

bzr branch lp:ctwm

Ignore this warning message if you don't plan to contribute
developments:

You have not informed bzr of your Launchpad ID, and you must do
this to write to Launchpad or access private data.
See "bzr help launchpad-login".

Now build ctwm:

cd ctwm
make

If compilation fails because of missing linux libraries, install them
and repeate the 'make' command. You may have to do that several times
before 'make' completes successfully.

[As far as I can tell "bzr init-repo ." is not necessary. I did not need
that for the download to work.]

I suspect most people who merely want to *use* ctwm will never need to look
at all the details for developers here:

http://www.ctwm.org/dev/bzr-crash-course.html

Thanks again.
Aaron