2012-03-06 18:38:53 +01:00
|
|
|
# $NetBSD: Makefile,v 1.48 2012/03/06 17:39:00 ryoon Exp $
|
2004-12-25 20:14:41 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
.include "../../net/mldonkey/Makefile.common"
|
|
|
|
|
|
|
|
PKGNAME= ${DISTNAME:S/mldonkey/mldonkey-gui/}
|
2012-03-06 18:38:53 +01:00
|
|
|
PKGREVISION= 7
|
2009-08-26 22:22:51 +02:00
|
|
|
|
2004-12-25 20:14:41 +01:00
|
|
|
COMMENT+= (GTK interface)
|
|
|
|
|
2005-07-23 20:47:43 +02:00
|
|
|
DEPENDS+= mldonkey-[0-9]*:../../net/mldonkey
|
2004-12-25 20:14:41 +01:00
|
|
|
|
2006-01-22 01:38:28 +01:00
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
|
Update to 3.0.4, fixing build of mldonkey-gui with ocaml-3.12.1.
Changes:
2010/08/15: version 3.0.4 = tag release-3-0-4
7280: BT: fix make_torrent creates sometimes torrents without name argument
(ygrek)
7278: configure: more useful --enable-debug (ygrek)
- enable also for ocamlopt
- enable when profiling
7274: DC: Increase message buffer size to fix communication with bots
(somedamnthing)
2010/08/08
7267: http proxy authentication support (ygrek)
- new options http_proxy_login and http_proxy_password control authentication
for TCP CONNECT and plain HTTP requests through http proxy
2010/08/07
7273: Fix compile errors on Debian/kFreeBSD
7272: Configure: Use Ocaml 3.12.0 as default compiler
7269: Fix typos (glondu)
-------------------------------------------------------------------------------
2010/08/01: version 3.0.3 = tag release-3-0-3
2010/07/28
7262: BT: improve porttest (ygrek)
7254: BT/bandwidth controllers: accept incoming connections while downloading
- should improve upload when downlink is saturated (ygrek)
2010/07/24
7258: russian i18n mlnet_strings (Balamutick/ygrek)
2010/07/18
7253: Fix downloading Ocaml 3.12 archive, use lablgtk-2.12.0 for Ocaml < 3.10
7252: GTK2 GUI: Fix compile bug with lablgtk2-20100620 and Ocaml 3.12
7251: BT: OCaml 3.08.3 compatibility fix (ygrek)
7250: DC: discover self IP (ygrek)
7249: DC: fix parsing MyINFO with non-latin nicks (ygrek)
2010/07/17
7248: DC: correctly parse dchub:// entries in xml hublist (ygrek)
7247: BT tracker: remember tracked files after restart (ygrek)
2010/07/16
7245: HTML: Fix unstable option sections links position (ygrek)
7210: upload scheduler: correctly handle clock jumps (ygrek)
7219: fsync rename options files (ygrek)
2010/07/15
7208: New aliases (ygrek)
- "unpause", "continue" for command "resume"
- "man" for command "help"
7233: BT: Announce shared files when share_scan_interval = 0 (ygrek)
2010/05/26
7206: MinGW: Fix diskinfo on large partitions
2010/05/24
7201: DC: Whitespace fixes (ygrek)
7202: BT: Improve internal tracker (ygrek)
- continue tracking files even if there are no requests
- better logging and error reporting
- remove peer from peers list when it sends 'stopped' event
7203: Fix linking with binutils-gold
2010/05/23
7183: DC: magnet links and html ui usability tweaks (ygrek)
7180: DC: better encoding handling (ygrek)
- new option default_encoding for communications with hubs, default CP1252
7181: HTML: Fix sorting of friends' file list (ygrek)
7200: Allow compilation with upcoming Ocaml 3.12
-------------------------------------------------------------------------------
2010/04/25: version 3.0.2 = tag release-3-0-2
7175: DC: PtokaX compatibility (ygrek)
7169: Equal scales for graphical up/down stats (ygrek)
7167: Improve add_mail_brackets option description,
change default according to RFC (ygrek)
2010/04/11
7164: BT: more user-friendly tracker (ygrek)
- `compute_torrent` shows full path and url to generated torrent file
- `torrents` output htmlized
- corrected server header
- improved comments for tracker options
- search torrents in old directory too
7163: Fix not sending UDP packets when max_hard_upload_rate = 0 (ygrek)
2010/04/10
7162: filter longhelp output (ygrek)
- longhelp (or ??) with parameters will output only those commands that
contain all of the specified parameters as substring
2010/04/08
7161: bw_toggle: Add options "high" and "low"
- bw_toggle without options works as before
- if "high" is added, the *_2 option set is used if max_opened_connections_2
is higher than max_opened_connections, otherwise the option values are kept
- if "low" is added, the *_2 option set is used if max_opened_connections_2
is lower than max_opened_connections, otherwise the option values are kept
6959: DC: Fix invalid XML (ygrek)
- enhanced patch (use Xml.escape and properly escape attributes in Xml.to_string)
2010/04/04
7153: BT: correctly handle failed tracker requests (ygrek)
7155: DC: understand hublist.xml (ygrek)
2010/04/02
7151: BT: html ui tweaks (ygrek)
2010/04/01
7150: BT: track torrents created with compute_torrent (ygrek)
2010/03/27
7142: BT: max_uploaders_per_torrent option not restored from .ini files (xboct)
7140: MinGW: Fix linking with Ocaml 3.11.2
7139: BT: Some improvements and fixes (ygrek)
- Don't request sources from tracker (set numwant=0) if we don't need them e.g.
'stopped' event or when sharing
- Prevent client from repeatedly sending 'started' events for shared files
- Check that peer addresses, returned from tracker in compact format, are valid
and not blocked (same check as for non-compact format)
- Show torrent info_hash in html ui
7138: BT: Recognize more client brands (ygrek)
7137: Fix error in calculating average upload speed for client (ygrek)
7136: GTK2 GUI: start downloads from search results items
by double-click (soulcatcher)
2010/03/20
7128: BT: Fix ratio reporting (ygrek)
7127: Configure: Use Ocaml 3.11.2 as default compiler
7076: Support preallocating files on Unix systems (drwho)
Recent Linux kernels support fast preallocation when the filesystem is
XFS, EXT4 or BTRFS, this patch adds preallocation support when
posix_fallocate() is available
6968: GTK2 GUI: Fix switching server preferred status (dcoppa)
2010-08-28 23:35:00 +02:00
|
|
|
INSTALLATION_DIRS= bin libexec/mldonkey
|
2004-12-25 20:14:41 +01:00
|
|
|
|
2011-03-06 17:04:32 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-gui=newgui2
|
2005-10-06 13:51:13 +02:00
|
|
|
|
2004-12-25 20:14:41 +01:00
|
|
|
do-install:
|
2009-02-16 14:11:40 +01:00
|
|
|
${RM} -f ${DESTDIR}${PREFIX}/bin/mlgui
|
|
|
|
cd ${DESTDIR}${PREFIX}/bin && ${LN} -s ../libexec/mldonkey/mlgui mlgui
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mlgui ${DESTDIR}${PREFIX}/libexec/mldonkey
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mlguistarter \
|
|
|
|
${DESTDIR}${PREFIX}/libexec/mldonkey
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mlnet+gui \
|
|
|
|
${DESTDIR}${PREFIX}/libexec/mldonkey
|
2004-12-25 20:14:41 +01:00
|
|
|
|
2011-03-06 17:04:32 +01:00
|
|
|
.include "../../graphics/librsvg/buildlink3.mk"
|
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
|
|
# 2.6.0 is the first ~stable version (for mldonkey)
|
|
|
|
BUILDLINK_API_DEPENDS.lablgtk+= lablgtk>=2.6.0
|
|
|
|
.include "../../x11/lablgtk/buildlink3.mk"
|
2004-12-25 20:14:41 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|