pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/imlib2



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Feb 20 15:14:57 UTC 2020

Modified Files:
        pkgsrc/graphics/imlib2: Makefile PLIST distinfo
Added Files:
        pkgsrc/graphics/imlib2/patches: patch-src_bin_imlib2__view.c

Log Message:
imlib2: Update to 1.6.1

***
*** Version 1.6.1 ***
***

Kim Woelders (11):
      gz loader: Use FILE, not fd
      gz, bz2 loaders: Fix recent breakage when file name has more than two dots
      Quit on 'q' or 'esc' key press in all imlib2_... test utilities
      Rename imlib2_test_load to imlib2_load
      imlib2_load: Optionally write to stderr instead of stdout
      imlib2_view: Add progress debug options
      Enable specifying loader/filter paths with environment variables
      BMP loader: Remove some bogus conditions
      XPM loader: Minor optimization for cpp > 2
      LBM loader: Fix header-only loading
      1.6.1

Luiz Carlos Ramos (1):
      BMP loader: Fix size calculation when saving files

***
*** Version 1.6.0 ***
***

Alexander Volkov (1):
      Allow to use custom memory management functions for loaded images

Kim Woelders (64):
      Add __imlib_LoadImageWrapper() handling all load() calls
      imlib2_conv: Report error on save failure
      Autofoo cosmetics
      Trivial cleanups in imlib2_... test programs
      Add imlib2_test_load program
      Cleanups in load() functions
      Centralize handling of im->format
      Sort loaders in Makefile.am
      Remove obsolete dmalloc stuff
      Move SWAP.. macro definitions to common.h
      Use common PIXEL_ARGB() macro to compose pixels
      Add new ICO loader
      Spec file simlifications and cleanups
      Fix memory leak in imlib_list_fonts()
      XPM loader: Refactor exit cleanup handling
      XPM loader: Fix potentially uninitialized pixel data
      XPM loader: Fixup after "Refactor exit cleanup handling"
      Revert "XPM loader: Fix potentially uninitialized pixel data"
      XPM loader: Cosmetics (reduce indent level)
      XPM loader: Fix several colormap issues
      XPM loader: Simplify pixel value handling
      XPM loader: Add missing pixels (malformed xpm)
      XPM loader: More simplifications
      JPG loader: Refactor
      JPG loader: Do proper CMYK conversion
      Add new WebP loader
      Remove pointless im->data checks in loaders
      WepP loader: Fix memory leak in error path
      JPG loader: Fix memory leaks in error paths
      Fix ABI break
      ICO loader: Add binary flag to fopen()
      JPG loader: Refactor error handling
      Rename/add byte swap macros
      BMP loader: Major makeover - numerous bug fixes and feature enhancements
      Miscellaneous imlib_test_load tweaks
      GZIP loader: Check filename before uncompress
      imlib2_test_load: Fixup after recent change
      Re-indent everything using indent-2.2.12
      TGA loader: Refactor
      Eliminate WRITE_RGBA()
      Simplify autogen.sh
      Simplify pixel color handling in api.c
      Use pixel instead of r,b,g,a in __imlib_render_str()
      Use macro for pixel color access in savers
      Eliminate READ_RGBA()
      XPM loader: Accept signature not at the very start of the file
      Simplify loader lookup functions
      imlib2_view: Enable selecting next/prev using keys too
      imlib2_view: Fix event processing bug
      imlib2_test_load: Fixup recent breakage for real
      imlib2_test_load: Check progress conditionally
      imlib2_view: Add verbose option, quit on Escape too
      TGA loader - Mostly cosmetic refactoring
      TGA loader: More mostly cosmetic changes
      TGA loader: Support horiontal flip
      TGA loader: Add simple 16 bpp handling
      TGA loader: Tweak error handling
      ICO loader: Fix non-immediate loading
      Remove __imlib_AllocateData() w,h args
      imlib2_view: Fix next/prev selection if last/first image is bad
      ICO loader: Fix memory leak in error path
      XPM loader: Correct signature check (avoid accessing unset data)
      gz, bz2 loaders: Simplify, eliminate unnecessary strdups, cosmetics
      1.6.0.


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 pkgsrc/graphics/imlib2/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/graphics/imlib2/PLIST
cvs rdiff -u -r1.39 -r1.40 pkgsrc/graphics/imlib2/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/graphics/imlib2/patches/patch-src_bin_imlib2__view.c

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

Modified files:

Index: pkgsrc/graphics/imlib2/Makefile
diff -u pkgsrc/graphics/imlib2/Makefile:1.76 pkgsrc/graphics/imlib2/Makefile:1.77
--- pkgsrc/graphics/imlib2/Makefile:1.76        Thu Nov 29 13:58:58 2018
+++ pkgsrc/graphics/imlib2/Makefile     Thu Feb 20 15:14:56 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.76 2018/11/29 13:58:58 leot Exp $
+# $NetBSD: Makefile,v 1.77 2020/02/20 15:14:56 nia Exp $
 
-DISTNAME=      imlib2-1.5.1
+DISTNAME=      imlib2-1.6.1
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=enlightenment/}
 EXTRACT_SUFX=  .tar.bz2
@@ -26,12 +26,13 @@ SHLIB_SUFFIX=               sl
 SHLIB_SUFFIX=          so
 .endif
 
