Re: xforms 0.89 (was: Re: 1.1.6pre3 RH7 compile problem)

2001-01-12 Thread Paul E Johnson

RPMS for xforms 88.1, which I used to build lyx on RH7, can be obtained
in the redhat contrib directory.  There's a fill mirror at
ftp://ftp.varesearch.com.  go to /pub/mirrors/redhat/contrib/i386 for
xforms and xforms-devel.  DOn't forget you need the newest RedHat
updates for glibc and gcc to make all the magic work for you.  

I don't know why the RH powertools xforms RPMs are fouled up, but these
contrib ones are good!

Wai-Sun Chia wrote:
 
 Allan is correct.
 Stay the hell away from the xform RPM in RH's powertools directory.
 Compiling Lyx against that (xform-0.88-15) will bomb! Refer to my
 previous email.
 
-- 
Paul E. Johnson   email: [EMAIL PROTECTED]
Dept. of Political Sciencehttp://lark.cc.ukans.edu/~pauljohn
University of Kansas  Office: (785) 864-9086
Lawrence, Kansas 66045FAX: (785) 864-5700



Re: xforms 0.89 (was: Re: 1.1.6pre3 RH7 compile problem)

2001-01-12 Thread Paul E Johnson

RPMS for xforms 88.1, which I used to build lyx on RH7, can be obtained
in the redhat contrib directory.  There's a fill mirror at
ftp://ftp.varesearch.com.  go to /pub/mirrors/redhat/contrib/i386 for
xforms and xforms-devel.  DOn't forget you need the newest RedHat
updates for glibc and gcc to make all the magic work for you.  

I don't know why the RH powertools xforms RPMs are fouled up, but these
contrib ones are good!

Wai-Sun Chia wrote:
 
 Allan is correct.
 Stay the hell away from the xform RPM in RH's powertools directory.
 Compiling Lyx against that (xform-0.88-15) will bomb! Refer to my
 previous email.
 
-- 
Paul E. Johnson   email: [EMAIL PROTECTED]
Dept. of Political Sciencehttp://lark.cc.ukans.edu/~pauljohn
University of Kansas  Office: (785) 864-9086
Lawrence, Kansas 66045FAX: (785) 864-5700



Re: xforms 0.89 (was: Re: 1.1.6pre3 & RH7 compile problem)

2001-01-12 Thread Paul E Johnson

RPMS for xforms 88.1, which I used to build lyx on RH7, can be obtained
in the redhat contrib directory.  There's a fill mirror at
ftp://ftp.varesearch.com.  go to /pub/mirrors/redhat/contrib/i386 for
xforms and xforms-devel.  DOn't forget you need the newest RedHat
updates for glibc and gcc to make all the magic work for you.  

I don't know why the RH powertools xforms RPMs are fouled up, but these
contrib ones are good!

Wai-Sun Chia wrote:
> 
> Allan is correct.
> Stay the hell away from the xform RPM in RH's powertools directory.
> Compiling Lyx against that (xform-0.88-15) will bomb! Refer to my
> previous email.
> 
-- 
Paul E. Johnson   email: [EMAIL PROTECTED]
Dept. of Political Sciencehttp://lark.cc.ukans.edu/~pauljohn
University of Kansas  Office: (785) 864-9086
Lawrence, Kansas 66045FAX: (785) 864-5700



xforms 0.89 (was: Re: 1.1.6pre3 RH7 compile problem)

2001-01-02 Thread Wai-Sun Chia

Allan is correct.
Stay the hell away from the xform RPM in RH's powertools directory.
Compiling Lyx against that (xform-0.88-15) will bomb! Refer to my
previous email.

What I did was to build my own RPM for 0.89. Here is the .spec file for
your enjoyment...

For the RH newbies:
1. Copy xforms.spec to /usr/src/redhat/SPECS
2. Download
ftp://ncmir.ucsd.edu/pub/xforms/linux-i386/elf/bxform-089-glibc2.1.tgz
and copy it to /usr/src/redhat/SOURCES
3. cd /usr/src/redhat/SPECS; rpm -ba xforms.spec

