Skip to content

Commit

Permalink
add libpng16 package and updated sdl2 packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Ninoh-FOX committed Jun 6, 2021
1 parent 4a54777 commit a01d3b5
Show file tree
Hide file tree
Showing 48 changed files with 51 additions and 32 deletions.
Empty file.
1 change: 0 additions & 1 deletion board/opendingux/pg/target_skeleton/usr/lib/libpng16.so

This file was deleted.

1 change: 0 additions & 1 deletion board/opendingux/pg/target_skeleton/usr/lib/libpng16.so.16

This file was deleted.

Binary file not shown.
Empty file.
1 change: 0 additions & 1 deletion board/opendingux/pg2/target_skeleton/usr/lib/libpng16.so

This file was deleted.

This file was deleted.

Binary file not shown.
Empty file.
1 change: 0 additions & 1 deletion board/opendingux/pg2v2/target_skeleton/usr/lib/libpng16.so

This file was deleted.

This file was deleted.

Binary file not shown.
Empty file.

This file was deleted.

This file was deleted.

Binary file not shown.
Empty file.

This file was deleted.

This file was deleted.

Binary file not shown.
Empty file.
1 change: 0 additions & 1 deletion board/opendingux/rg350/target_skeleton/usr/lib/libpng16.so

This file was deleted.

This file was deleted.

Binary file not shown.
Empty file.

This file was deleted.

This file was deleted.

Binary file not shown.
Empty file.

This file was deleted.

This file was deleted.

Binary file not shown.
1 change: 1 addition & 0 deletions configs/playgo_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ BR2_PACKAGE_LIBHUGETLBFS=y
BR2_PACKAGE_LIGHTNING=y
BR2_PACKAGE_LIGHTREC=y
BR2_PACKAGE_JPEG_TURBO=y
BR2_PACKAGE_LIBPNG16=y
BR2_PACKAGE_LIBPTHREAD_STUBS=y
BR2_PACKAGE_LIBSIGC=y
BR2_PACKAGE_LIBMIKMOD=y
Expand Down
1 change: 1 addition & 0 deletions configs/playgov2_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ BR2_PACKAGE_LIBHUGETLBFS=y
BR2_PACKAGE_LIGHTNING=y
BR2_PACKAGE_LIGHTREC=y
BR2_PACKAGE_JPEG_TURBO=y
BR2_PACKAGE_LIBPNG16=y
BR2_PACKAGE_LIBPTHREAD_STUBS=y
BR2_PACKAGE_LIBSIGC=y
BR2_PACKAGE_LIBMIKMOD=y
Expand Down
1 change: 1 addition & 0 deletions configs/pocketgo2_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ BR2_PACKAGE_LIBHUGETLBFS=y
BR2_PACKAGE_LIGHTNING=y
BR2_PACKAGE_LIGHTREC=y
BR2_PACKAGE_JPEG_TURBO=y
BR2_PACKAGE_LIBPNG16=y
BR2_PACKAGE_LIBPTHREAD_STUBS=y
BR2_PACKAGE_LIBSIGC=y
BR2_PACKAGE_LIBMIKMOD=y
Expand Down
1 change: 1 addition & 0 deletions configs/pocketgo2v2_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ BR2_PACKAGE_LIBHUGETLBFS=y
BR2_PACKAGE_LIGHTNING=y
BR2_PACKAGE_LIGHTREC=y
BR2_PACKAGE_JPEG_TURBO=y
BR2_PACKAGE_LIBPNG16=y
BR2_PACKAGE_LIBPTHREAD_STUBS=y
BR2_PACKAGE_LIBSIGC=y
BR2_PACKAGE_LIBMIKMOD=y
Expand Down
1 change: 1 addition & 0 deletions configs/rg280m_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ BR2_PACKAGE_LIBHUGETLBFS=y
BR2_PACKAGE_LIGHTNING=y
BR2_PACKAGE_LIGHTREC=y
BR2_PACKAGE_JPEG_TURBO=y
BR2_PACKAGE_LIBPNG16=y
BR2_PACKAGE_LIBPTHREAD_STUBS=y
BR2_PACKAGE_LIBSIGC=y
BR2_PACKAGE_LIBMIKMOD=y
Expand Down
1 change: 1 addition & 0 deletions configs/rg280v_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ BR2_PACKAGE_LIBHUGETLBFS=y
BR2_PACKAGE_LIGHTNING=y
BR2_PACKAGE_LIGHTREC=y
BR2_PACKAGE_JPEG_TURBO=y
BR2_PACKAGE_LIBPNG16=y
BR2_PACKAGE_LIBPTHREAD_STUBS=y
BR2_PACKAGE_LIBSIGC=y
BR2_PACKAGE_LIBMIKMOD=y
Expand Down
1 change: 1 addition & 0 deletions configs/rg350_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ BR2_PACKAGE_LIBHUGETLBFS=y
BR2_PACKAGE_LIGHTNING=y
BR2_PACKAGE_LIGHTREC=y
BR2_PACKAGE_JPEG_TURBO=y
BR2_PACKAGE_LIBPNG16=y
BR2_PACKAGE_LIBPTHREAD_STUBS=y
BR2_PACKAGE_LIBSIGC=y
BR2_PACKAGE_LIBMIKMOD=y
Expand Down
1 change: 1 addition & 0 deletions configs/rg350m_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ BR2_PACKAGE_LIBHUGETLBFS=y
BR2_PACKAGE_LIGHTNING=y
BR2_PACKAGE_LIGHTREC=y
BR2_PACKAGE_JPEG_TURBO=y
BR2_PACKAGE_LIBPNG16=y
BR2_PACKAGE_LIBPTHREAD_STUBS=y
BR2_PACKAGE_LIBSIGC=y
BR2_PACKAGE_LIBMIKMOD=y
Expand Down
1 change: 1 addition & 0 deletions configs/rg350p_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ BR2_PACKAGE_LIBHUGETLBFS=y
BR2_PACKAGE_LIGHTNING=y
BR2_PACKAGE_LIGHTREC=y
BR2_PACKAGE_JPEG_TURBO=y
BR2_PACKAGE_LIBPNG16=y
BR2_PACKAGE_LIBPTHREAD_STUBS=y
BR2_PACKAGE_LIBSIGC=y
BR2_PACKAGE_LIBMIKMOD=y
Expand Down
1 change: 1 addition & 0 deletions package/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,7 @@ menu "Graphics"
source "package/libglu/Config.in"
source "package/libgtk2/Config.in"
source "package/libpng/Config.in"
source "package/libpng16/Config.in"
source "package/libqrencode/Config.in"
source "package/libraw/Config.in"
source "package/librsvg/Config.in"
Expand Down
6 changes: 3 additions & 3 deletions package/libpng/libpng.mk
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
################################################################################
#
# libpng
# libpng 1.4.13 >> 1.4.15
#
################################################################################

