diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-06-12 17:34:42 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-06-12 17:34:59 +0000 |
commit | 55c142066cd9eff59d3a4ddcb8ece54a022e3a25 (patch) | |
tree | e50812c100aa18646d827215befc83b167d7d7cd /main/libgphoto2 | |
parent | 287b43327c61baa7e7224eb223c654d6cf5e26ab (diff) | |
download | aports-55c142066cd9eff59d3a4ddcb8ece54a022e3a25.tar.bz2 aports-55c142066cd9eff59d3a4ddcb8ece54a022e3a25.tar.xz |
main/libgphoto2: upgrade to 2.5.13
Diffstat (limited to 'main/libgphoto2')
-rw-r--r-- | main/libgphoto2/APKBUILD | 12 | ||||
-rw-r--r-- | main/libgphoto2/libjpeg_turbo_1.5.0_fix.patch | 72 |
2 files changed, 3 insertions, 81 deletions
diff --git a/main/libgphoto2/APKBUILD b/main/libgphoto2/APKBUILD index c4c220cc92..07e70f2387 100644 --- a/main/libgphoto2/APKBUILD +++ b/main/libgphoto2/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libgphoto2 -pkgver=2.5.10 +pkgver=2.5.13 pkgrel=0 pkgdesc="The core library of gphoto2, designed to allow access to digital camera by external programs." url="http://www.gphoto.org" @@ -12,8 +12,7 @@ makedepends="$depends_dev libjpeg-turbo-dev libtool" install="$pkgname.pre-install $pkgname.pre-upgrade" subpackages="$pkgname-dev $pkgname-doc" replaces="libgphoto2-dev" -source="http://downloads.sourceforge.net/gphoto/libgphoto2-$pkgver.tar.bz2 - libjpeg_turbo_1.5.0_fix.patch" +source="http://downloads.sourceforge.net/gphoto/libgphoto2-$pkgver.tar.bz2" options="libtool" builddir="$srcdir"/$pkgname-$pkgver @@ -43,9 +42,4 @@ package() { "$pkgdir/usr/lib/libgphoto2/print-camera-list" udev-rules version 136 group camera mode 0660 > "$pkgdir/lib/udev/rules.d/54-gphoto.rules" || return 1 } -md5sums="f1e53e684a3ea51cc7958d7e4eee7f37 libgphoto2-2.5.10.tar.bz2 -af8318eb34e73b30ccdb4f7357ce7a63 libjpeg_turbo_1.5.0_fix.patch" -sha256sums="8d8668d432ba595c7466442aec2cf553bdf8782ec171291dbc65717c633a4ef2 libgphoto2-2.5.10.tar.bz2 -36723efa91099b14d3eff83acc90071d3453317dc1dd6fa114bfb76826f49184 libjpeg_turbo_1.5.0_fix.patch" -sha512sums="13f593e09e8428bf72fc783b4ddfd5fc418fcf42ebe17d05b44255458dbac956293fb189c48b609fba5586f39771d148a3541fa484ac51fd68c921f2f05ca18a libgphoto2-2.5.10.tar.bz2 -b775bd47b5eef4171f4d030d9f55c0e9e1ac4c81678195f04d0af7fc1fb4780ed271ac8a22b73384aacfa6e2f81b795c4a0d37bceb993648bd34877404af6554 libjpeg_turbo_1.5.0_fix.patch" +sha512sums="242e3ad2c8da614b897de5c4adef62ded65e74bdfb1d305a9d13fe0c39541fc7fc89d818e44a7eabf9efefef975ddb818a35246b0c26ce40330e3f81d79972aa libgphoto2-2.5.13.tar.bz2" diff --git a/main/libgphoto2/libjpeg_turbo_1.5.0_fix.patch b/main/libgphoto2/libjpeg_turbo_1.5.0_fix.patch deleted file mode 100644 index b75e7dfada..0000000000 --- a/main/libgphoto2/libjpeg_turbo_1.5.0_fix.patch +++ /dev/null @@ -1,72 +0,0 @@ -Description: Close bug #827629. - conflicting types for 'jpeg_mem_src' with - libjpeg-turbo62 1.5.0 -Author: Patrick Ohly <patrick.ohly@intel.com> -Reviewed-by: Herbert Parentes Fortes Neto <hpfn@ig.com.br> -Last-Update: 2016-06-19 -Index: libgphoto2-2.5.10/camlibs/ax203/jpeg_memsrcdest.c -=================================================================== ---- libgphoto2-2.5.10.orig/camlibs/ax203/jpeg_memsrcdest.c -+++ libgphoto2-2.5.10/camlibs/ax203/jpeg_memsrcdest.c -@@ -25,8 +25,8 @@ - #include "jpeg_memsrcdest.h" - - /* libjpeg8 and later come with their own (API compatible) memory source -- and dest */ --#if JPEG_LIB_VERSION < 80 -+ and dest, and older versions may have it backported */ -+#if JPEG_LIB_VERSION < 80 && !defined(MEM_SRCDST_SUPPORTED) - - /* Expanded data source object for memory input */ - -Index: libgphoto2-2.5.10/camlibs/ax203/jpeg_memsrcdest.h -=================================================================== ---- libgphoto2-2.5.10.orig/camlibs/ax203/jpeg_memsrcdest.h -+++ libgphoto2-2.5.10/camlibs/ax203/jpeg_memsrcdest.h -@@ -1,5 +1,7 @@ - #include <jpeglib.h> - -+#if JPEG_LIB_VERSION < 80 && !defined(MEM_SRCDST_SUPPORTED) -+ - void - jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer, - unsigned long bufsize); -@@ -7,3 +9,5 @@ jpeg_mem_src (j_decompress_ptr cinfo, un - void - jpeg_mem_dest (j_compress_ptr cinfo, unsigned char ** outbuffer, - unsigned long * outsize); -+ -+#endif -Index: libgphoto2-2.5.10/camlibs/jl2005c/jpeg_memsrcdest.c -=================================================================== ---- libgphoto2-2.5.10.orig/camlibs/jl2005c/jpeg_memsrcdest.c -+++ libgphoto2-2.5.10/camlibs/jl2005c/jpeg_memsrcdest.c -@@ -25,8 +25,8 @@ - #include "jpeg_memsrcdest.h" - - /* libjpeg8 and later come with their own (API compatible) memory source -- and dest */ --#if JPEG_LIB_VERSION < 80 -+ and dest, and older versions may have it backported */ -+#if JPEG_LIB_VERSION < 80 && !defined(MEM_SRCDST_SUPPORTED) - - /* Expanded data source object for memory input */ - -Index: libgphoto2-2.5.10/camlibs/jl2005c/jpeg_memsrcdest.h -=================================================================== ---- libgphoto2-2.5.10.orig/camlibs/jl2005c/jpeg_memsrcdest.h -+++ libgphoto2-2.5.10/camlibs/jl2005c/jpeg_memsrcdest.h -@@ -1,5 +1,7 @@ - #include <jpeglib.h> - -+#if JPEG_LIB_VERSION < 80 && !defined(MEM_SRCDST_SUPPORTED) -+ - void - jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer, - unsigned long bufsize); -@@ -7,3 +9,5 @@ jpeg_mem_src (j_decompress_ptr cinfo, un - void - jpeg_mem_dest (j_compress_ptr cinfo, unsigned char ** outbuffer, - unsigned long * outsize); -+ -+#endif |