From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- gnome-extra/zeitgeist/Manifest | 9 +++ .../files/zeitgeist-0.9.15-python-detection.patch | 38 +++++++++ .../files/zeitgeist-1.0-python-detection.patch | 38 +++++++++ gnome-extra/zeitgeist/metadata.xml | 23 ++++++ gnome-extra/zeitgeist/zeitgeist-0.9.16.ebuild | 93 +++++++++++++++++++++ gnome-extra/zeitgeist/zeitgeist-1.0.ebuild | 94 ++++++++++++++++++++++ 6 files changed, 295 insertions(+) create mode 100644 gnome-extra/zeitgeist/Manifest create mode 100644 gnome-extra/zeitgeist/files/zeitgeist-0.9.15-python-detection.patch create mode 100644 gnome-extra/zeitgeist/files/zeitgeist-1.0-python-detection.patch create mode 100644 gnome-extra/zeitgeist/metadata.xml create mode 100644 gnome-extra/zeitgeist/zeitgeist-0.9.16.ebuild create mode 100644 gnome-extra/zeitgeist/zeitgeist-1.0.ebuild (limited to 'gnome-extra/zeitgeist') diff --git a/gnome-extra/zeitgeist/Manifest b/gnome-extra/zeitgeist/Manifest new file mode 100644 index 000000000000..1d5489735582 --- /dev/null +++ b/gnome-extra/zeitgeist/Manifest @@ -0,0 +1,9 @@ +AUX zeitgeist-0.9.15-python-detection.patch 1071 SHA256 e542b2e42a1de5751e3590939d9a0fe214c4f4f4bd34d73fce4ca226f501f20a SHA512 9a85ffe42af9b3c15888a12dd9a44c5c9a1cfcbbaf1a04b9810e4d613ecbae66ea4ef7f8e29535ab4290d64737115de973b63f27a28b4f6707232973358917ec WHIRLPOOL 382ced1219c43b9cdeb09b1d319e0c9c42e3cb88e0c4c0f6a2e581b22ba935992a9ddf5fc921ab59b5a1ca89bfdc87363cc1c4af05063f461e08faf231afb9b0 +AUX zeitgeist-1.0-python-detection.patch 1075 SHA256 a3f8305e471581922360c1d46800ae1441007bcf33d18f683967a2a018df147c SHA512 c2424da4c4b5918db4f09870e92f55fea3d2ff13ecee79074cc7cbf7f04b0c99606884c0dad848bf3c3b930df834194c3430f2a421ac7ecf9745a77f19cc0738 WHIRLPOOL 1eb4ad466a122e140b001a17d5876c92e14faa709b8ff54f8b358ba9893e9439b89f36512bd2ed7767f5cf4a7bbc404424411fd19d6d968da2a3eb75a412f9e3 +DIST zeitgeist-0.9.16.tar.xz 807092 SHA256 6ed3e60d0cd82ea58ee134c19beccafac10eb0f71977f3848755dacbf0927d3a SHA512 eb28215c937b71c8cec12f55236db4281ad529b2854ecb3c093477d45cd8348c6ea764e2cf00a99d41645b27b685a5325f0631b318409735b578a5871087b0f1 WHIRLPOOL 7ad3f528ffa938d14e9fbfe3f4e94ac5ad06bc48b13e261a0e8f43b88a9750a41d5e9212da7cc492f7c0197a4b12391d58e3f51a2a18a85b2663414332434c9b +DIST zeitgeist-1.0.tar.xz 848740 SHA256 5ff508508f7a7b46acc9fbf1cf73fecb1aec214e18d9d22325aae8c2c2e8ddc8 SHA512 e8fa4db7202c5dceb6cb960775651624bdcd7fc2005019ff6491d7c139ccf036e865977adbd98ae3c9b97b22e5cf28534b64f01fde58b7bc89c0f0f8d13383e8 WHIRLPOOL 5c1cd4bb37221243726c7872d3a419cfe7523c053d6ac4dcced95c4ed1731110bea822b612c9fe9017bfeb35f37326dc9b810a2560b94324842d51a671ced462 +EBUILD zeitgeist-0.9.16.ebuild 2413 SHA256 8b0f671694d011255005462917f8c6fd426224246d9ba42a931efad20c1b0dc6 SHA512 bcb8ee413d707cb11dc173c4de894c4c2b1beb8048717bdac623722d8f9c9ebccabea5eda07ef06f586bf7cf747bebef07d19839cab5aeb7fe7a6f72ed76fc6a WHIRLPOOL 89ebf15a86350ebc88afcc14397ce91a10bb3a18a42462ae0b7593f746971fa21e3f07fddbeb15fbff918900978fc1d0539de878fc7aae1caf48bf66253fb6cc +EBUILD zeitgeist-1.0.ebuild 2213 SHA256 5ad5268b86db9cb083c80aa698c7f6e343291d05a1295d3541d5200a8eff33a7 SHA512 d87ca5e3b59592fdfe4ff1201432ea08e9e033a3a423db92db4d04b0dc9571e2d48514002527b6ed4d9253e082bc46e0c6357139e9fd484b93aedaf5ef075083 WHIRLPOOL 2ccff88436e3e774ea139f8cef62f535c1a2803726c962376f6d643ee030069895485fd42bb48327ca07df2fcda96d31b6f57df4dd7effaac783055e8aa9e05b +MISC ChangeLog 4939 SHA256 8816c191ae48f1619f8cb45d0f53db5f7783d7e1527b391a008d7e658a794fe4 SHA512 576c8ba7be1e18616452d5ac0d67fb4df22901e742fdaa84d6d15837d6035c76740a22c4d179644861cd79de80d1ad5e1ca5d0d86ecd384d6c52d4620a0a1d18 WHIRLPOOL 14fd8fe70e0fb5670c1a348ca94fd7a25bab4f77af55103d4d6fc30714fba5066d8441fb0bba2c74adb8a943c672e9afbf96066ef8c2b09db5db6b586b4008f9 +MISC ChangeLog-2015 8256 SHA256 53773176e802e3fa27c39375e4518db62fd0ab75d0f3b66fa127b75210f0cd17 SHA512 cd1e6217a0840b39c906b65d77016a9561f5d545316533392b14dfa4074dac7be9d013b83d8b1e7104ca5eb990304bb3189008fafa3c4a1395d1d3daebdec331 WHIRLPOOL 45f039fdd08679593263b49f3b757d1565669f82007a38f7f72d33670225584175e3c08c00475abb1d9d9ab4536829ebddf3bf3658143ab4e0e2c14a0cd10071 +MISC metadata.xml 959 SHA256 ecc82d05f85bad10e806d18c1c080ede715d66d6d853faa0e6d09034a9e1d499 SHA512 e8737f7180350fa2112afeee3b50e20604b8b6ba2b350fe2c73ab62f77ac1d0f3755a9046cd1cac3fad816135dad8b5850451f5a5168c719c2472c59781c65e0 WHIRLPOOL f933474c60013c147bdea3dcdcda117c684e523783db98892001535399aad21c3d4509adb687f6ae5cc09b73ad835decf3535e237d91277f059890dba5190daa diff --git a/gnome-extra/zeitgeist/files/zeitgeist-0.9.15-python-detection.patch b/gnome-extra/zeitgeist/files/zeitgeist-0.9.15-python-detection.patch new file mode 100644 index 000000000000..79184f70a2ba --- /dev/null +++ b/gnome-extra/zeitgeist/files/zeitgeist-0.9.15-python-detection.patch @@ -0,0 +1,38 @@ +From dd46d6f8db69ee8d291d63251d841e73070cd526 Mon Sep 17 00:00:00 2001 +From: Gilles Dartiguelongue +Date: Sun, 4 Jan 2015 00:09:14 +0100 +Subject: [PATCH] Make python module detection match detected python + +Some distribution might provided multiple python and configure can know +about which exactly though AM_PATH_PYTHON. +--- + configure.ac | 11 ++++++----- + 1 file changed, 6 insertions(+), 5 deletions(-) + +diff --git a/configure.ac b/configure.ac +index acf7daa..6136ad6 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -269,13 +269,14 @@ if test "x$HAVE_RAPPER" = "xno"; then + fi + + # check for python-rdflib ++AM_PATH_PYTHON([2.7]) ++ + AC_MSG_CHECKING([for python-rdflib]) +-echo "import rdflib" | python - 2>/dev/null +-if test $? -ne 0 ; then +- AC_MSG_FAILURE([failed. Please install the python-rdflib package.]) +-else ++AS_IF([$PYTHON -c "import rdflib" 2>/dev/null], [ + AC_MSG_RESULT([yes]) +-fi ++], [ ++ AC_MSG_FAILURE([failed. Please install the python-rdflib package.]) ++]) + + ################################################# + # Summary +-- +2.3.0 + diff --git a/gnome-extra/zeitgeist/files/zeitgeist-1.0-python-detection.patch b/gnome-extra/zeitgeist/files/zeitgeist-1.0-python-detection.patch new file mode 100644 index 000000000000..c82db10ec3c5 --- /dev/null +++ b/gnome-extra/zeitgeist/files/zeitgeist-1.0-python-detection.patch @@ -0,0 +1,38 @@ +From 662d359689834ea3d1fdb75050b4c97d2ad720cf Mon Sep 17 00:00:00 2001 +From: Gilles Dartiguelongue +Date: Sun, 4 Jan 2015 00:09:14 +0100 +Subject: [PATCH] Make python module detection match detected python + +Some distribution might provided multiple python and configure can know +about which exactly though AM_PATH_PYTHON. +--- + configure.ac | 11 ++++++----- + 1 file changed, 6 insertions(+), 5 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 9a0330a6..703fb957 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -255,13 +255,14 @@ if test "x$HAVE_RAPPER" = "xno"; then + fi + + # check for python-rdflib ++AM_PATH_PYTHON([2.7]) ++ + AC_MSG_CHECKING([for python-rdflib]) +-echo "import rdflib" | $PYTHON - 2>/dev/null +-if test $? -ne 0 ; then +- AC_MSG_FAILURE([failed. Please install the python-rdflib package.]) +-else ++AS_IF([$PYTHON -c "import rdflib" 2>/dev/null], [ + AC_MSG_RESULT([yes]) +-fi ++], [ ++ AC_MSG_FAILURE([failed. Please install the python-rdflib package.]) ++]) + + ################################################# + # Summary +-- +2.13.2 + diff --git a/gnome-extra/zeitgeist/metadata.xml b/gnome-extra/zeitgeist/metadata.xml new file mode 100644 index 000000000000..9253594b1e45 --- /dev/null +++ b/gnome-extra/zeitgeist/metadata.xml @@ -0,0 +1,23 @@ + + + + + desktop-misc@gentoo.org + Gentoo Desktop Miscellaneous Project + + +The engine is the main module that accepts all incoming events and allows +applications to fetch as well as subscribe to be notified when events +are logged. It is the heart of Zeitgeist. + + + Use build datahub for passive event injection + Monitor the XDG_DOWNLOAD_DIRECTORY + Enable the full text search extension + Enable SQL debugging + Enable telepathy framework as data source + + + zeitgeist + + diff --git a/gnome-extra/zeitgeist/zeitgeist-0.9.16.ebuild b/gnome-extra/zeitgeist/zeitgeist-0.9.16.ebuild new file mode 100644 index 000000000000..32e9f5931570 --- /dev/null +++ b/gnome-extra/zeitgeist/zeitgeist-0.9.16.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF=true +PYTHON_COMPAT=( python2_7 ) +VALA_MIN_API_VERSION=0.22 + +inherit autotools-utils bash-completion-r1 eutils python-r1 vala versionator + +DIR_PV=$(get_version_component_range 1-2) + +DESCRIPTION="Service to log activities and present to other apps" +HOMEPAGE="https://launchpad.net/zeitgeist/" +SRC_URI="https://launchpad.net/zeitgeist/${DIR_PV}/${PV}/+download/${P}.tar.xz + https://dev.gentoo.org/~eva/distfiles/${PN}/${P}.tar.xz" + +LICENSE="LGPL-2+ LGPL-3+ GPL-2+" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86" +IUSE="+datahub downloads-monitor +fts icu introspection nls sql-debug telepathy" + +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + downloads-monitor? ( datahub )" + +RDEPEND=" + ${PYTHON_DEPS} + dev-libs/json-glib + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/rdflib[${PYTHON_USEDEP}] + media-libs/raptor:2 + >=dev-libs/glib-2.35.4:2 + >=dev-db/sqlite-3.7.11:3 + sys-apps/dbus + datahub? ( x11-libs/gtk+:3 ) + fts? ( dev-libs/xapian:0=[inmemory] ) + icu? ( dev-libs/dee[icu?] ) + introspection? ( dev-libs/gobject-introspection ) + telepathy? ( net-libs/telepathy-glib ) +" +DEPEND="${RDEPEND} + $(vala_depend) + >=dev-util/intltool-0.35 + virtual/pkgconfig +" + +src_prepare() { + # pure-python module is better managed manually, see src_install + sed -e 's:python::g' \ + -i Makefile.am || die + + # Fix direct invocation of python in configure + epatch "${FILESDIR}"/${PN}-0.9.15-python-detection.patch + + autotools-utils_src_prepare + vala_src_prepare +} + +src_configure() { + local myeconfargs=( + --docdir="${EPREFIX}/usr/share/doc/${PF}" + --with-session-bus-services-dir="${EPREFIX}/usr/share/dbus-1/services" + $(use_enable sql-debug explain-queries) + $(use_enable datahub) + $(use_enable downloads-monitor) + $(use_enable telepathy) + $(use_enable introspection) + $(use_with icu dee-icu) + ) + + use nls || myeconfargs+=( --disable-nls ) + use fts && myeconfargs+=( --enable-fts ) + + python_setup + autotools-utils_src_configure +} + +src_test() { + autotools-utils_src_test TESTS_ENVIRONMENT="dbus-run-session" +} + +src_install() { + dobashcomp data/completions/zeitgeist-daemon + autotools-utils_src_install + cd python || die + python_moduleinto ${PN} + python_foreach_impl python_domodule *py + + # Redundant NEWS/AUTHOR installation + rm -r "${D}"/usr/share/zeitgeist/doc/ || die +} diff --git a/gnome-extra/zeitgeist/zeitgeist-1.0.ebuild b/gnome-extra/zeitgeist/zeitgeist-1.0.ebuild new file mode 100644 index 000000000000..7cc47aea59c5 --- /dev/null +++ b/gnome-extra/zeitgeist/zeitgeist-1.0.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +VALA_MIN_API_VERSION=0.22 + +inherit bash-completion-r1 python-r1 vala versionator xdg + +DIR_PV=$(get_version_component_range 1-2) + +DESCRIPTION="Service to log activities and present to other apps" +HOMEPAGE="https://launchpad.net/zeitgeist/" +SRC_URI="https://launchpad.net/zeitgeist/${DIR_PV}/${PV}/+download/${P}.tar.xz + https://dev.gentoo.org/~eva/distfiles/${PN}/${P}.tar.xz" + +LICENSE="LGPL-2+ LGPL-3+ GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="+datahub downloads-monitor +fts introspection nls sql-debug telepathy" + +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + downloads-monitor? ( datahub )" + +RDEPEND=" + ${PYTHON_DEPS} + dev-libs/json-glib + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/rdflib[${PYTHON_USEDEP}] + media-libs/raptor:2 + >=dev-libs/glib-2.35.4:2 + >=dev-db/sqlite-3.7.11:3 + sys-apps/dbus + datahub? ( x11-libs/gtk+:3 ) + fts? ( dev-libs/xapian:0=[inmemory] ) + introspection? ( dev-libs/gobject-introspection ) + telepathy? ( net-libs/telepathy-glib ) +" +DEPEND="${RDEPEND} + $(vala_depend) + >=sys-devel/gettext-0.19 + virtual/pkgconfig +" + +PATCHES=( + # Fix direct invocation of python in configure + "${FILESDIR}"/${PN}-1.0-python-detection.patch +) + +src_prepare() { + # pure-python module is better managed manually, see src_install + sed -e 's:python::g' \ + -i Makefile.am || die + + vala_src_prepare + xdg_src_prepare +} + +src_configure() { + local myeconfargs=( + --docdir="${EPREFIX}/usr/share/doc/${PF}" + --without-dee-icu + $(use_enable sql-debug explain-queries) + $(use_enable datahub) + $(use_enable downloads-monitor) + $(use_enable telepathy) + $(use_enable introspection) + ) + + use nls || myeconfargs+=( --disable-nls ) + use fts && myeconfargs+=( --enable-fts ) + + python_setup + econf "${myeconfargs[@]}" +} + +src_test() { + emake check TESTS_ENVIRONMENT="dbus-run-session" +} + +src_install() { + default + + dobashcomp data/completions/zeitgeist-daemon + + cd python || die + python_moduleinto ${PN} + python_foreach_impl python_domodule *py + + # Redundant NEWS/AUTHOR installation + rm -r "${D}"/usr/share/zeitgeist/doc/ || die +} -- cgit v1.2.3