From c3f56ea19e92d9ba28d2cac5e0db1f504ff1195d Mon Sep 17 00:00:00 2001 From: Rmys Date: Sun, 1 Mar 2020 12:17:16 +0300 Subject: [PATCH] libwnck2 rebuild --- desktop/toolkit/gtk/libwnck2/actions.py | 18 ++++++++++-------- desktop/toolkit/gtk/libwnck2/pspec.xml | 15 +++++++++++---- 2 files changed, 21 insertions(+), 12 deletions(-) diff --git a/desktop/toolkit/gtk/libwnck2/actions.py b/desktop/toolkit/gtk/libwnck2/actions.py index 12e7a11ccc..e30f57d90e 100644 --- a/desktop/toolkit/gtk/libwnck2/actions.py +++ b/desktop/toolkit/gtk/libwnck2/actions.py @@ -1,27 +1,29 @@ -#!/usr/bin/env python +#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/licenses/gpl.txt -from pisi.actionsapi import shelltools -from pisi.actionsapi import mesontools +from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import get def setup(): - mesontools.configure("-Dbuildtype=release") + #autotools.autoreconf("-vif") + autotools.configure("--disable-static --enable-introspection") + + pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") def build(): - mesontools.build() + autotools.make() def install(): - mesontools.install() - + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + pisitools.remove("/usr/bin/wnck-urgency-monitor") pisitools.remove("/usr/bin/wnckprop") - #pisitools.removeDir("/usr/share/gtk-doc") + pisitools.removeDir("/usr/share/gtk-doc") pisitools.removeDir("/usr/bin") pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "MAINTAINERS") diff --git a/desktop/toolkit/gtk/libwnck2/pspec.xml b/desktop/toolkit/gtk/libwnck2/pspec.xml index b87e44f38a..a0192f2d34 100644 --- a/desktop/toolkit/gtk/libwnck2/pspec.xml +++ b/desktop/toolkit/gtk/libwnck2/pspec.xml @@ -13,13 +13,13 @@ app:console A window navigation construction kit libwnck (pronounced "libwink") is used to implement pagers, tasklists, and other such things. It allows applications to monitor information about open windows, workspaces, their names/icons, and so forth. - http://ftp.gnome.org/pub/gnome/sources/libwnck/3.32/libwnck-3.32.0.tar.xz + http://ftp.gnome.org/pub/gnome/sources/libwnck/2.31/libwnck-2.31.0.tar.xz startup-notification-devel gobject-introspection-devel libXres-devel pango-devel - gtk3-devel + gtk2-devel glib2-devel intltool libXt-devel @@ -41,7 +41,7 @@ pango libX11 cairo - gtk3 + gtk2 atk glib2 @@ -59,7 +59,7 @@ Development files for libwnck2 libwnck2 - gtk3-devel + gtk2-devel cairo-devel pango-devel libXres-devel @@ -74,6 +74,13 @@ + + 2020-03-01 + 2.31.0 + Rebuild. + Mustafa Cinasal + muscnsl@gmail.com + 2020-02-08 2.32.0