void-packages/srcpkgs/ddgtk/patches/001-changes-for-v0.1.patch

34 lines
1.6 KiB
Diff
Raw Normal View History

diff -Naurp0 a/meson.build b/meson.build
--- a/meson.build 2017-10-15 19:48:45.000000000 +0000
+++ b/meson.build 2019-06-24 12:48:11.436750620 +0000
@@ -3 +3 @@ project('ddgtk',
- meson_version: '>= 0.40.0',
+ meson_version: '>= 0.50.0',
diff -Naurp0 a/src/main.py b/src/main.py
--- a/src/main.py 2017-10-15 19:48:45.000000000 +0000
+++ b/src/main.py 2019-06-24 12:50:46.519811815 +0000
@@ -116 +116 @@ class Application():
- #self.terminal.feed_child(self.command,-1)
+ #self.terminal.feed_child_binary(self.command.encode("utf-8"))
@@ -125,4 +125,4 @@ class Application():
- self.terminal.feed_child(clear,-1)
- self.terminal.feed_child(wait,-1)
- self.terminal.feed_child(self.umount,-1)
- #self.terminal.feed_child(cmd,-1)
+ self.terminal.feed_child_binary(clear.encode("utf-8"))
+ self.terminal.feed_child_binary(wait.encode("utf-8"))
+ self.terminal.feed_child_binary(self.umount.encode("utf-8"))
+ #self.terminal.feed_child_binary(cmd.encode("utf-8"))
@@ -130 +130 @@ class Application():
- self.terminal.feed_child(self.command,-1)
+ self.terminal.feed_child_binary(self.command.encode("utf-8"))
diff -Naurp0 a/src/meson.build b/src/meson.build
--- a/src/meson.build 2017-10-15 19:48:45.000000000 +0000
+++ b/src/meson.build 2019-06-24 12:48:51.950244132 +0000
@@ -12 +12 @@ gnome.compile_resources('ddgtk',
-python3 = import('python3')
+python3 = import('python')
@@ -15 +15 @@ conf = configuration_data()
-conf.set('PYTHON', python3.find_python().path())
+conf.set('PYTHON', python3.find_installation().path())