head 1.7; access; symbols pkgsrc-2026Q1:1.7.0.98 pkgsrc-2026Q1-base:1.7 pkgsrc-2025Q4:1.7.0.96 pkgsrc-2025Q4-base:1.7 pkgsrc-2025Q3:1.7.0.94 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.92 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.90 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.7.0.88 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.7.0.86 pkgsrc-2024Q3-base:1.7 pkgsrc-2024Q2:1.7.0.84 pkgsrc-2024Q2-base:1.7 pkgsrc-2024Q1:1.7.0.82 pkgsrc-2024Q1-base:1.7 pkgsrc-2023Q4:1.7.0.80 pkgsrc-2023Q4-base:1.7 pkgsrc-2023Q3:1.7.0.78 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.7.0.76 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.7.0.74 pkgsrc-2023Q1-base:1.7 pkgsrc-2022Q4:1.7.0.72 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.70 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.68 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.66 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.7.0.64 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.7.0.62 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.60 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.58 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.7.0.56 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.54 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.50 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.30 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.52 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.48 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.46 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.44 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.42 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.40 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.38 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.36 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.34 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.32 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.7.0.28 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.26 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.24 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.22 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.20 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.7.0.18 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.7.0.16 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.14 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.12 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.10 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.8 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.6 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.4 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.2 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.6.0.4 pkgsrc-2013Q4-base:1.6 pkgsrc-2013Q3:1.6.0.2 pkgsrc-2013Q3-base:1.6 pkgsrc-2013Q2:1.5.0.20 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.5.0.18 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.5.0.16 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.5.0.14 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.5.0.12 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.10 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.8 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.6 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.4 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.2 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.4.0.22 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.20 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.18 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.4.0.16 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.4.0.14 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.4.0.12 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.10 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.8 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.6 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.4 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.2 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.3.0.36 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.34 pkgsrc-2008Q1:1.3.0.32 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.30 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.28 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.26 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.24 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.22 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.20 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.18 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.16 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.14 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.12 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.10 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.8 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.6 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.4 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.2 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 buildlink2-base:1.2; locks; strict; comment @# @; 1.7 date 2014.03.23.01.37.27; author spz; state Exp; branches; next 1.6; commitid lfoPOcWBLBk4mLtx; 1.6 date 2013.08.17.14.39.24; author taca; state Exp; branches; next 1.5; commitid aqwxCY8bTWgMGO1x; 1.5 date 2011.02.25.17.02.53; author wiz; state Exp; branches; next 1.4; 1.4 date 2008.09.10.13.32.47; author taca; state Exp; branches; next 1.3; 1.3 date 2004.04.27.15.42.58; author adam; state Exp; branches; next 1.2; 1.2 date 2001.09.30.05.11.58; author itojun; state dead; branches; next 1.1; 1.1 date 2001.08.31.00.22.12; author itojun; state Exp; branches; next ; desc @@ 1.7 log @build fix following the freetype2 update @ text @$NetBSD: patch-ab,v 1.6 2013/08/17 14:39:24 taca Exp $ * Add support for freetype2 (2.4.* and 2.5.*). * Add some prototypes. --- mgp.h.orig 2008-01-18 17:43:20.000000000 +0000 +++ mgp.h @@@@ -64,7 +64,10 @@@@ #ifdef USE_XFT2 #include #include FT_FREETYPE_H -#include +#include FT_CONFIG_CONFIG_H +#include FT_TYPES_H +#include FT_ERRORS_H +#include FT_FREETYPE_H #include #ifdef HAVE_ICONV #include @@@@ -308,6 +311,12 @@@@ struct ctrl_pcache { struct ctrl { u_char ct_op; u_char ct_flag; + enum { + CTRL_DOUBLE, CTRL_INT, CTRL_INT2, CTRL_INT3, + CTRL_LONG, CTRL_CHAR, CTRL_CHAR2, CTRL_IMAGE, + CTRL_GRAD, CTRL_BAR, CTRL_ARGS, CTRL_ICON, + CTRL_AREA, CTRL_PCACHE, CTRL_VOID + } ct_type; u_int ct_page; struct ctrl *ct_next; union { @@@@ -507,7 +516,7 @@@@ struct render_object { float xzoom, yzoom; #ifdef USE_IMLIB int zoomonclk; - ImlibImage *imimage; + Imlib_Image *imimage; #endif } image; struct { @@@@ -745,6 +754,12 @@@@ extern int get_regid __P((char *)); extern void draw_line_itemsize __P((struct render_state *, int, int, int)); extern void draw_line_start __P((struct render_state *)); extern void draw_line_end __P ((struct render_state *)); +#ifdef USE_IMLIB +void manage_pixmap(Pixmap, int, int); +int search_zimage(int, int, int); +void zoomin_zimage(int); +void zoomout_zimage(int); +#endif #ifdef USE_M17N extern int obj_new_mtext __P((struct render_state *, int, int, @@@@ -814,6 +829,9 @@@@ extern XImage *tfc_image __P((struct tfo /* unimap.c */ extern void latin_unicode_map_init(); +#ifdef FREETYPE_CHARSET16 +extern void unicode_map_init(); +#endif /* embed.c */ extern char *embed_fname __P((char *)); @@@@ -843,6 +861,12 @@@@ extern void usleep __P((u_int)); #define COLOR_BUGFIX #endif +#ifdef MNG +/*mng.c*/ +void mngload(char *, int, int, int, int); +void mngpreload(struct render_state *, char *, int *, int *); +#endif + #ifdef USE_M17N /*m17n.c*/ extern void M17N_init __P((void)); @ 1.6 log @Fix build problem and suppress some warnings, espcially adapt to latest libmng API. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.5 2011/02/25 17:02:53 wiz Exp $ d3 1 a3 1 * Add Support freetype2. d14 3 a16 3 +#include +#include +#include @ 1.5 log @Convert to use imlib2, based on Debian patches. Set LICENSE. Bump PKGREVISION. @ text @d1 4 a4 1 $NetBSD: patch-ab,v 1.4 2008/09/10 13:32:47 taca Exp $ d8 1 a8 1 @@@@ -64,7 +64,9 @@@@ d14 1 d20 1 a20 1 @@@@ -308,6 +310,12 @@@@ struct ctrl_pcache { d33 1 a33 1 @@@@ -507,7 +515,7 @@@@ struct render_object { d42 1 a42 1 @@@@ -745,6 +753,11 @@@@ extern int get_regid __P((char *)); d47 1 d55 11 a65 1 @@@@ -843,6 +856,12 @@@@ extern void usleep __P((u_int)); @ 1.4 log @Update magicpoint to 1.13a. * Fix build error with xft2 option and graphics/freetype-lib package is installed. Shoud be fix PR pkg/32656. * Refering PR pkg/38552 adpot some of patches. * Move PKG_OPTIONS related item to options.mk. * More pkgsrc clean up. * Try to reduce compile warnings. What's new in 1.13a? * m17n library support enhancement * MacOS support enhancement * add new environment variable MGPRC for the path of the .mgprc file. * add "psfont" directive to specify the font used by mgp2ps * add -g option for mgp2ps to allow users to adjust line distanc * add -zoomonclk option for newimage * allow to handle gif format images by default * many bug fixes Dedication Magicpoint 1.13a is dedicated to the memory of Dr. Jun-ichiro "itojun" Hagino, who was known for his enormous contribution to the Internet and the Open Source Software community. He was the developer of Magicpoint from its infancy. Magicpoint could not exist without his devoted work. What's new in 1.12a? * add %tsystem directive which might be more stable than %xsystem * add -rotate option for newimage * allow to use non-ASCI filename in slides (use -U to enable this feature) * many bug fixes @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- mgp.h.orig 2008-01-19 02:43:20.000000000 +0900 d29 9 @ 1.3 log @Follow new FreeType2 building rules @ text @d3 1 a3 1 --- mgp.h.orig 2004-04-27 17:39:53.000000000 +0000 d5 1 a5 3 @@@@ -62,6 +62,7 @@@@ #include #include d7 6 a12 3 +#include #include #include d14 40 @ 1.2 log @upgrade to 1.09a. a lot of bugfixes, new directives, security hole fix (has been incorporated as pkgsrc patch), etc. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.1 2001/08/31 00:22:12 itojun Exp $ d3 10 a12 33 Plug security hole inherited from xloadimage. Index: image/faces.c =================================================================== RCS file: /usr/cvsroot/mgp/kit/image/faces.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- faces.c 1998/12/28 08:22:58 1.4 +++ faces.c 2001/08/30 17:10:30 1.5 @@@@ -18,6 +18,7 @@@@ #define HEXIGNORE -1 #define HEXBAD -2 +#define MAXFACESNAME 256 /* to avoid buffer overflow */ /* build a hex digit value table with the bits inverted */ @@@@ -107,10 +108,11 @@@@ while (zgets((byte *)buf, BUFSIZ - 1, zf)) { if (! strcmp(buf, "\n")) break; - if (!strncmp(buf, "FirstName:", 10)) - strcpy(fname, buf + 11); + if (!strncmp(buf, "FirstName:", 10)){ + strncpy(fname, buf + 11, MAXFACESNAME); + } else if (!strncmp(buf, "LastName:", 9)) - strcpy(lname, buf + 10); + strncpy(lname, buf + 10, MAXFACESNAME); else if (!strncmp(buf, "Image:", 6)) { if (sscanf(buf + 7, "%d%d%d", &iw, &ih, &id) != 3) { fprintf(stderr, "%s: Bad Faces Project image\n", fullname); @ 1.1 log @plug buffer overrun hole inherited from xloadimage. XXX package version number bump @ text @d1 1 a1 1 $NetBSD$ @