summaryrefslogtreecommitdiff
path: root/www-misc/gurlchecker
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /www-misc/gurlchecker
reinit the tree, so we can have metadata
Diffstat (limited to 'www-misc/gurlchecker')
-rw-r--r--www-misc/gurlchecker/Manifest8
-rw-r--r--www-misc/gurlchecker/files/gurlchecker-0.10.5-autoconf-tidy.patch15
-rw-r--r--www-misc/gurlchecker/files/gurlchecker-0.13.1-gnutls.patch26
-rw-r--r--www-misc/gurlchecker/files/gurlchecker-0.13.1-ldflags.patch40
-rw-r--r--www-misc/gurlchecker/gurlchecker-0.13.1-r2.ebuild73
-rw-r--r--www-misc/gurlchecker/metadata.xml14
6 files changed, 176 insertions, 0 deletions
diff --git a/www-misc/gurlchecker/Manifest b/www-misc/gurlchecker/Manifest
new file mode 100644
index 000000000000..b6cfc342c062
--- /dev/null
+++ b/www-misc/gurlchecker/Manifest
@@ -0,0 +1,8 @@
+AUX gurlchecker-0.10.5-autoconf-tidy.patch 457 SHA256 0d81425d3897d749a9ff1f8b8d251f37bbd72d8082a79336bd22821ec8a44eeb SHA512 00a039a8697530c89012433a975c24a5456488a35eed248d912eee08a9535c926804877efaa10283b6622f1b60c20f7dd56a95ad1b9f6c3fd3b26161248f16ee WHIRLPOOL 2388a600877507223fdf28965153a1e2573b5b07ca46ea1e45a88359d59fd90d1af1833f3f0a7deb42cbe5dcba1fb5ba84fe8c74398d3cd334bf7a610294ea13
+AUX gurlchecker-0.13.1-gnutls.patch 883 SHA256 9e4e4e555dab58a1f656979782c904f7b2a0675b643137156ff99186d7940dde SHA512 206831678a0f3b1401dac2df78b934033a0ec5413037d063887662a261cc422b7b7f04d2dffc365f22479152be11be7647c2564cab604ad544be6f188e2059b6 WHIRLPOOL 2fc3cecc7c8da7bb19cb9195cfd0bd5cfe9f9fa1945d31763b9f6e2fde193bd936ce4ea204ea7108f7b5f77aed7ea2c49dd2bcc9c5396a80e4136a9124e32265
+AUX gurlchecker-0.13.1-ldflags.patch 1239 SHA256 2306de08bd12008a75bee97cfde5af8b184c60d3deab1ff50743dcef2bb2bdb8 SHA512 30adb4d68850b02e2e10f0fc8da815adc996031809920006d7193227412db9d3125520ec608392bf52eb5438167a3bc256852faa2646bdba049cfe3b63571ced WHIRLPOOL 2833675fb9906a9c92ac7c7ade4d21d05e07167e7b2b52ddec355dba394ad23b8c71dae25ecd1b46e749ea30beb5bfc1aec860b8fe87ab46601349a0eb1585e1
+DIST gurlchecker-0.13.1.tar.gz 709336 SHA256 a94283094a0ca7f6833cade0ef7a043fd97d0cfe55c0072d9bf508165ca45aeb SHA512 25f76f4b0b84467a5751156fbd8497f25e057202a36fe33b24c91e42906f67dd7dbd21531682b050c534862fa4e62ceb0908d19f44926ac335d628cc9919a746 WHIRLPOOL 9c0c29516240fb16d719ba4406a0a3f772dc11a38971a4b339fa1714afaf7ecc8129bb3a06590fc9d21dea61c6d5aa852e4e3ea5f11fe5aab336d7a957773c75
+EBUILD gurlchecker-0.13.1-r2.ebuild 1658 SHA256 2b57116e9d19e31b013af03b62dc1d2bb23ef5edb0ee34acd779c13423d669e2 SHA512 6209d4af406ae43dc9c1a2349c5af16dfd24bf2e6c9f4dd023ab36ab6cac2b596ebc5a44cb20c8ad13a70e008a3c6f09d358fb211c5ecff6b282fe6ebca69e1f WHIRLPOOL efa64a70a178ae320b1f9d03a91937a41f84af7d4b8869ebaa4f89adbf5e4d711ef0a1e692b18e324ae19ed64350a1fc761ab96fc23827d00ea526f9c3a45cc3
+MISC ChangeLog 2899 SHA256 000839c4f7f8b46c9d5e779467dfa1fa86ec88f0bbb80e9250276a8b460a0fc0 SHA512 4ca1a9d520fb04fcedbcdc7b64d30c2876b8eb40d02d129fa87511e0027a0b08307f75bb6356415a48ebbd782e016f85cad9893d699e6aaabfa95ef3e4d014f1 WHIRLPOOL 42877f7c0890e92e1f2a69a8b6c860a88de4ca015cf0879736425e47e75fd547375e0f6f4429e42799931761b8fb2fb1e6b8489195dc397fb5cb21a275b4d36c
+MISC ChangeLog-2015 9183 SHA256 c0d7a75472ee1fba43c8bfc8fe731b6a53e34ad3ee14013c3794e6ea4999bbe9 SHA512 ac493330726f4e679d31cb78e04a1a5aa4428bc0682423aea63db3acf7c9c8890efe74376bc584953d1049c08504fb78e40b1f69619a3e7b9124334063857acc WHIRLPOOL 03ec541e9861278e02827ac7f9c6c461a445da7e557db7c728c9c83826fdfed12866141e0fc40774f239f9d7ceb30c4fd329842ca98a7790ae39b2cafa3da633
+MISC metadata.xml 563 SHA256 dabbbb5ef41f4ca386a9a5a4490c8075633bbe9f60310838186a115a0c00dac5 SHA512 330f08664d2af12a42184973cf33d0de05ae6d8cd56ead8936dc96c5c0c79f2909bf9d2f8e48e826326e9c0696e7eaf7c0fd170305819a0c6151f224a9269ed1 WHIRLPOOL 7b307131a591d939dae963b08668c21b6ae3836e74b3618a17929803a366d249334510b21175c16fdacd3262b471c9d53c9470b6068db5fe835388407b8fe210
diff --git a/www-misc/gurlchecker/files/gurlchecker-0.10.5-autoconf-tidy.patch b/www-misc/gurlchecker/files/gurlchecker-0.10.5-autoconf-tidy.patch
new file mode 100644
index 000000000000..a3aa4a15c50c
--- /dev/null
+++ b/www-misc/gurlchecker/files/gurlchecker-0.10.5-autoconf-tidy.patch
@@ -0,0 +1,15 @@
+--- a/configure.in 2008-06-23 06:53:17.000000000 +0200
++++ b/configure.in 2008-06-23 20:08:59.000000000 +0200
+@@ -174,10 +174,10 @@
+ [tidyCreate],
+ [
+ AC_CHECK_HEADERS(
+- [tidy.h tidy/tidy.h],
++ [tidy.h],
+ [
+ want_tidy=yes
+- TIDY_FLAGS="$TIDY_FLAGS -DHAVE_TIDY_H_IN_SUBDIR -DENABLE_TIDY"
++ TIDY_FLAGS="$TIDY_FLAGS -DENABLE_TIDY"
+ TIDY_LIBS="-ltidy"
+ #LDFLAGS="$LDFLAGS $want_tidy_path"
+ ],
diff --git a/www-misc/gurlchecker/files/gurlchecker-0.13.1-gnutls.patch b/www-misc/gurlchecker/files/gurlchecker-0.13.1-gnutls.patch
new file mode 100644
index 000000000000..341dc430b5a9
--- /dev/null
+++ b/www-misc/gurlchecker/files/gurlchecker-0.13.1-gnutls.patch
@@ -0,0 +1,26 @@
+Index: src/connection.c
+===================================================================
+--- src/connection.c (revision 827)
++++ src/connection.c (revision 828)
+@@ -230,20 +230,12 @@
+ #ifdef ENABLE_GNUTLS
+ if (strcmp (proto, UC_PROTOCOL_HTTPS) == 0)
+ {
+- const gint cert_type_priority[3] =
+- {
+- GNUTLS_CRT_X509,
+- GNUTLS_CRT_OPENPGP,
+- 0
+- };
+-
+ conn->use_gnutls = TRUE;
+ conn->port = atoi (UC_URL_DEFAULT_SSL_PORT);
+
+ gnutls_init (&conn->session_gnutls, GNUTLS_CLIENT);
+ gnutls_set_default_priority (conn->session_gnutls);
+- gnutls_certificate_type_set_priority (conn->session_gnutls,
+- cert_type_priority);
++ gnutls_set_default_priority (conn->session_gnutls);
+ gnutls_credentials_set (conn->session_gnutls, GNUTLS_CRD_CERTIFICATE,
+ xcred_gnutls);
+ }
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-r2.ebuild b/www-misc/gurlchecker/gurlchecker-0.13.1-r2.ebuild
new file mode 100644
index 000000000000..678043e21c44
--- /dev/null
+++ b/www-misc/gurlchecker/gurlchecker-0.13.1-r2.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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() {
+ epatch "${FILESDIR}/${PN}-0.13.1-gnutls.patch"
+
+ # 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
new file mode 100644
index 000000000000..407bd35a3d8d
--- /dev/null
+++ b/www-misc/gurlchecker/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+<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
+ or a browser bookmarks file.
+</longdescription>
+</pkgmetadata>