LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: aeonhuang

安装ies4linux出现错误提示

[复制链接]
发表于 2009-6-20 18:32:10 | 显示全部楼层
[PHP]# Maintainer: Adam Eberlin < ae at intellitech dot org >

# Caution: Building on a 64-bit arch system is very difficult and there is little support or documentation regarding it. If you have a problem, please post in the forum. I have not personally attempted this, but I have added most of the proper dependencies in case there are those who wish to try. Please do not email me if you cannot get this to build on 64-bit, as once again I have not extensively looked into this.

pkgname=wine
pkgver=20090614
pkgrel=1
pkgdesc="Interpreter for the Windows 3.x and Win32 APIs"
url="http://www.winehq.com/"
arch=('i686' )
license=('LGPL')
depends=('fontconfig' 'libldap' 'libxslt' 'lcms' 'libxxf86dga' \
         'libxcursor' 'libxrandr' 'libxdamage' 'mesa')
makedepends=( 'flex' 'bison'
             'libxinerama' 'giflib' 'ncurses' 'libxcomposite' \
             'libxpm' 'libxmu' 'libxxf86vm' 'perl' 'libxml2') #'libgphoto2'  'samba' 'fontforge'
optdepends=("cups" "sane" "libgphoto2" "alsa-lib" "giflib" "libjpeg" "libpng")
conflicts=('bin32-wine' 'bin32-wine-suse' 'bin32-wine-war' 'wine' 'wine-git')
replaces=()
provides=("wine-git=$pkgver" "wine")
backup=()
source=()
md5sums=()

_gitroot="git://source.winehq.org/git/wine.git"
_gitname="wine"

build() {

  cd ${srcdir}
  msg "Connecting to GIT server...."

  if [ -d ${srcdir}/$_gitname ] ; then
    cd $_gitname && git pull origin
    msg "Local repository updated."
  else
    git clone $_gitroot $_gitname
  fi
  
#  git clone git://source.winehq.org/git/wine.git wine
  
  msg "GIT checkout done or server timeout"

  msg "Removing old build directory..."
  rm -Irf ${srcdir}/$_gitname-build

  msg "Creating new build directory..."
  cp -r ${srcdir}/$_gitname ${srcdir}/$_gitname-build

  msg "Starting make..."
  cd ${srcdir}/$_gitname-build

#  Patches:

  msg "Applying patches..."
  patch -Np1 -i ${startdir}/06_defsyscolors.patch || return 1
  patch -Np1 -i ${startdir}/06_fix-chinese-font.patch || return 1
  #patch -Np1 -i ${startdir}/06_iexplore_xdg.patch || return 1
  #msg2 "w3 hosting patch..."
  #patch -Np1 -i ${startdir}/w3_hosting.patch || return 1
  #msg2 "w3 minimize patch..."
  #patch -Np1 -i ${startdir}/w3_minimize.patch || return 1
  #msg2 "modelrender patch..."
  #patch -Np1 -i ${startdir}/modelrender.patch || return 1
  
#  CARCH="i686" CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -mtune=generic -pipe" CXXFLAGS="-march=i686 -mtune=generic -pipe" LDFLAGS="-L/opt/lib32/usr/lib" ./configure --verbose --prefix=/usr --libdir=/opt/lib32/usr/lib

  ./configure --prefix=/usr --sysconfdir=/etc --with-x  --without-cups --without-jack   --disable-win16  --without-gphoto
  make depend || return 1
  make || return 1
  make prefix=$pkgdir/usr install || return 1
  mkdir -p $pkgdir/etc/wine
}
# Maintainer: Adam Eberlin < ae at intellitech dot org >

# Caution: Building on a 64-bit arch system is very difficult and there is little support or documentation regarding it. If you have a problem, please post in the forum. I have not personally attempted this, but I have added most of the proper dependencies in case there are those who wish to try. Please do not email me if you cannot get this to build on 64-bit, as once again I have not extensively looked into this.

pkgname=wine
pkgver=20090614
pkgrel=1
pkgdesc="Interpreter for the Windows 3.x and Win32 APIs"
url="http://www.winehq.com/"
arch=('i686' )
license=('LGPL')
depends=('fontconfig' 'libldap' 'libxslt' 'lcms' 'libxxf86dga' \
         'libxcursor' 'libxrandr' 'libxdamage' 'mesa')
makedepends=( 'flex' 'bison'
             'libxinerama' 'giflib' 'ncurses' 'libxcomposite' \
             'libxpm' 'libxmu' 'libxxf86vm' 'perl' 'libxml2') #'libgphoto2'  'samba' 'fontforge'
optdepends=("cups" "sane" "libgphoto2" "alsa-lib" "giflib" "libjpeg" "libpng")
conflicts=('bin32-wine' 'bin32-wine-suse' 'bin32-wine-war' 'wine' 'wine-git')
replaces=()
provides=("wine-git=$pkgver" "wine")
backup=()
source=()
md5sums=()

_gitroot="git://source.winehq.org/git/wine.git"
_gitname="wine"

build() {

  cd ${srcdir}
  msg "Connecting to GIT server...."

  if [ -d ${srcdir}/$_gitname ] ; then
    cd $_gitname && git pull origin
    msg "Local repository updated."
  else
    git clone $_gitroot $_gitname
  fi
  
#  git clone git://source.winehq.org/git/wine.git wine
  
  msg "GIT checkout done or server timeout"

  msg "Removing old build directory..."
  rm -Irf ${srcdir}/$_gitname-build

  msg "Creating new build directory..."
  cp -r ${srcdir}/$_gitname ${srcdir}/$_gitname-build

  msg "Starting make..."
  cd ${srcdir}/$_gitname-build

#  Patches:

  msg "Applying patches..."
  patch -Np1 -i ${startdir}/06_defsyscolors.patch || return 1
  patch -Np1 -i ${startdir}/06_fix-chinese-font.patch || return 1
  #patch -Np1 -i ${startdir}/06_iexplore_xdg.patch || return 1
  #msg2 "w3 hosting patch..."
  #patch -Np1 -i ${startdir}/w3_hosting.patch || return 1
  #msg2 "w3 minimize patch..."
  #patch -Np1 -i ${startdir}/w3_minimize.patch || return 1
  #msg2 "modelrender patch..."
  #patch -Np1 -i ${startdir}/modelrender.patch || return 1
  
#  CARCH="i686" CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -mtune=generic -pipe" CXXFLAGS="-march=i686 -mtune=generic -pipe" LDFLAGS="-L/opt/lib32/usr/lib" ./configure --verbose --prefix=/usr --libdir=/opt/lib32/usr/lib

  ./configure --prefix=/usr --sysconfdir=/etc --with-x  --without-cups --without-jack   --disable-win16  --without-gphoto
  make depend || return 1
  make || return 1
  make prefix=$pkgdir/usr install || return 1
  mkdir -p $pkgdir/etc/wine
}
[/PHP]
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表