Off you go! You should get 3 RPMS in the end. Runtime, Demo, and Devel.




Allan Rae wrote:
 
 
 and get the xforms-glibc2.1 tarball for linux.  RH always seems to keep
 the xforms-glibc tarball instead which is incorrect.  One way to help
 ensure xforms has a bad name isn't it: bundling the wrong library with
 your distro.
 

-- 
Wai-Sun "Squidster" Chia
Unix/Web Developer
Professional Services

Summary: A GUI toolkit based on Xlib for the X Window System.
Name: xforms
Version: 0.89
Release: 1
Group: Development/Libraries
Copyright: non-commercial distributable (see Copyright)
Source0: bxform-089-glibc2.1.tgz
Source1: forms_sngl.ps.gz
NoSource: 0
URL: http://world.std.com/~xforms/
Prefix: /usr
BuildRoot: %{_tmppath}/%{name}-root
Requires: /sbin/ldconfig

%description
XForms features a rich set of objects (like buttons, sliders,
and menus) integrated into an easy and efficient object/event callback
execution model, allowing for fast and easy construction of X applications.
The library is extensible--new objects can easily be created and added.

If you're installing xforms, you may want to also install xforms-devel,
which is a near-WYSIWYG GUI builder which works with XForms.

%package demos
Group: Development/Libraries
Summary: XForms demonstration programs.

%description demos
Xforms-demos includes the full source code to 50+ demonstration
programs.  If you plan on using XForms and you aren't an expert, you should
download xforms-demos and take a look at them.

%package devel
Group: Development/Libraries
Summary: An XForms GUI builder.
%description devel
Xforms-devel is a near-WYSIWYG GUI builder that can be used to
design your UI and write the corresponding C code for you.  If you're
installing xforms, you may want to also install xforms-devel.  If you want
to install xforms-devel, you must also install xforms.

%prep
%setup -q -n xforms
cp $RPM_SOURCE_DIR/forms_sngl.ps.gz  .

%build

#make BIN_DIR=/usr/X11R6/bin \
# LIB_TOPDIR=/usr/X11R6 \
# all shlib demo
make CCFLAG="-W -Wall -ansi -pedantic -pipe -O2 -fPIC -mcpu=i686 -march=i686"

%install
rm -rf $RPM_BUILD_ROOT

install -m 755 -d $RPM_BUILD_ROOT/usr/X11R6/man/man5
install -m 755 -d $RPM_BUILD_ROOT/usr/X11R6/man/man1
install -m 755 -d $RPM_BUILD_ROOT/usr/X11R6/lib
install -m 755 -d $RPM_BUILD_ROOT/usr/X11R6/bin
install -m 755 -d $RPM_BUILD_ROOT/usr/include
install -m 755 -d $RPM_BUILD_ROOT/usr/lib/xforms

make \
BIN_DIR=$RPM_BUILD_ROOT/usr/X11R6/bin \
LIB_DIR=$RPM_BUILD_ROOT/usr/X11R6/lib \
MAN1_DIR=$RPM_BUILD_ROOT/usr/X11R6/man/man1 \
MAN5_DIR=$RPM_BUILD_ROOT/usr/X11R6/man/man5 \
HEADER_DIR=$RPM_BUILD_ROOT/usr/include \
install

# fix broken symlink for man page
rm $RPM_BUILD_ROOT/usr/X11R6/man/man5/forms.5
ln -s xforms.5 $RPM_BUILD_ROOT/usr/X11R6/man/man5/forms.5

install -c -m 0755 fd2ps/fd2ps $RPM_BUILD_ROOT/usr/X11R6/bin/fd2ps
install -c -m 0644 fd2ps/fd2ps.1 $RPM_BUILD_ROOT/usr/X11R6/man/man1/fd2ps.1

install -c -m 755 FORMS/libforms.so.0.89 $RPM_BUILD_ROOT/usr/X11R6/lib/libforms.so.0.89
ln -sf libforms.so.0.89 $RPM_BUILD_ROOT/usr/X11R6/lib/libforms.so

