pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/libwmf



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Jul 22 13:43:46 UTC 2022

Modified Files:
        pkgsrc/graphics/libwmf: Makefile buildlink3.mk distinfo
        pkgsrc/graphics/libwmf/patches: patch-ad

Log Message:
libwmf: fix png name library in libwmf-config

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 pkgsrc/graphics/libwmf/Makefile
cvs rdiff -u -r1.31 -r1.32 pkgsrc/graphics/libwmf/buildlink3.mk
cvs rdiff -u -r1.23 -r1.24 pkgsrc/graphics/libwmf/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/graphics/libwmf/patches/patch-ad

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/libwmf/Makefile
diff -u pkgsrc/graphics/libwmf/Makefile:1.85 pkgsrc/graphics/libwmf/Makefile:1.86
--- pkgsrc/graphics/libwmf/Makefile:1.85        Mon Apr 18 19:09:53 2022
+++ pkgsrc/graphics/libwmf/Makefile     Fri Jul 22 13:43:46 2022
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.85 2022/04/18 19:09:53 adam Exp $
+# $NetBSD: Makefile,v 1.86 2022/07/22 13:43:46 wiz Exp $
 
 DISTNAME=      libwmf-0.2.8.4
-PKGREVISION=   21
+PKGREVISION=   22
 CATEGORIES=    graphics devel
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=wvware/}
 

Index: pkgsrc/graphics/libwmf/buildlink3.mk
diff -u pkgsrc/graphics/libwmf/buildlink3.mk:1.31 pkgsrc/graphics/libwmf/buildlink3.mk:1.32
--- pkgsrc/graphics/libwmf/buildlink3.mk:1.31   Mon Apr 18 19:09:53 2022
+++ pkgsrc/graphics/libwmf/buildlink3.mk        Fri Jul 22 13:43:46 2022
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.31 2022/04/18 19:09:53 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.32 2022/07/22 13:43:46 wiz Exp $
 
 BUILDLINK_TREE+=       libwmf
 
@@ -11,7 +11,7 @@ BUILDLINK_PKGSRCDIR.libwmf?=  ../../graph
 
 pkgbase:= libwmf
 .include "../../mk/pkg-build-options.mk"
-.if !empty(PKG_BUILD_OPTIONS.libwmf:Mx11)
+.if ${PKG_BUILD_OPTIONS.libwmf:Mx11}
 .include "../../x11/libX11/buildlink3.mk"
 .endif
 

Index: pkgsrc/graphics/libwmf/distinfo
diff -u pkgsrc/graphics/libwmf/distinfo:1.23 pkgsrc/graphics/libwmf/distinfo:1.24
--- pkgsrc/graphics/libwmf/distinfo:1.23        Tue Oct 26 10:46:30 2021
+++ pkgsrc/graphics/libwmf/distinfo     Fri Jul 22 13:43:46 2022
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.23 2021/10/26 10:46:30 nia Exp $
+$NetBSD: distinfo,v 1.24 2022/07/22 13:43:46 wiz Exp $
 
 BLAKE2s (libwmf-0.2.8.4.tar.gz) = e3eb4ff4d57da5b13f40a8c9ba0e847099de8994b25451bc6b931831cd28d97d
 SHA512 (libwmf-0.2.8.4.tar.gz) = d98df8e76a52245487b13e5ab3d2fbba9d246f97ee04a7344c0e5861bb2d0f990fc6d662dbd849ce621768b06eaebd4270fb34bec4ee004334a98b14ba6044a5
 Size (libwmf-0.2.8.4.tar.gz) = 2169375 bytes
 SHA1 (patch-aa) = e687f9f8c20e7a9b1ed4718c8d37b7407658c52c
