From 18ac0c249016c9f406d50b9207bf14c236ee03dc Mon Sep 17 00:00:00 2001 From: Rmys Date: Mon, 5 Jul 2021 18:44:17 +0300 Subject: [PATCH] libindicator rebuild --- desktop/mate/libindicator/actions.py | 22 ++++++++++++++++++++ desktop/mate/libindicator/pspec.xml | 31 ++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/desktop/mate/libindicator/actions.py b/desktop/mate/libindicator/actions.py index 19d4e8b946..4af94766dc 100644 --- a/desktop/mate/libindicator/actions.py +++ b/desktop/mate/libindicator/actions.py @@ -9,17 +9,39 @@ from pisi.actionsapi import pisitools from pisi.actionsapi import shelltools def setup(): + shelltools.copytree("../libindicator-%s" % (get.srcVERSION().replace("_", "~")), "../libindicator-%s-gtk3" % get.srcVERSION()) + pisitools.cflags.add("-Wno-error=deprecated-declarations") autotools.configure("--libexecdir=/usr/lib \ + --disable-static \ + --disable-introspection \ + --with-gtk=2") + + # for fix unused dependency + pisitools.dosed("libtool"," -shared ", " -Wl,-O1,--as-needed -shared ") + + shelltools.cd("../libindicator-%s-gtk3" % get.srcVERSION()) + pisitools.cflags.add("-Wno-error=deprecated-declarations") + autotools.configure("--libexecdir=/usr/lib \ + --disable-static \ --with-gtk=3") # for fix unused dependency pisitools.dosed("libtool"," -shared ", " -Wl,-O1,--as-needed -shared ") + + + def build(): autotools.make() + shelltools.cd("../libindicator-%s-gtk3" % get.srcVERSION()) + autotools.make() + def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + shelltools.cd("../libindicator-%s-gtk3" % get.srcVERSION()) + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + pisitools.dodoc("AUTHORS", "NEWS", "ChangeLog", "COPYING", "README") diff --git a/desktop/mate/libindicator/pspec.xml b/desktop/mate/libindicator/pspec.xml index c8fb264e71..710035bbe7 100755 --- a/desktop/mate/libindicator/pspec.xml +++ b/desktop/mate/libindicator/pspec.xml @@ -15,6 +15,7 @@ https://launchpadlibrarian.net/116625186/libindicator-12.10.1.tar.gz dbus-glib-devel + gtk2-devel gtk3-devel gdk-pixbuf-devel python3-devel @@ -53,7 +54,37 @@ + + libindicator-gtk2 + + gtk2 + + + /usr/lib/libindicator.so* + /usr/lib/indicator-loader + + + + + libindicator-gtk2-devel + libindicator için geliştirme dosyalrı + + gtk2-devel + libindicator-gtk2 + + + /usr/lib/pkgconfig/indicator-0.4.pc + + + + + 2021-07-04 + 12.10.1 + Rebuild. + Mustafa Cinasal + muscnsl@gmail.com + 2020-06-29 12.10.1