version 2.7.4 is out
i recommend that we get rid of the mozilla USE option and extension (mldonkey protocol handler), since isn't very useful. it doesn't handle torrent links, and what it does do can easily be done by <a href="https://savannah.nongnu.org/patch/index.php?func=detailitem&item_id=4536">existing</a> scripts (along with firefox's builtin protocol-handler support, as i described in bug #107339)
Created attachment 82309 [details] mldonkey 2.7.4 updated ebuild.. all the same, except "mozilla" option removed
Created attachment 82322 [details, diff] fixes mldonkey's bug14540 until it gets fixed upstream, it is a major issue. i think :|
Created attachment 82323 [details] mldonkey 2.7.4 ebuild, without mozilla, with shared-files patch
Created attachment 82336 [details, diff] displays download progress bar as an HR it's essential for users of the web interface, who force their own colors in their browsers.
Created attachment 82337 [details] mldonkey-2.7.4 ebuild, without mozilla, with shared-files fix, with HR download progress bar
FYI: patch "fixes mldonkey's bug14540" was committed to CVS and will be part of MLDonkey 2.7.5 patch "displays download progress bar as an HR" breaks HTML interface for Opera and Internet Explorer. The patch in its current forum will not be applied to CVS and should not be part of an ebuild. See the discussion here: https://savannah.nongnu.org/patch/?func=detailitem&item_id=4977
Version 2.7.5 is out
2.7.5 fails to compile here with the following: ocamlopt.opt -inline 10 -linkall -o dp500 src/utils/cdk/zlibstubs.o src/utils/cdk/heap_c.o src/config/unix/os_stubs_c.o src/utils/lib/fst_hash.o src/utils/lib/md4_comp.o src/utils/lib/md4_c.o src/utils/lib/md5_c.o src/utils/lib/sha1_c.o src/utils/lib/tiger.o src/utils/lib/stubs_c.o src/utils/lib/charsetstubs.o src/utils/net/multicast_c.o unix.cmxa str.cmxa -ccopt " " -cclib "-lz " -cclib -lbz2 -ccopt "-pthread" -I build src/utils/cdk/bzlib.cmx src/utils/cdk/bzip2.cmx src/utils/cdk/zlib.cmx src/utils/cdk/zip.cmx src/utils/cdk/gzip.cmx src/utils/cdk/tar.cmx src/utils/lib/autoconf.cmx src/utils/lib/fifo.cmx src/utils/cdk/arg2.cmx src/utils/cdk/printf2.cmx src/utils/cdk/heap.cmx src/utils/cdk/dprintf.cmx src/utils/cdk/printexc2.cmx src/utils/cdk/genlex2.cmx src/utils/cdk/sysenv.cmx src/utils/cdk/netbase.cmx src/utils/cdk/filepath.cmx src/utils/cdk/string2.cmx src/utils/cdk/filename2.cmx src/utils/cdk/list2.cmx src/utils/cdk/hashtbl2.cmx src/utils/cdk/unix2.cmx src/utils/cdk/file.cmx src/utils/cdk/array2.cmx src/utils/cdk/sort2.cmx src/config/unix/mlUnix.cmx src/utils/lib/bitv.cmx src/utils/lib/intmap.cmx src/utils/lib/stringMap.cmx src/utils/lib/int64ops.cmx src/utils/lib/options.cmx src/utils/lib/numset.cmx src/utils/lib/intset.cmx src/utils/lib/hole_tab.cmx src/utils/lib/store.cmx src/utils/lib/indexer.cmx src/utils/lib/indexer1.cmx src/utils/lib/indexer2.cmx src/utils/lib/host.cmx src/utils/lib/misc2.cmx src/utils/lib/misc.cmx src/utils/lib/unix32.cmx src/utils/lib/md4.cmx src/utils/lib/avifile.cmx src/utils/lib/http_lexer.cmx src/utils/lib/url.cmx src/utils/ocamlrss/rss_date.cmx src/utils/lib/date.cmx src/utils/lib/gettext.cmx src/utils/lib/set2.cmx src/utils/lib/queues.cmx src/utils/lib/charset.cmx src/utils/net/basicSocket.cmx src/utils/net/ip.cmx src/utils/net/ip_set.cmx src/utils/net/geoip.cmx src/utils/net/mailer.cmx src/utils/net/base64.cmx src/utils/net/anyEndian.cmx src/utils/net/bigEndian.cmx src/utils/net/littleEndian.cmx src/utils/net/tcpBufferedSocket.cmx src/utils/net/tcpServerSocket.cmx src/utils/net/udpSocket.cmx src/utils/net/http_server.cmx src/utils/net/http_client.cmx src/utils/net/multicast.cmx src/utils/net/cobs.cmx src/utils/net/terminal.cmx src/utils/mp3tagui/mp3_info.cmx src/utils/mp3tagui/mp3_genres.cmx src/utils/mp3tagui/mp3_misc.cmx src/utils/mp3tagui/mp3_tag.cmx src/utils/mp3tagui/mp3tag.cmx src/daemon/common/commonTypes.cmx src/daemon/common/guiProto.cmx src/daemon/common/commonOptions.cmx src/daemon/common/commonMessages.cmx src/daemon/common/commonGlobals.cmx src/daemon/driver/driverLink.cmx tools/dp500.cmx src/daemon/common/commonMain.cmx No implementations provided for the following modules: CommonUserDb referenced from src/daemon/common/commonGlobals.cmx make: *** [dp500] Error 2 make: *** Waiting for unfinished jobs.... !!! ERROR: net-p2p/mldonkey-2.7.5 failed. emerge info: Portage 2.1_pre7-r5 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.16-gentoo-r1 i686) ================================================================= System uname: 2.6.16-gentoo-r1 i686 AMD Athlon(TM) XP 2200+ Gentoo Base System version 1.12.0_pre17 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distcc distlocks fixpackages metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.inode.at/" LANG="en_GB.UTF-8" LC_ALL="en_GB.UTF-8" LINGUAS="en" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X X509 a52 acl acpi alsa applet avi bash-completion beagle berkdb bitmap-fonts bonobo browserplugin bzip2 cairo calendar ccache cddb cdparanoia cdr cpudetection crypt css custom-cflags daap dbus dio dmx dri dts dvd dvdr dvdread eds encode esd fam fat firefox flac font-server ftp gdbm geoip gif glade glx gmp gnome gnomecanvas gnomedb gnutls gpgme gpm gs gstreamer gtk gtk2 gtkhtml guile gvim hal hpn idn imap imlib ipv6 isdnlog ithreads java javascript jce jfs jp2 jpeg keyscrub lame libg++ libgda libsamplerate libwww mad maildir md5sum mikmod mime mmx mono motif moznocompose moznoirc mozsvg mp3 mpeg mpeg2 mplayer musicbrainz mzscheme ncurses network nextaw nls nntp nptl nptlonly nsplugin ntfs nvidia ogg oggvorbis on-the-fly-crypt opengl osc oss pam pdflib pic png pppd python quicktime readline real reiserfs sasl sdl smtp sndfile sockets speex spell sse ssl svg svga symlink sysfs tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb utf8 v4l v4l2 vda vorbis win32codecs wmf wxwindows xfs xml2 xmms xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en userland_GNU video_cards_nvidia" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS
dp500 is a tool to be used with a Kiss DP500 DVD player. If you do not want to use it you can ignore this error message. Nonetheless here is a patch for the compile bug: https://savannah.nongnu.org/patch/index.php?func=detailitem&item_id=5039 What about introducing a new USE flag "utils" to en-/disable the compile/install of the additional tools?
(In reply to comment #10) > What about introducing a new USE flag "utils" to en-/disable the > compile/install of the additional tools? Sounds useful for me... How many "utils" are in mldonkey? PS: the dp500 patch works well here
Will be there any ebuilds for 2.7.5 ?
Created attachment 85430 [details] mldonkey 2.7.5 with multiuser patch this is a version bump for 2.7.5 with multiuser patch (you can delete it from src_compile/epatch multigroup.patch) note that the previous patches are not necessary with this version (or at least fail to apply).
Where can I find the multiuser patch? Couldn't find it in on savannah. Is it necessary? Can you attach it here?
Created attachment 85444 [details, diff] multiuser patch for mldonkey >=2.7.5 sorry I forgot to add it. BTW, you can disable it from the ebuild, just delete the line that says epatch ${FILESDIR}\multigroup.patch on the src_compile function. If you need more help about the path look here: http://mldonkey.sourceforge.net/MultiUser
The multiuser patch is alpha quality, it is not sure whether the ini file format will stay the same, please do not use that patch in an official Gentoo ebuild.
Well fine :) Works good. Anybody knows, when it will be in Portage?
Regarding USE flag "mozilla": its not needed to download the .xpi file from the net, its included in MLDonkey source tarball in ./distrib/ed2k_mozilla
When will it be added to portage?!
I do not know, the current maintainer seems to have left...
(In reply to comment #20) > I do not know, the current maintainer seems to have left... > Ah, I'm back now and working on it, just give me a little time to test this out ;). I'm very sorry for the delay.
Created attachment 86999 [details] scanelf-execstack.log I'm getting a QA notice which is hindering me from committing this all to portage: QA Notice: the following files contain executable stacks Files with executable stacks will not work properly (or at all!) on some architectures/operating systems. A bug should be filed at http://bugs.gentoo.org/ to make sure the file is fixed. For more information, see http://hardened.gentoo.org/gnu-stack.xml Please include this file in your report: /var/tmp/portage/mldonkey-2.7.5/temp/scanelf-execstack.log RWX --- --- usr/bin/mlim RWX --- --- usr/bin/mlgui RWX --- --- usr/bin/mlnet RWX --- --- usr/bin/get_range RWX --- --- usr/bin/subconv RWX --- --- usr/bin/make_torrent RWX --- --- usr/bin/mlchat RWX --- --- usr/bin/mlguistarter RWX --- --- usr/bin/mld_hash RWX --- --- usr/bin/copysources
fixed in portage. Thanks guys!