VMime is a powerful C++ class library for working with MIME messages and Internet messaging services like IMAP, POP or SMTP. With VMime you can parse, generate and modify messages, and also connect to store and transport services to receive or send messages over the Internet. The library offers all the features to build a complete mail client.
Created attachment 101038 [details] ebuild of libvmime-0.8.0 Only tested on x86
hey, I committed an ebuild a couple of weeks ago to the Gentoo Sunrise Overlay (see the Keywords for this bug). Could you please try that one and tell me whether it works for you? Thanks.
Created attachment 192504 [details, diff] libvmime-0.9.0-gcc4-4.patch Compile with gcc 4.4 (grabbed from upstream repository)
Created attachment 192508 [details] libvmime-0.9.0.ebuild Suggestion for improved ebuild. This handles net-misc/gsasl being installed instead of libgsasl and adds USE flags for sendmail, imap, maildir and pop.
When building with the following USE flags: [ebuild N ] dev-cpp/libvmime-0.9.0 USE="doc examples pop ssl -debug -imap -maildir -sasl -sendmail -smtp" The configure script reports that the SSL support is missing: +=================+ | CONFIGURATION | +=================+ Installation prefix : /usr Debugging mode : no Messaging support : yes * protocols : pop3 File-system support : yes Platform handlers : posix SASL support : no TLS/SSL support : no
Created attachment 234847 [details] libvmime-0.9.0.ebuild This updated version of the ebuild has the following changes: * EAPI=1 along with proper IUSE defaults (it's an e-mail library, it makes sense to build all of its parts by default) * Changed the IUSE definition to be consistent with checking for "gnutls" useflag (even though I wonder what's the policy of using "ssl" vs. "gnutls" for packages which do not support anything else) Please also note that the description of the "192504: libvmime-0.9.0-gcc4-4.patch" attachment has different file name than what is referenced from inside the build.
Created attachment 255795 [details] ebuild for 0.9.1 0.9.1 is released with several fixes, simply removing the patch would build fine for me.
Created attachment 279797 [details] fix gnutls dependency starting from gnutls 2.8.0 it privides gnutls.pc (for pkg-config) instead of libgnutls-conf script.
*** Bug 433996 has been marked as a duplicate of this bug. ***
(In reply to comment #9) > *** Bug 433996 has been marked as a duplicate of this bug. *** Mike, you must be kidding? How do you recognize a *duplicate* of 433996 as this bug??? 433996 is about that libvmime can't be used after install w/ clang...
(In reply to comment #10) > Mike, you must be kidding? How do you recognize a *duplicate* of 433996 as this bug??? > 433996 is about that libvmime can't be used after install w/ clang... From the other bug: > Commits to sunrise are made by users directly. Please join #gentoo-sunrise if you are interested in fixing this. Since sunrise is a user-maintained overlay, the sunrise team does not accept bug reports about specific packages - and requires all discussion to take place in the original "package request" bug. If you wish to commit your fixes to sunrise, please see the project page[1] or drop by #gentoo-sunrise. [1]: http://www.gentoo.org/proj/en/sunrise/
libtool: compile: i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I.. -D_REENTRANT=1 -D_THREAD_SAFE=1 -fPIC -DPIC -ansi -pedantic -W -Wall -Wpointer-arith -Wold-style-cast -Wconversion -O2 -c net_maildir_format_courierMaildirFormat.cpp -fPIC -DPIC -o .libs/net_maildir_format_courierMaildirFormat.o /bin/sh ../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I.. -D_REENTRANT=1 -D_THREAD_SAFE=1 -fPIC -DPIC -ansi -pedantic -W -Wall -Wpointer-arith -Wold-style-cast -Wconversion -O2 -c -o net_tls_TLSSession.lo net_tls_TLSSession.cpp libtool: compile: i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I.. -D_REENTRANT=1 -D_THREAD_SAFE=1 -fPIC -DPIC -ansi -pedantic -W -Wall -Wpointer-arith -Wold-style-cast -Wconversion -O2 -c net_tls_TLSSession.cpp -fPIC -DPIC -o .libs/net_tls_TLSSession.o net_tls_TLSSession.cpp:25:26: fatal error: gnutls/extra.h: No such file or directory compilation terminated. make[2]: *** [net_tls_TLSSession.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... libtool: compile: i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I.. -D_REENTRANT=1 -D_THREAD_SAFE=1 -fPIC -DPIC -ansi -pedantic -W -Wall -Wpointer-arith -Wold-style-cast -Wconversion -O2 -c net_maildir_format_kmailMaildirFormat.cpp -o net_maildir_format_kmailMaildirFormat.o >/dev/null 2>&1 libtool: compile: i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I.. -D_REENTRANT=1 -D_THREAD_SAFE=1 -fPIC -DPIC -ansi -pedantic -W -Wall -Wpointer-arith -Wold-style-cast -Wconversion -O2 -c net_maildir_format_courierMaildirFormat.cpp -o net_maildir_format_courierMaildirFormat.o >/dev/null 2>&1 make[2]: Leaving directory `/var/tmp/portage/dev-cpp/libvmime-0.9.1/work/libvmime-0.9.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-cpp/libvmime-0.9.1/work/libvmime-0.9.1' make: *** [all] Error 2 * ERROR: dev-cpp/libvmime-0.9.1 failed (compile phase): * emake failed
Hello, everyone. It seems that at least one ebuild related to this bug exists in the Sunrise overlay at the moment. However, I have to regretfully announce that after a long inactivity period the Sunrise project has been discontinued and the related overlay will be eventually removed. For this reason, I'd like to ask you to reevaluate the ebuilds and consider moving them. If you'd like to maintain a package from Sunrise in Gentoo, please take a look at our Proxy Maintainers [1] project. Please make sure to take ebuilds from the unreviewed developer Sunrise repository [2] rather than the -reviewed one, since the latter has not been updated for over a year. While at it, please note that: 1. Adding a package to Gentoo requires declaring yourself as an active maintainer for it. All bugs regarding the package will be assigned to you, and you will be expected to maintain it. 2. Some packages may not be suitable for addition anymore. While there's no strong rules that would prevent you from adding a package, it may be a bad idea to add old-unmaintained packages that will shortly result in a large number of bugs reported with no solution. If that is the case, please close the bug as RESOLVED/OBSOLETE to make it easier to find packages worth adding. 3. Some of the bugs were already closed as WONTFIX/OBSOLETE/... while the relevant ebuild was kept in Sunrise. If you disagree with the original decision, you still can add the ebuild via proxy-maint. 4. Pleaes note that many of the Sunrise ebuilds are old and may be buggy. If you decide to move them, please make sure to update/clean them up. The proxy-maint team will also review your ebuilds, therefore making sure they land in Gentoo in good quality. Once again, thank you for your contribution. We hope that you will still want to contribute to Gentoo, through proxy-maint or otherwise. [1]:https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers [2]:https://gitweb.gentoo.org/proj/sunrise.git/
I needed to get vmime working on my Gentoo system and I created an ebuild for the Git version. The current version of vmime (0.9.2) is broken (cmake gets into infinite loop when ninja is started) and even its website says that the Git version should be preferred. I will attach my ebuild file. I can maintain the 9999 version, but I do not really want to fix vmime build configuration.
Created attachment 800800 [details] My ebuild for the Git version