diff options
Diffstat (limited to 'media-gfx/printrun/files/printrun-x11.patch')
-rw-r--r-- | media-gfx/printrun/files/printrun-x11.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/media-gfx/printrun/files/printrun-x11.patch b/media-gfx/printrun/files/printrun-x11.patch deleted file mode 100644 index dd9597a126e1..000000000000 --- a/media-gfx/printrun/files/printrun-x11.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff --git a/plater.py b/plater.py -index 469eeb2..bfcc975 100755 ---- a/plater.py -+++ b/plater.py -@@ -15,12 +15,14 @@ - # You should have received a copy of the GNU General Public License - # along with Printrun. If not, see <http://www.gnu.org/licenses/>. - -+import os - import sys - import wx - - from printrun.stlplater import StlPlater - - if __name__ == '__main__': -+ os.environ['GDK_BACKEND'] = 'x11' - app = wx.App(False) - main = StlPlater(filenames = sys.argv[1:]) - main.Show() -diff --git a/pronterface.py b/pronterface.py -index dbe295a..4152288 100755 ---- a/pronterface.py -+++ b/pronterface.py -@@ -15,6 +15,7 @@ - # You should have received a copy of the GNU General Public License - # along with Printrun. If not, see <http://www.gnu.org/licenses/>. - -+import os - import sys - - try: -@@ -32,6 +33,7 @@ not yet available for python3. You should try running with python2 instead.""") - from printrun.pronterface import PronterApp - - if __name__ == '__main__': -+ os.environ['GDK_BACKEND'] = 'x11' - app = PronterApp(False) - try: - app.MainLoop() |