summaryrefslogtreecommitdiff
path: root/net-libs/libgrss
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 /net-libs/libgrss
reinit the tree, so we can have metadata
Diffstat (limited to 'net-libs/libgrss')
-rw-r--r--net-libs/libgrss/Manifest9
-rw-r--r--net-libs/libgrss/files/libgrss-0.5.0-fix-slotting.patch124
-rw-r--r--net-libs/libgrss/files/libgrss-0.5.0-headers.patch11
-rw-r--r--net-libs/libgrss/libgrss-0.5.0-r1.ebuild40
-rw-r--r--net-libs/libgrss/libgrss-0.7.0.ebuild26
-rw-r--r--net-libs/libgrss/metadata.xml12
6 files changed, 222 insertions, 0 deletions
diff --git a/net-libs/libgrss/Manifest b/net-libs/libgrss/Manifest
new file mode 100644
index 000000000000..706a3347a93c
--- /dev/null
+++ b/net-libs/libgrss/Manifest
@@ -0,0 +1,9 @@
+AUX libgrss-0.5.0-fix-slotting.patch 3986 SHA256 1afeb4aed5366db5487b8c59da032d9d3b0a6683c24305131776a32d73b2ba27 SHA512 797b2290d1a7bb40b3a89c2fcd7cb8f26c0cdd242e510c51880bf6aacbe511f74207b35c9d114a8cee6854cf4379f13c0297b080493a787c27039fbf0a6d69c3 WHIRLPOOL 538bf63f847d65e4c9462b7e0af54a5867f7d2736cd0cfc077a691d417019959d278ac80b3beee7e7a3f9da69a951f0ed761d0b0074a5759d17f5a295aa20268
+AUX libgrss-0.5.0-headers.patch 268 SHA256 c59355e1d062f4ca64b6ebfcf1b81734d6cc557cabfa38b2bcad9981de5cb0a6 SHA512 4352a3f80f5dccd164adacd32a3568df7c7274bac9a80cb4aac2d2e41cf62e40156a4aa96e4cd420f8279821b17dc63a51bafeab2cd7b5e1d3c0d760c503f738 WHIRLPOOL f081a0b4db7f6f862d91cce12bdcdab87f8a3abb3a1b322be6fdc9f7ca7c6a121ddc549dbf0558c12cbf05d83902be0d529e570a906383d6ab1f05edd2834a3c
+DIST libgrss-0.5.0.tar.gz 439634 SHA256 a0b5d9cc18b90891c20b3645567b31edda1e6f61e6a4c2f314ac77490bb767b1 SHA512 189c49b7bdf029160e72d3d89c6779e193373e5a3af7f810041bf325d0b5543bb87b414d833a13e028a589b96a4d53bb223e88667d18d2c53f610d6086bb60ea WHIRLPOOL 5fe0b4c53e3d66ac95fdb7d9032454d62c80fd8640c5af48574e10eff15f997d767fa821fb16b4fd4eda8ede1563411ae821c9f2980f9861f3c93131fe7a130c
+DIST libgrss-0.7.0.tar.xz 362360 SHA256 6709c0f630a915ea7d5f1ac88ac173ef974d8d7406f43bd4be70d3e71fd554d9 SHA512 22a4f13ee979932575c6efd25bfd2fb184ea113aa34254d9e4bfb64cfbbd9b277dd235b8c9be037baf8c85bea7ba3bc1478ec3c7a3c87e63aeddb1774959c780 WHIRLPOOL 6b5c8a8a5140af90db1dba1368b6cec638a68fe1f3b2fee5e79b143e6d8d576df087e5be3d0a927afb602c4ebf9733d781ce0e65d7122e0c6d8eaeda26f7fcd0
+EBUILD libgrss-0.5.0-r1.ebuild 870 SHA256 48ce33d372c36930d5bf92ffce860d1ede7d8ac40c582ba91856aa5b8520a350 SHA512 2661759badc30857e449aa5f53b167e4ed9a7cb0b9e29c65194d8b09a9c53ff4fd1da7d26c83a42186d3cff9399730c88d6e86ef4c0c692697a06fc2b4060871 WHIRLPOOL 42c95608fbe0cecc4aaa5a0ab8a794a4d449792f14a99983fd65e9c18cce1d0be393dd4b11ab4bf6e9ca2cbc87c32f4ed3183cce926af836018071a7c11e3655
+EBUILD libgrss-0.7.0.ebuild 615 SHA256 824103d1aee5509dfd31b8dc3208917f4b5a9df6163edf2d0a99ba1fdb870e63 SHA512 d5f4d2cff93db961c456684cd26894a343082be9d1ad4f72d71134718842941890c3ecdeaf0124567fb8aed957aba8ebf054239e5795eb13ce7efdd130cc76a4 WHIRLPOOL 0ed8cae8e92c9722626850ef1b9ebf1c616b204d41f3fa6aa93d7bee80b88f84d6b781ef87b5b0928a99abd059dce848fa13b6cdab9facf4dff3ba5083302fc0
+MISC ChangeLog 3298 SHA256 f24356216053dccd2f9e22d1cb418571aa94ee445bbde13c2eb4dcfa18716622 SHA512 eac877d1cc30d8287a9cede0c60048fbdde4b6321e94874ee5cd2d8137f0bb43f7702054e034fd146ec9539fdfe04ff19cd5baafe3a8e460e69a1da15f03c7d3 WHIRLPOOL c2039fdb364c906794ba3903f2c9e699b94e66778562cbe5f3471a3981b0434475318b35f34df56d4571cedb104adf6e740931d87305ec76bf4d3ce388e042b7
+MISC ChangeLog-2015 3162 SHA256 adbe345ebae9fb38d71368d480b627bda45117495077dbec672e7ed933aa63d0 SHA512 acab6746e74d382c7f905af0427001593a32ce7b9323ca541c0309ed6c7d38940ad52caef2ed8dd0e194b49b20ade05a610db8fd031321c311e4ec5c7f9b9a94 WHIRLPOOL 16873442a0231f64cc3524591991bbc3c330726346f177a7c3ace8ba808657bd1c09025ccbb5eca34d10199fa41a02bd9cf14c8dab0b7bb745d75c153550458f
+MISC metadata.xml 392 SHA256 f3a1ab1b6973d93d6371a74b0fc5a6fc711b7e0b6bfb1efbb22b27575d072141 SHA512 ea3b3f271fba72e28c4d0ab6db46c4fe58d5bac4999192a324ecea7f5199b8191cdaaaba89fc437bc24fa146a29a61a17f3df12bbc3d32c69a6aa91a795c05e3 WHIRLPOOL 9ac5286d9f91ab5ad02f0bec2acda45b54f1371c32eacd6743ebd18b0c847751e94663f15d7f0e1c91cf092103ce7304f6e2fbe3749b7fcb59b34d130199668f
diff --git a/net-libs/libgrss/files/libgrss-0.5.0-fix-slotting.patch b/net-libs/libgrss/files/libgrss-0.5.0-fix-slotting.patch
new file mode 100644
index 000000000000..01146aeb0902
--- /dev/null
+++ b/net-libs/libgrss/files/libgrss-0.5.0-fix-slotting.patch
@@ -0,0 +1,124 @@
+From 4b93347fee20ea18196cab9f702be88ecd23f54e Mon Sep 17 00:00:00 2001
+From: Gilles Dartiguelongue <eva@gentoo.org>
+Date: Mon, 1 Apr 2013 16:07:21 +0200
+Subject: [PATCH 1/2] Fix parallel installation for API version 0.5
+
+---
+ Makefile.am | 5 +++--
+ configure.ac | 3 +++
+ doc/reference/Makefile.am | 4 ++--
+ libgrss.pc.in | 4 ++--
+ src/Makefile.am | 12 ++++++------
+ 5 files changed, 16 insertions(+), 12 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 8547d3b..a13acf4 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,11 +1,12 @@
+ ACLOCAL_AMFLAGS = -I m4
+ SUBDIRS = src doc
+ EXTRA_DIST = autogen.sh
++CLEANFILES = libgrss-$(LIBGRSS_API_VERSION).pc
+
+ pcfiledir = $(libdir)/pkgconfig
+-pcfile_DATA = libgrss-0.5.pc
++pcfile_DATA = libgrss-$(LIBGRSS_API_VERSION).pc
+
+ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
+
+-libgrss-0.5.pc: libgrss.pc
++libgrss-$(LIBGRSS_API_VERSION).pc: libgrss.pc
+ @cp -f $< $@
+diff --git a/configure.ac b/configure.ac
+index 61effa3..443140b 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1,6 +1,7 @@
+ m4_define([libgrss_major_version], [0])
+ m4_define([libgrss_minor_version], [5])
+ m4_define([libgrss_micro_version], [0])
++m4_define([libgrss_api_version], [0.5])
+
+ m4_define([libgrss_version],
+ [libgrss_major_version.libgrss_minor_version.libgrss_micro_version])
+@@ -46,10 +47,12 @@ AC_CHECK_FUNCS([strptime localtime_r])
+ LIBGRSS_MAJOR_VERSION=libgrss_major_version
+ LIBGRSS_MINOR_VERSION=libgrss_minor_version
+ LIBGRSS_MICRO_VERSION=libgrss_micro_version
++LIBGRSS_API_VERSION=libgrss_api_version
+ LIBGRSS_VERSION=libgrss_version
+ AC_SUBST(LIBGRSS_MAJOR_VERSION)
+ AC_SUBST(LIBGRSS_MICRO_VERSION)
+ AC_SUBST(LIBGRSS_MINOR_VERSION)
++AC_SUBST(LIBGRSS_API_VERSION)
+ AC_SUBST(LIBGRSS_VERSION)
+
+ dnl libgrss checks
+diff --git a/doc/reference/Makefile.am b/doc/reference/Makefile.am
+index 644642d..eafbc65 100644
+--- a/doc/reference/Makefile.am
++++ b/doc/reference/Makefile.am
+@@ -7,7 +7,7 @@ AUTOMAKE_OPTIONS = 1.6
+ # of using the various options.
+
+ # The name of the module, e.g. 'glib'.
+-DOC_MODULE=libgrss
++DOC_MODULE=libgrss-@LIBGRSS_API_VERSION@
+
+ # The top-level SGML file. You can change this if you want to.
+ DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
+@@ -71,7 +71,7 @@ expand_content_files=
+ # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
+
+ INCLUDES=-I$(top_srcdir) $(LIBGRSS_CFLAGS)
+-GTKDOC_LIBS=$(top_builddir)/src/libgrss-1.0.la $(LIBGRSS_LIBS)
++GTKDOC_LIBS=$(top_builddir)/src/libgrss-@LIBGRSS_API_VERSION@.la $(LIBGRSS_LIBS)
+
+ # This includes the standard gtk-doc make rules, copied by gtkdocize.
+ include $(top_srcdir)/gtk-doc.make
+diff --git a/libgrss.pc.in b/libgrss.pc.in
+index cdd0f6f..3d75924 100644
+--- a/libgrss.pc.in
++++ b/libgrss.pc.in
+@@ -6,6 +6,6 @@ includedir=@includedir@
+ Name: libgrss
+ Description: GObject RSS handling library
+ Version: @VERSION@
+-Libs: -L${libdir} -lgrss-1.0
+-Cflags: -I${includedir}/libgrss
++Libs: -L${libdir} -lgrss-@LIBGRSS_API_VERSION@
++Cflags: -I${includedir}/libgrss-@LIBGRSS_API_VERSION@
+ Requires: gobject-2.0 libxml-2.0 libsoup-2.4
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 8587d73..8e0bb5c 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -74,18 +74,18 @@ feed-marshal.c: feed-marshal.list
+ echo "#include \"feed-marshal.h\"" > $@ && \
+ $(GLIB_GENMARSHAL) $< --prefix=feed_marshal --body >> $@
+
+-lib_LTLIBRARIES = libgrss-1.0.la
++lib_LTLIBRARIES = libgrss-0.5.la
+
+-libgrss_1_0_la_LIBADD = $(LIBGRSS_LIBS)
+-libgrss_1_0_la_SOURCES = \
++libgrss_0_5_la_LIBADD = $(LIBGRSS_LIBS)
++libgrss_0_5_la_SOURCES = \
+ $(sources_public_h) \
+ $(sources_private_h) \
+ $(sources_c) \
+ $(NULL)
+-libgrss_1_0_la_LDFLAGS = $(LDADD)
++libgrss_0_5_la_LDFLAGS = $(LDADD)
+
+-libgrssincludedir = $(includedir)/libgrss
+-libgrssinclude_DATA = $(sources_public_h)
++libgrss_0_5_ladir = $(includedir)/libgrss-@LIBGRSS_API_VERSION@
++libgrss_0_5_la_HEADERS = $(sources_public_h)
+
+ CLEANFILES = $(pcfile_DATA)
+
+--
+1.8.1.5
+
diff --git a/net-libs/libgrss/files/libgrss-0.5.0-headers.patch b/net-libs/libgrss/files/libgrss-0.5.0-headers.patch
new file mode 100644
index 000000000000..5e129d0eb9ab
--- /dev/null
+++ b/net-libs/libgrss/files/libgrss-0.5.0-headers.patch
@@ -0,0 +1,11 @@
+--- a/src/utils.h 2013-11-08 00:04:21.877945385 +0100
++++ b/src/utils.h 2013-11-08 00:05:45.397901242 +0100
+@@ -34,6 +34,8 @@
+ #include <errno.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <sys/socket.h>
++#include <arpa/inet.h>
+
+ #include "libgrss.h"
+
diff --git a/net-libs/libgrss/libgrss-0.5.0-r1.ebuild b/net-libs/libgrss/libgrss-0.5.0-r1.ebuild
new file mode 100644
index 000000000000..fa23ad7e9b84
--- /dev/null
+++ b/net-libs/libgrss/libgrss-0.5.0-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+GCONF_DEBUG="yes"
+
+inherit autotools eutils gnome2
+
+DESCRIPTION="LibGRSS is a library for easy management of RSS/Atom/Pie feeds"
+HOMEPAGE="https://wiki.gnome.org/Projects/Libgrss"
+SRC_URI="http://gtk.mplat.es/libgrss/tarballs/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0.5"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86"
+IUSE=""
+
+RDEPEND="
+ >=dev-libs/glib-2.30.2:2
+ >=dev-libs/libxml2-2.7.8:2
+ >=net-libs/libsoup-2.36.1:2.4
+"
+DEPEND="${RDEPEND}
+ app-text/gnome-doc-utils
+ >=dev-util/gtk-doc-am-1.10
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ # Fix soname/.pc
+ epatch "${FILESDIR}"/${P}-fix-slotting.patch
+
+ # Fix build with newer glibc
+ epatch "${FILESDIR}"/${P}-headers.patch
+
+ eautoreconf
+ gnome2_src_prepare
+}
diff --git a/net-libs/libgrss/libgrss-0.7.0.ebuild b/net-libs/libgrss/libgrss-0.7.0.ebuild
new file mode 100644
index 000000000000..03098268a1b6
--- /dev/null
+++ b/net-libs/libgrss/libgrss-0.7.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+GCONF_DEBUG="no"
+
+inherit gnome2
+
+DESCRIPTION="LibGRSS is a library for easy management of RSS/Atom/Pie feeds"
+HOMEPAGE="https://wiki.gnome.org/Projects/Libgrss"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
+IUSE="+introspection"
+
+RDEPEND="
+ >=dev-libs/glib-2.42.1:2
+ >=dev-libs/libxml2-2.9.2:2
+ >=net-libs/libsoup-2.48:2.4
+ introspection? ( >=dev-libs/gobject-introspection-1.42 )
+"
+DEPEND="${RDEPEND}
+ >=dev-util/gtk-doc-am-1.10
+ virtual/pkgconfig
+"
diff --git a/net-libs/libgrss/metadata.xml b/net-libs/libgrss/metadata.xml
new file mode 100644
index 000000000000..563664136c35
--- /dev/null
+++ b/net-libs/libgrss/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<upstream>
+ <bugs-to>https://bugs.gnome.org</bugs-to>
+ <changelog>https://git.gnome.org/browse/libgrss</changelog>
+ </upstream>
+<maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+</pkgmetadata>