eGear 是我在空闲时间开发的一个小项目,用到的库有curl, qt4,
现在已经基本实现下载软件的一些基本功能,如, http 和 ftp 的多线程下载等
[color="Red"]目前版本: 0.1.0
0.1.0 版说明:
1、去除了dbus依赖,使用socket实现单运行实例。dbus对可移植性有一定影响。
2、增加 python 蜘蛛脚本支持,附带一个 auto-index 网页的抓取脚本。(使用时注意过多任务会占用过多资源)
3、增加了几个必需的配置选项,包括代理等。
要添加以下的 ebuild 需要创建本地的 overlay, 详情请看: http://www.gentoo.org/doc/zh_cn/ ... =1#book_part3_chap5
本软件安装需要 curl 和 qt-gui
以下是 0.0.1 的 ebuild:- $ cat net-misc/egear/egear-0.0.1.ebuild
- # Copyright 1999-2008 Gentoo Foundation
- # Distributed under the terms of the GNU General Public License v2
- # $Header: $
- inherit qt4
- DESCRIPTION="eGear, a download tool written in QT4"
- HOMEPAGE="egear.googlecode.com"
- SRC_URI="http://egear.googlecode.com/files/${P}.tar.gz"
- LICENSE="GPL-3"
- SLOT="0"
- KEYWORDS=""
- IUSE="doc"
- DEPEND="dev-libs/openssl
- net-misc/curl
- || ( ( x11-libs/qt-gui )
- ( >=x11-libs/qt-4.3 ) )"
- RDEPEND="${DEPEND}"
- RESTRICT="primaryuri"
- src_compile() {
- eqmake4
- emake || die "emake fail"
- }
- src_install() {
- insinto /usr/share/pixmaps
- doins res/egear.png
- insinto /usr/share/applications
- doins misc/egear.desktop
- dobin ${PN}
- }
复制代码 以下是 9999 (svn) 版的 ebuild:- $ cat net-misc/egear/egear-9999.ebuild
- # Copyright 1999-2008 Gentoo Foundation
- # Distributed under the terms of the GNU General Public License v2
- # $Header: $
- inherit qt4 subversion
- DESCRIPTION="eGear, a download tool written in QT4"
- HOMEPAGE="egear.googlecode.com"
- SRC_URI=""
- ESVN_REPO_URI="http://egear.googlecode.com/svn/trunk/"
- LICENSE="GPL-3"
- SLOT="0"
- KEYWORDS=""
- IUSE="doc"
- DEPEND="dev-libs/openssl
- net-misc/curl
- || ( ( x11-libs/qt-gui )
- ( >=x11-libs/qt-4.3 ) )"
- RDEPEND="${DEPEND}"
- RESTRICT="primaryuri"
- src_compile() {
- eqmake4
- emake || die "emake fail"
- }
- src_install() {
- insinto /usr/share/pixmaps
- doins res/egear.png
- insinto /usr/share/applications
- doins misc/egear.desktop
- dobin ${PN}
- }
复制代码
要手动编译的同学,请下载 http://egear.googlecode.com/files/egear-0.0.3.tar.gz (有更新版本时,请自己更改链接)
解压后进入目录执行 qmake && make, 然后执行 ./egear 启动
下面来几张截图:




[color="Red"]0.0.3 版截图:

10 月 22 日: eGear-0.0.2 已上传,改一下 ebuild 的版本号就可以了, 主要添加 监视剪切板 的功能
10 月 22 日: ebuild 已进入 gentoo-china overlay.
10 月 25 日: eGear-0.0.3 已上传,请自行更改 ebuild 版本号更新 gentoo-china. |