From 745e44657b35b59b6f434852bcba53bef3a501e6 Mon Sep 17 00:00:00 2001 From: rhatto Date: Wed, 21 Oct 2009 19:16:27 +0000 Subject: pango: adding pango git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@534 18ef50b8-d735-4ccd-97c1-689132df3dd9 --- patches/pango/Manifest | 25 ++++ patches/pango/pango-1.26.0.diff.gz | Bin 0 -> 450 bytes patches/pango/pango.mkbuild | 247 ++++++++++++++++++++++++++++++++ patches/pango/update-pango-querymodules | 85 +++++++++++ 4 files changed, 357 insertions(+) create mode 100644 patches/pango/Manifest create mode 100644 patches/pango/pango-1.26.0.diff.gz create mode 100644 patches/pango/pango.mkbuild create mode 100644 patches/pango/update-pango-querymodules (limited to 'patches') diff --git a/patches/pango/Manifest b/patches/pango/Manifest new file mode 100644 index 0000000..76104ea --- /dev/null +++ b/patches/pango/Manifest @@ -0,0 +1,25 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST pango-1.26.0.tar.bz2 1535736 MD5 74ce18cfcc3ad0008a6ad56cfc535061 RMD160 b3b64d6af1eb9cc27d23a7e58d118df8fed25502 SHA1 567f9ace5a8384b3a59dbf95304dc8b1a271d5b6 SHA256 e1bfaefd2614ff86d531152f31fbf4a61aea723eef19b132733ccd3eb8d9a6c3 SHA512 9173cc525f092f6d8e483c2f6356e348e71576c6a59d21e663f7caf5eafa0bbad545860e5ddf7233cdcc7478ffe569ac1f7afd20377bdc807ce61211c3679417 +MISC update-pango-querymodules 2324 MD5 3426ae22a2a57582fcb9e658866888f8 RMD160 db4c99bbccf0588bdee14daf836d6321436c5b4a SHA1 4fe30ae42344473cc436fbab11dcc57966a7ed5e SHA256 7ec1b034f32f0b7df80021815fe985bc7047d3558395d595525e557904dafcfd SHA512 338b17ec122b6efbc5ea9b57e2448f5f761234dec94961cf0ae6fca7cbb04b802ae626c8f20cd99d2262745b02f75e17398ba114674128495ed4de38801402a2 +MKBUILD pango.mkbuild 7460 MD5 a61d1e3f6cbb8eab31c778fb9417412e RMD160 eaf1e4a5ca23114fb0488ce8d3d809de3bac6107 SHA1 310def8147d8f7acaa7fb64d0aa2414eab345178 SHA256 06d7e4615d6ea0055743829dfab2a5779fd937411a2764a94c09c457b387565b SHA512 93cdbf64a37f15cd3060e4420abcee12ce9cf4af9d6621d737e6488ae1e9528dc553abba06cd7a520062582ba10fc7b045ceddc62369b6b8932d69646fdcba10 +PATCH pango-1.26.0.diff.gz 450 MD5 ed0dfa6d0ed67068cf71f5c1217ecae5 RMD160 25490482f0801d0bc405837735c67ecfd9e73758 SHA1 5967fed466be1764bb6187b6c79009cd038eb31c SHA256 156d67eb9a3c9d3e87049e163e7804523003047ef748c3e68cff2b4dfe1c0771 SHA512 0a2ebb235a03794987be49f57562b419cdf1ecb9865abe977efe95395909c6790ac8eaef4117ae73ca0da8e0024ea6bd2ea990ac10015bb936caa09e05420c6b +SLACKBUILD pango.SlackBuild 10417 MD5 b8fd9295977b5d62bfa7ad78513d86ec RMD160 3f4ec0b221bddc95f4de85fa6668e928ae80d9d9 SHA1 7314757fec8b3bdf0c840670de552f205741a26c SHA256 2e61459ef911ac43458a6ca313c8f4f387d82e872e977f18a058e4615642b606 SHA512 d1e3d7dce245a5910e44c4c4860ddec0245d07b6c71433bcdeee5e0cfdd2a14b2dac1d1d7105d2e0a8d1e0445dd4b6d3e1a6213db76afef23bd6da01d2e2115e +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iQIcBAEBCAAGBQJK31yrAAoJEEHL93ESzgeihtMP/iVGjANa+E2PDD7IJYEgSzS3 +QT2kos8hIzuHd9H0Q78+V3B14s/425WSWkhzFuerOUU2IfCmJ29PcT609lH4IDOw ++RigT55Gdu8hw/uP74UAGW3sumQzMtkovKUHQxjoYPUXPeQo0LvvoiZgUl6hPiCn +E8vdXE8rr6wN2s5WiHQ+d64k+DDZZHoVIyE5Ab4qVZ5w7NE74TsmFWlldrKDoPP/ +uJaNPPh9tv2hj8WJczgGSLP7eoNMA08qr3gV1GRbrvwd4Zb2cRB3339ud3mNlaTZ +EUPVNrkUmpoIKelmHRxOsyW1lj2IH8tZc3OwehHOWdWGBhkXxBnXTYLOedcTyqZ2 +625yXAwuE0za8agdLjuT9tPSA/+bwTBpOXPS4TTitvXjo8nTuT/8qcaAYk/84ZvR +nwE4Pf515m5QHeoTD1ths2Qh5OZh0wcfXOzDcpdwPOFcsjHc1nCKPvo9C88u5XfJ +EltGQnUah9CBR12A9mdEzF6vw0Y1uqrCBAdrluSrfmOvbKDCuxxnCHbRQuLTLTLg +qkw29US06vxh7GWqdgMCe0GdnOALUBfVAgx+/mXedBMOEOMIw1YXNRDGbl7ZN/Hn +Yigukyrhm4MGaGpV++lIusBdwgPjbXaY3CLBXNw3ODCDNX7cOpX+RJMxtO2fkvd1 +onLM2PKmu4MO1wQzh9SF +=B8xT +-----END PGP SIGNATURE----- diff --git a/patches/pango/pango-1.26.0.diff.gz b/patches/pango/pango-1.26.0.diff.gz new file mode 100644 index 0000000..4d48703 Binary files /dev/null and b/patches/pango/pango-1.26.0.diff.gz differ diff --git a/patches/pango/pango.mkbuild b/patches/pango/pango.mkbuild new file mode 100644 index 0000000..8dcf1a6 --- /dev/null +++ b/patches/pango/pango.mkbuild @@ -0,0 +1,247 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# +# Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br ) +# Version $Rev: 803 $ - $Author: rhatto $ + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://ftp.gnome.org/pub/GNOME/sources/pango/1.26/pango-1.26.0.tar.bz2" + +# Source base name. if different from package name. Null ("") to default value. +# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[SOURCE NAME]]="" + +# Package name. Null ("") to auto-set +# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[PACKAGE NAME]]="" + +# +# Package default ARCH +# Default set is i486 +[[ARCH]]="" + +# +# Package version. Null ("") to auto-set. +# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[VERSION]]="" + +# +# Package extension. Null ("") to auto-set +# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[EXTENSION]]="" + +# +# Build number. +# Auto-set to default 1 +[[BUILD NUMBER]]="" + +# +# Source Name construction string +# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION +[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION" + +# +# Unpacker programa ("") to auto-set. Default "tar" +# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf" +[[UNPACKER]]="" +[[UNPACKER FLAGS]]="" + +# +# Dependency list input +# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]" +# Example: +[[SLACK REQUIRED]]="" + +# +# Decompress program +# gz, tgz, bz2, set null ("") to auto-set +# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[DECOMPRESSOR]]="" + +# +# Decompress check flag +# gz, tgz, bz2, set null ("") to auto-set +[[DECOMPRESSOR TEST FLAG]]="" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.* +[[DOCUMENTATION FILES]]="" + +# +# ./configure options +[[OTHER CONFIGURE ARGS]]="" + +# +# PREFIX. Default /usr +[[PREFIX]]="/usr" + +# +# Number of jobs +[[NUMBER OF JOBS]]="" + +#--------------------- +# Others changes +#--------------------- +#[[MD5SUM CODE]]="" +#[[MD5SUM EXTENSION]]="" +#[[SIGNING KEY]]="" +#[[SIGNING KEY URL]]="" +#[[SIGNING KEY ID]]="" +#[[SIGNING URL]]="" +#[[CONFIG FILES]]="" +#[[PATCH URLS]]="" +#[[REST OF DOINST.SH]]="" +[[PATCH FILES]]="" +[[NUMBER OF PREFIX SLASHES TO STRIP]]="1" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +#[[SLACKBUILD PATH]]="x11-libs/pango" +[[SLACKBUILD PATH]]="patches/pango" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: download_patches +off: svn_source +off: git_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: manifest_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: post_install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script +off: slack_required + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +pango: pango +pango: +pango: Pango is a library for laying out and rendering of text, with an +pango: emphasis on internationalization. Pango can be used anywhere that +pango: text layout is needed, though most of the work on Pango so far +pango: has been done in the context of the GTK+ widget toolkit. Pango +pango: forms the core of text and font handling for GTK+-2.x. +pango: +pango: +pango: +pango: +#post_install_package +# Install procedure based on +# +# ftp://ftp.slackware.com/pub/slackware/slackware-13.0/source/l/pango/pango.SlackBuild +# +# Which license is: +# +# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, MN, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# Install wrapper for pango-querymodules: +cp $CWD/update-pango-querymodules $PKG/usr/bin/update-pango-querymodules +chmod 0755 $PKG/usr/bin/update-pango-querymodules + +# Do not remove pangox.aliases +host="$ARCH-slackware-linux" +rm -f $PKG/etc/pango/pango.modules +mkdir -p $PKG/etc/pango/$host +touch $PKG/etc/pango/$host/pango.modules + +# We need to have separate 32-bit and 64-bit binaries +# for places where we have two copies of the GTK+ package installed. +# (we might have x86_64 and i486 packages on the same system, for example.) +case "$ARCH" in + s390x*|x86_64*) + mv $PKG/usr/bin/pango-querymodules $PKG/usr/bin/pango-querymodules-64 + ( cd $PKG/usr/bin ; ln -sf pango-querymodules-64 pango-querymodules ) + ;; + *) + mv $PKG/usr/bin/pango-querymodules $PKG/usr/bin/pango-querymodules-32 + ( cd $PKG/usr/bin ; ln -sf pango-querymodules-32 pango-querymodules ) + ;; +esac + +mkdir -p $PKG/install +cat < $PKG/install/doinst.sh +# Updating the pango.modules file: +chroot . /sbin/ldconfig 2> /dev/null +if [ -x /usr/bin/update-pango-querymodules ]; then + /usr/bin/update-pango-querymodules +fi +EOF +# $FILE" + fi + /usr/bin/pango-querymodules-64 > $FILE + # Check for x86_64 multilib: + if ls -d /etc/pango/i?86* 1> /dev/null 2> /dev/null ; then + for d in $(ls -d /etc/pango/i?86*); do + mlhost=$(basename $d) + break + done + if [ -r /etc/pango/$mlhost/pango.modules -a -x /usr/bin/pango-querymodules-32 ]; then + FILE=/etc/pango/$mlhost/pango.modules + if [ "$1" = "--verbose" ]; then + echo "Updating pango.modules for ${mlhost}:" + echo " /usr/bin/pango-querymodules-32 \\" + echo " > $FILE" + fi + /usr/bin/pango-querymodules-32 > $FILE + fi + fi + else + if [ "$1" = "--verbose" ]; then + echo "Updating pango.modules for ${host}:" + echo " /usr/bin/pango-querymodules \\" + echo " > $FILE" + fi + /usr/bin/pango-querymodules > $FILE + fi + ;; + *) + if [ -x /usr/bin/pango-querymodules-32 ]; then + if [ "$1" = "--verbose" ]; then + echo "Updating pango.modules for ${host}:" + echo " /usr/bin/pango-querymodules-32 \\" + echo " > $FILE" + fi + /usr/bin/pango-querymodules-32 > $FILE + else + if [ "$1" = "--verbose" ]; then + echo "Updating pango.modules for ${host}:" + echo " /usr/bin/pango-querymodules \\" + echo " > $FILE" + fi + /usr/bin/pango-querymodules > $FILE + fi + ;; +esac + -- cgit v1.2.3