More GARNOME stuff
Albrecht Dreß
yellowdog-general@lists.terrasoftsolutions.com
Wed Jun 16 11:56:01 2004
--+xNpyl7Qekk2NvDX
Content-Type: multipart/mixed; boundary="mxv5cy4qt+RJ9ypb"
Content-Disposition: inline
--mxv5cy4qt+RJ9ypb
Content-Type: text/plain; Format=Flowed; DelSp=Yes; charset=ISO-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Am 16.06.04 14:26 schrieb(en) Henry A. Leinhos:
> Has anyone recompiled fontconfig 2.2.x successfully on a YDL 3.0+ box?
You may want to give the attached spec file a try - I have fontconfig =20
2.2.2 and Gnome 2.6.1 (not built using garnome, but with my special shell =
=20
script, though ;-) running fine on my Powermac G4 Silver, with YDL 3.01, =
=20
some old LinuxPPC and a lot of self-built rpm's...
To build the new rpm's, copy (everything as root) the spec to /usr/src/=20
rpm/SPECS, and the source tarball to /usr/src/rpm/SOURCES. Then say =20
"rpmbuild -bb fontconfig.spec" in the SPEC dir, and upgrade the packages =
=20
using "rpm -Uhv" from /usr/src/rpm/RPMS/ppc.
Hth,
Albrecht.
--=20
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Albrecht Dre=DF - Johanna-Kirchner-Stra=DFe 13 - D-53123 Bonn (Germany)
Phone (+49) 228 6199571 - mailto:albrecht.dress@arcor.de
_________________________________________________________________________
--mxv5cy4qt+RJ9ypb
Content-Type: text/plain; charset=unknown-8bit
Content-Disposition: attachment; filename="fontconfig.spec"
# Some distributions name their Freetype 2 package "freetype", while others
# name it "freetype2". You can define the name your distribution uses here.
%define freetype2 freetype
Summary: Font configuration and customization library
Name: fontconfig
Version: 2.2.2
Release: 1
License: MIT
Group: System Environment/Libraries
Source: http://fontconfig.org/release/fontconfig-%{version}.tar.gz
URL: http://fontconfig.org
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: %{_bindir}/docbook2html
BuildRequires: %{_bindir}/docbook2txt
BuildRequires: %{freetype2}-devel
BuildRequires: expat-devel
BuildRequires: perl
PreReq: %{freetype2}
%description
Fontconfig is designed to locate fonts within the
system and select them according to requirements specified by
applications.
%package devel
Summary: Font configuration and customization library
Group: Development/Libraries
Requires: %{name} = %{version}
Requires: %{freetype2}-devel
%description devel
The fontconfig-devel package includes the static libraries,
header files, and developer docs for the fontconfig package.
Install fontconfig-devel if you want to develop programs which
will use fontconfig.
%prep
%setup -q
%build
%configure --with-x-fonts=/usr/X11R6/lib/X11/fonts --disable-gtk-doc --disable-docs
make %{_smp_mflags}
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
{
%makeinstall
# fontconfig is currently installing these in improper location for RPM
# based Linux distributions, so we remove what it installs here, and let
# RPM pick up the same files with 'doc' directives in the file lists as
# a workaround
rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/fontconfig
}
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%post
{
/sbin/ldconfig
# Force regeneration of all fontconfig cache files.
%{_bindir}/fc-cache -f --system-only
}
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc README AUTHORS COPYING ChangeLog doc/fontconfig-*.{html,txt}
%dir %{_sysconfdir}/fonts
%{_sysconfdir}/fonts/fonts.conf
%{_sysconfdir}/fonts/fonts.dtd
%config %{_sysconfdir}/fonts/local.conf
%{_bindir}/fc-*
%{_libdir}/libfontconfig*.so.*
%{_mandir}/man1/*
%{_mandir}/man5/*
%files devel
%defattr(-, root, root)
%doc doc/fontconfig-devel.txt doc/fontconfig-devel/*
# %dir %{_includedir}/fontconfig
%{_includedir}/fontconfig
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/libfontconfig.so
%{_libdir}/pkgconfig
%{_mandir}/man3/*
%changelog
* Fri Mar 7 2003 Mike A. Harris <mharris@redhat.com> 2.1.92-1
- Removed man1/* and added man5/* to main package and man3/* to devel package
- Added missing defattr(-, root, root) to main package
- Added HTML and text development documentation to -devel subpackage
* Wed Mar 5 2003 Mike A. Harris <mharris@redhat.com>
- Added back the configure macro options --disable-docs because otherwise
fontconfig installs docs into /usr/share/doc/fontconfig (with no version
number) unconditionally, causing RPM to fail the build due to unpackaged
files terminate build
* Wed Mar 5 2003 Mike A. Harris <mharris@redhat.com>
- Removed commented out rpm macro define at top of spec file, replacing it with
a simple explanation, since rpm macros are expanded by rpm even in comments
- Changed /usr/bin to _bindir in BuildRequires lines
- Cleaned up rpm postinstall script, and made fc-cache use _bindir
- Reorganized file manifest lists
* Sun Mar 2 2003 Owen Taylor <otaylor@redhat.com>
- Various improvements from Red Hat spec file
* Sun Mar 2 2003 Mike A. Harris <mharris@redhat.com>
- Initial changelog entry
--mxv5cy4qt+RJ9ypb--
--+xNpyl7Qekk2NvDX
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQBA0Ikvn/9unNAn/9ERAkG4AJ0WFOAPmPPii4/iccnCENMiC7Zg/ACgwQoE
eLq9tvbz5jiv8u3jX7BvWtw=
=YwJv
-----END PGP SIGNATURE-----
--+xNpyl7Qekk2NvDX--