Re: NoHandles on different apps

Graydon (
Wed, 3 Sep 2003 23:15:33 -0400

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Wed, Sep 03, 2003 at 08:45:29AM -0500, Sasha Vasko scripsit:
> Well, you don't need to do this long routine - just build and install
> afterstep-stable - that handles all the libraries as well.

The problem goes away; it builds, and it (mostly) works.

'make DESTIR=$RPM_BUILD_ROOT install' doesn't seem to install the
libAfterBase and libAfterImage libraries (the .so files); I have to do
that by 'hand' in the RPM.  (ugly spec file attached)

KDE apps opening new windows (save file dialogs, frex) are getting
thrown to new _desktops_ (of which I have four, despite having used
--with-desktops=1 in the configure step); it's very beta KDE, and other
things aren't doing this, so I'm assuming this is a KDE problem.

Still can't put the pager in the wharf without the wharf going desktop
width.  Still can't fold the wharf up into the *lower* left hand corner.
(I put the wharf into the upper left by default.)

Like the pager shade feature.


-- | Uton we hycgan    hwaer we ham agen,
                 | ond thonne gedhencan    he we thider cumen.
                 |   -- The Seafarer, ll. 117-118.

Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="AfterStep.spec"

%define	name	AfterStep
%define	fver	2.00.beta1
%define	version	2.00
%define	release	1
%define	serial	1

Summary:	AfterStep Window Manager (NeXTalike)
Name:		%{name}
Version:	%{version}
Release:	%{release}
Serial:		%{serial}
Copyright:	GPL
Group:		User Interface/Desktops
Vendor:		The AfterStep Team (see TEAM in docdir)
Patch0:		makefile.patch
Distribution:	The AfterStep TEAM
Packager:	Graydon Saunders <>

BuildRoot:	/tmp/%{name}-%{version}-root

  AfterStep is a Window Manager for X which started by emulating the
  NEXTSTEP look and feel, but which has been significantly altered
  according to the requests of various users. Many adepts will tell you
  that NEXTSTEP is not only the most visually pleasant interface, but
  also one of the most functional and intuitive out there. AfterStep
  aims to incorporate the advantages of the NEXTSTEP interface, and add
  additional useful features.

  The developers of AfterStep have also worked very hard to ensure
  stability and a small program footprint. Without giving up too many
  features, AfterStep still works nicely in environments where memory is
  at a premium.

%setup -q -n %{name}-%{fver}
pushd .
cd libAfterImage
%patch0 -p1

./configure --prefix=/usr/X11R6 --datadir=/usr/share \
	--with-desktops=1 \
	--with-deskgeometry=2x3 \
	--disable-staticlibs --enable-shared-libs


if [ -x /usr/bin/sgml2html ]; then sgml2html doc/afterstep.sgml; fi

[ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT

# makefile doesn't cope well with missing directories;
mkdir -p $RPM_BUILD_ROOT/usr/X11R6/lib
mkdir -p $RPM_BUILD_ROOT/usr/X11R6/include
mkdir -p $RPM_BUILD_ROOT/usr/X11R6/bin
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man3
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1

rm -f $RPM_BUILD_ROOT/usr/X11R6/bin/{sessreg,xpmroot}
#symlink into the build root is a no-no
rm -f $RPM_BUILD_ROOT/usr/X11R6/bin/MonitorWharf

# move the docs to the RH standard place
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/%{name}-%{version}/libAfterImage/html
mv $RPM_BUILD_ROOT/usr/share/libAfterImage/doc/html/ \

# for some reason, the libAfterImage and libAfterBase libraries are not being
# installed by 'make install'
cp /usr/src/redhat/BUILD/%{name}-%{fver}/libAfterImage/*\.so* \
cp /usr/src/redhat/BUILD/%{name}-%{fver}/libAfterBase/*\.so* \

[ -n "`echo $DESTDIR | sed -n 's:^/tmp/[^.].*$:OK:p'`" ] && rm -rf $DESTDIR ||
(echo "\$DESTDIR='$DESTDIR' not in '/tmp'?! Check your .spec..."; exit 1)

%post -p /sbin/ldconfig
# need that symlink back
[ -e /usr/X11R6/bin/Wharf ] && ln -s /usr/X11R6/bin/Wharf /usr/X11R6/bin/MonitorWharf

%postun -p /sbin/ldconfig
# whap the symlink if package removed
rm -f /usr/X11R6/bin/MonitorWharf

%doc ChangeLog NEW README* TEAM UPGRADE doc/languages doc/licences doc/code TODO *.html
%dir %attr(755,root,root) /usr/X11R6/include/libAfterBase/
%dir %attr(755,root,root) /usr/X11R6/include/libAfterImage/
%config /usr/share/afterstep
%dir %attr(755,root,root) /usr/X11R6/include/libAfterBase
%dir %attr(755,root,root) /usr/X11R6/include/libAfterImage

for i in /usr /usr/local /usr/X11R6 ; do
	if [ -d $i/share/afterstep_old ]; then
		rm -r $i/share/afterstep_old;
	# %config /usr/share/afterstep should take care of this.
	#if [ -d $i/share/afterstep ]; then
	#	cp -pr $i/share/afterstep $i/share/afterstep_old;
	#	exit;

* Wed Sep 03 2003 Graydon Saunders <> 2.00.beta1-1
- beta 1 build attempt
- put libAfterBase and libAfterImage install commands in main RPM

* Sun Jul 20 2003 Graydon Saunders <> 1.99.0-5
- wharf module swallowing bug fix

* Mon Jul 07 2003 Graydon Saunders <> 1.99.0-4
- overlapping window crash fix

* Tue Jun 10 2003 Graydon Saunders <> 1.99.0-3
- fix for non-latin characters in title bars crash
- include libAfterBase and libAfterImage X11R6 directories

* Tue Jun 10 2003 Graydon Saunders <> 1.99.0-2
- second AfterStep 2 beta (1.99) build

The AfterStep Window Manager for X User's Mailing List