Package: pymecavideo / 6.5.1-1

data-files.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
redefined the location of shared files, due to the package name change
Index: pymecavideo-6.5/src/globdef.py
===================================================================
--- pymecavideo-6.5.orig/src/globdef.py
+++ pymecavideo-6.5/src/globdef.py
@@ -153,7 +153,7 @@ if sys.platform == 'win32':
 else:
     VIDEO_PATH = testerDossier((os.path.join("..", "data", "video"),
                                 '/usr/share/pymecavideo/video',
-                                '/usr/share/python-mecavideo/video'),
+                                '/usr/share/python3-mecavideo/video'),
                                APP_DATA_PATH)
 
 #
@@ -161,7 +161,7 @@ else:
 #
 
 PYMECA_SHARE = testerDossier(('/usr/share/pymecavideo',
-                              '/usr/share/python-mecavideo',
+                              '/usr/share/python3-mecavideo',
                               '.'),
                              '/usr/share/pymecavideo')
 
@@ -180,8 +180,12 @@ else:
 if sys.platform == 'win32':
     ICON_PATH = os.path.join(PATH, "data", "icones")
 else:
-    ICON_PATH = testerDossier((os.path.join("..", "data", "icones"),
-                               '/usr/share/python-mecavideo/icones', '/usr/share/pymecavideo/icones'))
+    ICON_PATH = testerDossier(
+        (os.path.join("..", "data", "icones"),
+         '/usr/share/python3-mecavideo/icones',
+         '/usr/share/pymecavideo/icones',
+         '/usr/share/icons')
+    )
 #
 # Dossier des langues
 #
@@ -189,7 +193,7 @@ if sys.platform == 'win32':
     LANG_PATH = os.path.join(PATH, r"data", r"lang")
 else:
     LANG_PATH = testerDossier((os.path.join("..", "data", "lang"),
-                               '/usr/share/pyshared/pymecavideo/lang', '/usr/share/python-mecavideo/lang',
+                               '/usr/share/pyshared/pymecavideo/lang', '/usr/share/python3-mecavideo/lang',
                                '/usr/share/pymecavideo/lang'))
 
 #
@@ -200,7 +204,7 @@ if sys.platform == 'win32':
 else:
     #DATA_PATH = os.path.join(PATH,"..","data")
     DATA_PATH = testerDossier((os.path.join("..", "data"),
-                               '/usr/share/python-mecavideo/', '/usr/share/pymecavideo/'))
+                               '/usr/share/python3-mecavideo/', '/usr/share/pymecavideo/'))
 
 #
 # Dossier de l'aide