head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.4 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.2 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q2:1.1.0.12 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.10 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.8 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.6 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.4 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.2 pkgsrc-2011Q1-base:1.1; locks; strict; comment @// @; 1.2 date 2012.08.12.22.00.34; author wiz; state dead; branches; next 1.1; 1.1 date 2011.04.03.11.20.47; author wiz; state Exp; branches; next ; desc @@ 1.2 log @Update to 1.4.0: 1.4.0 (????-??-??) - Updated the compress_sci tool to add support for compressing the AUDIO001.002 audio files of the CD versions of King's Quest 5 and Jones in the Fast Lane. 1.3.0 (2011-05-28) - Fix bug #3092367: "TOOLS: Improve GUI for Ogg encoding options". 1.2.0 (2010-10-15) - Add extract_fascination_cd tool for extracting STK archives from a mode1/2048 Fascination CD image. - Fix bug #2984225: "Tools: configure should check if libwxgtk2.8-dev is installed". - Add version information to tools. - Respect $BINDIR when installing (similar to ScummVM). - Fix bug #2983010: GUI Tools builds even if optioned out. - Change the behavior of the CLI flags for MP3 encoding. - Add option to process other files at the end of a process. - Improve visual feedback after a process has finished. It should now be clear that it has finished and whether it was a success or not. 1.1.1 (2010-05-02) First tools version to contain a NEWS file. - Improve the way the images are loaded for the tools GUI. It increases the chances of success. - Fix bug #2984217: "Tools: The media directory is not intalled". - Fix bug #2905473: "GUI Tools: cannot use lame with compress_scumm_sou". - Patch #2982306: "set MP3 ABR bit rate in GUI Tools". - Patch #2982090: "Tools: include unistd.h for unlink". - Patch #2982091: "Tools: use $(INSTALL) instead of install". - Fix endian problem in create_sjisfnt. @ text @$NetBSD: patch-encode__dxa.cpp,v 1.1 2011/04/03 11:20:47 wiz Exp $ Fix build with png-1.5. --- encode_dxa.cpp.orig 2006-06-21 21:11:51.000000000 +0000 +++ encode_dxa.cpp @@@@ -217,10 +217,10 @@@@ int read_png_file(char* filename, unsign png_read_info(png_ptr, info_ptr); - width = info_ptr->width; - height = info_ptr->height; - color_type = info_ptr->color_type; - bit_depth = info_ptr->bit_depth; + width = png_get_image_width(png_ptr, info_ptr); + height = png_get_image_height(png_ptr, info_ptr); + color_type = png_get_color_type(png_ptr, info_ptr); + bit_depth = png_get_bit_depth(png_ptr, info_ptr); if (color_type != PNG_COLOR_TYPE_PALETTE) { palette = NULL; @@@@ -236,13 +236,13 @@@@ int read_png_file(char* filename, unsign row_pointers = (png_bytep*) malloc(sizeof(png_bytep) * height); for (int y=0; yrowbytes); + row_pointers[y] = (png_byte*) malloc(png_get_rowbytes(png_ptr, info_ptr)); png_read_image(png_ptr, row_pointers); image = new unsigned char[width * height]; for (int y=0; yrowbytes); + memcpy(&image[y*width], row_pointers[y], png_get_rowbytes(png_ptr, info_ptr)); for (int y=0; y