head 1.12; access; symbols pkgsrc-2026Q1:1.12.0.122 pkgsrc-2026Q1-base:1.12 pkgsrc-2025Q4:1.12.0.120 pkgsrc-2025Q4-base:1.12 pkgsrc-2025Q3:1.12.0.118 pkgsrc-2025Q3-base:1.12 pkgsrc-2025Q2:1.12.0.116 pkgsrc-2025Q2-base:1.12 pkgsrc-2025Q1:1.12.0.114 pkgsrc-2025Q1-base:1.12 pkgsrc-2024Q4:1.12.0.112 pkgsrc-2024Q4-base:1.12 pkgsrc-2024Q3:1.12.0.110 pkgsrc-2024Q3-base:1.12 pkgsrc-2024Q2:1.12.0.108 pkgsrc-2024Q2-base:1.12 pkgsrc-2024Q1:1.12.0.106 pkgsrc-2024Q1-base:1.12 pkgsrc-2023Q4:1.12.0.104 pkgsrc-2023Q4-base:1.12 pkgsrc-2023Q3:1.12.0.102 pkgsrc-2023Q3-base:1.12 pkgsrc-2023Q2:1.12.0.100 pkgsrc-2023Q2-base:1.12 pkgsrc-2023Q1:1.12.0.98 pkgsrc-2023Q1-base:1.12 pkgsrc-2022Q4:1.12.0.96 pkgsrc-2022Q4-base:1.12 pkgsrc-2022Q3:1.12.0.94 pkgsrc-2022Q3-base:1.12 pkgsrc-2022Q2:1.12.0.92 pkgsrc-2022Q2-base:1.12 pkgsrc-2022Q1:1.12.0.90 pkgsrc-2022Q1-base:1.12 pkgsrc-2021Q4:1.12.0.88 pkgsrc-2021Q4-base:1.12 pkgsrc-2021Q3:1.12.0.86 pkgsrc-2021Q3-base:1.12 pkgsrc-2021Q2:1.12.0.84 pkgsrc-2021Q2-base:1.12 pkgsrc-2021Q1:1.12.0.82 pkgsrc-2021Q1-base:1.12 pkgsrc-2020Q4:1.12.0.80 pkgsrc-2020Q4-base:1.12 pkgsrc-2020Q3:1.12.0.78 pkgsrc-2020Q3-base:1.12 pkgsrc-2020Q2:1.12.0.74 pkgsrc-2020Q2-base:1.12 pkgsrc-2020Q1:1.12.0.54 pkgsrc-2020Q1-base:1.12 pkgsrc-2019Q4:1.12.0.76 pkgsrc-2019Q4-base:1.12 pkgsrc-2019Q3:1.12.0.72 pkgsrc-2019Q3-base:1.12 pkgsrc-2019Q2:1.12.0.70 pkgsrc-2019Q2-base:1.12 pkgsrc-2019Q1:1.12.0.68 pkgsrc-2019Q1-base:1.12 pkgsrc-2018Q4:1.12.0.66 pkgsrc-2018Q4-base:1.12 pkgsrc-2018Q3:1.12.0.64 pkgsrc-2018Q3-base:1.12 pkgsrc-2018Q2:1.12.0.62 pkgsrc-2018Q2-base:1.12 pkgsrc-2018Q1:1.12.0.60 pkgsrc-2018Q1-base:1.12 pkgsrc-2017Q4:1.12.0.58 pkgsrc-2017Q4-base:1.12 pkgsrc-2017Q3:1.12.0.56 pkgsrc-2017Q3-base:1.12 pkgsrc-2017Q2:1.12.0.52 pkgsrc-2017Q2-base:1.12 pkgsrc-2017Q1:1.12.0.50 pkgsrc-2017Q1-base:1.12 pkgsrc-2016Q4:1.12.0.48 pkgsrc-2016Q4-base:1.12 pkgsrc-2016Q3:1.12.0.46 pkgsrc-2016Q3-base:1.12 pkgsrc-2016Q2:1.12.0.44 pkgsrc-2016Q2-base:1.12 pkgsrc-2016Q1:1.12.0.42 pkgsrc-2016Q1-base:1.12 pkgsrc-2015Q4:1.12.0.40 pkgsrc-2015Q4-base:1.12 pkgsrc-2015Q3:1.12.0.38 pkgsrc-2015Q3-base:1.12 pkgsrc-2015Q2:1.12.0.36 pkgsrc-2015Q2-base:1.12 pkgsrc-2015Q1:1.12.0.34 pkgsrc-2015Q1-base:1.12 pkgsrc-2014Q4:1.12.0.32 pkgsrc-2014Q4-base:1.12 pkgsrc-2014Q3:1.12.0.30 pkgsrc-2014Q3-base:1.12 pkgsrc-2014Q2:1.12.0.28 pkgsrc-2014Q2-base:1.12 pkgsrc-2014Q1:1.12.0.26 pkgsrc-2014Q1-base:1.12 pkgsrc-2013Q4:1.12.0.24 pkgsrc-2013Q4-base:1.12 pkgsrc-2013Q3:1.12.0.22 pkgsrc-2013Q3-base:1.12 pkgsrc-2013Q2:1.12.0.20 pkgsrc-2013Q2-base:1.12 pkgsrc-2013Q1:1.12.0.18 pkgsrc-2013Q1-base:1.12 pkgsrc-2012Q4:1.12.0.16 pkgsrc-2012Q4-base:1.12 pkgsrc-2012Q3:1.12.0.14 pkgsrc-2012Q3-base:1.12 pkgsrc-2012Q2:1.12.0.12 pkgsrc-2012Q2-base:1.12 pkgsrc-2012Q1:1.12.0.10 pkgsrc-2012Q1-base:1.12 pkgsrc-2011Q4:1.12.0.8 pkgsrc-2011Q4-base:1.12 pkgsrc-2011Q3:1.12.0.6 pkgsrc-2011Q3-base:1.12 pkgsrc-2011Q2:1.12.0.4 pkgsrc-2011Q2-base:1.12 pkgsrc-2011Q1:1.12.0.2 pkgsrc-2011Q1-base:1.12 pkgsrc-2010Q4:1.11.0.22 pkgsrc-2010Q4-base:1.11 pkgsrc-2010Q3:1.11.0.20 pkgsrc-2010Q3-base:1.11 pkgsrc-2010Q2:1.11.0.18 pkgsrc-2010Q2-base:1.11 pkgsrc-2010Q1:1.11.0.16 pkgsrc-2010Q1-base:1.11 pkgsrc-2009Q4:1.11.0.14 pkgsrc-2009Q4-base:1.11 pkgsrc-2009Q3:1.11.0.12 pkgsrc-2009Q3-base:1.11 pkgsrc-2009Q2:1.11.0.10 pkgsrc-2009Q2-base:1.11 pkgsrc-2009Q1:1.11.0.8 pkgsrc-2009Q1-base:1.11 pkgsrc-2008Q4:1.11.0.6 pkgsrc-2008Q4-base:1.11 pkgsrc-2008Q3:1.11.0.4 pkgsrc-2008Q3-base:1.11 cube-native-xorg:1.11.0.2 cube-native-xorg-base:1.11 pkgsrc-2008Q2:1.10.0.38 pkgsrc-2008Q2-base:1.10 cwrapper:1.10.0.36 pkgsrc-2008Q1:1.10.0.34 pkgsrc-2008Q1-base:1.10 pkgsrc-2007Q4:1.10.0.32 pkgsrc-2007Q4-base:1.10 pkgsrc-2007Q3:1.10.0.30 pkgsrc-2007Q3-base:1.10 pkgsrc-2007Q2:1.10.0.28 pkgsrc-2007Q2-base:1.10 pkgsrc-2007Q1:1.10.0.26 pkgsrc-2007Q1-base:1.10 pkgsrc-2006Q4:1.10.0.24 pkgsrc-2006Q4-base:1.10 pkgsrc-2006Q3:1.10.0.22 pkgsrc-2006Q3-base:1.10 pkgsrc-2006Q2:1.10.0.20 pkgsrc-2006Q2-base:1.10 pkgsrc-2006Q1:1.10.0.18 pkgsrc-2006Q1-base:1.10 pkgsrc-2005Q4:1.10.0.16 pkgsrc-2005Q4-base:1.10 pkgsrc-2005Q3:1.10.0.14 pkgsrc-2005Q3-base:1.10 pkgsrc-2005Q2:1.10.0.12 pkgsrc-2005Q2-base:1.10 pkgsrc-2005Q1:1.10.0.10 pkgsrc-2005Q1-base:1.10 pkgsrc-2004Q4:1.10.0.8 pkgsrc-2004Q4-base:1.10 pkgsrc-2004Q3:1.10.0.6 pkgsrc-2004Q3-base:1.10 pkgsrc-2004Q2:1.10.0.4 pkgsrc-2004Q2-base:1.10 pkgsrc-2004Q1:1.10.0.2 pkgsrc-2004Q1-base:1.10 pkgsrc-2003Q4:1.9.0.2 pkgsrc-2003Q4-base:1.9 netbsd-1-6-1:1.8.0.6 netbsd-1-6-1-base:1.8 netbsd-1-6:1.8.0.8 netbsd-1-6-RELEASE-base:1.8 pkgviews:1.8.0.4 pkgviews-base:1.8 buildlink2:1.8.0.2 buildlink2-base:1.8 netbsd-1-5-PATCH003:1.8 netbsd-1-4-PATCH002:1.4 netbsd-1-4-RELEASE:1.2 netbsd-1-3-PATCH003:1.1; locks; strict; comment @# @; 1.12 date 2011.02.25.17.02.53; author wiz; state Exp; branches; next 1.11; 1.11 date 2008.09.10.13.32.47; author taca; state Exp; branches; next 1.10; 1.10 date 2004.01.12.15.19.28; author wennmach; state Exp; branches; next 1.9; 1.9 date 2003.09.11.16.09.40; author jmmv; state Exp; branches; next 1.8; 1.8 date 2001.09.14.05.41.06; author jlam; state Exp; branches; next 1.7; 1.7 date 2001.07.31.05.27.31; author jlam; state Exp; branches; next 1.6; 1.6 date 2000.07.27.08.13.14; author jlam; state dead; branches; next 1.5; 1.5 date 2000.05.30.21.09.51; author drochner; state Exp; branches; next 1.4; 1.4 date 99.10.28.04.14.03; author jlam; state Exp; branches; next 1.3; 1.3 date 99.06.17.08.00.31; author itojun; state dead; branches; next 1.2; 1.2 date 98.11.11.06.28.40; author garbled; state Exp; branches; next 1.1; 1.1 date 98.08.24.19.02.15; author augustss; state Exp; branches; next ; desc @@ 1.12 log @Convert to use imlib2, based on Debian patches. Set LICENSE. Bump PKGREVISION. @ text @$NetBSD: patch-aa,v 1.11 2008/09/10 13:32:47 taca Exp $ --- configure.orig 2007-12-28 20:31:26.000000000 +0000 +++ configure @@@@ -1285,7 +1285,7 @@@@ Optional Features: --enable-freetype-charset16 use freetype for chaset16. --disable-xft2 DON'T use xft2 libraries. --enable-gif compile gif support in (need libungif). - --enable-imlib use imlib exclusively to load images. + --enable-imlib use imlib2 exclusively to load images. Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@@@ -5090,7 +5090,7 @@@@ if test "$mgp_use_freetype" = "yes"; the # XXX: freetype2 may use freetype-config { echo "$as_me:$LINENO: checking for freetype1 library/header" >&5 echo $ECHO_N "checking for freetype1 library/header... $ECHO_C" >&6; } - for dir in $SEARCHPATH /usr/local/freetype /usr/local /opt/freetype /usr/pkg /usr /usr/include/freetype1 /sw; do + for dir in ${BUILDLINK_DIR}; do ac_cv_ft_lib=no ac_cv_ft_include=no shlib=`echo $dir/lib/libttf.$SHLIBEXT* | head -n 1 | sed -e 's/.*\///'` @@@@ -5384,7 +5384,7 @@@@ echo "${ECHO_T}$mgp_use_vflib" >&6; } if test "$mgp_use_vflib" = "yes"; then { echo "$as_me:$LINENO: checking for VFlib library/header" >&5 echo $ECHO_N "checking for VFlib library/header... $ECHO_C" >&6; } - for dir in $SEARCHPATH /usr/local/VFlib /usr/local/vflib /usr/local /usr/pkg /usr; do + for dir in ${BUILDLINK_DIR}; do ac_cv_vf_libname=VFlib ac_cv_vf_libdir=no ac_cv_vf_hdrdir=no @@@@ -5562,12 +5562,7 @@@@ fi if test -f "$with_vfontcap"; then ac_cv_vf_fontcap=$with_vfontcap; else - for ac_dir in /usr/local/lib /usr/local/lib/tex \ - /usr/local/lib/VFlib /usr/local/lib/fonts/vf \ - /usr/local/lib /usr/local/etc /etc \ - /usr/local/libdata/vflib /usr/local/share/VFlib \ - /usr/local/share/VFlib/* \ - ../../VFlib* ../VFlib* VFlib*; do + for ac_dir in ${prefix}/share/VFlib/*; do if test -d $ac_dir -a -f $ac_dir/vfontcap; then ac_cv_vf_fontcap=$ac_dir/vfontcap; break @@@@ -5609,22 +5604,17 @@@@ _ACEOF fi fi -if type pkg-config > /dev/null 2>&1; then - for pnglib in libpng libpng12 libpng10 - do - if pkg-config $pnglib; then - LIBS="$LIBS `pkg-config --libs $pnglib`" - OPTFLAGS="$OPTFLAGS `pkg-config --cflags $pnglib`" - cat >>confdefs.h <<\_ACEOF +if type pkg-config > /dev/null 2>&1 && pkg-config libpng; then + LIBS="$LIBS `pkg-config --libs libpng`" + OPTFLAGS="$OPTFLAGS `pkg-config --cflags libpng`" + cat >>confdefs.h <<\_ACEOF #define USE_PNG 1 _ACEOF break - fi - done fi if test "$use_libpng" = ""; then -for i in $SEARCHPATH /usr/pkg /usr/local /usr; do +for i in ${BUILDLINK_DIR}; do if test -f $i/include/png.h; then if test -f $i/lib/libpng.a ; then DEPLIBS="$DEPLIBS $i/lib/libpng.a" @@@@ -5779,7 +5769,7 @@@@ fi done fi -for i in /usr/pkg /usr/local /usr; do +for i in ${BUILDLINK_DIR}; do if test -f $i/include/libmng.h; then if test -f $i/lib/libmng.a ; then DEPLIBS="$DEPLIBS $i/lib/libmng.a" @@@@ -6193,23 +6183,19 @@@@ fi { echo "$as_me:$LINENO: result: $mgp_use_xft2" >&5 echo "${ECHO_T}$mgp_use_xft2" >&6; } if test "$mgp_use_xft2" = "yes"; then - if type pkg-config > /dev/null 2>&1; then - if pkg-config xft; then - OPTFLAGS="`pkg-config --cflags xft` $OPTFLAGS" - LIBS="$LIBS `pkg-config --libs xft`" - cat >>confdefs.h <<\_ACEOF + if type pkg-config > /dev/null 2>&1 && pkg-config xft; then + OPTFLAGS="`pkg-config --cflags xft` $OPTFLAGS" + LIBS="$LIBS `pkg-config --libs xft`" + cat >>confdefs.h <<\_ACEOF #define USE_XFT2 1 _ACEOF mgp_xft2_found="yes"; - fi fi if test "$mgp_xft2_found" != "yes"; then { echo "$as_me:$LINENO: checking for xft2 and ft2 and fc header.." >&5 echo $ECHO_N "checking for xft2 and ft2 and fc header..... $ECHO_C" >&6; } - for dir in /usr/include /usr/include/Xft2 /usr/X11R6/include \ - /usr/X11R6/include/freetype2 \ - /usr/local/include /usr/include/freetype2; do + for dir in ${BUILDLINK_DIR}; do if test -f $dir/X11/Xft/Xft.h; then ac_cv_xft2_hdrdir="$dir" fi @@@@ -6984,7 +6970,7 @@@@ fi echo 'FATAL: You need libungif to use gif images. pass proper LIBS to configure.' exit 1 fi - for i in /usr/pkg /usr/local /usr; do + for i in ${BUILDLINK_DIR}; do if test -f $i/include/gif_lib.h; then gif_h_ok=yes OPTFLAGS="$OPTFLAGS -I$i/include" @@@@ -7146,16 +7132,14 @@@@ fi { echo "$as_me:$LINENO: result: $mgp_imlib" >&5 echo "${ECHO_T}$mgp_imlib" >&6; } if test $mgp_imlib = "yes"; then - if type pkg-config > /dev/null 2>&1; then - if pkg-config imlib; then - LIBS="$LIBS `pkg-config --libs imlib`" - OPTFLAGS="$OPTFLAGS `pkg-config --cflags imlib`" - cat >>confdefs.h <<\_ACEOF + if type pkg-config > /dev/null 2>&1 && pkg-config imlib2; then + LIBS="$LIBS `pkg-config --libs imlib2`" + OPTFLAGS="$OPTFLAGS `pkg-config --cflags imlib2`" + cat >>confdefs.h <<\_ACEOF #define USE_IMLIB 1 _ACEOF USE_IMLIB=1 - fi else { echo "$as_me:$LINENO: checking for Imlib_init in -lImlib" >&5 echo $ECHO_N "checking for Imlib_init in -lImlib... $ECHO_C" >&6; } @@@@ -7163,7 +7147,7 @@@@ if test "${ac_cv_lib_Imlib_Imlib_init+se echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lImlib -L$x_libraries -lX11 -lXext $LIBS" +LIBS="-lImlib2 -L$x_libraries -lX11 -lXext $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@@@ -7177,11 +7161,11 @@@@ cat >>conftest.$ac_ext <<_ACEOF #ifdef __cplusplus extern "C" #endif -char Imlib_init (); +char imlib_load_image (); int main () { -return Imlib_init (); +return imlib_load_image (); ; return 0; } @@@@ -7220,7 +7204,7 @@@@ fi echo "${ECHO_T}$ac_cv_lib_Imlib_Imlib_init" >&6; } if test $ac_cv_lib_Imlib_Imlib_init = yes; then imlib_ok=yes - LIBS="$LIBS -lImlib" + LIBS="$LIBS -lImlib2" cat >>confdefs.h <<\_ACEOF #define USE_IMLIB 1 _ACEOF @@@@ -7232,14 +7216,14 @@@@ fi echo 'FATAL: You need libImlib to use Imlib loading. pass proper LIBS to configure.' exit 1 fi - for i in /usr/pkg /usr/local; do - if test -f $i/include/Imlib.h; then + for i in ${BUILDLINK_DIR}; do + if test -f $i/include/Imlib2.h; then imlib_h_ok=yes OPTFLAGS="$OPTFLAGS -I$i/include" break fi done - if test -f /usr/include/Imlib.h; then + if test -f /usr/include/Imlib2.h; then imlib_h_ok=yes fi if test "x$gif_h_ok" != "xyes"; then @@@@ -7262,7 +7246,7 @@@@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default -#include +#include _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" @@@@ -7302,7 +7286,7 @@@@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +#include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in @ 1.11 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: patch-aa,v 1.10 2004/01/12 15:19:28 wennmach Exp $ d3 1 a3 1 --- configure.orig 2007-12-29 05:31:26.000000000 +0900 d5 9 d130 3 a132 3 + if type pkg-config > /dev/null 2>&1 && pkg-config imlib; then + LIBS="$LIBS `pkg-config --libs imlib`" + OPTFLAGS="$OPTFLAGS `pkg-config --cflags imlib`" d142 33 a174 1 @@@@ -7232,7 +7216,7 @@@@ fi d179 1 d181 1 a181 1 if test -f $i/include/Imlib.h; then d184 26 @ 1.10 log @Apply several bugfixes: 1. fix ifdef symbol in parse.c XFT2 -> USE_XFT2 2. fix codeset names for iconv_open(3) in draw.c Two codeset names of `UTF8' and `iso2022jp' don't work on NetBSD. 3. fix comparison bug in draw.c A integer value should not be compared with a iconv_t variable directly. 4. fix PR pkg/24030 Fixes provided by Kouichirou Hiratsuka in PR pkg/24053. Closes PR pkg/24053 and PR pkg/24030. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- configure.orig 2003-05-28 14:34:23.000000000 +0900 +++ configure 2004-01-11 04:18:35.000000000 +0900 @@@@ -4108,7 +4108,7 @@@@ d7 3 a9 3 echo "$as_me:$LINENO: checking for freetype1 library/header" >&5 echo $ECHO_N "checking for freetype1 library/header... $ECHO_C" >&6 - for dir in /usr/local/freetype /usr/local /opt/freetype /usr/pkg /usr /usr/include/freetype1 ; do d13 2 a14 22 shlib1=`echo $dir/lib/libttf.so* | head -1 | sed -e 's/.*\///'` @@@@ -4379,15 +4379,13 @@@@ echo "$as_me:$LINENO: result: $mgp_use_xft2" >&5 echo "${ECHO_T}$mgp_use_xft2" >&6 if test "$mgp_use_xft2" = "yes"; then - if type pkg-config > /dev/null 2>&1; then - if pkg-config xft; then - OPTFLAGS="`pkg-config --cflags xft` $OPTFLAGS" - LIBS="$LIBS `pkg-config --libs xft`" - cat >>confdefs.h <<\_ACEOF + if type pkg-config > /dev/null 2>&1 && pkg-config xft; then + OPTFLAGS="`pkg-config --cflags xft` $OPTFLAGS" + LIBS="$LIBS `pkg-config --libs xft`" + cat >>confdefs.h <<\_ACEOF #define USE_XFT2 1 _ACEOF - fi else echo "$as_me:$LINENO: checking for xft2 and ft2 and fc header.." >&5 echo $ECHO_N "checking for xft2 and ft2 and fc header..... $ECHO_C" >&6 @@@@ -4643,7 +4641,7 @@@@ d16 3 a18 3 echo "$as_me:$LINENO: checking for VFlib library/header" >&5 echo $ECHO_N "checking for VFlib library/header... $ECHO_C" >&6 - for dir in /usr/local/VFlib /usr/local/vflib /usr/local /usr/pkg /usr; do d23 11 a33 6 @@@@ -4815,6 +4813,7 @@@@ /usr/local/lib /usr/local/etc /etc \ /usr/local/libdata/vflib /usr/local/share/VFlib \ /usr/local/share/VFlib/* \ + ${prefix}/share/VFlib/* \ ../../VFlib* ../VFlib* VFlib*; do d36 2 a37 1 @@@@ -4857,17 +4856,15 @@@@ d42 6 a47 4 - if pkg-config libpng; then - LIBS="$LIBS `pkg-config --libs libpng`" - OPTFLAGS="$OPTFLAGS `pkg-config --cflags libpng`" - cat >>confdefs.h <<\_ACEOF d55 7 a61 4 - fi else - for i in /usr/pkg /usr/local /usr; do + for i in ${BUILDLINK_DIR}; do d65 1 a65 1 @@@@ -5010,7 +5007,7 @@@@ d74 30 a103 1 @@@@ -5647,7 +5644,7 @@@@ d112 3 a114 3 @@@@ -5677,16 +5674,14 @@@@ echo "$as_me:$LINENO: result: $mgp_imlib" >&5 echo "${ECHO_T}$mgp_imlib" >&6 d131 3 a133 3 echo "$as_me:$LINENO: checking for Imlib_init in -lImlib" >&5 echo $ECHO_N "checking for Imlib_init in -lImlib... $ECHO_C" >&6 @@@@ -5757,7 +5752,7 @@@@ @ 1.9 log @Update to 1.10a: * Support for Xft2 + fontconfig. If you are not familiar with these words, please see FAQ and README.xft2 for more information. * Support for new directive %tab 0 which can be used to apply a list of directives to lines that start with a non-tab character. * For security reasons, we have changed mgp so that directives that fork a process are not processed by default. The -U option must be specified in order to process such directives. * Introduced %opaque directive. Please see SYNTAX for detailed information. * Support for iso8859-2 encoding for mgp2ps. * Introduced -X option for mgp2ps to suppress the use of the specified rendering engine. * Introduced escape char '\' to display lines that start with '#'. * Many bug fixes. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.8 2001/09/14 05:41:06 jlam Exp $ d3 3 a5 3 --- configure.orig 2003-05-28 07:34:23.000000000 +0200 +++ configure @@@@ -4108,7 +4108,7 @@@@ if test "$mgp_use_freetype" = "yes"; the d14 21 a34 1 @@@@ -4643,7 +4643,7 @@@@ echo "${ECHO_T}$mgp_use_vflib" >&6 d43 11 a53 1 @@@@ -4867,7 +4867,7 @@@@ _ACEOF d55 13 a67 1 fi d74 1 a74 1 @@@@ -5010,7 +5010,7 @@@@ fi d83 1 a83 1 @@@@ -5647,7 +5647,7 @@@@ fi d92 22 a113 1 @@@@ -5757,7 +5757,7 @@@@ fi @ 1.8 log @Fix the rpath so that ${LOCALBASE}/lib (where the graphics libraries are installed) is included, which ${BUILDLINK_DIR}/lib (which is a temporary directory) is not. @ text @d1 1 a1 1 $NetBSD$ d3 7 a9 7 --- configure.orig Tue May 22 02:09:41 2001 +++ configure Fri Sep 14 01:34:23 2001 @@@@ -1763,7 +1763,7 @@@@ if test "$mgp_use_freetype" = "yes"; then echo $ac_n "checking for freetype library/header""... $ac_c" 1>&6 echo "configure:1766: checking for freetype library/header" >&5 - for dir in /usr/local/freetype /usr/local /opt/freetype /usr/pkg /usr; do d14 1 a14 1 @@@@ -1958,7 +1958,7 @@@@ d16 2 a17 2 echo $ac_n "checking for VFlib library/header""... $ac_c" 1>&6 echo "configure:1961: checking for VFlib library/header" >&5 d23 1 a23 3 @@@@ -2128,7 +2128,7 @@@@ fi fi d25 5 a29 3 -for i in /usr/pkg /usr/local /usr; do +for i in ${BUILDLINK_DIR}; do if test -f $i/include/png.h; then d32 3 a34 3 @@@@ -2231,7 +2231,7 @@@@ fi done d38 1 a38 1 if test -f $i/include/libmng.h; then d41 1 a41 10 @@@@ -2277,7 +2277,7 @@@@ fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 - LIBS="$LIBS -Wl,-rpath,$i/lib -lmng" + LIBS="$LIBS -lmng" cat >> confdefs.h <<\EOF #define MNG 1 EOF @@@@ -2764,7 +2764,7 @@@@ d50 1 a50 1 @@@@ -2844,7 +2844,7 @@@@ @ 1.7 log @* Add a some more graphics capability to magicpoint by adding a dependency on graphics/mng. * Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. * Replace definition of XMKMF with one that takes xpkgwedge/buildlink into account. Fixes pkg/13588 by Luke Mewburn . @ text @d4 1 a4 1 +++ configure d41 9 @ 1.6 log @Remove unnecessary patch, and pass in -lintl in another way. @ text @d1 25 a25 14 --- configure.orig Tue Mar 7 07:59:51 2000 +++ configure Sun May 28 14:40:57 2000 @@@@ -1144,7 +1144,7 @@@@ echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" -LIBS="-lttf $LIBS" +LIBS="-lttf -lintl $LIBS" cat > conftest.$ac_ext <&6 @ 1.5 log @defuzz @ text @@ 1.4 log @* Update to magicpoint-1.0.6a. * Split out xmindpath into a separate package (x11/xmindpath). @ text @d1 3 a3 5 $NetBSD$ --- configure.orig Tue Jun 8 16:00:39 1999 +++ configure Wed Oct 27 23:11:00 1999 @@@@ -1060,7 +1060,7 @@@@ d10 1 a10 1 #line 1066 "configure" d12 1 a12 1 @@@@ -1094,7 +1094,7 @@@@ @ 1.3 log @upgrade to use magicpoint 1.05a. preparation for Japanese version (pkgsrc/japanese/magicpoint). @ text @d1 22 a22 23 $NetBSD: patch-aa,v 1.2 1998/11/11 06:28:40 garbled Exp $ *** draw.c.orig Mon Aug 24 20:37:32 1998 --- draw.c Mon Aug 24 20:37:35 1998 *************** *** 829,834 **** --- 829,835 ---- while (len) { code = kanjimode ? p[0] * 256 + p[1] : p[0]; + #if 0 if (code == ' ') { char_len = char_size / 2; p++; *************** *** 837,842 **** --- 838,844 ---- state->linewidth += HORIZ_STEP(char_size, char_len); continue; } + #endif #ifdef USE_XDRAWSTRING char_len = draw_onechar_x(state, code, state->linewidth, @ 1.2 log @Update magicpoint package to 1.04a. New pkg has some additional programs to aid in building presentations. (also fixed a few pkg glitches) @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Don't treat ' ' specially, it doesn't work for mono-width fonts. @ text @d1 1 @