-SHA1 (patch-ad) = b74be16c5da490394b86403009f5f35d80ba4bfa
+SHA1 (patch-ad) = dc16568018e244a211d6337cb26d3fb0f5534d52
 SHA1 (patch-ae) = f5cbb60757261aaf6084e9fcf16f9074b3013538
 SHA1 (patch-src_extra_gd_gd.c) = 4c00b5625cd054313c8780ed0fc4fb65520258a2
 SHA1 (patch-src_extra_gd_gd_gd.c) = 8678d62d2b1bbb5ee5d71c8e12e5f865ace98fdb

Index: pkgsrc/graphics/libwmf/patches/patch-ad
diff -u pkgsrc/graphics/libwmf/patches/patch-ad:1.5 pkgsrc/graphics/libwmf/patches/patch-ad:1.6
--- pkgsrc/graphics/libwmf/patches/patch-ad:1.5 Wed Jan 18 22:04:58 2006
+++ pkgsrc/graphics/libwmf/patches/patch-ad     Fri Jul 22 13:43:46 2022
@@ -1,6 +1,11 @@
-$NetBSD: patch-ad,v 1.5 2006/01/18 22:04:58 adam Exp $
+$NetBSD: patch-ad,v 1.6 2022/07/22 13:43:46 wiz Exp $
 
---- configure.orig     2005-07-27 23:47:12.000000000 +0200
+Add rpath for X libraries.
+Use proper library name for libpng; the unversioned one
+works inside pkgsrc, but this paths leaks to the libwmf-config
+script and breaks other software.
+
+--- configure.orig     2005-07-27 21:47:12.000000000 +0000
 +++ configure
 @@ -21916,7 +21916,7 @@ else
  
@@ -11,6 +16,44 @@ $NetBSD: patch-ad,v 1.5 2006/01/18 22:04
      # For Solaris; some versions of Sun CC require a space after -R and
      # others require no space.  Words are not sufficient . . . .
      case `(uname -sr) 2>/dev/null` in
+@@ -24373,13 +24373,13 @@ echo "${ECHO_T}$ac_cv_header_png_h" >&6
+ fi
+ if test $ac_cv_header_png_h = yes; then
+ 
+-      echo "$as_me:$LINENO: checking for png_write_image in -lpng" >&5
+-echo $ECHO_N "checking for png_write_image in -lpng... $ECHO_C" >&6
++      echo "$as_me:$LINENO: checking for png_write_image in -lpng16" >&5
++echo $ECHO_N "checking for png_write_image in -lpng16... $ECHO_C" >&6
+ if test "${ac_cv_lib_png_png_write_image+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lpng -lz -lm $LIBS"
++LIBS="-lpng16 -lz -lm $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
+ _ACEOF
+@@ -24441,9 +24441,9 @@ if test $ac_cv_lib_png_png_write_image =
+ 
+               if  test "x$PNG_DIR" != "x" ; then
+                       WMF_PNG_CFLAGS="-I$PNG_DIR/include"
+-                      WMF_PNG_LDFLAGS="-L$PNG_DIR/lib -lpng"
++                      WMF_PNG_LDFLAGS="-L$PNG_DIR/lib -lpng16"
+               else
+-                      WMF_PNG_LDFLAGS="-lpng"
++                      WMF_PNG_LDFLAGS="-lpng16"
+               fi
+ 
+ else
+@@ -24867,7 +24867,7 @@ fi
+ 
+       CPPFLAGS="$CPPFLAGS $WMF_FT_CFLAGS $WMF_PNG_CFLAGS $WMF_Z_CFLAGS"
+       LDFLAGS="$LDFLAGS $WMF_FT_LDFLAGS $WMF_PNG_LDFLAGS $WMF_Z_LDFLAGS"
+-      other_libs="$other_libs -lfreetype -lpng -lz -lm"
++      other_libs="$other_libs -lfreetype -lpng16 -lz -lm"
+ 
+       if test "${ac_cv_header_gd_h+set}" = set; then
+   echo "$as_me:$LINENO: checking for gd.h" >&5
 @@ -26007,7 +26007,7 @@ echo "${ECHO_T}$GDK_PIXBUF_LIBS" >&6
  
                GTK_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0`



Home | Main Index | Thread Index | Old Index