cp -a contrib $RPM_BUILD_ROOT/usr/lib/xforms
cp -a mkconfig.h $RPM_BUILD_ROOT/usr/lib/xforms
cp -a DEMOS $RPM_BUILD_ROOT/usr/lib/xforms
cp -a FORMS/Readme $RPM_BUILD_ROOT/usr/lib/xforms
cp -a FORMS/*.c $RPM_BUILD_ROOT/usr/lib/xforms

cd $RPM_BUILD_ROOT/usr/lib/xforms  rm -f *.o */*.o */*/*.o

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files 
%defattr(-,root,root)
/usr/X11R6/lib/libforms.so.0.89
%doc Bugs Changes Copyright Readme
/usr/X11R6/man/man5/forms.5*
/usr/X11R6/man/man5/xforms.5*

%files demos
%defattr(-,root,root)
%doc /usr/lib/xforms/contrib/Readme
/usr/lib/xforms/mkconfig.h
/usr/lib/xforms/DEMOS
 
%files devel
%defattr(-,root,root)
/usr/X11R6/lib/libforms.so
/usr/X11R6/lib/libforms.a
/usr/X11R6/bin/fdesign
/usr/X11R6/bin/fd2ps
/usr/include/forms.h
/usr/lib/xforms/glcanvas.c
/usr/lib/xforms/image_jpeg.c
/usr/lib/xforms/image_oquant.c
/usr/X11R6/man/man1/fdesign.1*
/usr/X11R6/man/man1/fd2ps.1*
%doc /usr/lib/xforms/Readme
%doc forms_sngl.ps.gz

%changelog
* Wed Jan 3 2001 Wai-Sun "Squidster" Chia [EMAIL PROTECTED]
- updated to version 0.89
- added in new demo C files from FORMS to devel

* Thu Aug 3 2000 Than Ngo [EMAIL PROTECTED]
- fix to use libXpm in XFree-4.01 (Bug #15147)
- move header files, fdesign, fd2ps in devel

* Wed Aug 02 2000 Than Ngo [EMAIL PROTECTED]
- added ldconfig stuff to %postun (Bug #15073)
- added 

xforms 0.89 (was: Re: 1.1.6pre3 RH7 compile problem)

2001-01-02 Thread Wai-Sun Chia

Allan is correct.
Stay the hell away from the xform RPM in RH's powertools directory.
Compiling Lyx against that (xform-0.88-15) will bomb! Refer to my
previous email.

What I did was to build my own RPM for 0.89. Here is the .spec file for
your enjoyment...

For the RH newbies:
1. Copy xforms.spec to /usr/src/redhat/SPECS
2. Download
ftp://ncmir.ucsd.edu/pub/xforms/linux-i386/elf/bxform-089-glibc2.1.tgz
and copy it to /usr/src/redhat/SOURCES
3. cd /usr/src/redhat/SPECS; rpm -ba xforms.spec

Off you go! You should get 3 RPMS in the end. Runtime, Demo, and Devel.




Allan Rae wrote:
 
 
 and get the xforms-glibc2.1 tarball for linux.  RH always seems to keep
 the xforms-glibc tarball instead which is incorrect.  One way to help
 ensure xforms has a bad name isn't it: bundling the wrong library with
 your distro.
 

-- 
Wai-Sun "Squidster" Chia
Unix/Web Developer
Professional Services

Summary: A GUI toolkit based on Xlib for the X Window System.
Name: xforms
Version: 0.89
Release: 1
Group: Development/Libraries
Copyright: non-commercial distributable (see Copyright)
Source0: bxform-089-glibc2.1.tgz
Source1: forms_sngl.ps.gz
NoSource: 0
URL: http://world.std.com/~xforms/
Prefix: /usr
BuildRoot: %{_tmppath}/%{name}-root
Requires: /sbin/ldconfig

%description
XForms features a rich set of objects (like buttons, sliders,
and menus) integrated into an easy and efficient object/event callback
execution model, allowing for fast and easy construction of X applications.
The library is extensible--new objects can easily be created and added.

If you're installing xforms, you may want to also install xforms-devel,
which is a near-WYSIWYG GUI builder which works with XForms.

%package demos
Group: Development/Libraries
Summary: XForms demonstration programs.

%description demos
Xforms-demos includes the full source code to 50+ demonstration
programs.  If you plan on using XForms and you aren't an expert, you should
download xforms-demos and take a look at them.

%package devel
Group: Development/Libraries
Summary: An XForms GUI builder.
%description devel
Xforms-devel is a near-WYSIWYG GUI builder that can be used to
design your UI and write the corresponding C code for you.  If you're
installing xforms, you may want to also install xforms-devel.  If you want
to install xforms-devel, you must also install xforms.

%prep
%setup -q -n xforms
cp $RPM_SOURCE_DIR/forms_sngl.ps.gz  .

%build

#make BIN_DIR=/usr/X11R6/bin \
# LIB_TOPDIR=/usr/X11R6 \
# all shlib demo
make CCFLAG="-W -Wall -ansi -pedantic -pipe -O2 -fPIC -mcpu=i686 -march=i686"

%install
rm -rf $RPM_BUILD_ROOT

install -m 755 -d $RPM_BUILD_ROOT/usr/X11R6/man/man5
install -m 755 -d $RPM_BUILD_ROOT/usr/X11R6/man/man1
install -m 755 -d $RPM_BUILD_ROOT/usr/X11R6/lib
install -m 755 -d $RPM_BUILD_ROOT/usr/X11R6/bin
install -m 755 -d $RPM_BUILD_ROOT/usr/include
install -m 755 -d $RPM_BUILD_ROOT/usr/lib/xforms

make \
BIN_DIR=$RPM_BUILD_ROOT/usr/X11R6/bin \
LIB_DIR=$RPM_BUILD_ROOT/usr/X11R6/lib \
MAN1_DIR=$RPM_BUILD_ROOT/usr/X11R6/man/man1 \
MAN5_DIR=$RPM_BUILD_ROOT/usr/X11R6/man/man5 \
HEADER_DIR=$RPM_BUILD_ROOT/usr/include \
install

# fix broken symlink for man page
rm $RPM_BUILD_ROOT/usr/X11R6/man/man5/forms.5
ln -s xforms.5 $RPM_BUILD_ROOT/usr/X11R6/man/man5/forms.5

install -c -m 0755 fd2ps/fd2ps $RPM_BUILD_ROOT/usr/X11R6/bin/fd2ps
install -c -m 0644 fd2ps/fd2ps.1 $RPM_BUILD_ROOT/usr/X11R6/man/man1/fd2ps.1

install -c -m 755 FORMS/libforms.so.0.89 $RPM_BUILD_ROOT/usr/X11R6/lib/libforms.so.0.89
ln -sf libforms.so.0.89 $RPM_BUILD_ROOT/usr/X11R6/lib/libforms.so

cp -a contrib $RPM_BUILD_ROOT/usr/lib/xforms
cp -a mkconfig.h $RPM_BUILD_ROOT/usr/lib/xforms
cp -a DEMOS $RPM_BUILD_ROOT/usr/lib/xforms
cp -a FORMS/Readme $RPM_BUILD_ROOT/usr/lib/xforms
cp -a FORMS/*.c $RPM_BUILD_ROOT/usr/lib/xforms

cd $RPM_BUILD_ROOT/usr/lib/xforms  rm -f *.o */*.o */*/*.o

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files 
%defattr(-,root,root)
/usr/X11R6/lib/libforms.so.0.89
%doc Bugs Changes Copyright Readme
/usr/X11R6/man/man5/forms.5*
/usr/X11R6/man/man5/xforms.5*

%files demos
%defattr(-,root,root)
%doc /usr/lib/xforms/contrib/Readme
/usr/lib/xforms/mkconfig.h
/usr/lib/xforms/DEMOS
 
%files devel
%defattr(-,root,root)
/usr/X11R6/lib/libforms.so
/usr/X11R6/lib/libforms.a
/usr/X11R6/bin/fdesign
/usr/X11R6/bin/fd2ps
/usr/include/forms.h
/usr/lib/xforms/glcanvas.c
/usr/lib/xforms/image_jpeg.c
/usr/lib/xforms/image_oquant.c
/usr/X11R6/man/man1/fdesign.1*
/usr/X11R6/man/man1/fd2ps.1*
%doc /usr/lib/xforms/Readme
%doc forms_sngl.ps.gz

%changelog
* Wed Jan 3 2001 Wai-Sun "Squidster" Chia [EMAIL PROTECTED]
- updated to version 0.89
- added in new demo C files from FORMS to devel

* Thu Aug 3 2000 Than Ngo [EMAIL PROTECTED]
- fix to use libXpm in XFree-4.01 (Bug #15147)
- move header files, fdesign, fd2ps in devel

* Wed Aug 02 2000 Than Ngo [EMAIL PROTECTED]
- added ldconfig stuff to %postun (Bug #15073)
- added 

xforms 0.89 (was: Re: 1.1.6pre3 & RH7 compile problem)

2001-01-02 Thread Wai-Sun Chia

Allan is correct.
Stay the hell away from the xform RPM in RH's powertools directory.
Compiling Lyx against that (xform-0.88-15) will bomb! Refer to my
previous email.

What I did was to build my own RPM for 0.89. Here is the .spec file for
your enjoyment...

For the RH newbies:
1. Copy xforms.spec to /usr/src/redhat/SPECS
2. Download
ftp://ncmir.ucsd.edu/pub/xforms/linux-i386/elf/bxform-089-glibc2.1.tgz
and copy it to /usr/src/redhat/SOURCES
3. cd /usr/src/redhat/SPECS; rpm -ba xforms.spec

Off you go! You should get 3 RPMS in the end. Runtime, Demo, and Devel.




Allan Rae wrote:
> 
> 
> and get the xforms-glibc2.1 tarball for linux.  RH always seems to keep
> the xforms-glibc tarball instead which is incorrect.  One way to help
> ensure xforms has a bad name isn't it: bundling the wrong library with
> your distro.
> 

-- 
Wai-Sun "Squidster" Chia
Unix/Web Developer
Professional Services

Summary: A GUI toolkit based on Xlib for the X Window System.
Name: xforms
Version: 0.89
Release: 1
Group: Development/Libraries
Copyright: non-commercial distributable (see Copyright)
Source0: bxform-089-glibc2.1.tgz
Source1: forms_sngl.ps.gz
NoSource: 0
URL: http://world.std.com/~xforms/
Prefix: /usr
BuildRoot: %{_tmppath}/%{name}-root
Requires: /sbin/ldconfig

%description
XForms features a rich set of objects (like buttons, sliders,
and menus) integrated into an easy and efficient object/event callback
execution model, allowing for fast and easy construction of X applications.
The library is extensible--new objects can easily be created and added.

If you're installing xforms, you may want to also install xforms-devel,
which is a near-WYSIWYG GUI builder which works with XForms.

%package demos
Group: Development/Libraries
Summary: XForms demonstration programs.

%description demos
Xforms-demos includes the full source code to 50+ demonstration
programs.  If you plan on using XForms and you aren't an expert, you should
download xforms-demos and take a look at them.

%package devel
Group: Development/Libraries
Summary: An XForms GUI builder.
%description devel
Xforms-devel is a near-WYSIWYG GUI builder that can be used to
design your UI and write the corresponding C code for you.  If you're
installing xforms, you may want to also install xforms-devel.  If you want
to install xforms-devel, you must also install xforms.

%prep
%setup -q -n xforms
cp $RPM_SOURCE_DIR/forms_sngl.ps.gz  .

%build

#make BIN_DIR=/usr/X11R6/bin \
# LIB_TOPDIR=/usr/X11R6 \
# all shlib demo
make CCFLAG="-W -Wall -ansi -pedantic -pipe -O2 -fPIC -mcpu=i686 -march=i686"

%install
rm -rf $RPM_BUILD_ROOT

install -m 755 -d $RPM_BUILD_ROOT/usr/X11R6/man/man5
install -m 755 -d $RPM_BUILD_ROOT/usr/X11R6/man/man1
install -m 755 -d $RPM_BUILD_ROOT/usr/X11R6/lib
install -m 755 -d $RPM_BUILD_ROOT/usr/X11R6/bin
install -m 755 -d $RPM_BUILD_ROOT/usr/include
install -m 755 -d $RPM_BUILD_ROOT/usr/lib/xforms

make \
BIN_DIR=$RPM_BUILD_ROOT/usr/X11R6/bin \
LIB_DIR=$RPM_BUILD_ROOT/usr/X11R6/lib \
MAN1_DIR=$RPM_BUILD_ROOT/usr/X11R6/man/man1 \
MAN5_DIR=$RPM_BUILD_ROOT/usr/X11R6/man/man5 \
HEADER_DIR=$RPM_BUILD_ROOT/usr/include \
install

# fix broken symlink for man page
rm $RPM_BUILD_ROOT/usr/X11R6/man/man5/forms.5
ln -s xforms.5 $RPM_BUILD_ROOT/usr/X11R6/man/man5/forms.5

install -c -m 0755 fd2ps/fd2ps $RPM_BUILD_ROOT/usr/X11R6/bin/fd2ps
install -c -m 0644 fd2ps/fd2ps.1 $RPM_BUILD_ROOT/usr/X11R6/man/man1/fd2ps.1

install -c -m 755 FORMS/libforms.so.0.89 $RPM_BUILD_ROOT/usr/X11R6/lib/libforms.so.0.89
ln -sf libforms.so.0.89 $RPM_BUILD_ROOT/usr/X11R6/lib/libforms.so

cp -a contrib $RPM_BUILD_ROOT/usr/lib/xforms
cp -a mkconfig.h $RPM_BUILD_ROOT/usr/lib/xforms
cp -a DEMOS $RPM_BUILD_ROOT/usr/lib/xforms
cp -a FORMS/Readme $RPM_BUILD_ROOT/usr/lib/xforms
cp -a FORMS/*.c $RPM_BUILD_ROOT/usr/lib/xforms

cd $RPM_BUILD_ROOT/usr/lib/xforms && rm -f *.o */*.o */*/*.o

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files 
%defattr(-,root,root)
/usr/X11R6/lib/libforms.so.0.89
%doc Bugs Changes Copyright Readme
/usr/X11R6/man/man5/forms.5*
/usr/X11R6/man/man5/xforms.5*

%files demos
%defattr(-,root,root)
%doc /usr/lib/xforms/contrib/Readme
/usr/lib/xforms/mkconfig.h
/usr/lib/xforms/DEMOS
 
%files devel
%defattr(-,root,root)
/usr/X11R6/lib/libforms.so
/usr/X11R6/lib/libforms.a
/usr/X11R6/bin/fdesign
/usr/X11R6/bin/fd2ps
/usr/include/forms.h
/usr/lib/xforms/glcanvas.c
/usr/lib/xforms/image_jpeg.c
/usr/lib/xforms/image_oquant.c
/usr/X11R6/man/man1/fdesign.1*
/usr/X11R6/man/man1/fd2ps.1*
%doc /usr/lib/xforms/Readme
%doc forms_sngl.ps.gz

%changelog
* Wed Jan 3 2001 Wai-Sun "Squidster" Chia <[EMAIL PROTECTED]>
- updated to version 0.89
- added in new demo C files from FORMS to devel

* Thu Aug 3 2000 Than Ngo <[EMAIL PROTECTED]>
- fix to use libXpm in XFree-4.01 (Bug #15147)
- move header files, fdesign, fd2ps in devel

* Wed Aug 02 2000 Than Ngo <[EMAIL PROTECTED]>
- added ldconfig stuff to %postun (Bug #15073)