+++ /dev/null
-From 65b410ddd9b6a797eb54c865e6365365604bc847 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com>
-Date: Tue, 24 Feb 2015 22:41:39 +0100
-Subject: [PATCH] Add version prefix to gettext and doc directories
-
----
- configure.ac | 2 +-
- doc/reference/Makefile.am | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 0fe907e..d87524e 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -55,7 +55,7 @@ gl_WARN_ADD([-Wno-sign-compare])
- gl_WARN_ADD([-Wno-unused-parameter])
- gl_WARN_ADD([-Wno-missing-field-initializers])
-
--GETTEXT_PACKAGE=phodav
-+GETTEXT_PACKAGE=phodav-2.0
- AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define to the Gettext package name])
- AC_SUBST(GETTEXT_PACKAGE)
- IT_PROG_INTLTOOL([0.40.0])
-diff --git a/doc/reference/Makefile.am b/doc/reference/Makefile.am
-index dfad455..c89ab35 100644
---- a/doc/reference/Makefile.am
-+++ b/doc/reference/Makefile.am
-@@ -1,7 +1,7 @@
- NULL =
- AUTOMAKE_OPTIONS = 1.6
-
--DOC_MODULE = phodav
-+DOC_MODULE = phodav-2.0
- DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.sgml
- DOC_SOURCE_DIR = $(top_srcdir)/libphodav
-
---
-2.4.3
-
+++ /dev/null
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-GCONF_DEBUG="no"
-GNOME2_LA_PUNT="yes"
-
-inherit autotools gnome2 systemd udev
-
-DESCRIPTION="WebDav server implementation using libsoup"
-HOMEPAGE="https://wiki.gnome.org/phodav"
-
-LICENSE="LGPL-2.1+"
-SLOT="2.0"
-KEYWORDS="alpha amd64 arm ppc ppc64 x86"
-IUSE="spice systemd zeroconf"
-
-RDEPEND="
- dev-libs/glib:2
- >=net-libs/libsoup-2.48:2.4
- dev-libs/libxml2
- zeroconf? ( net-dns/avahi )
-"
-DEPEND="${RDEPEND}
- >=dev-util/gtk-doc-am-1.10
- >=dev-util/intltool-0.40.0
- sys-devel/gettext
- virtual/pkgconfig
-"
-
-src_prepare() {
- # Make doc parallel installable
- cd "${S}"/doc/reference
- sed -e "s/\(<book.*name=\"\)${PN}/\1${PN}-${SLOT}/" \
- -i html/${PN}.devhelp2 || die
- mv ${PN}-docs{,-${SLOT}}.sgml || die
- mv ${PN}-overrides{,-${SLOT}}.txt || die
- mv ${PN}-sections{,-${SLOT}}.txt || die
- mv html/${PN}{,-${SLOT}}.devhelp2
- cd "${S}"
-
- # Fix locale slottability, from master
- epatch "${FILESDIR}"/${P}-slot.patch
- eautoreconf
-
- gnome2_src_prepare
-}
-
-src_configure() {
- gnome2_src_configure \
- --disable-static \
- --program-suffix=-${SLOT} \
- $(use_with zeroconf avahi) \
- --with-udevdir=$(get_udevdir) \
- --with-systemdsystemunitdir=$(systemd_get_unitdir)
-
- if ! use zeroconf ; then
- sed -i -e 's|avahi-daemon.service||' data/spice-webdavd.service || die
- fi
-}
-
-src_install() {
- gnome2_src_install
-
- if use spice ; then
- if ! use systemd ; then
- newinitd "${FILESDIR}/spice-webdavd.initd" spice-webdavd
- udev_dorules "${FILESDIR}/70-spice-webdavd.rules"
- rm -r "${D}$(systemd_get_unitdir)" || die
- fi
- else
- rm -r "${D}"{/usr/sbin,$(get_udevdir),$(systemd_get_unitdir)} || die
- fi
-}