File: highlight.py-fix1.patch

package info (click to toggle)
apitrace 11.1%2Brepack-2.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 13,672 kB
  • sloc: cpp: 183,112; python: 33,685; ansic: 25,073; sh: 143; makefile: 88
file content (38 lines) | stat: -rw-r--r-- 953 bytes parent folder | download | duplicates (3)
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
commit 40a817904a2ca19b21b127b636ae95688635c448
Author: Jose Fonseca <jfonseca@vmware.com>
Date:   Mon May 23 20:27:31 2022 +0100

    scripts: Install highlight.py without executable permission.
    
    Fixes https://github.com/apitrace/apitrace/pull/795

diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt
index 11384a44..2f7758bc 100644
--- a/scripts/CMakeLists.txt
+++ b/scripts/CMakeLists.txt
@@ -1,7 +1,22 @@
-file (GLOB SCRIPTS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.py)
-
 install (
-    PROGRAMS ${SCRIPTS}
+    PROGRAMS
+        convert.py
+        history.py
+        jsondiff.py
+        jsonextractimages.py
+        leaks.py
+        profileshader.py
+        retracediff.py
+        snapdiff.py
+        tracecheck.py
+        tracediff.py
+        unpickle.py
+    DESTINATION ${SCRIPTS_INSTALL_DIR}
+)
+install (
+    FILES
+        apitrace.PIXExp
+        highlight.py
     DESTINATION ${SCRIPTS_INSTALL_DIR}
 )
 install (