Date: Sunday, July 17, 2022 @ 21:41:10 Author: diabonas Revision: 1254380
archrelease: copy trunk to community-x86_64 Added: libafterimage/repos/community-x86_64/PKGBUILD (from rev 1254379, libafterimage/trunk/PKGBUILD) libafterimage/repos/community-x86_64/header-install.patch (from rev 1254379, libafterimage/trunk/header-install.patch) libafterimage/repos/community-x86_64/libafterimage-ldflags.patch (from rev 1254379, libafterimage/trunk/libafterimage-ldflags.patch) libafterimage/repos/community-x86_64/libafterimage-libpng15.patch (from rev 1254379, libafterimage/trunk/libafterimage-libpng15.patch) Deleted: libafterimage/repos/community-x86_64/PKGBUILD libafterimage/repos/community-x86_64/header-install.patch libafterimage/repos/community-x86_64/libafterimage-ldflags.patch libafterimage/repos/community-x86_64/libafterimage-libpng15.patch ------------------------------+ PKGBUILD | 112 ++++++++++++++++++++--------------------- header-install.patch | 56 ++++++++++---------- libafterimage-ldflags.patch | 24 ++++---- libafterimage-libpng15.patch | 62 +++++++++++----------- 4 files changed, 127 insertions(+), 127 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-07-17 21:40:47 UTC (rev 1254379) +++ PKGBUILD 2022-07-17 21:41:10 UTC (rev 1254380) @@ -1,56 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Mike Sampson <mike at sambodata dot com> -# Contributor: Bernhard Walle <bernhard.wa...@gmx.de> - -pkgname=libafterimage -pkgver=1.20 -pkgrel=5 -pkgdesc="Generic image manipulation library" -url="http://www.afterstep.org/afterimage" -license=('GPL') -depends=('librsvg') -arch=('x86_64') -source=("https://downloads.sourceforge.net/project/afterstep/libAfterImage/$pkgver/libAfterImage-$pkgver.tar.bz2" - libafterimage-libpng15.patch - libafterimage-ldflags.patch - header-install.patch) -sha256sums=('6e233253f4d1dd22dfce9f9a245cc036d814fc99ba7f6732f4e345de62cfe458' - 'bbf95bcddc4c48dcde88745dc9cb772ca53b625e8e466b9d565e4183ce71dbe3' - 'a38f2e46bb69f6749c5e48cff60f51fae6bda19d268f0c7f16dfbd74d34d2f64' - '6e1c5fd8acbbbc1c83f0ca490f08b7602d37a2295cb4741eef6f3b88fb638203') - -prepare() { - cd libAfterImage-$pkgver - - # Fix header installation (FS#60246) - patch -p1 -i ../header-install.patch - - # Apply Gentoo's libpng15 patch - patch < ../libafterimage-libpng15.patch - - # Make sure LDFLAGS are passed to lib - patch < ../libafterimage-ldflags.patch -} - -build() { - cd libAfterImage-$pkgver - - CPPFLAGS="${CPPFLAGS}" \ - CFLAGS="${CFLAGS}" \ - CXXFLAGS="${CXXFLAGS}" \ - LDFLAGS="${LDFLAGS}" \ - ./configure --prefix=/usr --mandir=/usr/share/man \ - --enable-sharedlibs --disable-staticlibs - - # don't run ldconfig - sed -i -e 's/`uname`/"hack"/g' Makefile - - make -} - -package() { - cd libAfterImage-$pkgver - make DESTDIR="$pkgdir" install -} - -# :mode=shellscript: Copied: libafterimage/repos/community-x86_64/PKGBUILD (from rev 1254379, libafterimage/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-07-17 21:41:10 UTC (rev 1254380) @@ -0,0 +1,56 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Mike Sampson <mike at sambodata dot com> +# Contributor: Bernhard Walle <bernhard.wa...@gmx.de> + +pkgname=libafterimage +pkgver=1.20 +pkgrel=6 +pkgdesc="Generic image manipulation library" +url="http://www.afterstep.org/afterimage" +license=('GPL') +depends=('librsvg') +arch=('x86_64') +source=("https://downloads.sourceforge.net/project/afterstep/libAfterImage/$pkgver/libAfterImage-$pkgver.tar.bz2" + libafterimage-libpng15.patch + libafterimage-ldflags.patch + header-install.patch) +sha256sums=('6e233253f4d1dd22dfce9f9a245cc036d814fc99ba7f6732f4e345de62cfe458' + 'bbf95bcddc4c48dcde88745dc9cb772ca53b625e8e466b9d565e4183ce71dbe3' + 'a38f2e46bb69f6749c5e48cff60f51fae6bda19d268f0c7f16dfbd74d34d2f64' + '6e1c5fd8acbbbc1c83f0ca490f08b7602d37a2295cb4741eef6f3b88fb638203') + +prepare() { + cd libAfterImage-$pkgver + + # Fix header installation (FS#60246) + patch -p1 -i ../header-install.patch + + # Apply Gentoo's libpng15 patch + patch < ../libafterimage-libpng15.patch + + # Make sure LDFLAGS are passed to lib + patch < ../libafterimage-ldflags.patch +} + +build() { + cd libAfterImage-$pkgver + + CPPFLAGS="${CPPFLAGS}" \ + CFLAGS="${CFLAGS}" \ + CXXFLAGS="${CXXFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + ./configure --prefix=/usr --mandir=/usr/share/man \ + --enable-sharedlibs --disable-staticlibs + + # don't run ldconfig + sed -i -e 's/`uname`/"hack"/g' Makefile + + make AR="ar cq" +} + +package() { + cd libAfterImage-$pkgver + make DESTDIR="$pkgdir" install +} + +# :mode=shellscript: Deleted: header-install.patch =================================================================== --- header-install.patch 2022-07-17 21:40:47 UTC (rev 1254379) +++ header-install.patch 2022-07-17 21:41:10 UTC (rev 1254380) @@ -1,28 +0,0 @@ -diff --git a/Makefile.in.orig b/Makefile.in -index 1faabd7..98203d6 100644 ---- a/Makefile.in.orig -+++ b/Makefile.in -@@ -202,17 +202,17 @@ install.inc: - $(RM) $(AFTER_INC_DIR)/*; \ - else \ - if [ -d $(INCLUDEDIR) ]; then \ -- echo "$(MKDIR) $(AFTER_INC_DIR)"; \ -- if $(MKDIR) $(AFTER_INC_DIR); then \ -+ echo "$(MKDIR) -p $(AFTER_INC_DIR)"; \ -+ if $(MKDIR) -p $(AFTER_INC_DIR); then \ - echo " ">/dev/null; \ - else \ - echo "failed to create include directory: $(AFTER_INC_DIR)"; \ - fi; \ - else \ -- echo "$(MKDIR) $(INCLUDEDIR)"; \ -- if $(MKDIR) $(INCLUDEDIR); then \ -- echo "$(MKDIR) $(AFTER_INC_DIR)"; \ -- if $(MKDIR) $(AFTER_INC_DIR) >/dev/null; then \ -+ echo "$(MKDIR) -p $(INCLUDEDIR)"; \ -+ if $(MKDIR) -p $(INCLUDEDIR); then \ -+ echo "$(MKDIR) -p $(AFTER_INC_DIR)"; \ -+ if $(MKDIR) -p $(AFTER_INC_DIR) >/dev/null; then \ - echo " ">/dev/null; \ - else \ - echo "failed to create include directory: $(AFTER_INC_DIR)"; \ Copied: libafterimage/repos/community-x86_64/header-install.patch (from rev 1254379, libafterimage/trunk/header-install.patch) =================================================================== --- header-install.patch (rev 0) +++ header-install.patch 2022-07-17 21:41:10 UTC (rev 1254380) @@ -0,0 +1,28 @@ +diff --git a/Makefile.in.orig b/Makefile.in +index 1faabd7..98203d6 100644 +--- a/Makefile.in.orig ++++ b/Makefile.in +@@ -202,17 +202,17 @@ install.inc: + $(RM) $(AFTER_INC_DIR)/*; \ + else \ + if [ -d $(INCLUDEDIR) ]; then \ +- echo "$(MKDIR) $(AFTER_INC_DIR)"; \ +- if $(MKDIR) $(AFTER_INC_DIR); then \ ++ echo "$(MKDIR) -p $(AFTER_INC_DIR)"; \ ++ if $(MKDIR) -p $(AFTER_INC_DIR); then \ + echo " ">/dev/null; \ + else \ + echo "failed to create include directory: $(AFTER_INC_DIR)"; \ + fi; \ + else \ +- echo "$(MKDIR) $(INCLUDEDIR)"; \ +- if $(MKDIR) $(INCLUDEDIR); then \ +- echo "$(MKDIR) $(AFTER_INC_DIR)"; \ +- if $(MKDIR) $(AFTER_INC_DIR) >/dev/null; then \ ++ echo "$(MKDIR) -p $(INCLUDEDIR)"; \ ++ if $(MKDIR) -p $(INCLUDEDIR); then \ ++ echo "$(MKDIR) -p $(AFTER_INC_DIR)"; \ ++ if $(MKDIR) -p $(AFTER_INC_DIR) >/dev/null; then \ + echo " ">/dev/null; \ + else \ + echo "failed to create include directory: $(AFTER_INC_DIR)"; \ Deleted: libafterimage-ldflags.patch =================================================================== --- libafterimage-ldflags.patch 2022-07-17 21:40:47 UTC (rev 1254379) +++ libafterimage-ldflags.patch 2022-07-17 21:41:10 UTC (rev 1254380) @@ -1,12 +0,0 @@ -diff -aur --color libAfterImage-1.20-old/Makefile.in libAfterImage-1.20-new/Makefile.in ---- libAfterImage-1.20-old/Makefile.in 2020-05-25 17:48:04.321292472 +0300 -+++ libAfterImage-1.20-new/Makefile.in 2020-05-25 17:48:30.511292257 +0300 -@@ -398,7 +398,7 @@ - - $(LIB_SHARED).$(LIBVER): $(LIB_OBJS) $(LIB_INCS) config.h - $(CC) -shared -Wl,-soname,$(LIB_SHARED).$(LIBVERMAJOR) -o $(LIB_SHARED).$(LIBVER) \ -- $(LIB_OBJS) -+ $(LIB_OBJS) $(USER_LD_FLAGS) - - install.man: - @if [ -d doc/man ] ; then \ Copied: libafterimage/repos/community-x86_64/libafterimage-ldflags.patch (from rev 1254379, libafterimage/trunk/libafterimage-ldflags.patch) =================================================================== --- libafterimage-ldflags.patch (rev 0) +++ libafterimage-ldflags.patch 2022-07-17 21:41:10 UTC (rev 1254380) @@ -0,0 +1,12 @@ +diff -aur --color libAfterImage-1.20-old/Makefile.in libAfterImage-1.20-new/Makefile.in +--- libAfterImage-1.20-old/Makefile.in 2020-05-25 17:48:04.321292472 +0300 ++++ libAfterImage-1.20-new/Makefile.in 2020-05-25 17:48:30.511292257 +0300 +@@ -398,7 +398,7 @@ + + $(LIB_SHARED).$(LIBVER): $(LIB_OBJS) $(LIB_INCS) config.h + $(CC) -shared -Wl,-soname,$(LIB_SHARED).$(LIBVERMAJOR) -o $(LIB_SHARED).$(LIBVER) \ +- $(LIB_OBJS) ++ $(LIB_OBJS) $(USER_LD_FLAGS) + + install.man: + @if [ -d doc/man ] ; then \ Deleted: libafterimage-libpng15.patch =================================================================== --- libafterimage-libpng15.patch 2022-07-17 21:40:47 UTC (rev 1254379) +++ libafterimage-libpng15.patch 2022-07-17 21:41:10 UTC (rev 1254380) @@ -1,31 +0,0 @@ ---- export.c -+++ export.c -@@ -496,7 +496,7 @@ - png_ptr = png_create_write_struct( PNG_LIBPNG_VER_STRING, NULL, NULL, NULL ); - if ( png_ptr != NULL ) - if( (info_ptr = png_create_info_struct(png_ptr)) != NULL ) -- if( setjmp(png_ptr->jmpbuf) ) -+ if( setjmp(png_jmpbuf(png_ptr)) ) - { - png_destroy_info_struct(png_ptr, (png_infopp) &info_ptr); - info_ptr = NULL ; ---- import.c -+++ import.c -@@ -1251,7 +1251,7 @@ - * the normal method of doing things with libpng). REQUIRED unless you - * set up your own error handlers in the png_create_read_struct() earlier. - */ -- if ( !setjmp (png_ptr->jmpbuf)) -+ if ( !setjmp (png_jmpbuf(png_ptr))) - { - ASFlagType rgb_flags = ASStorage_RLEDiffCompress|ASStorage_32Bit ; - -@@ -1468,7 +1468,7 @@ - - static void asim_png_read_data(png_structp png_ptr, png_bytep data, png_size_t length) - { -- ASImPNGReadBuffer *buf = (ASImPNGReadBuffer *)png_ptr->io_ptr; -+ ASImPNGReadBuffer *buf = (ASImPNGReadBuffer *)png_get_io_ptr(png_ptr); - memcpy(data, buf->buffer, length); - buf->buffer += length; - } Copied: libafterimage/repos/community-x86_64/libafterimage-libpng15.patch (from rev 1254379, libafterimage/trunk/libafterimage-libpng15.patch) =================================================================== --- libafterimage-libpng15.patch (rev 0) +++ libafterimage-libpng15.patch 2022-07-17 21:41:10 UTC (rev 1254380) @@ -0,0 +1,31 @@ +--- export.c ++++ export.c +@@ -496,7 +496,7 @@ + png_ptr = png_create_write_struct( PNG_LIBPNG_VER_STRING, NULL, NULL, NULL ); + if ( png_ptr != NULL ) + if( (info_ptr = png_create_info_struct(png_ptr)) != NULL ) +- if( setjmp(png_ptr->jmpbuf) ) ++ if( setjmp(png_jmpbuf(png_ptr)) ) + { + png_destroy_info_struct(png_ptr, (png_infopp) &info_ptr); + info_ptr = NULL ; +--- import.c ++++ import.c +@@ -1251,7 +1251,7 @@ + * the normal method of doing things with libpng). REQUIRED unless you + * set up your own error handlers in the png_create_read_struct() earlier. + */ +- if ( !setjmp (png_ptr->jmpbuf)) ++ if ( !setjmp (png_jmpbuf(png_ptr))) + { + ASFlagType rgb_flags = ASStorage_RLEDiffCompress|ASStorage_32Bit ; + +@@ -1468,7 +1468,7 @@ + + static void asim_png_read_data(png_structp png_ptr, png_bytep data, png_size_t length) + { +- ASImPNGReadBuffer *buf = (ASImPNGReadBuffer *)png_ptr->io_ptr; ++ ASImPNGReadBuffer *buf = (ASImPNGReadBuffer *)png_get_io_ptr(png_ptr); + memcpy(data, buf->buffer, length); + buf->buffer += length; + }