LIBPNG_VERSION = 1.4.13
LIBPNG_VERSION = 1.4.15
LIBPNG_SERIES = 14
LIBPNG_SOURCE = libpng-$(LIBPNG_VERSION).tar.bz2
LIBPNG_SOURCE = libpng-$(LIBPNG_VERSION).tar.gz
LIBPNG_SITE = http://downloads.sourceforge.net/project/libpng/libpng${LIBPNG_SERIES}/older-releases/$(LIBPNG_VERSION)
LIBPNG_LICENSE = libpng license
LIBPNG_LICENSE_FILES = LICENSE
Expand Down
8 changes: 8 additions & 0 deletions package/libpng16/Config.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
config BR2_PACKAGE_LIBPNG16
bool "libpng16"
select BR2_PACKAGE_ZLIB
help
Library for handling PNG (Portable Network Graphics)
images.

http://www.libpng.org/
18 changes: 18 additions & 0 deletions package/libpng16/libpng16.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
################################################################################
#
# libpng16
#
################################################################################

LIBPNG16_VERSION = 1.6.16
LIBPNG16_SERIES = 16
LIBPNG16_SOURCE = libpng-$(LIBPNG16_VERSION).tar.gz
LIBPNG16_SITE = http://downloads.sourceforge.net/project/libpng/libpng${LIBPNG16_SERIES}/older-releases/$(LIBPNG16_VERSION)
LIBPNG16_LICENSE = libpng license
LIBPNG16_LICENSE_FILES = LICENSE
LIBPNG16_INSTALL_STAGING = YES
LIBPNG16_DEPENDENCIES = host-pkgconf zlib
LIBPNG16_CONFIG_SCRIPTS = libpng$(LIBPNG16_SERIES)-config libpng-config

$(eval $(autotools-package))
$(eval $(host-autotools-package))
17 changes: 8 additions & 9 deletions package/sdl2_image/sdl2_image-libpng14.patch
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
diff -ru SDL2_image-2.0.0.org/IMG_png.c sdl2_image-2.0.0/IMG_png.c
--- SDL2_image-2.0.0.org/IMG_png.c 2013-08-10 19:38:36.000000000 +0200
+++ sdl2_image-2.0.0/IMG_png.c 2014-07-03 19:57:14.773270137 +0200
@@ -76,6 +76,7 @@
--- a/IMG_png.c 2019-06-30 06:52:03.000000000 +0200
+++ b/IMG_png.c 2021-06-06 09:05:44.499550925 +0200
@@ -86,6 +86,7 @@
#if (PNG_LIBPNG_VER_MINOR < 6)
typedef png_structp png_const_structrp;
typedef png_infop png_const_inforp;
typedef png_structp png_structrp;
typedef png_infop png_inforp;
+typedef png_bytep png_const_bytep;
#endif
#endif

typedef png_const_structp png_const_structrp;
typedef png_const_infop png_const_inforp;
/* noconst15: version < 1.6 doesn't have const, >= 1.6 adds it */
4 changes: 2 additions & 2 deletions package/sdl2_image/sdl2_image.mk
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
################################################################################
#
# sdl2_image
# sdl2_image 2.0.0>>2.0.5
#
################################################################################

SDL2_IMAGE_VERSION = 2.0.0
SDL2_IMAGE_VERSION = 2.0.5
SDL2_IMAGE_SOURCE = SDL2_image-$(SDL2_IMAGE_VERSION).tar.gz
SDL2_IMAGE_SITE = http://www.libsdl.org/projects/SDL_image/release
SDL2_IMAGE_INSTALL_STAGING = YES
Expand Down
4 changes: 2 additions & 2 deletions package/sdl2_mixer/sdl2_mixer.mk
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
################################################################################
#
# sdl2_mixer 2.0.1>>2.0.0
# sdl2_mixer 2.0.4>>2.0.1>>2.0.0
#
################################################################################

SDL2_MIXER_VERSION = 2.0.1
SDL2_MIXER_VERSION = 2.0.4
SDL2_MIXER_SOURCE = SDL2_mixer-$(SDL2_MIXER_VERSION).tar.gz
SDL2_MIXER_SITE = http://www.libsdl.org/projects/SDL_mixer/release/
SDL2_MIXER_INSTALL_STAGING = YES
Expand Down

0 comments on commit a01d3b5

Please sign in to comment.