Re: AfterStep 2.00.beta2 released

Graydon (oak@uniserve.com)
Thu, 2 Oct 2003 16:16:53 -0400



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

On Thu, Oct 02, 2003 at 01:34:59AM +0400, Alexei V. Mezin scripsit:
> Graydon wrote:
> >And I still get a line of pagers all the way across the screen.
> >
> >I'm configuring with:
> >
> >CFLAGS=$RPM_OPT_FLAGS \
> >./configure --prefix=/usr/X11R6 --datadir=/usr/share \
> >	--with-desktops=1 \
> >	--with-deskgeometry=2x3 \
> >	--disable-staticlibs
> I rebuild AS with --with-desktops=1 --with-deskgeometry=2x3 and test 
> Pager swallowing by Wharf and WharfMonitor. Both works perfectly. See 
> attach for configs from ~/.afterstep

_With those exact configs_, and a cold restart -- shutdown X, run startx
-- line of pagers clear across the screen. (only the first of which has
the background colour.)

If I start just the pager with those configs (using the menus), I get 4
desktops in one very squinched 64x64 pager.

I've attached the spec file and small makefile patch I'm using; anyone
willing to give it a try?

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

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

%define	name	AfterStep
%define	fver	2.00.beta2
%define	version	2.00
%define	release	8
%define	serial	1

Summary:	AfterStep Window Manager (NeXTalike)
Name:		%{name}
Version:	%{version}
Release:	%{release}
Serial:		%{serial}
Copyright:	GPL
Group:		User Interface/Desktops
URL:		http://www.afterstep.org
Vendor:		The AfterStep Team (see TEAM in docdir)
Source:		ftp://ftp.afterstep.org/devel/snapshots/%{name}-%{fver}.tar.bz2
Patch0:		makefile.patch
Distribution:	The AfterStep TEAM
Packager:	Graydon Saunders <graydon@epiphyte.net>

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

%description
  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.

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

CFLAGS=$RPM_OPT_FLAGS \
./configure --prefix=/usr/X11R6 --datadir=/usr/share \
	--with-desktops=1 \
	--with-deskgeometry=2x3 \
	--disable-staticlibs

%build
make

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

%install
[ -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

make DESTDIR=$RPM_BUILD_ROOT install
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/ \
   $RPM_BUILD_ROOT/usr/share/doc/%{name}-%{version}/libAfterImage/html

# for some reason, the libAfterImage and libAfterBase libraries are not being
# installed by 'make install'
install /usr/src/redhat/BUILD/%{name}-%{fver}/libAfterImage/*.so.0.93 \
	$RPM_BUILD_ROOT/usr/X11R6/lib
install /usr/src/redhat/BUILD/%{name}-%{fver}/libAfterBase/*.so.0.93 \
	$RPM_BUILD_ROOT/usr/X11R6/lib
pushd .
cd $RPM_BUILD_ROOT/usr/X11R6/lib
ln -s libAfterImage.so.0.93 libAfterImage.so.0
ln -s libAfterImage.so.0.93 libAfterImage.so
ln -s libAfterBase.so.0.93 libAfterBase.so.0
ln -s libAfterBase.so.0.93 libAfterBase.so
popd


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

%post 
/sbin/ldconfig
# need that symlink back
# also need to not do this if it's there already due to using rpm -F
[ -e /usr/X11R6/bin/Wharf ] && ln -s /usr/X11R6/bin/Wharf /usr/X11R6/bin/MonitorWharf

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


%files
%defattr(-,root,root)
%doc ChangeLog NEW README* TEAM UPGRADE doc/languages doc/licences doc/code TODO *.html
%config /usr/share/afterstep
/usr/X11R6/bin/*
/usr/X11R6/man/*/*
/usr/X11R6/bin/afterimage-libs
/usr/X11R6/lib/libAfter*
%dir %attr(755,root,root) /usr/X11R6/include/libAfterBase
/usr/X11R6/include/libAfterBase/*
%dir %attr(755,root,root) /usr/X11R6/include/libAfterImage
/usr/X11R6/include/libAfterImage/*

%pre
for i in /usr /usr/local /usr/X11R6 ; do
	if [ -d $i/share/afterstep_old ]; then
		rm -r $i/share/afterstep_old;
	fi
	# %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;
	#fi
done

%changelog
* Tue Sep 30 2003 Graydon Saunders <graydon@epiphyte.net> 2.00.beta2-1
- beta 2

* Mon Sep 22 2003 Graydon Saunders <graydon@epiphyte.net> 2.00.beta1-7
- bug fixes from Sasha

* Tue Sep 16 2003 Graydon Saunders <graydon@epiphyte.net> 2.00.beta1-6
- updated configure scripts

* Sat Sep 13 2003 Graydon Saunders <graydon@epiphyte.net> 2.00.beta1-5
- more window border fixes from Sasha

* Sat Sep 13 2003 Graydon Saunders <graydon@epiphyte.net> 2.00.beta1-4
- hacked to remove msg_type type error in asinternals.h, module.c
- removed -p from post- scripts

* Fri Sep 12 2003 Graydon Saunders <graydon@epiphyte.net> 2.00.beta1-3
- current CVS

* Wed Sep 10 2003 Graydon Saunders <graydon@epiphyte.net> 2.00.beta1-2
- spec file cleanup
- trying to figure out why aterm doesn't recognize the AfterStep libraries

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

* Sun Jul 20 2003 Graydon Saunders <graydon@epiphyte.net> 1.99.0-5
- wharf module swallowing bug fix

* Mon Jul 07 2003 Graydon Saunders <graydon@epiphyte.net> 1.99.0-4
- overlapping window crash fix

* Tue Jun 10 2003 Graydon Saunders <graydon@epiphyte.net> 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 <graydon@epiphyte.net> 1.99.0-2
- second AfterStep 2 beta (1.99) build

--YiEDa0DAkWCtVeE4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="makefile.patch"

Common subdirectories: libAfterImage/apps and libAfterImage-0.93/apps
Common subdirectories: libAfterImage/CVS and libAfterImage-0.93/CVS
Common subdirectories: libAfterImage/doc and libAfterImage-0.93/doc
Only in libAfterImage-0.93: libAfterImage-0.93.tar.bz2
diff -bu libAfterImage/Makefile.in libAfterImage-0.93/Makefile.in
--- libAfterImage/Makefile.in	2003-05-22 13:12:11.000000000 -0400
+++ libAfterImage-0.93/Makefile.in	2003-05-24 11:20:41.000000000 -0400
@@ -81,7 +81,7 @@
 AFTER_MAN_DIR	= $(DESTDIR)@mandir@/man3
 AFTER_APP_MAN_DIR	= $(DESTDIR)@mandir@/man1
 AFTER_SHAREDIR	= $(DESTDIR)@datadir@/libAfterImage
-AFTER_DOC_DIR	= $(DESTDIR)$(AFTER_SHAREDIR)/doc
+AFTER_DOC_DIR	= $(DESTDIR)@datadir@/libAfterImage/doc
 
 all:            @LIBPROG@ $(INSTALLONBUILD) apps

--YiEDa0DAkWCtVeE4--
_______________________________________________
The AfterStep Window Manager for X User's Mailing List
http://mail.afterstep.org/mailman/listinfo/as-users