libpng update 16

Riccardo Mottola rmottola at opencsw.org
Sun Apr 19 11:05:38 CEST 2015


Hi,

I undeterook the effort to update libpng, I have not yet commited 
anything, I understand that it is delicate about so-names and other 
issues and I don't want to mess up since I am not the maintainer.
I want to have it working on solaris 9 & 10.

I have the patch pasted below, any comments? If you prefer, I can commit.
I essentially replaced 15 verywhere with 16, that should give a new soname

I think I get a reasonable result:


However I get this warning:
CHECKPKG_OVERRIDES_CSWlibpng-dev += missing-dependency|CSWlibz1

http://buildfarm.opencsw.org/pkgdb/srv4/0bf6255600e4f6656533564e33a5b9a9/

I think the culprit is:

1 s none /opt/csw/lib/libpng.so=libpng16.so
1 s none /opt/csw/lib/libpng16.so=libpng16.so.16.16.0

is the second linkk correct? Or should it be in the


which makes no sense, a dev package should not depend on a library, at 
most it could depend on its -dev library, but I don't think that is the 
error message, right?


Riccardo



+++ Makefile    (working copy)
@@ -1,4 +1,4 @@
-# Copyright 2009 OpenCSW
+# Copyright 2009-2015 OpenCSW
  # Distributed under the terms of the GNU General Public License v2
  # $Id$
  #
@@ -10,7 +10,7 @@
  #   pentium_pro

  NAME = libpng
-VERSION = 1.5.13
+VERSION = 1.6.16
  GARTYPE = v2
  DESCRIPTION = The official library for Portable Network Graphics 
format (PNG)
  define BLURB
@@ -27,19 +27,26 @@
  EXTRA_BUILD_ISAS += sparcv8plus+vis2
  EXTRA_BUILD_ISAS += pentium_pro

+#where can we build?
+PACKAGING_PLATFORMS += solaris9-sparc
+PACKAGING_PLATFORMS += solaris9-i386
+PACKAGING_PLATFORMS += solaris10-sparc
+PACKAGING_PLATFORMS += solaris10-i386
+
+
  PACKAGES = CSWlibpng-dev
  SPKG_DESC_CSWlibpng-dev = $(DESCRIPTION), development files
-RUNTIME_DEP_PKGS_CSWlibpng-dev += CSWlibpng15-15
+RUNTIME_DEP_PKGS_CSWlibpng-dev += CSWlibpng16-16

-PACKAGES += CSWlibpng15-15
-CATALOGNAME_CSWlibpng15-15 = libpng15_15
-PKGFILES_CSWlibpng15-15 += $(call 
baseisadirs,$(libdir),libpng15\.so\.15(\.\d+)*)
-SPKG_DESC_CSWlibpng15-15 += $(DESCRIPTION), libpng15.so.15
-RUNTIME_DEP_PKGS_CSWlibpng += CSWlibpng15-15
-RUNTIME_DEP_PKGS_CSWlibpng15-15 += CSWlibz1
+PACKAGES += CSWlibpng16-16
+CATALOGNAME_CSWlibpng16-16 = libpng16_16
+PKGFILES_CSWlibpng16-16+= $(call 
baseisadirs,$(libdir),libpng16\.so\.16(\.\d+)*)
+SPKG_DESC_CSWlibpng16-16 += $(DESCRIPTION), libpng16.so.16
+RUNTIME_DEP_PKGS_CSWlibpng += CSWlibpng16-16
+RUNTIME_DEP_PKGS_CSWlibpng16-16 += CSWlibz1

  # The CSWpng package must also pull in libpng.so.3 and libpng12.so.0
-OBSOLETED_BY_CSWlibpng15-15 = CSWpng
+OBSOLETED_BY_CSWlibpng16-16 = CSWpng



More information about the maintainers mailing list