From 2eac0c94062b2e154dc411db7e97a52c7429209e Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Tue, 8 Nov 2016 09:35:00 +0100 Subject: [PATCH] cinnamon-control-center: fix build. --- .../cinnamon-control-center/patches/fix-gtk-doc.patch | 11 +++++++++++ srcpkgs/cinnamon-control-center/template | 4 +--- 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/cinnamon-control-center/patches/fix-gtk-doc.patch diff --git a/srcpkgs/cinnamon-control-center/patches/fix-gtk-doc.patch b/srcpkgs/cinnamon-control-center/patches/fix-gtk-doc.patch new file mode 100644 index 00000000000..dd09b111629 --- /dev/null +++ b/srcpkgs/cinnamon-control-center/patches/fix-gtk-doc.patch @@ -0,0 +1,11 @@ +--- configure.ac.orig 2016-11-08 09:29:42.101581019 +0100 ++++ configure.ac 2016-11-08 09:29:49.455678397 +0100 +@@ -6,6 +6,8 @@ AC_CONFIG_SRCDIR([shell]) + AC_CONFIG_HEADERS([config.h]) + AC_CONFIG_MACRO_DIR([m4]) + ++GTK_DOC_CHECK([1.14],[--flavour no-tmpl]) ++ + AX_IS_RELEASE([always]) + + AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz tar-ustar check-news]) diff --git a/srcpkgs/cinnamon-control-center/template b/srcpkgs/cinnamon-control-center/template index 950240fc45c..78e5a845303 100644 --- a/srcpkgs/cinnamon-control-center/template +++ b/srcpkgs/cinnamon-control-center/template @@ -6,7 +6,7 @@ short_desc="The Cinnamon Control Center" build_style=gnu-configure configure_args="--disable-static --disable-update-mimedb --disable-systemd" hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection - gettext-devel glib-devel intltool xmlto docbook-xsl gtk-doc" + gettext-devel glib-devel intltool xmlto docbook-xsl gtk-doc autoconf-archive" makedepends="dbus-glib-devel cinnamon-menus-devel libgnomekbd-devel cinnamon-desktop-devel cinnamon-settings-daemon-devel libXxf86misc-devel network-manager-applet-devel libSM-devel libnotify-devel upower0-devel @@ -25,8 +25,6 @@ pre_configure() { } post_install() { # Remove unused stuff - make -C panels/sound DESTDIR="$DESTDIR" uninstall - make -C panels/sound/data DESTDIR="$DESTDIR" install make -C shell DESTDIR="$DESTDIR" uninstall-binPROGRAMS uninstall-directoryDATA uninstall-uiDATA rm -R "$DESTDIR/usr/share/applications" rm -R "$DESTDIR/etc"