From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2A6F559CA3 for ; Wed, 9 Mar 2016 02:29:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C47C5E07DF; Wed, 9 Mar 2016 02:29:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5F28BE07DF for ; Wed, 9 Mar 2016 02:29:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5AE01340B3F for ; Wed, 9 Mar 2016 02:29:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 226BE1BA1 for ; Wed, 9 Mar 2016 02:29:18 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1457490556.778ca6884a42ec08621e7ec2c918ef77f9086d2d.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/wireshark/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/wireshark/wireshark-2.0.2-r1.ebuild net-analyzer/wireshark/wireshark-99999999.ebuild X-VCS-Directories: net-analyzer/wireshark/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 778ca6884a42ec08621e7ec2c918ef77f9086d2d X-VCS-Branch: master Date: Wed, 9 Mar 2016 02:29:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 437e34dc-9524-46a4-b4ee-35e518c34ca4 X-Archives-Hash: 7a4c29dd734aeef4ef9a79db18471de2 commit: 778ca6884a42ec08621e7ec2c918ef77f9086d2d Author: Jeroen Roovers gentoo org> AuthorDate: Wed Mar 9 02:28:28 2016 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Wed Mar 9 02:29:16 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=778ca688 net-analyzer/wireshark: Use upstream .desktop files (bug #576442 by Jan Chren (rindeal)). Package-Manager: portage-2.2.27 ...k-99999999.ebuild => wireshark-2.0.2-r1.ebuild} | 59 +++++++++------------- net-analyzer/wireshark/wireshark-99999999.ebuild | 13 ----- 2 files changed, 25 insertions(+), 47 deletions(-) diff --git a/net-analyzer/wireshark/wireshark-99999999.ebuild b/net-analyzer/wireshark/wireshark-2.0.2-r1.ebuild similarity index 87% copy from net-analyzer/wireshark/wireshark-99999999.ebuild copy to net-analyzer/wireshark/wireshark-2.0.2-r1.ebuild index 21cfa15..6ac1120 100644 --- a/net-analyzer/wireshark/wireshark-99999999.ebuild +++ b/net-analyzer/wireshark/wireshark-2.0.2-r1.ebuild @@ -3,25 +3,27 @@ # $Id$ EAPI=5 -inherit autotools eutils fcaps flag-o-matic git-r3 multilib qmake-utils qt4-r2 user +inherit autotools eutils fcaps flag-o-matic multilib qmake-utils qt4-r2 user DESCRIPTION="A network protocol analyzer formerly known as ethereal" HOMEPAGE="http://www.wireshark.org/" -EGIT_REPO_URI="https://code.wireshark.org/review/wireshark" +SRC_URI="${HOMEPAGE}download/src/all-versions/${P/_/}.tar.bz2" LICENSE="GPL-2" SLOT="0/${PV}" -KEYWORDS="" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" IUSE=" - adns androiddump +caps cpu_flags_x86_sse4_2 crypt doc doc-pdf geoip +gtk3 - ipv6 kerberos lua +netlink +pcap portaudio +qt4 qt5 sbc selinux smi ssl - tfshark zlib + adns androiddump +caps crypt doc doc-pdf geoip +gtk3 ipv6 kerberos lua + +netlink +pcap portaudio +qt4 qt5 selinux sbc smi tfshark + cpu_flags_x86_sse4_2 ssl zlib " REQUIRED_USE=" ssl? ( crypt ) ?? ( qt4 qt5 ) " +S=${WORKDIR}/${P/_/} + GTK_COMMON_DEPEND=" x11-libs/gdk-pixbuf x11-libs/pango @@ -91,15 +93,14 @@ pkg_setup() { enewgroup wireshark } -src_unpack() { - git-r3_src_unpack -} - src_prepare() { epatch \ + "${FILESDIR}"/${PN}-1.6.13-ldflags.patch \ + "${FILESDIR}"/${PN}-1.11.0-oldlibs.patch \ + "${FILESDIR}"/${PN}-99999999-pkgconfig.patch \ "${FILESDIR}"/${PN}-1.99.8-qtchooser.patch \ - "${FILESDIR}"/${PN}-99999999-sse4_2.patch \ - "${FILESDIR}"/${PN}-99999999-androiddump.patch + "${FILESDIR}"/${PN}-2.0.0-androiddump-pcap.patch \ + "${FILESDIR}"/${PN}-2.1.0-sse4_2.patch epatch_user @@ -129,7 +130,13 @@ src_configure() { myconf+=( "--disable-wireshark" ) fi - use qt4 && export QT_MIN_VERSION=4.6.0 + if ! use qt4 && ! use qt5; then + myconf+=( "--with-qt=no" ) + fi + + if use qt4; then + export QT_MIN_VERSION=4.6.0 + fi if use qt5; then export QT_MIN_VERSION=5.3.0 @@ -140,19 +147,12 @@ src_configure() { use doc || export ac_cv_prog_HAVE_DOXYGEN=false use doc-pdf || export ac_cv_prog_HAVE_FOP=false - if use qt4; then - myconf+=" --with-qt=4" - elif use qt5; then - myconf+=" --with-qt=5" - else - myconf+=" --with-qt=no" - fi - # dumpcap requires libcap # --disable-profile-build bugs #215806, #292991, #479602 econf \ $(use androiddump && use pcap && echo --enable-androiddump-use-libpcap=yes) \ $(use_enable androiddump) \ + $(use_enable ipv6) \ $(use_enable tfshark) \ $(use_with adns c-ares) \ $(use_with caps libcap) \ @@ -164,6 +164,8 @@ src_configure() { $(use_with pcap dumpcap-group wireshark) \ $(use_with pcap) \ $(use_with portaudio) \ + $(usex qt4 --with-qt=4 '') \ + $(usex qt5 --with-qt=5 '') \ $(usex qt4 MOC=$(qt4_get_bindir)/moc '') \ $(usex qt4 RCC=$(qt4_get_bindir)/rcc '') \ $(usex qt4 UIC=$(qt4_get_bindir)/uic '') \ @@ -194,6 +196,7 @@ src_compile() { src_install() { default + if use doc; then dohtml -r docbook/{release-notes.html,ws{d,u}g_html{,_chunked}} if use doc-pdf; then @@ -209,6 +212,7 @@ src_install() { # install headers local wsheader for wsheader in \ + color.h \ config.h \ epan/*.h \ epan/crypt/*.h \ @@ -243,19 +247,6 @@ src_install() { done fi - if use gtk3; then - domenu wireshark.desktop - fi - - if use qt4 || use qt5; then - sed \ - -e '/Exec=/s|wireshark|&-qt|g' \ - -e 's|^Name.*=Wireshark|& (Qt)|g' \ - wireshark.desktop > wireshark-qt.desktop \ - || die - domenu wireshark-qt.desktop - fi - prune_libtool_files } diff --git a/net-analyzer/wireshark/wireshark-99999999.ebuild b/net-analyzer/wireshark/wireshark-99999999.ebuild index 21cfa15..7284d2f 100644 --- a/net-analyzer/wireshark/wireshark-99999999.ebuild +++ b/net-analyzer/wireshark/wireshark-99999999.ebuild @@ -243,19 +243,6 @@ src_install() { done fi - if use gtk3; then - domenu wireshark.desktop - fi - - if use qt4 || use qt5; then - sed \ - -e '/Exec=/s|wireshark|&-qt|g' \ - -e 's|^Name.*=Wireshark|& (Qt)|g' \ - wireshark.desktop > wireshark-qt.desktop \ - || die - domenu wireshark-qt.desktop - fi - prune_libtool_files }