diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2014-09-27 17:36:10 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2014-09-27 17:36:10 +0000 |
commit | 175998adb956958ea3ea27204356e4484e6c5582 (patch) | |
tree | 5d7d5a04c74bfd1b901214d6f7700ec205b8b871 /www-misc | |
parent | New package for bug 523598 (diff) | |
download | gentoo-2-175998adb956958ea3ea27204356e4484e6c5582.tar.gz gentoo-2-175998adb956958ea3ea27204356e4484e6c5582.tar.bz2 gentoo-2-175998adb956958ea3ea27204356e4484e6c5582.zip |
Do not manipulate LDFLAGS for no reason. Update to EAPI=5. Use gnome team guidelines. Fix .desktop QA warning. Add missing support for Chrome and Firefox.
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key C6085806)
Diffstat (limited to 'www-misc')
-rw-r--r-- | www-misc/gurlchecker/ChangeLog | 13 | ||||
-rw-r--r-- | www-misc/gurlchecker/files/gurlchecker-0.13.1-ldflags.patch | 40 | ||||
-rw-r--r-- | www-misc/gurlchecker/gurlchecker-0.13.1-r1.ebuild | 72 | ||||
-rw-r--r-- | www-misc/gurlchecker/metadata.xml | 4 |
4 files changed, 127 insertions, 2 deletions
diff --git a/www-misc/gurlchecker/ChangeLog b/www-misc/gurlchecker/ChangeLog index f8655a82bd62..7cf662b836de 100644 --- a/www-misc/gurlchecker/ChangeLog +++ b/www-misc/gurlchecker/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for www-misc/gurlchecker -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-misc/gurlchecker/ChangeLog,v 1.40 2012/08/22 13:49:56 kensington Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-misc/gurlchecker/ChangeLog,v 1.41 2014/09/27 17:36:10 eva Exp $ + +*gurlchecker-0.13.1-r1 (27 Sep 2014) + + 27 Sep 2014; Gilles Dartiguelongue <eva@gentoo.org> + +gurlchecker-0.13.1-r1.ebuild, +files/gurlchecker-0.13.1-ldflags.patch, + metadata.xml: + Do not manipulate LDFLAGS for no reason. Update to EAPI=5. Use gnome team + guidelines. Fix .desktop QA warning. Add missing support for Chrome and + Firefox. 22 Aug 2012; Michael Palimaka <kensington@gentoo.org> -files/gurlchecker-0.10.2-configure.in.patch, diff --git a/www-misc/gurlchecker/files/gurlchecker-0.13.1-ldflags.patch b/www-misc/gurlchecker/files/gurlchecker-0.13.1-ldflags.patch new file mode 100644 index 000000000000..904eab719f21 --- /dev/null +++ b/www-misc/gurlchecker/files/gurlchecker-0.13.1-ldflags.patch @@ -0,0 +1,40 @@ +# Autofoo of this package is just insane, need to rewrite it someday. +# Don't touch LDFLAGS, there is no need to +--- a/configure.in 2008-06-15 21:27:45.000000000 +0200 ++++ b/configure.in 2008-06-15 21:34:45.000000000 +0200 +@@ -120,7 +120,7 @@ + [ + want_croco=yes + CROCO_FLAGS="-DENABLE_CROCO $CROCO_CFLAGS" +- LDFLAGS="$LDFLAGS $want_croco_path" ++ #LDFLAGS="$LDFLAGS $want_croco_path" + ], + [ + want_croco=no +@@ -178,7 +179,7 @@ + have_tidy=yes + TIDY_FLAGS="$TIDY_FLAGS -DHAVE_TIDY_H_IN_SUBDIR -DENABLE_TIDY" + TIDY_LIBS="-ltidy" +- LDFLAGS="$LDFLAGS $want_tidy_path" ++ #LDFLAGS="$LDFLAGS $want_tidy_path" + ], + [have_tidy=no] + ) +@@ -238,7 +240,7 @@ + have_clamav=yes + CLAMAV_FLAGS="$CLAMAV_FLAGS -DENABLE_CLAMAV" + CLAMAV_LIBS="-lclamav" +- LDFLAGS="$LDFLAGS $want_clamav_path" ++ #LDFLAGS="$LDFLAGS $want_clamav_path" + ], + [have_clamav=no] + ) +@@ -298,7 +300,7 @@ + have_clamav=yes + GNUTLS_FLAGS="$GNUTLS_FLAGS -DENABLE_GNUTLS" + GNUTLS_LIBS="-lgnutls" +- LDFLAGS="$LDFLAGS $want_gnutls_path" ++ #LDFLAGS="$LDFLAGS $want_gnutls_path" + ], + [ + have_clamav=yes diff --git a/www-misc/gurlchecker/gurlchecker-0.13.1-r1.ebuild b/www-misc/gurlchecker/gurlchecker-0.13.1-r1.ebuild new file mode 100644 index 000000000000..339427404ccb --- /dev/null +++ b/www-misc/gurlchecker/gurlchecker-0.13.1-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-misc/gurlchecker/gurlchecker-0.13.1-r1.ebuild,v 1.1 2014/09/27 17:36:10 eva Exp $ + +EAPI="5" +GCONF_DEBUG="no" + +inherit autotools eutils gnome2 + +DESCRIPTION="Gnome tool that checks links on web pages/sites" +HOMEPAGE="http://gurlchecker.labs.libre-entreprise.org/" +SRC_URI="http://labs.libre-entreprise.org/frs/download.php/857/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" +SLOT="0" +IUSE="clamav json sqlite ssl tidy" + +RDEPEND=" + >=x11-libs/gtk+-2.6:2 + >=gnome-base/libgnomeui-2 + >=gnome-base/libglade-2:2.0 + >=dev-libs/libxml2-2.6:2 + >=net-libs/gnet-2 + >=dev-libs/libcroco-0.6 + clamav? ( app-antivirus/clamav ) + json? ( >=dev-libs/json-glib-0.8 ) + sqlite? ( >=dev-db/sqlite-3.6:3 ) + ssl? ( >=net-libs/gnutls-1 ) + tidy? ( app-text/htmltidy ) +" +# docbook-sgml-utils used to build the man page +DEPEND="${RDEPEND} + virtual/pkgconfig + >=dev-util/intltool-0.30 + app-text/docbook-sgml-utils + >=dev-util/gtk-doc-am-1.1 +" + +src_prepare() { + # Stop manipulating LDFLAGS for no reason + epatch "${FILESDIR}/${PN}-0.13.1-ldflags.patch" + + # Fix tidy.h include dir for Gentoo: + epatch "${FILESDIR}/${PN}-0.10.5-autoconf-tidy.patch" + + # Fix .desktop validation + sed -e 's/Application;//' \ + -i gurlchecker.desktop.in || die + + eautoreconf + + gnome2_src_prepare +} + +src_configure() { + DOCS="AUTHORS CONTRIBUTORS ChangeLog FAQ NEWS README THANKS TODO" + + gnome2_src_configure \ + --with-croco \ + $(use_with clamav) \ + $(use_with json) \ + $(use_with sqlite sqlite3) \ + $(use_with ssl gnutls) \ + $(use_with tidy) +} + +src_install() { + gnome2_src_install + + rm -r "${D}"/usr/share/doc/${PN} || die +} diff --git a/www-misc/gurlchecker/metadata.xml b/www-misc/gurlchecker/metadata.xml index 9582aeab5656..771f8367af9f 100644 --- a/www-misc/gurlchecker/metadata.xml +++ b/www-misc/gurlchecker/metadata.xml @@ -4,6 +4,10 @@ <maintainer> <email>maintainer-needed@gentoo.org</email> </maintainer> +<use> + <flag name="json">Enable support for parsing Google Chrome and derivatives bookmarks.</flag> + <flag name="sqlite">Enable support for parsing Firefox and derivatives bookmarks.</flag> +</use> <longdescription> gURLChecker is a graphical web links checker for GNU/Linux and other POSIX OS. It can work on a whole site, a single local page |