ssuominen    14/07/22 10:36:03

  Modified:             ChangeLog
  Added:                midori-0.5.8-r1.ebuild
  Log:
  Patch from upstream tracker for "Save As" crashing wrt #498898 by Helmut 
Jarausch
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
4868F14D)

Revision  Changes    Path
1.129                www-client/midori/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/ChangeLog?rev=1.129&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/ChangeLog?rev=1.129&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/ChangeLog?r1=1.128&r2=1.129

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-client/midori/ChangeLog,v
retrieving revision 1.128
retrieving revision 1.129
diff -u -r1.128 -r1.129
--- ChangeLog   2 Jun 2014 16:50:27 -0000       1.128
+++ ChangeLog   22 Jul 2014 10:36:03 -0000      1.129
@@ -1,6 +1,12 @@
 # ChangeLog for www-client/midori
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/midori/ChangeLog,v 1.128 
2014/06/02 16:50:27 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/midori/ChangeLog,v 1.129 
2014/07/22 10:36:03 ssuominen Exp $
+
+*midori-0.5.8-r1 (22 Jul 2014)
+
+  22 Jul 2014; Samuli Suominen <[email protected]> +midori-0.5.8-r1.ebuild:
+  Patch from upstream tracker for "Save As" crashing wrt #498898 by Helmut
+  Jarausch
 
   02 Jun 2014; Samuli Suominen <[email protected]> midori-0.5.5.ebuild:
   Remove ~ppc keywording because of inactivity (can be restored if we get a



1.1                  www-client/midori/midori-0.5.8-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/midori-0.5.8-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/midori-0.5.8-r1.ebuild?rev=1.1&content-type=text/plain

Index: midori-0.5.8-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-client/midori/midori-0.5.8-r1.ebuild,v 
1.1 2014/07/22 10:36:03 ssuominen Exp $

EAPI=5

VALA_MIN_API_VERSION=0.16

PYTHON_COMPAT=( python2_7 )

unset _live_inherits

if [[ ${PV} == *9999* ]]; then
        EGIT_REPO_URI="git://git.xfce.org/apps/${PN}"
        _live_inherits=git-2
else
        KEYWORDS="~amd64 ~arm ~mips ~x86 ~x86-fbsd"
        SRC_URI="http://www.${PN}-browser.org/downloads/${PN}_${PV}_all_.tar.bz2
                http://dev.gentoo.org/~ssuominen/${P}-save_as.patch.xz";
fi

inherit eutils fdo-mime gnome2-utils pax-utils python-any-r1 cmake-utils vala 
${_live_inherits}

DESCRIPTION="A lightweight web browser based on WebKitGTK+"
HOMEPAGE="http://www.midori-browser.org/";

LICENSE="LGPL-2.1 MIT"
SLOT="0"
IUSE="deprecated doc granite introspection +jit +webkit2 zeitgeist"

RDEPEND=">=dev-db/sqlite-3.6.19:3
        >=dev-libs/glib-2.32.3
        dev-libs/libxml2
        >=net-libs/libsoup-2.38:2.4
        >=net-libs/libsoup-gnome-2.38:2.4
        >=x11-libs/libnotify-0.7
        x11-libs/libXScrnSaver
        deprecated? (
                >=net-libs/webkit-gtk-1.8.1:2[jit=]
                >=x11-libs/gtk+-2.24:2
                )
        !deprecated? (
                >=app-crypt/gcr-3
                x11-libs/gtk+:3
                webkit2? ( >=net-libs/webkit-gtk-1.11.91:3[jit=] )
                !webkit2? ( >=net-libs/webkit-gtk-1.8.1:3[jit=] )
                )
        granite? ( >=dev-libs/granite-0.2 )
        introspection? ( dev-libs/gobject-introspection )
        zeitgeist? ( >=dev-libs/libzeitgeist-0.3.14 )"
DEPEND="${RDEPEND}
        ${PYTHON_DEPS}
        $(vala_depend)
        dev-util/intltool
        gnome-base/librsvg
        sys-devel/gettext
        doc? ( dev-util/gtk-doc )"
REQUIRED_USE="granite? ( !deprecated )
        introspection? ( deprecated )
        webkit2? ( !deprecated )"

S=${WORKDIR}

pkg_setup() {
        python-any-r1_pkg_setup
}

src_unpack() {
        if [[ ${PV} == *9999* ]]; then
                git-2_src_unpack
        else
                default
        fi
}

src_prepare() {
        epatch "${WORKDIR}"/${P}-save_as.patch #498898
        vala_src_prepare
        sed -i -e '/install/s:COPYING:HACKING TODO TRANSLATE:' CMakeLists.txt 
|| die
}

src_configure() {
        strip-linguas -i po

        local mycmakeargs=(
                -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
                $(cmake-utils_use_use doc APIDOCS)
                $(cmake-utils_use_use introspection GIR)
                $(cmake-utils_use_use granite)
                $(cmake-utils_use_use zeitgeist)
                -DVALA_EXECUTABLE="${VALAC}"
                )

        if use deprecated; then
                mycmakeargs+=(
                        -DUSE_GTK3=OFF
                        -DHALF_BRO_INCOM_WEBKIT2=OFF
                        )
        else
                mycmakeargs+=(
                        -DUSE_GTK3=ON
                        $(cmake-utils_use webkit2 HALF_BRO_INCOM_WEBKIT2)
                        )
        fi

        cmake-utils_src_configure
}

src_install() {
        cmake-utils_src_install

        local jit_is_enabled
        if use deprecated; then
                has_version 'net-libs/webkit-gtk:2[jit]' && jit_is_enabled=yes
        else
                has_version 'net-libs/webkit-gtk:3[jit]' && jit_is_enabled=yes
        fi
        [[ ${jit_is_enabled} == yes ]] && pax-mark -m "${ED}"/usr/bin/${PN} 
#480290
}

pkg_preinst() {
        gnome2_icon_savelist
}

pkg_postinst() {
        fdo-mime_desktop_database_update
        fdo-mime_mime_database_update
        gnome2_icon_cache_update
}

pkg_postrm() {
        fdo-mime_desktop_database_update
        fdo-mime_mime_database_update
        gnome2_icon_cache_update
}




Reply via email to