From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LcQCS-0007bU-Rb for garchives@archives.gentoo.org; Wed, 25 Feb 2009 20:17:49 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2840CE03F9; Wed, 25 Feb 2009 20:17:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id DEA74E03F9 for ; Wed, 25 Feb 2009 20:17:47 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 7C7D064799 for ; Wed, 25 Feb 2009 20:17:47 +0000 (UTC) Received: from armin76 by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1LcQCR-0002Yp-8y for gentoo-commits@lists.gentoo.org; Wed, 25 Feb 2009 20:17:47 +0000 From: "Raul Porcel (armin76)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, armin76@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in net-p2p/mldonkey: mldonkey-3.0.0.ebuild ChangeLog X-VCS-Repository: gentoo-x86 X-VCS-Files: mldonkey-3.0.0.ebuild ChangeLog X-VCS-Directories: net-p2p/mldonkey X-VCS-Committer: armin76 X-VCS-Committer-Name: Raul Porcel Content-Type: text/plain; charset=utf8 Message-Id: Sender: Raul Porcel Date: Wed, 25 Feb 2009 20:17:47 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: c8401a34-fc51-4cc4-8c6f-87624db17890 X-Archives-Hash: 07b7a36355180ee4ba98f5382a633d35 armin76 09/02/25 20:17:47 Modified: ChangeLog Added: mldonkey-3.0.0.ebuild Log: Version bump (Portage version: 2.1.6.7/cvs/Linux ia64) Revision Changes Path 1.224 net-p2p/mldonkey/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/mldonkey/C= hangeLog?rev=3D1.224&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/mldonkey/C= hangeLog?rev=3D1.224&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/mldonkey/C= hangeLog?r1=3D1.223&r2=3D1.224 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v retrieving revision 1.223 retrieving revision 1.224 diff -u -r1.223 -r1.224 --- ChangeLog 24 Jan 2009 19:44:37 -0000 1.223 +++ ChangeLog 25 Feb 2009 20:17:47 -0000 1.224 @@ -1,6 +1,11 @@ # ChangeLog for net-p2p/mldonkey # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v 1.223 20= 09/01/24 19:44:37 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v 1.224 20= 09/02/25 20:17:47 armin76 Exp $ + +*mldonkey-3.0.0 (25 Feb 2009) + + 25 Feb 2009; Ra=C3=BAl Porcel +mldonkey-3.0.0.ebu= ild: + Version bump =20 *mldonkey-2.9.7 (24 Jan 2009) =20 1.1 net-p2p/mldonkey/mldonkey-3.0.0.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/mldonkey/m= ldonkey-3.0.0.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/mldonkey/m= ldonkey-3.0.0.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: mldonkey-3.0.0.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.0.ebuild= ,v 1.1 2009/02/25 20:17:47 armin76 Exp $ WANT_AUTOCONF=3D2.5 inherit flag-o-matic eutils autotools toolchain-funcs EAPI=3D"1" IUSE=3D"doc fasttrack gd gnutella gtk guionly magic +ocamlopt" DESCRIPTION=3D"MLDonkey is a multi-network P2P application written in Oca= ml, coming with its own Gtk GUI, web and telnet interface." HOMEPAGE=3D"http://mldonkey.sourceforge.net/" SRC_URI=3D"mirror://sourceforge/${PN}/${P}.tar.bz2" LICENSE=3D"GPL-2" SLOT=3D"0" KEYWORDS=3D"~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd" RDEPEND=3D"dev-lang/perl guionly? ( >=3Dgnome-base/librsvg-2.4.0 >=3Ddev-ml/lablgtk-2.6 ) gtk? ( >=3Dgnome-base/librsvg-2.4.0 >=3Ddev-ml/lablgtk-2.6 ) gd? ( >=3Dmedia-libs/gd-2.0.28 ) magic? ( sys-apps/file )" DEPEND=3D"${RDEPEND} >=3Ddev-lang/ocaml-3.08.3 sys-apps/sed" MLUSER=3D"p2p" pkg_setup() { if use gtk; then echo "" einfo "If the compile with gui fails, and you have updated Ocaml" einfo "recently, you may have forgotten that you need to run" einfo "/usr/portage/dev-lang/ocaml/files/ocaml-rebuild.sh" einfo "to learn which ebuilds you need to recompile" einfo "each time you update Ocaml to a different version" einfo "see the Ocaml ebuild for details" echo "" fi if use gtk && ! built_with_use dev-ml/lablgtk svg; then eerror "dev-ml/lablgtk must be built with the 'svg' USE flag to use the= gtk gui" die "Recompile dev-ml/lablgtk with enabled svg USE flag" fi if use gd && ! built_with_use media-libs/gd truetype; then eerror "media-libs/gd must be built with 'truetype' to compile" eerror "MLDonkey with gd support" die "Recompile media-libs/gd with enabled truetype USE flag" fi if use ocamlopt && ! built_with_use --missing true dev-lang/ocaml ocamlo= pt; then eerror "In order to build ${PN} with native code support from ocaml" eerror "You first need to have a native code ocaml compiler." eerror "You need to install dev-lang/ocaml with ocamlopt useflag on." die "Please install ocaml with ocamlopt useflag" fi # dev-lang/ocaml creates its own objects but calls gcc for linking, whic= h will # results in relocations if gcc wants to create a PIE executable if gcc-specs-pie ; then append-ldflags -nopie ewarn "Ocaml generates its own native asm, you're using a PIE compiler" ewarn "We have appended -nopie to ocaml build options" ewarn "because linking an executable with pie while the objects are not= pic will not work" fi } src_unpack() { unpack ${A} && cd "${S}" cd "${S}"/config eautoconf cd "${S}" use ocamlopt || sed -i -e "s/ocamlopt/idontwantocamlopt/g" "${S}/config/= configure" || die "failed to disable ocamlopt" } src_compile() { # the dirs are not (yet) used, but it doesn't hurt to specify them anywa= y # onlygui Disable all nets support, build only chosen GUI if use gtk || use guionly; then myconf=3D"--enable-gui=3Dnewgui2" else myconf=3D"--disable-gui" fi if use guionly; then myconf=3D"${myconf} --disable-multinet --disable-donkey" fi cd "${S}" econf \ --sysconfdir=3D/etc/mldonkey \ --sharedstatedir=3D/var/mldonkey \ --localstatedir=3D/var/mldonkey \ --enable-checks \ --disable-batch \ $(use_enable fasttrack) \ $(use_enable gnutella) \ $(use_enable gnutella gnutella2) \ $(use_enable gd) \ $(use_enable magic) \ --enable-ocamlver=3D3.10 \ ${myconf} || die "econf failed" export OCAMLRUNPARAM=3D"l=3D256M" emake || die "emake failed" if ! use guionly; then emake utils || die "emake utils failed" fi; } src_install() { local myext=3D"" use ocamlopt || myext=3D".byte" use ocamlopt || export STRIP_MASK=3D"*/bin/*" if ! use guionly; then for i in mlnet mld_hash get_range copysources make_torrent subconv; do newbin $i$myext $i || die "failed to install $i" done newconfd "${FILESDIR}/mldonkey.confd-2.8" mldonkey fperms 600 /etc/conf.d/mldonkey newinitd "${FILESDIR}/mldonkey.initd" mldonkey fi if use gtk; then for i in mlgui mlguistarter; do newbin $i$myext $i || die "failed to install $i" done make_desktop_entry mlgui "MLDonkey GUI" mldonkey "Network;P2P" newicon "${S}"/packages/rpm/mldonkey-icon-48.png ${PN}.png fi if use doc ; then cd "${S}"/distrib dodoc ChangeLog *.txt dohtml *.html insinto /usr/share/doc/${PF}/scripts doins kill_mldonkey mldonkey_command mldonkey_previewer make_buginfo cd "${S}"/docs dodoc *.txt *.tex *.pdf dohtml *.html cd "${S}"/docs/developers dodoc *.txt *.tex cd "${S}"/docs/images insinto /usr/share/doc/${PF}/html/images doins * fi } pkg_preinst() { if ! use guionly; then enewuser ${MLUSER} -1 -1 /home/p2p users fi } pkg_postinst() { if ! use guionly; then echo einfo "If you want to start MLDonkey as a system service, use" einfo "the /etc/init.d/mldonkey script. To control bandwidth, use" einfo "the 'slow' and 'fast' arguments. Be sure to have a look at" einfo "/etc/conf.d/mldonkey also." echo einfo "Attention: 2.6 has changed the inifiles structure, so downgradin= g" einfo "will be problematic." einfo "User settings (admin) are transferred to users.ini from " einfo "downloads.ini" einfo "Old ini files are automatically converted to the new format" echo else echo einfo "Simply run mlgui to start the chosen MLDonkey gui." einfo "It puts its config files into ~/.mldonkey" fi }