Changes of Revision 7
sview.changes
Changed
x
1
2
-------------------------------------------------------------------
3
+Sat Feb 11 08:26:52 UTC 2017 - olaf@aepfle.de
4
+
5
+- Sort wildcard lists with 0001-Makefile-sort-input-files.patch
6
+
7
+-------------------------------------------------------------------
8
Wed Sep 7 05:11:05 UTC 2016 - avvissu@yandex.by
9
10
- Update to 16.06:
11
sview.spec
Changed
17
1
2
Group: Productivity/Multimedia/Video/Players
3
Url: http://www.sview.ru/en/
4
Source: https://github.com/gkv311/sview/archive/%{src_ver}.tar.gz#/%{name}-%{src_ver}.tar.gz
5
+Patch0: 0001-Makefile-sort-input-files.patch
6
BuildRequires: dos2unix
7
BuildRequires: gcc-c++
8
BuildRequires: fdupes
9
10
11
%prep
12
%setup -q -n %{name}-%{src_ver}
13
+%patch0 -p1
14
15
dos2unix -k license-gpl* license-lgpl*
16
17
0001-Makefile-sort-input-files.patch
Added
193
1
2
+From 1c7f107a903a57908e1ff0682457433a4930422b Mon Sep 17 00:00:00 2001
3
+From: Olaf Hering <olaf@aepfle.de>
4
+Date: Sat, 11 Feb 2017 08:19:43 +0100
5
+Subject: Makefile -- sort input files
6
+
7
+Sorting input files helps with what Debian sells as reproducilbe builds.
8
+
9
+Signed-off-by: Olaf Hering <olaf@aepfle.de>
10
+---
11
+ Makefile | 44 ++++++++++++++++++++++----------------------
12
+ 1 file changed, 22 insertions(+), 22 deletions(-)
13
+
14
+diff --git a/Makefile b/Makefile
15
+index 8f1e1c46..2c8472e9 100644
16
+--- a/Makefile
17
++++ b/Makefile
18
+@@ -307,12 +307,12 @@ pre_all:
19
+ cp -f -r textures/* $(BUILD_ROOT)/textures/
20
+
21
+ # StShared shared library
22
+-aStShared_SRCS1 := $(wildcard $(SRCDIR)/StShared/*.cpp)
23
++aStShared_SRCS1 := $(sort $(wildcard $(SRCDIR)/StShared/*.cpp))
24
+ aStShared_OBJS1 := ${aStShared_SRCS1:.cpp=.o}
25
+ aStShared_SRCS2 :=
26
+ aStShared_OBJS2 :=
27
+ ifeq ($(TARGET_OS),osx)
28
+-aStShared_SRCS2 := $(wildcard $(SRCDIR)/StShared/*.mm)
29
++aStShared_SRCS2 := $(sort $(wildcard $(SRCDIR)/StShared/*.mm))
30
+ aStShared_OBJS2 := ${aStShared_SRCS2:.mm=.o}
31
+ endif
32
+ aStShared_LIB := $(LIB) $(LIB_GLX) $(LIB_GTK) $(LIB_ANDROID) -lavutil -lavformat -lavcodec -lswscale -lfreetype $(LIB_CONFIG) $(LIB_PTHREAD)
33
+@@ -323,7 +323,7 @@ clean_StShared:
34
+ rm -rf StShared/*.o
35
+
36
+ # StGLWidgets shared library
37
+-aStGLWidgets_SRCS := $(wildcard $(SRCDIR)/StGLWidgets/*.cpp)
38
++aStGLWidgets_SRCS := $(sort $(wildcard $(SRCDIR)/StGLWidgets/*.cpp))
39
+ aStGLWidgets_OBJS := ${aStGLWidgets_SRCS:.cpp=.o}
40
+ aStGLWidgets_LIB := $(LIB) -lStShared $(LIB_GLX)
41
+ $(aStGLWidgets) : pre_StGLWidgets $(aStShared) $(aStGLWidgets_OBJS)
42
+@@ -335,12 +335,12 @@ clean_StGLWidgets:
43
+ rm -rf StGLWidgets/*.o
44
+
45
+ # StCore library
46
+-aStCore_SRCS1 := $(wildcard $(SRCDIR)/StCore/*.cpp)
47
++aStCore_SRCS1 := $(sort $(wildcard $(SRCDIR)/StCore/*.cpp))
48
+ aStCore_OBJS1 := ${aStCore_SRCS1:.cpp=.o}
49
+ aStCore_SRCS2 :=
50
+ aStCore_OBJS2 :=
51
+ ifeq ($(TARGET_OS),osx)
52
+-aStCore_SRCS2 := $(wildcard $(SRCDIR)/StCore/*.mm)
53
++aStCore_SRCS2 := $(sort $(wildcard $(SRCDIR)/StCore/*.mm))
54
+ aStCore_OBJS2 := ${aStCore_SRCS2:.mm=.o}
55
+ endif
56
+ aStCore_LIB := $(LIB) -lStShared $(LIB_GLX) $(LIB_GTK) $(LIB_PTHREAD) $(LIB_XLIB) $(LIB_ANDROID) $(LIB_IOKIT)
57
+@@ -351,7 +351,7 @@ clean_StCore:
58
+ rm -rf StCore/*.o
59
+
60
+ # StOutAnaglyph library (Anaglyph output)
61
+-aStOutAnaglyph_SRCS := $(wildcard $(SRCDIR)/StOutAnaglyph/*.cpp)
62
++aStOutAnaglyph_SRCS := $(sort $(wildcard $(SRCDIR)/StOutAnaglyph/*.cpp))
63
+ aStOutAnaglyph_OBJS := ${aStOutAnaglyph_SRCS:.cpp=.o}
64
+ aStOutAnaglyph_LIB := $(LIB) -lStShared -lStCore $(LIB_GLX) $(LIB_GTK) $(LIB_PTHREAD)
65
+ $(aStOutAnaglyph) : pre_StOutAnaglyph $(aStCore) $(aStOutAnaglyph_OBJS)
66
+@@ -373,7 +373,7 @@ clean_StOutAnaglyph:
67
+ rm -rf $(BUILD_ROOT)/lang/*/StOutAnaglyph.lng
68
+
69
+ # StOutDual library (Dual output)
70
+-aStOutDual_SRCS := $(wildcard $(SRCDIR)/StOutDual/*.cpp)
71
++aStOutDual_SRCS := $(sort $(wildcard $(SRCDIR)/StOutDual/*.cpp))
72
+ aStOutDual_OBJS := ${aStOutDual_SRCS:.cpp=.o}
73
+ aStOutDual_LIB := $(LIB) -lStShared -lStCore $(LIB_GLX) $(LIB_GTK) $(LIB_PTHREAD)
74
+ $(aStOutDual) : pre_StOutDual $(aStCore) $(aStOutDual_OBJS)
75
+@@ -392,7 +392,7 @@ clean_StOutDual:
76
+ rm -rf $(BUILD_ROOT)/lang/*/StOutDual.lng
77
+
78
+ # StOutIZ3D library (iZ3D monitor)
79
+-aStOutIZ3D_SRCS := $(wildcard $(SRCDIR)/StOutIZ3D/*.cpp)
80
++aStOutIZ3D_SRCS := $(sort $(wildcard $(SRCDIR)/StOutIZ3D/*.cpp))
81
+ aStOutIZ3D_OBJS := ${aStOutIZ3D_SRCS:.cpp=.o}
82
+ aStOutIZ3D_LIB := $(LIB) -lStShared -lStCore $(LIB_GLX) $(LIB_GTK) $(LIB_PTHREAD)
83
+ $(aStOutIZ3D) : pre_StOutIZ3D $(aStCore) $(aStOutIZ3D_OBJS)
84
+@@ -414,7 +414,7 @@ clean_StOutIZ3D:
85
+ rm -rf $(BUILD_ROOT)/lang/*/StOutIZ3D.lng
86
+
87
+ # StOutInterlace library (Interlaced output)
88
+-aStOutInterlace_SRCS := $(wildcard $(SRCDIR)/StOutInterlace/*.cpp)
89
++aStOutInterlace_SRCS := $(sort $(wildcard $(SRCDIR)/StOutInterlace/*.cpp))
90
+ aStOutInterlace_OBJS := ${aStOutInterlace_SRCS:.cpp=.o}
91
+ aStOutInterlace_LIB := $(LIB) -lStShared -lStCore $(LIB_GLX) $(LIB_GTK) $(LIB_PTHREAD)
92
+ $(aStOutInterlace) : pre_StOutInterlace $(aStCore) $(aStOutInterlace_OBJS)
93
+@@ -436,12 +436,12 @@ clean_StOutInterlace:
94
+ rm -rf $(BUILD_ROOT)/lang/*/StOutInterlace.lng
95
+
96
+ # StOutPageFlip library (Shutter glasses output)
97
+-aStOutPageFlip_SRCS1 := $(wildcard $(SRCDIR)/StOutPageFlip/*.cpp)
98
++aStOutPageFlip_SRCS1 := $(sort $(wildcard $(SRCDIR)/StOutPageFlip/*.cpp))
99
+ aStOutPageFlip_OBJS1 := ${aStOutPageFlip_SRCS1:.cpp=.o}
100
+ aStOutPageFlip_SRCS2 :=
101
+ aStOutPageFlip_OBJS2 :=
102
+ ifeq ($(TARGET_OS),osx)
103
+-aStOutPageFlip_SRCS2 := $(wildcard $(SRCDIR)/StOutPageFlip/*.mm)
104
++aStOutPageFlip_SRCS2 := $(sort $(wildcard $(SRCDIR)/StOutPageFlip/*.mm))
105
+ aStOutPageFlip_OBJS2 := ${aStOutPageFlip_SRCS2:.mm=.o}
106
+ endif
107
+ aStOutPageFlip_LIB := $(LIB) -lStShared -lStCore $(LIB_GLX) $(LIB_GTK) $(LIB_PTHREAD)
108
+@@ -461,7 +461,7 @@ clean_StOutPageFlip:
109
+ rm -rf $(BUILD_ROOT)/lang/*/StOutPageFlip.lng
110
+
111
+ # StOutDistorted library
112
+-aStOutDistorted_SRCS := $(wildcard $(SRCDIR)/StOutDistorted/*.cpp)
113
++aStOutDistorted_SRCS := $(sort $(wildcard $(SRCDIR)/StOutDistorted/*.cpp))
114
+ aStOutDistorted_OBJS := ${aStOutDistorted_SRCS:.cpp=.o}
115
+ aStOutDistorted_LIB := $(LIB) -lStShared -lStCore $(LIB_GLX) $(LIB_GTK) $(LIB_PTHREAD)
116
+ $(aStOutDistorted) : pre_StOutDistorted $(aStCore) $(aStOutDistorted_OBJS)
117
+@@ -480,7 +480,7 @@ clean_StOutDistorted:
118
+ rm -rf $(BUILD_ROOT)/lang/*/StOutDistorted.lng
119
+
120
+ # StImageViewer library (Image Viewer)
121
+-aStImageViewer_SRCS := $(wildcard $(SRCDIR)/StImageViewer/*.cpp)
122
++aStImageViewer_SRCS := $(sort $(wildcard $(SRCDIR)/StImageViewer/*.cpp))
123
+ aStImageViewer_OBJS := ${aStImageViewer_SRCS:.cpp=.o}
124
+ aStImageViewer_LIB := $(LIB) -lStGLWidgets -lStShared -lStCore $(LIB_OUTPUTS) $(LIB_GLX) $(LIB_GTK) $(LIB_PTHREAD)
125
+ $(aStImageViewer) : pre_StImageViewer $(aStGLWidgets) outputs_all $(aStImageViewer_OBJS)
126
+@@ -499,11 +499,11 @@ clean_StImageViewer:
127
+ rm -rf $(BUILD_ROOT)/lang/*/StImageViewer.lng
128
+
129
+ # StMoviePlayer library (Image Viewer)
130
+-aStMoviePlayer_SRCS1 := $(wildcard $(SRCDIR)/StMoviePlayer/*.cpp)
131
++aStMoviePlayer_SRCS1 := $(sort $(wildcard $(SRCDIR)/StMoviePlayer/*.cpp))
132
+ aStMoviePlayer_OBJS1 := ${aStMoviePlayer_SRCS1:.cpp=.o}
133
+-aStMoviePlayer_SRCS2 := $(wildcard $(SRCDIR)/StMoviePlayer/StVideo/*.cpp)
134
++aStMoviePlayer_SRCS2 := $(sort $(wildcard $(SRCDIR)/StMoviePlayer/StVideo/*.cpp))
135
+ aStMoviePlayer_OBJS2 := ${aStMoviePlayer_SRCS2:.cpp=.o}
136
+-aStMoviePlayer_SRCS3 := $(wildcard $(SRCDIR)/StMoviePlayer/*.c)
137
++aStMoviePlayer_SRCS3 := $(sort $(wildcard $(SRCDIR)/StMoviePlayer/*.c))
138
+ aStMoviePlayer_OBJS3 := ${aStMoviePlayer_SRCS3:.c=.o}
139
+ aStMoviePlayer_LIB := $(LIB) -lStGLWidgets -lStShared -lStCore $(LIB_OUTPUTS) $(LIB_GLX) $(LIB_GTK) -lavutil -lavformat -lavcodec -lswscale $(LIB_OPENAL) $(LIB_PTHREAD)
140
+ $(aStMoviePlayer) : pre_StMoviePlayer $(aStGLWidgets) outputs_all $(aStMoviePlayer_OBJS1) $(aStMoviePlayer_OBJS2) $(aStMoviePlayer_OBJS3)
141
+@@ -525,7 +525,7 @@ clean_StMoviePlayer:
142
+ rm -rf $(BUILD_ROOT)/web/*
143
+
144
+ # StDiagnostics library
145
+-aStDiagnostics_SRCS := $(wildcard $(SRCDIR)/StDiagnostics/*.cpp)
146
++aStDiagnostics_SRCS := $(sort $(wildcard $(SRCDIR)/StDiagnostics/*.cpp))
147
+ aStDiagnostics_OBJS := ${aStDiagnostics_SRCS:.cpp=.o}
148
+ aStDiagnostics_LIB := $(LIB) -lStGLWidgets -lStShared -lStCore $(LIB_OUTPUTS) $(LIB_GLX) $(LIB_GTK) $(LIB_PTHREAD)
149
+ $(aStDiagnostics) : pre_StDiagnostics $(aStGLWidgets) outputs_all $(aStDiagnostics_OBJS)
150
+@@ -544,7 +544,7 @@ clean_StDiagnostics:
151
+ rm -rf $(BUILD_ROOT)/lang/*/StDiagnostics.lng
152
+
153
+ # sView CAD Android JNI executable
154
+-sViewAndroidCad_SRCS := $(wildcard $(SRCDIR)/StCADViewer/*.cpp)
155
++sViewAndroidCad_SRCS := $(sort $(wildcard $(SRCDIR)/StCADViewer/*.cpp))
156
+ sViewAndroidCad_OBJS := ${sViewAndroidCad_SRCS:.cpp=.o}
157
+ sViewAndroidCad_LIB := $(LIB) -lStGLWidgets -lStShared -lStCore $(LIB_OUTPUTS) $(LIB_OCCT) -lfreetype -llog -landroid -lEGL -lGLESv2 -lc
158
+ $(sViewAndroidCad) : pre_StCADViewer $(aStGLWidgets) outputs_all $(sViewAndroidCad_OBJS)
159
+@@ -555,7 +555,7 @@ clean_sViewAndroidCad:
160
+ rm -rf $(BUILD_ROOT)/lang/*/StCADViewer.lng
161
+
162
+ # StCADViewer library
163
+-aStCADViewer_SRCS := $(wildcard $(SRCDIR)/StCADViewer/*.cpp)
164
++aStCADViewer_SRCS := $(sort $(wildcard $(SRCDIR)/StCADViewer/*.cpp))
165
+ aStCADViewer_OBJS := ${aStCADViewer_SRCS:.cpp=.o}
166
+ aStCADViewer_LIB := $(LIB) -lStGLWidgets -lStShared -lStCore $(LIB_OUTPUTS) $(LIB_GLX) $(LIB_GTK) $(LIB_PTHREAD)
167
+ aStCADViewer_LIB += $(LIB_OCCT)
168
+@@ -575,7 +575,7 @@ clean_StCADViewer:
169
+ rm -rf $(BUILD_ROOT)/lang/*/StCADViewer.lng
170
+
171
+ # sView Android JNI executable
172
+-sViewAndroid_SRCS := $(wildcard $(SRCDIR)/sview/jni/*.cpp)
173
++sViewAndroid_SRCS := $(sort $(wildcard $(SRCDIR)/sview/jni/*.cpp))
174
+ sViewAndroid_OBJS := ${sViewAndroid_SRCS:.cpp=.o}
175
+ sViewAndroid_LIB := $(LIB) -lStShared -lStCore -lStImageViewer -lStMoviePlayer -llog -landroid -lEGL -lGLESv2 -lc
176
+ $(sViewAndroid) : $(aStImageViewer) $(aStMoviePlayer) $(sViewAndroid_OBJS)
177
+@@ -585,13 +585,13 @@ clean_sViewAndroid:
178
+ rm -rf sview/jni/*.o
179
+
180
+ # sView executable
181
+-sView_SRCS1 := $(wildcard $(SRCDIR)/sview/*.cpp)
182
++sView_SRCS1 := $(sort $(wildcard $(SRCDIR)/sview/*.cpp))
183
+ sView_OBJS1 := ${sView_SRCS1:.cpp=.o}
184
+ sView_SRCS2 :=
185
+ sView_OBJS2 :=
186
+ sView_LIB_DEPS = -lX11 -ldl -lgthread-2.0
187
+ ifeq ($(TARGET_OS),osx)
188
+-sView_SRCS2 := $(wildcard $(SRCDIR)/sview/*.mm)
189
++sView_SRCS2 := $(sort $(wildcard $(SRCDIR)/sview/*.mm))
190
+ sView_OBJS2 := ${sView_SRCS2:.mm=.o}
191
+ sView_LIB_DEPS = -framework Appkit
192
+ endif
193