Major infrastructure changes, part 2.
* Moved helpers, common and triggers dirs into xbps-src, where
they belong.
* Renamed the templates dir to srcpkgs, it was so redundant before.
* Make it possible to add subpkgs with no restriction in names, for
example udev now has a subpkgs called "libgudev". Previously
subpkgs were named "${sourcepkg}-${pkgname}".
* xbps-src: changed to look for template files in current directory.
That means that most arguments from the targets have been removed.
* xbps-src: added a reinstall target, to remove + install.
* xbps-src: do not overwrite binpkgs by default, skip them.
And more that I forgot because it's a mega-commit that I've been
working for some days already...
--HG--
extra : convert_revision : 0f466878584d1e6895d2a234f07ea1b2d1e61b3e
This commit is contained in:
12
srcpkgs/fontconfig/INSTALL
Normal file
12
srcpkgs/fontconfig/INSTALL
Normal file
@@ -0,0 +1,12 @@
|
||||
#
|
||||
# This script builds fontconfig's fonts cache.
|
||||
#
|
||||
case "${ACTION}" in
|
||||
pre)
|
||||
;;
|
||||
post)
|
||||
echo "Building fonts cache... "
|
||||
fc-cache -f >/dev/null
|
||||
echo "done."
|
||||
;;
|
||||
esac
|
||||
2
srcpkgs/fontconfig/depends
Normal file
2
srcpkgs/fontconfig/depends
Normal file
@@ -0,0 +1,2 @@
|
||||
abi_depends=">=2.6.0"
|
||||
api_depends="${abi_depends}"
|
||||
22
srcpkgs/fontconfig/fontconfig-devel.template
Normal file
22
srcpkgs/fontconfig/fontconfig-devel.template
Normal file
@@ -0,0 +1,22 @@
|
||||
# Template file for 'fontconfig-devel'.
|
||||
#
|
||||
short_desc="${short_desc} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run fontconfig
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mkdir -p ${DESTDIR}/usr/share/man
|
||||
mkdir -p ${DESTDIR}/usr/share/doc/fontconfig
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
|
||||
mv ${SRCPKGDESTDIR}/usr/share/doc/fontconfig/$pkgname* \
|
||||
${DESTDIR}/usr/share/doc/fontconfig
|
||||
}
|
||||
19
srcpkgs/fontconfig/patches/dont_run_fccache.diff
Normal file
19
srcpkgs/fontconfig/patches/dont_run_fccache.diff
Normal file
@@ -0,0 +1,19 @@
|
||||
--- Makefile.in.orig 2008-06-01 04:31:00.000000000 +0200
|
||||
+++ Makefile.in 2008-10-02 09:06:19.000000000 +0200
|
||||
@@ -801,16 +801,6 @@
|
||||
echo " $(INSTALL_DATA) fonts.conf $(DESTDIR)$(configdir)/fonts.conf"; \
|
||||
$(INSTALL_DATA) fonts.conf $(DESTDIR)$(configdir)/fonts.conf; \
|
||||
fi; fi
|
||||
- @(if $(RUN_FC_CACHE_TEST); then \
|
||||
- echo " $(bindir)/fc-cache -s -f -v"; \
|
||||
- $(bindir)/fc-cache -s -f -v; \
|
||||
- else \
|
||||
- echo "***"; \
|
||||
- echo "*** Warning: fonts.cache not built"; \
|
||||
- echo "***"; \
|
||||
- echo "*** Generate this file manually on host system using fc-cache"; \
|
||||
- echo "***"; \
|
||||
- fi)
|
||||
|
||||
uninstall-local:
|
||||
if [ -f $(srcdir)/fonts.conf ]; then \
|
||||
41
srcpkgs/fontconfig/template
Normal file
41
srcpkgs/fontconfig/template
Normal file
@@ -0,0 +1,41 @@
|
||||
# Template build file for 'fontconfig'.
|
||||
pkgname=fontconfig
|
||||
version=2.7.3
|
||||
distfiles="http://www.fontconfig.org/release/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
configure_args="--enable-docs --with-cache-dir=/var/cache/$pkgname"
|
||||
short_desc="Library for configuring and customizing font access"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=ba8fbff15c6b0395ed2f263311250bc8d36eb8793d122014429becab5c94b050
|
||||
long_desc="
|
||||
Fontconfig is a library for configuring and customizing font access.
|
||||
|
||||
Fontconfig can:
|
||||
* discover new fonts when installed automatically, removing a common
|
||||
source of configuration problems.
|
||||
* perform font name substitution, so that appropriate alternative fonts
|
||||
can be selected if fonts are missing.
|
||||
* identify the set of fonts required to completely cover a set of
|
||||
languages.
|
||||
* have GUI configuration tools built as it uses an XML-based
|
||||
configuration file (though with autodiscovery, we believe this need is
|
||||
minimized).
|
||||
* efficiently and quickly find the fonts you need among the set of fonts
|
||||
you have installed, even if you have installed thousands of fonts,
|
||||
while minimizing memory usage.
|
||||
* be used in concert with the X Render Extension and FreeType to
|
||||
implement high quality, anti-aliased and subpixel rendered text on a
|
||||
display.
|
||||
|
||||
Fontconfig does not:
|
||||
* render the fonts themselves (this is left to FreeType or other
|
||||
rendering mechanisms).
|
||||
* depend on the X Window System in any fashion, so that printer only
|
||||
applications do not have such dependencies."
|
||||
|
||||
conf_files="/etc/fonts/fonts.conf"
|
||||
subpackages="$pkgname-devel"
|
||||
Add_dependency build pkg-config
|
||||
Add_dependency full glibc
|
||||
Add_dependency full expat
|
||||
Add_dependency full freetype
|
||||
Reference in New Issue
Block a user