tkurbad-overlay/media-gfx/inkscape-silhouette/files/inkscape-silhouette-cleanup.patch
2023-06-30 09:14:33 +02:00

24 lines
1.1 KiB
Diff

diff -urN inkscape-silhouette-9999.orig/Makefile inkscape-silhouette-9999/Makefile
--- inkscape-silhouette-9999.orig/Makefile 2023-05-24 08:56:46.538789895 +0200
+++ inkscape-silhouette-9999/Makefile 2023-05-24 08:59:01.493223179 +0200
@@ -37,7 +37,6 @@
install: mo
mkdir -p $(DEST)
@# CAUTION: cp -a does not work under fakeroot. Use cp -r instead.
- cp -r silhouette $(DEST)
install -m 755 *silhouette*.py $(DEST)
install -m 644 *.inx $(DEST)
cp -r locale $(LOCALE)
diff -urN inkscape-silhouette-9999.orig/silhouette/Graphtec.py inkscape-silhouette-9999/silhouette/Graphtec.py
--- inkscape-silhouette-9999.orig/silhouette/Graphtec.py 2023-05-24 08:56:46.585456942 +0200
+++ inkscape-silhouette-9999/silhouette/Graphtec.py 2023-05-24 08:58:05.419432821 +0200
@@ -29,8 +29,6 @@
usb_reset_needed = False # https://github.com/fablabnbg/inkscape-silhouette/issues/10
-sys.path.append(os.path.dirname(os.path.abspath(__file__)) + '/pyusb-1.0.2') # have a pyusb fallback
-
sys_platform = sys.platform.lower()
if sys_platform.startswith('win'):
import usb.core