gnome-tweaks rebuild
This commit is contained in:
@@ -11,7 +11,7 @@ from pisi.actionsapi import mesontools
|
|||||||
from pisi.actionsapi import get
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
pisitools.dosed("gtweak/utils.py", "0.7", "0.8")
|
#pisitools.dosed("gtweak/utils.py", "0.7", "0.8")
|
||||||
mesontools.configure()
|
mesontools.configure()
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
|
|||||||
@@ -0,0 +1,33 @@
|
|||||||
|
diff -Nuar a/gtweak/utils.py b/gtweak/utils.py
|
||||||
|
--- a/gtweak/utils.py 2022-03-05 09:35:46.000000000 +0300
|
||||||
|
+++ b/gtweak/utils.py 2022-07-17 16:57:23.917185664 +0300
|
||||||
|
@@ -12,7 +12,10 @@
|
||||||
|
import logging
|
||||||
|
|
||||||
|
import gi
|
||||||
|
-gi.require_version("Notify", "0.7")
|
||||||
|
+try:
|
||||||
|
+ gi.require_version("Notify", "0.7")
|
||||||
|
+except ValueError:
|
||||||
|
+ gi.require_version("Notify", "0.8")
|
||||||
|
from gi.repository import GObject
|
||||||
|
from gi.repository import GLib
|
||||||
|
from gi.repository import Gio
|
||||||
|
@@ -331,7 +334,7 @@
|
||||||
|
)
|
||||||
|
self.notification.set_hint(
|
||||||
|
"desktop-entry",
|
||||||
|
- GLib.Variant('s', 'org.gnome.tweaks'))
|
||||||
|
+ GLib.Variant('s', gtweak.APP_ID))
|
||||||
|
self.notification.show()
|
||||||
|
else:
|
||||||
|
raise Exception("Not Supported")
|
||||||
|
@@ -351,7 +354,7 @@
|
||||||
|
self._logout, None, None)
|
||||||
|
self.notification.set_hint(
|
||||||
|
"desktop-entry",
|
||||||
|
- GLib.Variant('s', 'org.gnome.tweaks'))
|
||||||
|
+ GLib.Variant('s', gtweak.APP_ID))
|
||||||
|
self.notification.show()
|
||||||
|
else:
|
||||||
|
raise Exception("Not Supported")
|
||||||
@@ -10,6 +10,7 @@
|
|||||||
</Packager>
|
</Packager>
|
||||||
<License>GPLv3</License>
|
<License>GPLv3</License>
|
||||||
<IsA>library</IsA>
|
<IsA>library</IsA>
|
||||||
|
<Icon>gnome</Icon>
|
||||||
<Summary>Graphical interface for advanced GNOME 3 settings (Tweak Tool)</Summary>
|
<Summary>Graphical interface for advanced GNOME 3 settings (Tweak Tool)</Summary>
|
||||||
<Description>Gelişmiş GNOME 3 ayarları için grafik arayüz</Description>
|
<Description>Gelişmiş GNOME 3 ayarları için grafik arayüz</Description>
|
||||||
<Archive sha1sum="4d69fc7bb4982a281066d9c62d6a2713df2955e2" type="tarxz">https://download.gnome.org/sources/gnome-tweaks/40/gnome-tweaks-40.10.tar.xz</Archive>
|
<Archive sha1sum="4d69fc7bb4982a281066d9c62d6a2713df2955e2" type="tarxz">https://download.gnome.org/sources/gnome-tweaks/40/gnome-tweaks-40.10.tar.xz</Archive>
|
||||||
@@ -22,13 +23,9 @@
|
|||||||
<Dependency>gnome-settings-daemon-devel</Dependency>
|
<Dependency>gnome-settings-daemon-devel</Dependency>
|
||||||
<Dependency>gsettings-desktop-schemas-devel</Dependency>
|
<Dependency>gsettings-desktop-schemas-devel</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<Patches>
|
<Patches>
|
||||||
<Patch>gnome-tweaks.patch</Patch>
|
<Patch level="1">Notify-0.8.patch</Patch>
|
||||||
<Patch level="1">gnome-tweaks.patch</Patch>
|
|
||||||
</Patches>
|
</Patches>
|
||||||
-->
|
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
|
|||||||
Reference in New Issue
Block a user