-SUBST_CLASSES+=                shlib rpath
+SUBST_CLASSES+=                shlib
 SUBST_STAGE.shlib=     pre-configure
 SUBST_MESSAGE.shlib=   Replacing shared library suffix
 SUBST_FILES.shlib+=    src/lib/image.c
 SUBST_SED.shlib+=      -e 's,"\.so",".${SHLIB_SUFFIX}",'
 
+SUBST_CLASSES+=                rpath
 SUBST_STAGE.rpath=     pre-configure
 SUBST_MESSAGE.rpath=   Replacing COMPILER_RPATH_FLAG
 SUBST_FILES.rpath=     imlib2-config.in

Index: pkgsrc/graphics/imlib2/PLIST
diff -u pkgsrc/graphics/imlib2/PLIST:1.12 pkgsrc/graphics/imlib2/PLIST:1.13
--- pkgsrc/graphics/imlib2/PLIST:1.12   Sun May  1 20:58:41 2016
+++ pkgsrc/graphics/imlib2/PLIST        Thu Feb 20 15:14:56 2020
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.12 2016/05/01 20:58:41 leot Exp $
+@comment $NetBSD: PLIST,v 1.13 2020/02/20 15:14:56 nia Exp $
 bin/imlib2-config
 ${PLIST.x11}bin/imlib2_bumpmap
 ${PLIST.x11}bin/imlib2_colorspace
 bin/imlib2_conv
 ${PLIST.x11}bin/imlib2_grab
+bin/imlib2_load
 ${PLIST.x11}bin/imlib2_poly
 ${PLIST.x11}bin/imlib2_show
 ${PLIST.x11}bin/imlib2_test
@@ -17,6 +18,7 @@ lib/imlib2/loaders/bmp.la
 lib/imlib2/loaders/bz2.la
 lib/imlib2/loaders/ff.la
 lib/imlib2/loaders/gif.la
+lib/imlib2/loaders/ico.la
 lib/imlib2/loaders/jpeg.la
 lib/imlib2/loaders/lbm.la
 lib/imlib2/loaders/png.la

Index: pkgsrc/graphics/imlib2/distinfo
diff -u pkgsrc/graphics/imlib2/distinfo:1.39 pkgsrc/graphics/imlib2/distinfo:1.40
--- pkgsrc/graphics/imlib2/distinfo:1.39        Thu Nov 29 13:58:58 2018
+++ pkgsrc/graphics/imlib2/distinfo     Thu Feb 20 15:14:56 2020
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.39 2018/11/29 13:58:58 leot Exp $
+$NetBSD: distinfo,v 1.40 2020/02/20 15:14:56 nia Exp $
 
-SHA1 (imlib2-1.5.1.tar.bz2) = 3e97e7157380f0cfbdf4f3c950a7a00bdfa6072c
-RMD160 (imlib2-1.5.1.tar.bz2) = 10afbce09a9e710beaadf04cce76e9885024dfd6
-SHA512 (imlib2-1.5.1.tar.bz2) = f9d971674887d4af067c6921e34b6fe598db0317052bc864b676c526b36373ce021d9d49cad95aa64dbbd8e74f1831ddf3ed105900e3df2b66a6b53f7f27c732
-Size (imlib2-1.5.1.tar.bz2) = 919810 bytes
+SHA1 (imlib2-1.6.1.tar.bz2) = 3b5f850e83cbb7481e33061348fb9c7a555c8c60
+RMD160 (imlib2-1.6.1.tar.bz2) = 3e3d6fe5d6295f74abd4fa6c8d1e501368645f2c
+SHA512 (imlib2-1.6.1.tar.bz2) = ecdbdbfe8767ec2b1f22ce664cbab5e1d3f75be7a3c8f37488f5243b3c31dbc433414b8d50d2d1b70c67a80e31e42cc5398161991ce3955e991c114c82ddd58f
+Size (imlib2-1.6.1.tar.bz2) = 893119 bytes
 SHA1 (patch-imlib2-config.in) = 22bd429a029e1071f1920ed2261cb94fd66b1146
+SHA1 (patch-src_bin_imlib2__view.c) = 53a7bdb2e1f8687db095b796b46945ee5a72f552
 SHA1 (patch-src_lib_amd64__blend.S) = 09e89c6b1d6fb622b3ee88f6c3a5e9b6f3ab3fad
 SHA1 (patch-src_lib_amd64__blend__cmod.S) = d533eeacd4b196086f1854c657d3e0773596790b

Added files:

Index: pkgsrc/graphics/imlib2/patches/patch-src_bin_imlib2__view.c
diff -u /dev/null pkgsrc/graphics/imlib2/patches/patch-src_bin_imlib2__view.c:1.1
--- /dev/null   Thu Feb 20 15:14:57 2020
+++ pkgsrc/graphics/imlib2/patches/patch-src_bin_imlib2__view.c Thu Feb 20 15:14:57 2020
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_bin_imlib2__view.c,v 1.1 2020/02/20 15:14:57 nia Exp $
+
+Include sys/time.h for timeval.
+
+--- src/bin/imlib2_view.c.orig 2019-12-11 17:55:27.000000000 +0000
++++ src/bin/imlib2_view.c
+@@ -2,6 +2,7 @@
+ 
+ #include <X11/Xlib.h>
+ #include <X11/keysym.h>
++#include <sys/time.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <errno.h>



Home | Main Index | Thread Index | Old Index