Package Details: lib32-libpng12 1.2.56-2

Git Clone URL: https://aur.archlinux.org/lib32-libpng12.git (read-only)
Package Base: lib32-libpng12
Description: A collection of routines used to create PNG format graphics files (32-bit, 1.2 branch)
Upstream URL: http://www.libpng.org/pub/png/libpng.html
Licenses: custom
Submitter: anatolik
Maintainer: arthurzam
Last Packager: arthurzam
Votes: 309
Popularity: 24.964191
First Submitted: 2014-11-21 23:33
Last Updated: 2016-04-01 14:11

Latest Comments

arthurzam commented on 2016-06-16 09:57

@71GA

I will guess and say that the problem would be with Guitar Pro.
Run it from terminal and post it (using pastebin) here. Maybe this will help to identify.

71GA commented on 2016-06-16 09:55

I am on "4.6.2-1-ARCH x86_64 GNU/Linux" and this isn't working although I reinstalled libpng12 and lib32-libpng12 libraries. Guitar Pro crashes when I open new score.

kubrick commented on 2016-05-13 18:15

Does this package actually depends on libpng12?

arthurzam commented on 2016-04-04 05:52

@severach

delete old files from the directory and redownload.

severach commented on 2016-04-04 05:09

libpng-1.2.56-apng.patch.gz ... FAILED

carstene1ns commented on 2015-12-14 14:36

@michaelgod: Why do you want to download the source files in the prepare function? Do you even know what makepkg does? It is up to you to have a working download agent in makepkg.conf. Also, please use a pastebin next time.
--
@Thorleif: sourceforge has since ever provided shortcut URLs for their download mirror system. As long as you know the project and the file's name, it will redirect you to the right URL.
For example this also works: http://sf.net/projects/libpng/files/libpng-1.2.54.tar.xz
However, when the site is in recovery mode (which it has been quite often lately), it does not work, but in this case it is better to avoid it entirely and use another mirror.

michaelgod commented on 2015-12-14 13:59

try this


_pkgbasename=libpng
pkgname=lib32-libpng12
pkgver=1.2.55
pkgrel=2
pkgdesc="A collection of routines used to create PNG format graphics files (32-bit, 1.2 branch)"
arch=('x86_64')
url="http://www.libpng.org/pub/png/libpng.html"
license=('custom')
depends=('lib32-zlib' 'libpng12')
makedepends=('gcc-multilib')
options=('!libtool')

prepare(){
cd "${srcdir}"
# Add animated PNG (apng) support
# see http://sourceforge.net/projects/libpng-apng/
curl -o libpng-${pkgver}.tar.xz -LO http://sourceforge.net/projects/libpng/files/libpng12/${pkgver}/libpng-${pkgver}.tar.xz/download
curl -o libpng-${pkgver}-apng.patch.gz -LO http://sourceforge.net/projects/libpng-apng/files/libpng12/${pkgver}/libpng-${pkgver}-apng.patch.gz/download
tar -xvf libpng-${pkgver}.tar.xz
gunzip -f libpng-${pkgver}-apng.patch.gz
patch -Np0 -i "${srcdir}/libpng-${pkgver}-apng.patch"
}

build() {
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"

cd "${srcdir}/${_pkgbasename}-${pkgver}"

libtoolize --force --copy
aclocal
autoconf
automake --add-missing

./configure --prefix=/usr --libdir=/usr/lib32
make
}

package() {
cd "${srcdir}/${_pkgbasename}-${pkgver}"
make DESTDIR="${pkgdir}" install

rm -f ${pkgdir}/usr/lib32/{libpng.so,libpng.a,pkgconfig/libpng.pc}
rm -rf ${pkgdir}/usr/{include,share,bin}

mkdir -p "${pkgdir}/usr/share/licenses"
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

Thorleif commented on 2015-12-12 10:19

The source file URL http://sourceforge.net/projects/libpng/files/libpng12/1.2.54/libpng-1.2.54.tar.xz looks to be incomplete. It should be: http://sourceforge.net/projects/libpng/files/libpng12/1.2.54/libpng-1.2.54.tar.xz/download

carstene1ns commented on 2015-09-18 21:00

bmbaker: Did you build it yourself or do you use alucryd-multilib repository? Check 'LocalFileSigLevel' in your /etc/pacman.conf. Maybe you enabled signature checking for packages that you build yourself?

bmbaker commented on 2015-09-18 15:32

Hi there,
I was just doing my updates and got this error from your package,

(84/84) checking keys in keyring [######################] 100%
(84/84) checking package integrity [######################] 100%
error: lib32-libpng12: missing required signature
error: failed to commit transaction (invalid or corrupted package)

i did the usual,
sudo pacman -Scc
sudo pacman -S archlinux-keyring
sudo pacman-key --init
sudo pacman-key --populate archlinux
sudo pacman-key --refresh-keys
sudo pacman -Sc
sudo pacman -Syyu
but the error persists
cheers

All comments