[arch-commits] Commit in sdl_ttf/trunk (PKGBUILD)
Date: Saturday, May 16, 2020 @ 12:17:08 Author: foutrelis Revision: 384478 upgpkg: sdl_ttf 2.0.11-6: reproducibility rebuild Modified: sdl_ttf/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-05-16 12:16:45 UTC (rev 384477) +++ PKGBUILD2020-05-16 12:17:08 UTC (rev 384478) @@ -4,7 +4,7 @@ pkgname=sdl_ttf pkgver=2.0.11 -pkgrel=5 +pkgrel=6 pkgdesc="A library that allows you to use TrueType fonts in your SDL applications" url="https://www.libsdl.org/projects/SDL_ttf/; arch=(x86_64)
[arch-commits] Commit in sdl_ttf/trunk (PKGBUILD)
Date: Saturday, November 10, 2018 @ 07:03:38 Author: felixonmars Revision: 338933 PIE/BUILDINFO rebuild Modified: sdl_ttf/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-11-10 07:02:18 UTC (rev 338932) +++ PKGBUILD2018-11-10 07:03:38 UTC (rev 338933) @@ -4,7 +4,7 @@ pkgname=sdl_ttf pkgver=2.0.11 -pkgrel=4 +pkgrel=5 pkgdesc="A library that allows you to use TrueType fonts in your SDL applications" url="https://www.libsdl.org/projects/SDL_ttf/; arch=(x86_64)
[arch-commits] Commit in sdl_ttf/trunk (PKGBUILD freetype-pkgconfig.patch)
Date: Saturday, November 10, 2018 @ 07:02:18 Author: foutrelis Revision: 338932 Fix build with FreeType 2.9.1 Added: sdl_ttf/trunk/freetype-pkgconfig.patch Modified: sdl_ttf/trunk/PKGBUILD --+ PKGBUILD | 10 - freetype-pkgconfig.patch | 46 + 2 files changed, 55 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-11-10 06:40:44 UTC (rev 338931) +++ PKGBUILD2018-11-10 07:02:18 UTC (rev 338932) @@ -9,10 +9,12 @@ url="https://www.libsdl.org/projects/SDL_ttf/; arch=(x86_64) license=(custom) -depends=('sdl>=1.2.12' freetype2) +depends=(sdl freetype2) source=(https://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-$pkgver.tar.gz +freetype-pkgconfig.patch bug1433.patch) sha256sums=('724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7' +'87412f614b97b4724cb4845db882f07c15caf098dee57a856d6dbae0f58de80d' '4baea703454b9bca9498a920485552f1b8489a5007f8f1366080b14a4cd74c90') prepare() { @@ -20,6 +22,12 @@ # Fix FS#28674 patch -Ni ../bug1433.patch + + # Fix build with FreeType 2.9.1 + patch -Np1 -i ../freetype-pkgconfig.patch + + touch NEWS README AUTHORS ChangeLog + autoreconf -vi } build() { Added: freetype-pkgconfig.patch === --- freetype-pkgconfig.patch(rev 0) +++ freetype-pkgconfig.patch2018-11-10 07:02:18 UTC (rev 338932) @@ -0,0 +1,46 @@ +https://bugs.gentoo.org/654758 + +--- SDL_ttf-2.0.11/configure.in SDL_ttf-2.0.11/configure.in +@@ -64,6 +64,7 @@ + ;; + esac + ++PKG_PROG_PKG_CONFIG + + dnl Check for iconv (character conversion library; see iconv.m4) + dnl This isn't available on many systems +@@ -94,6 +95,17 @@ + dnl + dnl Get the cflags and libraries from the freetype-config script + dnl ++PKG_CHECK_MODULES( ++ FREETYPE2, ++ freetype2, ++ [ ++ ft_found=yes ++ CFLAGS="$CFLAGS $FREETYPE2_CFLAGS" ++ LIBS="$LIBS $FREETYPE2_LIBS" ++ ], ++ ft_found=no ++) ++ + AC_ARG_WITH(freetype-prefix,[ --with-freetype-prefix=PFX Prefix where FREETYPE is + installed (optional)], + freetype_prefix="$withval", freetype_prefix="") +@@ -101,6 +113,7 @@ + where FREETYPE is installed (optional)], + freetype_exec_prefix="$withval", freetype_exec_prefix="") + ++if test "x$ft_found" != "xyes" ; then + if test x$freetype_exec_prefix != x ; then + freetype_args="$freetype_args --exec-prefix=$freetype_exec_prefix" + if test x${FREETYPE_CONFIG+set} != xset ; then +@@ -123,6 +136,7 @@ + CFLAGS="$CFLAGS `$FREETYPE_CONFIG $freetypeconf_args --cflags`" + LIBS="$LIBS `$FREETYPE_CONFIG $freetypeconf_args --libs`" + fi ++fi + + dnl Check for SDL + SDL_VERSION=1.2.4
[arch-commits] Commit in sdl_ttf/trunk (PKGBUILD)
Date: Thursday, March 30, 2017 @ 21:09:55 Author: heftig Revision: 291915 2.0.11-4 Modified: sdl_ttf/trunk/PKGBUILD --+ PKGBUILD | 32 +--- 1 file changed, 17 insertions(+), 15 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-03-30 21:07:22 UTC (rev 291914) +++ PKGBUILD2017-03-30 21:09:55 UTC (rev 291915) @@ -5,30 +5,32 @@ pkgname=sdl_ttf pkgver=2.0.11 -pkgrel=3 +pkgrel=4 pkgdesc="A library that allows you to use TrueType fonts in your SDL applications" -arch=('i686' 'x86_64') -license=('custom') -url="http://www.libsdl.org/projects/SDL_ttf/; -depends=('sdl>=1.2.12' 'freetype2') -source=(http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-$pkgver.tar.gz +url="https://www.libsdl.org/projects/SDL_ttf/; +arch=(i686 x86_64) +license=(custom) +depends=('sdl>=1.2.12' freetype2) +source=(https://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-$pkgver.tar.gz bug1433.patch) -md5sums=('61e29bd9da8d245bc2471d1b2ce591aa' - 'f847697e18eec539aaf3ffb96996abbf') +sha256sums=('724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7' +'4baea703454b9bca9498a920485552f1b8489a5007f8f1366080b14a4cd74c90') +prepare() { + cd SDL_ttf-$pkgver + + # Fix FS#28674 + patch -Ni ../bug1433.patch +} + build() { - cd "$srcdir/SDL_ttf-$pkgver" - - # Fix FS#28674 - patch -Ni "$srcdir/bug1433.patch" - + cd SDL_ttf-$pkgver ./configure --prefix=/usr --disable-static make } package() { - cd "$srcdir/SDL_ttf-$pkgver" + cd SDL_ttf-$pkgver make DESTDIR="$pkgdir" install - install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }
[arch-commits] Commit in sdl_ttf/trunk (PKGBUILD bug1433.patch)
Date: Wednesday, February 29, 2012 @ 16:53:10 Author: heftig Revision: 151696 Fix FS#28674 Added: sdl_ttf/trunk/bug1433.patch Modified: sdl_ttf/trunk/PKGBUILD ---+ PKGBUILD | 12 +--- bug1433.patch | 11 +++ 2 files changed, 20 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-02-29 21:30:41 UTC (rev 151695) +++ PKGBUILD2012-02-29 21:53:10 UTC (rev 151696) @@ -5,18 +5,24 @@ pkgname=sdl_ttf pkgver=2.0.11 -pkgrel=1 +pkgrel=2 pkgdesc=A library that allows you to use TrueType fonts in your SDL applications arch=('i686' 'x86_64') license=('custom') url=http://www.libsdl.org/projects/SDL_ttf/; depends=('sdl=1.2.12' 'freetype2') options=('!libtool') -source=(http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-$pkgver.tar.gz) -md5sums=('61e29bd9da8d245bc2471d1b2ce591aa') +source=(http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-$pkgver.tar.gz +bug1433.patch) +md5sums=('61e29bd9da8d245bc2471d1b2ce591aa' + 'f847697e18eec539aaf3ffb96996abbf') build() { cd $srcdir/SDL_ttf-$pkgver + + # Fix FS#28674 + patch -Ni $srcdir/bug1433.patch + ./configure --prefix=/usr --disable-static make } Added: bug1433.patch === --- bug1433.patch (rev 0) +++ bug1433.patch 2012-02-29 21:53:10 UTC (rev 151696) @@ -0,0 +1,11 @@ +--- SDL_ttf.c.orig 2012-02-12 16:36:41.859977617 +0100 SDL_ttf.c 2012-02-12 16:36:53.696580159 +0100 +@@ -1747,7 +1747,7 @@ + /* Copy the character from the pixmap */ + src = glyph-pixmap.buffer; + dst = (Uint8*) textbuf-pixels; +- for ( row = 0; row glyph-bitmap.rows; ++row ) { ++ for ( row = 0; row glyph-pixmap.rows; ++row ) { + memcpy( dst, src, glyph-pixmap.width ); + src += glyph-pixmap.pitch; + dst += textbuf-pitch; \ No newline at end of file
[arch-commits] Commit in sdl_ttf/trunk (PKGBUILD)
Date: Monday, January 16, 2012 @ 05:50:47 Author: heftig Revision: 146680 2.0.11 Modified: sdl_ttf/trunk/PKGBUILD --+ PKGBUILD | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-01-16 09:04:24 UTC (rev 146679) +++ PKGBUILD2012-01-16 10:50:47 UTC (rev 146680) @@ -1,26 +1,29 @@ # $Id$ -# Maintainer: Allan McRae al...@archlinux.org +# Maintainer: Jan Alexander Steffens (heftig) jan.steff...@gmail.com +# Contributor: Allan McRae al...@archlinux.org # Contributor: Tom Newsom jeeps...@gmx.co.uk pkgname=sdl_ttf -pkgver=2.0.10 +pkgver=2.0.11 pkgrel=1 pkgdesc=A library that allows you to use TrueType fonts in your SDL applications arch=('i686' 'x86_64') -license=('LGPL') +license=('custom') url=http://www.libsdl.org/projects/SDL_ttf/; depends=('sdl=1.2.12' 'freetype2') options=('!libtool') -source=(http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${pkgver}.tar.gz) -md5sums=('814e6e17e8879254208d23b3b7e0354b') +source=(http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-$pkgver.tar.gz) +md5sums=('61e29bd9da8d245bc2471d1b2ce591aa') build() { - cd ${srcdir}/SDL_ttf-${pkgver} + cd $srcdir/SDL_ttf-$pkgver ./configure --prefix=/usr make } package() { - cd ${srcdir}/SDL_ttf-${pkgver} - make DESTDIR=${pkgdir} install + cd $srcdir/SDL_ttf-$pkgver + make DESTDIR=$pkgdir install + + install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE }
[arch-commits] Commit in sdl_ttf/trunk (PKGBUILD)
Date: Monday, January 16, 2012 @ 05:56:13 Author: heftig Revision: 146681 disable static Modified: sdl_ttf/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2012-01-16 10:50:47 UTC (rev 146680) +++ PKGBUILD2012-01-16 10:56:13 UTC (rev 146681) @@ -17,7 +17,7 @@ build() { cd $srcdir/SDL_ttf-$pkgver - ./configure --prefix=/usr + ./configure --prefix=/usr --disable-static make }
[arch-commits] Commit in sdl_ttf/trunk (PKGBUILD)
Date: Friday, July 9, 2010 @ 06:09:49 Author: allan Revision: 85134 upgpkg: sdl_ttf 2.0.10-1 update Modified: sdl_ttf/trunk/PKGBUILD --+ PKGBUILD | 12 1 file changed, 8 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2010-07-09 04:01:36 UTC (rev 85133) +++ PKGBUILD2010-07-09 10:09:49 UTC (rev 85134) @@ -3,8 +3,8 @@ # Contributor: Tom Newsom jeeps...@gmx.co.uk pkgname=sdl_ttf -pkgver=2.0.9 -pkgrel=2 +pkgver=2.0.10 +pkgrel=1 pkgdesc=A library that allows you to use TrueType fonts in your SDL applications arch=('i686' 'x86_64') license=('LGPL') @@ -12,11 +12,15 @@ depends=('sdl=1.2.12' 'freetype2') options=('!libtool') source=(http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${pkgver}.tar.gz) -md5sums=('6dd5a85e4924689a35a5fb1cb3336156') +md5sums=('814e6e17e8879254208d23b3b7e0354b') build() { cd ${srcdir}/SDL_ttf-${pkgver} ./configure --prefix=/usr - make || return 1 + make +} + +package() { + cd ${srcdir}/SDL_ttf-${pkgver} make DESTDIR=${pkgdir} install }