[Arch]google-gadgets-for-linux-svn

其他Linux/Unix/BSD/OSX等发行版讨论
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

[Arch]google-gadgets-for-linux-svn

#1

帖子 zhuqin_83 » 2008-06-08 10:36

sir挂了,所以发这里。

代码: 全选

# Contributor: zhuqin <zhuqin83@gmail.com>

pkgname=google-gadgets-for-linux-svn
pkgver=628
pkgrel=1
pkgdesc="Google Gadgets for Linux provides a platform for running desktop gadgets under Linux"
arch=('i686' 'x86_64')
url="http://code.google.com/p/google-gadgets-for-linux/"
license=('Apache')
depends=('gtk2' 'spidermonkey' 'curl>=7.18.2' 'libxml2' 'zlib' 'xulrunner' 'dbus' 'gstreamer0.10' 'gstreamer0.10-base' 'cairo')
makedepends=('autoconf' 'automake' 'libtool' 'subversion')
source=()
md5sum=()
_svntrunk=http://google-gadgets-for-linux.googlecode.com/svn/trunk/
_svnmod=google-gadgets-for-linux

build() {
  cd $startdir/src
    
  msg "Updating SVN entries for $_svnmod ..."
    
  if [ -d $_svnmod/.svn ]; then
    (cd $_svnmod && svn up -r $pkgver)
  else
    svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
  fi
  
  cp -r $_svnmod $_svnmod-build
  cd $_svnmod-build
  
  msg "Finished update, starting build ..."
  
  sh autotools/bootstrap.sh || return 1
  ./configure --prefix=/usr \
  --disable-qt-host \
  --disable-libggadget-qt \
  --disable-qt-system-framework \
  --disable-qtwebkit-browser-element \
  --disable-qt-xml-http-request \
  --disable-ltdl-install
  #--enable-debug \
  
  make || return 1
  make DESTDIR=$startdir/pkg install
  
  rm -rf $startdir/src/$_svnmod-build
}
附件
Screenshot.png
上次由 zhuqin_83 在 2008-06-09 18:58,总共编辑 2 次。
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
头像
lailue
帖子: 582
注册时间: 2007-10-06 23:37

#2

帖子 lailue » 2008-06-08 10:46

那盆花真逼真! :em50
flyinflash
帖子: 2376
注册时间: 2006-09-21 14:28

#3

帖子 flyinflash » 2008-06-08 10:54

如果没有记错,那 Gmap的地方就是楼上所在地 :D :D :D :D
头像
lailue
帖子: 582
注册时间: 2007-10-06 23:37

#4

帖子 lailue » 2008-06-08 10:55

加拿大魁北克蒙特利尔?
头像
jarryson
帖子: 4002
注册时间: 2005-08-14 19:53

#5

帖子 jarryson » 2008-06-08 14:19

xulrunner可以不用xulrunner-devel的了?不错
头像
qiang_liu8183
论坛版主
帖子: 10699
注册时间: 2006-09-10 22:36
系统: Arch Debian
来自: 北京

#6

帖子 qiang_liu8183 » 2008-06-08 15:00

猪哥哥那盆花能浇水不?
看破、放下、自在、随缘、念佛
真诚、清净、平等、正觉、慈悲
XDG3669
帖子: 380
注册时间: 2006-07-10 22:50

#7

帖子 XDG3669 » 2008-06-09 10:16

qiang_liu8183 写了:猪哥哥那盆花能浇水不?
能呀!淋点上去,花儿更大更美!
sungo
帖子: 59
注册时间: 2007-06-01 13:09

#8

帖子 sungo » 2008-06-09 16:12

用makepkg PKGBULID这个命令吧,不过好像失败了,有两个错误
sungo
帖子: 59
注册时间: 2007-06-01 13:09

#9

帖子 sungo » 2008-06-09 17:50

缺少sqlite3,害得我白编了半天
头像
TheThirdGhost
帖子: 1592
注册时间: 2006-07-23 16:25
来自: 南京

#10

帖子 TheThirdGhost » 2008-06-09 18:24

还要开testing,算了,放弃。
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

#11

帖子 zhuqin_83 » 2008-06-09 18:57

不用testing阿,已经更新了。何况就一个包,自己下载了便是。
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
头像
TheThirdGhost
帖子: 1592
注册时间: 2006-07-23 16:25
来自: 南京

#12

帖子 TheThirdGhost » 2008-06-09 19:10

zhuqin_83 写了:不用testing阿,已经更新了。何况就一个包,自己下载了便是。
刚发现呢,你就抢先了。 :D 马上试。
头像
TheThirdGhost
帖子: 1592
注册时间: 2006-07-23 16:25
来自: 南京

#13

帖子 TheThirdGhost » 2008-06-09 19:58

代码: 全选

Please copy mkinstalldirs script into ./libltdl/ directory.
You can find it in automake's data directory. Usually, it's in:
/usr/share/automake-1.10.1/
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type:
checking build system type... config.sub: missing argument
Try `config.sub --help' for more information.
configure: error: /bin/sh autotools/config.sub   failed
PKGBUILD: line 35: --disable-qt-host: command not found
PKGBUILD: line 36: --disable-libggadget-qt: command not found
PKGBUILD: line 37: --disable-qt-system-framework: command not found
PKGBUILD: line 38: --disable-qtwebkit-browser-element: command not found
PKGBUILD: line 39: --disable-qt-xml-http-request: command not found
PKGBUILD: line 40: --disable-ltdl-install: command not found
make: *** 没有指明目标并且找不到 makefile。 停止。
==> 错误: 创建失败。
    正在放弃……
我已经手动把mkinstalldirs放到了./libltdl/下,还是没用。
头像
matri
帖子: 1140
注册时间: 2006-10-27 11:14
来自: 悉尼

#14

帖子 matri » 2008-06-11 16:55

这么眼熟,像dashboard。。。
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

Re: [Arch]google-gadgets-for-linux-svn

#15

帖子 skyx » 2008-06-11 16:57

zhuqin_83 写了:sir挂了,所以发这里。
:shock:
no security measure is worth anything if an attacker has physical access to the machine
回复