[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[mgp-users-jp 01390] Re: enable-gif
- To: From: Hiroto Matsuura <matsu@aeslab.energy.osakafu-u.ac.jp>
- Subject: [mgp-users-jp 01390] Re: enable-gif
- From: Shigeharu TAKENO <shige@iee.niit.ac.jp>
- Date: Fri, 8 Apr 2005 16:57:40 +0900 (JST)
- Cc: mgp-users-jp@mew.org
- Delivered-to: mailing list mgp-users-jp@mew.org
- In-reply-to: <>
- Mailing-list: contact mgp-users-jp-help@mew.org; run by ezmlm
- References: <>
竹の 04/08 2005
---------------
はじめまして。竹野@新潟工科大 です。
| これまでFreeBSD 3.3-RELEASEでmgp version 1.05a (990617)を使っていた
| のですが、新しいパソコンにFreeBSD 5.3-RELEASEを入れた時にMagicpoint
| も新しいmgp version 1.10a (20030624)をパッケージインストールしました。
|
| ところが、昔自分が作ったファイルにはgifファイルを組み込んでいたため
| 読みこむことができません。
うちは、実は ports は使ってなくて手動インストールですが、FreeBSD
4.8-RELEASE で magickpoint-1.11b を使っています。確かにうちも最初
に入れたときは gif が使えなかったのですが (学生に文句言われてしま
いました)、今は使えています。うちでのインストールメモとうちのパッ
チを紹介します。
参考になりましたら幸いです。
---- ここから (インストールメモ) -----
(require libungif)
set prefix = /usr/X11R6
set targ = magicpoint-1.11b
gunip -c $dist/$targ.tar.gz | tar xvf -
cd $targ
patch -p1 < $dist/mypatch-mgp-1
./configure \
--enable-freetype-charset16 \
--disable-xft2 \
--enable-gif
xmkmf
make Makefiles
make
#make install install.man
---- ここまで (インストールメモ) -----
---- ここから (mypatch-mgp-1) -----
diff -c magicpoint-1.11b/configure.ORG magicpoint-1.11b/configure
*** magicpoint-1.11b/configure.ORG Thu Aug 5 01:23:35 2004
--- magicpoint-1.11b/configure Sat Jan 1 00:13:16 2005
***************
*** 4134,4141 ****
fi
if test -d $dir/include -a -f $dir/include/freetype.h; then
ac_cv_ft_include="$dir/include"
! elif test -d $dir/include/freetype -a -f $dir/include/freetype/freetype.h; then
! ac_cv_ft_include="$dir/include/freetype"
fi
if test "$ac_cv_ft_lib" != "no" -a "$ac_cv_ft_include" != "no"; then
LIBS="-L$ac_cv_ft_lib $LIBS"
--- 4134,4141 ----
fi
if test -d $dir/include -a -f $dir/include/freetype.h; then
ac_cv_ft_include="$dir/include"
! elif test -d $dir/include/freetype1/freetype -a -f $dir/include/freetype1/freetype/freetype.h; then
! ac_cv_ft_include="$dir/include/freetype1/freetype"
fi
if test "$ac_cv_ft_lib" != "no" -a "$ac_cv_ft_include" != "no"; then
LIBS="-L$ac_cv_ft_lib $LIBS"
diff -c magicpoint-1.11b/image/new.c.ORG magicpoint-1.11b/image/new.c
*** magicpoint-1.11b/image/new.c.ORG Wed Sep 1 12:50:32 2004
--- magicpoint-1.11b/image/new.c Sat Jan 1 01:12:31 2005
***************
*** 11,17 ****
#include "copyright.h"
#include "image.h"
! #ifdef __APPLE__
#include <stdlib.h>
#else
#include <malloc.h>
--- 11,17 ----
#include "copyright.h"
#include "image.h"
! #if defined(__APPLE__) || defined(CSRG_BASED)
#include <stdlib.h>
#else
#include <malloc.h>
---- ここまで (mypatch-mgp-1) -----
+=================================================+
竹野茂治 〒945-1195 新潟工科大学 情報電子工学科
shige@iee.niit.ac.jp TEL(&FAX): 0257-22-8161
+=================================================+