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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
|
%define _default_patch_fuzz 2
%define snap 20131128svn5139
%define mesa_version 7.7.1
Name: tigervnc
Version: 1.3.80
Release: 17%{?snap:.%{snap}}%{?dist}
Summary: A TigerVNC remote display system
Group: User Interface/Desktops
License: GPLv2+
Packager: Brian P. Hinz <bphinz@users.sourceforge.net>
URL: http://www.tigervnc.com
Source0: %{name}-%{version}%{?snap:-%{snap}}.tar.bz2
Source1: vncserver.service
Source2: vncserver.sysconfig
Source6: vncviewer.desktop
Source11: http://fltk.org/pub/fltk/1.3.2/fltk-1.3.2-source.tar.gz
Source12: http://downloads.sourceforge.net/project/libjpeg-turbo/1.3.0/libjpeg-turbo-1.3.0.tar.gz
# http://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/xorg-x11-proto-devel-7.6-13.el6.src.rpm
# http://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/
Source99: http://xcb.freedesktop.org/dist/libpthread-stubs-0.3.tar.bz2
Source100: http://www.x.org/releases/X11R7.5/src/lib/libICE-1.0.6.tar.bz2
Source101: http://www.x.org/releases/X11R7.5/src/lib/libSM-1.1.1.tar.bz2
Source102: http://www.x.org/releases/X11R7.5/src/lib/libX11-1.3.2.tar.bz2
Source103: http://www.x.org/releases/X11R7.5/src/lib/libXScrnSaver-1.2.0.tar.bz2
Source104: http://www.x.org/releases/X11R7.5/src/lib/libXau-1.0.5.tar.bz2
Source105: http://www.x.org/releases/X11R7.5/src/lib/libXaw-1.0.7.tar.bz2
Source106: http://www.x.org/releases/X11R7.5/src/lib/libXcomposite-0.4.1.tar.bz2
Source107: http://www.x.org/releases/X11R7.5/src/lib/libXcursor-1.1.10.tar.bz2
Source108: http://www.x.org/releases/X11R7.5/src/lib/libXdamage-1.1.2.tar.bz2
Source109: http://www.x.org/releases/X11R7.5/src/lib/libXdmcp-1.0.3.tar.bz2
Source110: http://www.x.org/releases/individual/lib/libXext-1.1.tar.bz2
Source111: http://www.x.org/releases/X11R7.5/src/lib/libXfixes-4.0.4.tar.bz2
Source112: http://www.x.org/releases/X11R7.5/src/lib/libXfont-1.4.1.tar.bz2
Source113: http://www.x.org/releases/X11R7.5/src/lib/libXft-2.1.14.tar.bz2
Source114: http://www.x.org/releases/X11R7.5/src/lib/libXi-1.3.tar.bz2
Source115: http://www.x.org/releases/X11R7.5/src/lib/libXinerama-1.1.tar.bz2
Source116: http://www.x.org/releases/X11R7.5/src/lib/libXmu-1.0.5.tar.bz2
Source117: http://www.x.org/releases/X11R7.5/src/lib/libXpm-3.5.8.tar.bz2
Source118: http://www.x.org/releases/X11R7.5/src/lib/libXrandr-1.3.0.tar.bz2
Source119: http://www.x.org/releases/X11R7.5/src/lib/libXrender-0.9.5.tar.bz2
Source120: http://www.x.org/releases/X11R7.5/src/lib/libXt-1.0.7.tar.bz2
Source121: http://www.x.org/releases/X11R7.5/src/lib/libXtst-1.1.0.tar.bz2
Source122: http://www.x.org/releases/X11R7.5/src/lib/libXv-1.0.5.tar.bz2
Source123: http://www.x.org/releases/X11R7.5/src/lib/libXvMC-1.0.5.tar.bz2
Source124: http://www.x.org/releases/X11R7.5/src/lib/libXxf86dga-1.1.1.tar.bz2
Source125: http://www.x.org/releases/X11R7.5/src/lib/libXxf86vm-1.1.0.tar.bz2
Source126: http://www.x.org/releases/X11R7.5/src/lib/libfontenc-1.0.5.tar.bz2
Source127: http://www.x.org/releases/X11R7.5/src/lib/libpciaccess-0.10.9.tar.bz2
Source128: http://www.x.org/releases/X11R7.5/src/lib/libxkbfile-1.0.6.tar.bz2
Source129: http://www.x.org/releases/X11R7.5/src/lib/xtrans-1.2.5.tar.bz2
Source130: http://xorg.freedesktop.org/archive/individual/proto/bigreqsproto-1.1.0.tar.bz2
Source131: http://xorg.freedesktop.org/archive/individual/proto/compositeproto-0.4.1.tar.bz2
Source132: http://xorg.freedesktop.org/archive/individual/proto/damageproto-1.2.0.tar.bz2
Source133: http://xorg.freedesktop.org/archive/individual/proto/evieext-1.1.1.tar.bz2
Source134: http://xorg.freedesktop.org/archive/individual/proto/fixesproto-5.0.tar.bz2
Source135: http://xorg.freedesktop.org/archive/individual/proto/fontsproto-2.1.0.tar.bz2
Source136: http://xorg.freedesktop.org/archive/individual/proto/glproto-1.4.12.tar.bz2
Source137: http://xorg.freedesktop.org/archive/individual/proto/inputproto-2.0.2.tar.bz2
Source138: http://xorg.freedesktop.org/archive/individual/proto/kbproto-1.0.5.tar.bz2
Source139: http://xorg.freedesktop.org/archive/individual/proto/randrproto-1.3.1.tar.bz2
#Source139: http://xorg.freedesktop.org/archive/individual/proto/randrproto-20110224-git105a161.tar.bz2
Source140: http://xorg.freedesktop.org/archive/individual/proto/recordproto-1.14.1.tar.bz2
Source141: http://xorg.freedesktop.org/archive/individual/proto/renderproto-0.11.1.tar.bz2
Source142: http://xorg.freedesktop.org/archive/individual/proto/resourceproto-1.2.0.tar.bz2
Source143: http://xorg.freedesktop.org/archive/individual/proto/scrnsaverproto-1.2.1.tar.bz2
Source144: http://xorg.freedesktop.org/archive/individual/proto/videoproto-2.3.1.tar.bz2
Source145: http://xorg.freedesktop.org/archive/individual/proto/xcmiscproto-1.2.1.tar.bz2
Source146: http://xorg.freedesktop.org/archive/individual/proto/xextproto-7.2.0.tar.bz2
Source147: http://xorg.freedesktop.org/archive/individual/proto/xf86bigfontproto-1.2.0.tar.bz2
Source148: http://xorg.freedesktop.org/archive/individual/proto/xf86dgaproto-2.1.tar.bz2
Source149: http://xorg.freedesktop.org/archive/individual/proto/xf86driproto-2.1.1.tar.bz2
Source150: http://xorg.freedesktop.org/archive/individual/proto/xf86miscproto-0.9.3.tar.bz2
Source151: http://xorg.freedesktop.org/archive/individual/proto/xf86vidmodeproto-2.3.1.tar.bz2
Source152: http://xorg.freedesktop.org/archive/individual/proto/xineramaproto-1.2.1.tar.bz2
Source153: http://xorg.freedesktop.org/archive/individual/proto/xproto-7.0.22.tar.bz2
Source154: http://xorg.freedesktop.org/archive/individual/proto/dri2proto-2.3.tar.bz2
#Source130: http://www.x.org/releases/X11R7.5/src/proto/bigreqsproto-1.1.0.tar.bz2
#Source131: http://www.x.org/releases/X11R7.5/src/proto/compositeproto-0.4.1.tar.bz2
#Source132: http://www.x.org/releases/X11R7.5/src/proto/damageproto-1.2.0.tar.bz2
#Source133: http://www.x.org/releases/X11R7.5/src/proto/dri2proto-2.3.tar.bz2
#Source134: http://www.x.org/releases/X11R7.5/src/proto/fixesproto-5.0.tar.bz2
#Source135: http://www.x.org/releases/X11R7.5/src/proto/fontsproto-2.1.0.tar.bz2
#Source136: http://www.x.org/releases/X11R7.5/src/proto/glproto-1.4.12.tar.bz2
#Source137: http://www.x.org/releases/X11R7.5/src/proto/inputproto-2.0.2.tar.bz2
#Source138: http://www.x.org/releases/X11R7.5/src/proto/kbproto-1.0.5.tar.bz2
#Source139: http://www.x.org/releases/X11R7.5/src/proto/randrproto-20110224-git105a161.tar.bz2
#Source140: http://www.x.org/releases/X11R7.5/src/proto/recordproto-1.14.1.tar.bz2
#Source141: http://www.x.org/releases/X11R7.5/src/proto/renderproto-0.11.1.tar.bz2
#Source142: http://www.x.org/releases/X11R7.5/src/proto/resourceproto-1.2.0.tar.bz2
#Source143: http://www.x.org/releases/X11R7.5/src/proto/scrnsaverproto-1.2.1.tar.bz2
#Source144: http://www.x.org/releases/X11R7.5/src/proto/videoproto-2.3.1.tar.bz2
#Source145: http://www.x.org/releases/X11R7.5/src/proto/xcmiscproto-1.2.1.tar.bz2
#Source146: http://www.x.org/releases/X11R7.5/src/proto/xextproto-7.2.0.tar.bz2
#Source147: http://www.x.org/releases/X11R7.5/src/proto/xf86bigfontproto-1.2.0.tar.bz2
#Source148: http://www.x.org/releases/X11R7.5/src/proto/xf86dgaproto-2.1.tar.bz2
#Source149: http://www.x.org/releases/X11R7.5/src/proto/xf86driproto-2.1.1.tar.bz2
#Source150: http://www.x.org/releases/X11R7.5/src/proto/xf86vidmodeproto-2.3.1.tar.bz2
#Source151: http://www.x.org/releases/X11R7.5/src/proto/xproto-7.0.22.tar.bz2
Source155: http://www.x.org/releases/individual/util/util-macros-1.4.1.tar.bz2
Source156: http://www.x.org/pub/individual/xserver/xorg-server-1.7.7.tar.bz2
#Source157: ftp://ftp.x.org/pub/individual/app/xauth-1.0.2.tar.bz2
#Source158: http://www.x.org/releases/X11R7.5/src/everything/xkbutils-1.0.2.tar.bz2
Source159: http://dri.freedesktop.org/libdrm/libdrm-2.4.15.tar.bz2
Source160: http://downloads.sourceforge.net/project/freetype/freetype2/2.3.11/freetype-2.3.11.tar.bz2
Source161: ftp://ftp.freedesktop.org/pub/mesa/older-versions/7.x/%{mesa_version}/MesaLib-%{mesa_version}.tar.bz2
Source162: http://cgit.freedesktop.org/pixman/snapshot/pixman-0.26.0.tar.gz
Source163: http://www.x.org/releases/X11R7.5/src/lib/libXres-1.0.4.tar.bz2
Source164: http://www.x.org/releases/individual/lib/libXxf86misc-1.0.2.tar.bz2
# FIXME:
# need to apply any patches in from the F12 srpms
#http://dl.fedoraproject.org/pub/archive/fedora/linux/releases/12/Fedora/source/SRPMS/mesa-7.6-0.13.fc12.src.rpm
#http://dl.fedoraproject.org/pub/archive/fedora/linux/releases/12/Fedora/source/SRPMS/pixman-0.16.2-1.fc12.src.rpm
#http://vault.centos.org/6.3/os/Source/SPackages/pixman-0.18.4-1.el6_0.1.src.rpm
#http://archive.fedoraproject.org/pub/archive/fedora/linux/releases/12/Everything/source/SRPMS/libdrm-2.4.15-4.fc12.src.rpm
#http://dl.fedoraproject.org/pub/archive/fedora/linux/releases/12/Fedora/source/SRPMS/freetype-2.3.9-6.fc12.src.rpm
BuildRoot: %{_tmppath}/%{name}-%{version}%{?snap:-%{snap}}-%{release}-root-%(%{__id_u} -n)
BuildRequires: automake >= 1.7, autoconf >= 2.57, libtool >= 1.4, gettext >= 0.14.4, gettext-devel >= 0.14.4, bison-devel
BuildRequires: openssl-devel
BuildRequires: desktop-file-utils, java-devel, jpackage-utils
BuildRequires: gnutls-devel, pam-devel
BuildRequires: cmake28
BuildRequires: pkgconfig >= 0.20
BuildRequires: gcc44, gcc44-c++
BuildRequires: glibc-devel, libstdc++-devel, libpng-devel
BuildRequires: openmotif-devel
Requires: openmotif, openmotif22
Requires(post): initscripts chkconfig coreutils
Requires(postun):coreutils
Requires: hicolor-icon-theme
Requires: tigervnc-license
Provides: vnc = 4.1.3-2, vnc-libs = 4.1.3-2
Obsoletes: vnc < 4.1.3-2, vnc-libs < 4.1.3-2
Provides: tightvnc = 1.5.0-0.15.20090204svn3586
Obsoletes: tightvnc < 1.5.0-0.15.20090204svn3586
Patch4: tigervnc-cookie.patch
Patch10: tigervnc11-ldnow.patch
Patch11: tigervnc11-gethomedir.patch
Patch101: tigervnc-ac-compatibility.patch
Patch102: tigervnc-xorg-1.7.5-remove-copyisolatin1lowered.patch
# Patches from libdrm-2.4.15-4.fc12.src.rpm
# hardcode the 666 instead of 660 for device nodes
Patch133: libdrm-make-dri-perms-okay.patch
# remove backwards compat not needed on Fedora
Patch134: libdrm-2.4.0-no-bc.patch
Patch135: libdrm-page-flip.patch
# nouveau: retry pushbuf ioctl if interrupted by signal
Patch136: libdrm-nouveau-restart-pushbuf.patch
# nouveau: drop rendering on floor rather than asserting if flush fails
Patch137: libdrm-nouveau-drop-rendering.patch
# nouveau: improve reloc API to allow better error handling
Patch138: libdrm-nouveau-better-relocs.patch
# patches from mesa-7.11-5.el6.src.rpm
# ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/mesa-7.11-5.el6.src.rpm
Patch141: mesa-7.1-osmesa-version.patch
Patch142: mesa-7.1-nukeglthread-debug.patch
Patch143: mesa-no-mach64.patch
#Patch147: mesa-7.1-link-shared.patch
Patch149: intel-revert-vbl.patch
#Patch1410: r600-fix-tfp.patch
#Patch1413: mesa-7.5-sparc64.patch
Patch1430: mesa-7.6-hush-vblank-warning.patch
Patch1431: mesa-7.6-glx13-app-warning.patch
#Patch1440: r300g-no-llvm.patch
# 7.11 branch backport
#Patch1460: mesa-7.11-b9c7773e.patch
# not on 7.11 branch yet
#Patch1470: mesa-7.11-gen6-depth-stalls.patch
#Patch1480: mesa-r600g-new-pciids.patch
#Patch1481: mesa-7.11-ivybridge-server-pci-ids.patch
# Patches from EL6 xorg-x11-server-1.7.7 source RPM
# ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/xorg-x11-server-1.7.7-29.el6_1.2.src.rpm
Patch5: xserver-1.4.99-pic-libxf86config.patch
Patch6: xserver-1.7.4-z-now.patch
# OpenGL compositing manager feature/optimization patches.
Patch103: xserver-1.5.0-bg-none-root.patch
Patch2014: xserver-1.5.0-projector-fb-size.patch
# Trivial things to never merge upstream ever:
# This really could be done prettier.
Patch5002: xserver-1.4.99-ssh-isnt-local.patch
# force mode debugging on for randr 1.2 drivers
Patch6002: xserver-1.5.1-mode-debug.patch
# don't build the (broken) acpi code
Patch6011: xserver-1.6.0-less-acpi-brokenness.patch
# Make autoconfiguration chose nouveau driver for NVIDIA GPUs
Patch6016: xserver-1.6.1-nouveau.patch
# ajax needs to upstream this
Patch6027: xserver-1.6.0-displayfd.patch
Patch6028: xserver-1.6.99-randr-error-debugging.patch
Patch6030: xserver-1.6.99-right-of.patch
Patch6033: xserver-1.6.99-default-modes.patch
Patch6044: xserver-1.6.99-hush-prerelease-warning.patch
Patch6045: xserver-1.7.0-randr-gamma-restore.patch
Patch6047: xserver-1.7.0-glx-versioning.patch
#Patch6048: xserver-1.7.0-exa-fix-mixed.patch
Patch6049: xserver-1.7.1-multilib.patch
Patch6051: xserver-1.7.1-gamma-kdm-fix.patch
Patch6052: xserver-1.7.1-libcrypto.patch
Patch6066: xserver-1.7.1-glx14-swrast.patch
Patch6067: xserver-1.7.7-exa-master.patch
Patch6070: xserver-1.7.3-no-free-on-abort.patch
# 558613
Patch6075: xserver-1.7.4-qxl-autoconfig.patch
# 516918
Patch6076: xserver-1.7.4-dpms-timeouts.patch
Patch6077: xserver-1.7.6-export-dix-functions.patch
Patch6078: xserver-1.7.6-export-more-dix-functions.patch
# 583544 - Pointer jumps to lower-right corner when clicking mousekeys
Patch6087: xserver-1.7.6-pointerkeys.patch
Patch7002: xserver-1.7.6-no-connected-outputs.patch
# 586926 - randr change while off vt
Patch7003: xserver-1.7.6-randr-vt-switch.patch
# 582710 - pam support
Patch7004: xserver-1.1.1-pam.patch
# 584927 - xinerama coordinate sign fix
Patch7005: xserver-1.7.6-deviceevent-coordinates-xinerama.patch
# 585371 - default mode list unification
Patch7006: xserver-1.7.6-default-modes.patch
# 586567 - big window crash when try to resize
Patch7007: xserver-1.7.7-compresize-fix.patch
# 602080 - fix unnecessary fb resize in multi-head configurations
Patch7008: xserver-1.7.7-randr-initial.patch
# 600180 - Buffer overflow in XKB geometry copying code.
Patch7009: xserver-1.7.7-xkb-invalid-writes.patch
# 600116 - Properties are not reset in the second server generation
Patch7010: xserver-1.7.7-property-generation-reset.patch
# 594523 - Wrong axis mode for absolute axes
Patch7011: xserver-1.7.7-device-mode-list.patch
# 602511 - Stuck modifiers when using multiple keyboards or XTEST
Patch7012: xserver-1.7.7-modifier-keycount.patch
# 588640 - XKEYBOARD Warning: Duplicate shape name ""
Patch7013: xserver-1.7.7-xkb-geom-copy.patch
# 574486 - Dual head setup overlaps one pixel
Patch7014: xserver-1.7.7-fix-randr-rotation.patch
# 600505 - Xephyr utility should be resizeable
Patch7015: xserver-1.7.7-make-ephyr-resize.patch
# 604057 - fix aspect match for classic drivers
Patch7016: xserver-1.7.7-improve-mode-selection.patch
# 607045 - DGA client can crash the server
Patch7017: xserver-1.7.7-dga-master-keyboard.patch
# 607410 - Reproducible stuck grab on server
Patch7018: xserver-1.7.7-event-mask-revert.patch
# 607051 - Keyboard bell settings don't apply to keyboards.
Patch7019: xserver-1.7.7-sd-keyboard-controls.patch
# 607022 - segfault during Xorg -showopts
Patch7020: xserver-1.7.7-showopts-segv.patch
# Related 607150
Patch7021: xserver-1.7.7-xkb-purge-includes.patch
# Related 607150
Patch7022: xserver-1.7.7-xkb-rename-fakebutton.patch
# Related 607150
Patch7023: xserver-1.7.7-xkb-pointerkeys-on-master.patch
# 607150 - Mouse button never releases when xkb PointerKeys are used
Patch7024: xserver-1.7.7-xkb-lockedPtrBtns-state-merge.patch
# 607150 - Mouse button never releases when xkb PointerKeys are used, part2
Patch7025: xserver-1.7.7-release-xtest-on-phys-buttons.patch
# 581505 - Xephyr crashes inside kvm-qemu virtual host
Patch7026: xserver-1.7.7-xephyr-24bpp.patch
# 605302 - vesa doesn't work on intel gen6
Patch7027: xserver-1.7.7-int10-reserved-areas.patch
# 618422 - Wrong handling of devices with more than 2 valuators
Patch7028: xserver-1.7.7-postfix-DCE-PointerKeys.patch
# related 618422, Patch7028
Patch7029: xserver-1.7.7-reset-unused-classes.patch
# 601319 - LVDS activated when notebook lid is closed
Patch7030: xserver-1.7.7-lid-hack.patch
# 585283 - xrandr allows mouse to move into non-existant screen locations
Patch7031: xserver-1.7.7-randr-cursor-dead-zones.patch
# 620333 - mga shows blank screen when X server starts
Patch7032: xserver-1.7.7-ddc-probe-less.patch
# 638234 - Bump classic driver default resolution to 1024x768
Patch7033: xserver-1.7.7-classic-default-mode.patch
Patch8000: cve-2011-4818.patch
Patch8001: cve-2011-4818-extra.patch
# Add -lm when linking X demos
Patch9020: freetype-2.1.10-enable-ft2-bci.patch
Patch9021: freetype-2.3.0-enable-spr.patch
# Enable otvalid and gxvalid modules
Patch9046: freetype-2.2.1-enable-valid.patch
# Fix multilib conflicts
Patch9088: freetype-multilib.patch
Patch9089: freetype-2.3.11-CVE-2010-2498.patch
Patch9090: freetype-2.3.11-CVE-2010-2499.patch
Patch9091: freetype-2.3.11-CVE-2010-2500.patch
Patch9092: freetype-2.3.11-CVE-2010-2519.patch
Patch9093: freetype-2.3.11-CVE-2010-2520.patch
#Patch9094: freetype-2.3.11-CVE-2010-2527.patch
#Patch9095: freetype-2.3.11-axis-name-overflow.patch
Patch9096: freetype-2.3.11-CVE-2010-1797.patch
Patch9097: freetype-2.3.11-CVE-2010-2805.patch
Patch9098: freetype-2.3.11-CVE-2010-2806.patch
Patch9099: freetype-2.3.11-CVE-2010-2808.patch
Patch9100: freetype-2.3.11-CVE-2010-3311.patch
Patch9101: freetype-2.3.11-CVE-2010-3855.patch
Patch9102: freetype-2.3.11-CVE-2011-0226.patch
Patch9103: freetype-2.3.11-CVE-2011-3256.patch
Patch9104: freetype-2.3.11-CVE-2011-3439.patch
Patch9105: freetype-2.3.11-CVE-2012-1126.patch
Patch9106: freetype-2.3.11-CVE-2012-1127.patch
Patch9107: freetype-2.3.11-CVE-2012-1130.patch
Patch9108: freetype-2.3.11-CVE-2012-1131.patch
Patch9109: freetype-2.3.11-CVE-2012-1132.patch
Patch9110: freetype-2.3.11-CVE-2012-1134.patch
Patch9111: freetype-2.3.11-CVE-2012-1136.patch
Patch9112: freetype-2.3.11-CVE-2012-1137.patch
Patch9113: freetype-2.3.11-CVE-2012-1139.patch
Patch9114: freetype-2.3.11-CVE-2012-1140.patch
Patch9115: freetype-2.3.11-CVE-2012-1141.patch
Patch9116: freetype-2.3.11-CVE-2012-1142.patch
Patch9117: freetype-2.3.11-CVE-2012-1143.patch
Patch9118: freetype-2.3.11-CVE-2012-1144.patch
Patch9119: freetype-2.3.11-bdf-overflow.patch
Patch9120: freetype-2.3.11-array-initialization.patch
Patch10001: xtrans-1.0.3-avoid-gethostname.patch
Patch10102: dont-forward-keycode-0.patch
Patch10103: libX11-1.3.1-creategc-man-page.patch
Patch10201: libXext-1.1-XAllocID.patch
Patch10301: libfontenc-1.0.0-get-fontdir-from-pkgconfig.patch
Patch10400: libXt-1.0.2-libsm-fix.patch
%description
Virtual Network Computing (VNC) is a remote display system which
allows you to view a computing 'desktop' environment not only on the
machine where it is running, but from anywhere on the Internet and
from a wide variety of machine architectures. This package contains a
client which will allow you to connect to other desktops running a VNC
server.
%package server
Summary: A TigerVNC server
Group: User Interface/X
Provides: vnc-server = 4.1.3-2, vnc-libs = 4.1.3-2
Obsoletes: vnc-server < 4.1.3-2, vnc-libs < 4.1.3-2
Provides: tightvnc-server = 1.5.0-0.15.20090204svn3586
Obsoletes: tightvnc-server < 1.5.0-0.15.20090204svn3586
Requires: perl
Requires: tigervnc-server-minimal
Requires: xorg-x11-xauth
%description server
The VNC system allows you to access the same desktop from a wide
variety of platforms. This package includes set of utilities
which make usage of TigerVNC server more user friendly. It also
contains x0vncserver program which can export your active
X session.
%package server-minimal
Summary: A minimal installation of TigerVNC server
Group: User Interface/X
Requires(post): chkconfig
Requires(preun):chkconfig
Requires(preun):initscripts
Requires(postun):initscripts
Requires: xkeyboard-config, xorg-x11-xkb-utils
Requires: tigervnc-license
%description server-minimal
The VNC system allows you to access the same desktop from a wide
variety of platforms. This package contains minimal installation
of TigerVNC server, allowing others to access the desktop on your
machine.
%ifnarch s390 s390x
%package server-module
Summary: TigerVNC module to Xorg
Group: User Interface/X
Provides: vnc-server = 4.1.3-2, vnc-libs = 4.1.3-2
Obsoletes: vnc-server < 4.1.3-2, vnc-libs < 4.1.3-2
Provides: tightvnc-server-module = 1.5.0-0.15.20090204svn3586
Obsoletes: tightvnc-server-module < 1.5.0-0.15.20090204svn3586
Requires: xorg-x11-server-Xorg
Requires: tigervnc-license
BuildRequires: nasm >= 2.04
%description server-module
This package contains libvnc.so module to X server, allowing others
to access the desktop on your machine.
%endif
%package server-applet
Summary: Java TigerVNC viewer applet for TigerVNC server
Group: User Interface/X
Requires: tigervnc-server, java, jpackage-utils
%if 0%{?fedora} >= 10 || 0%{?rhel} >= 6 || 0%{?centos} >= 6
BuildArch: noarch
%endif
%description server-applet
The Java TigerVNC viewer applet for web browsers. Install this package to allow
clients to use web browser when connect to the TigerVNC server.
%package license
Summary: License of TigerVNC suite
Group: User Interface/X
%if 0%{?fedora} >= 10 || 0%{?rhel} >= 6 || 0%{?centos} >= 6
BuildArch: noarch
%endif
%description license
This package contains license of the TigerVNC suite
%package icons
Summary: Icons for TigerVNC viewer
Group: User Interface/X
%if 0%{?fedora} >= 10 || 0%{?rhel} >= 6 || 0%{?centos} >= 6
BuildArch: noarch
%endif
%description icons
This package contains icons for TigerVNC viewer
%prep
rm -rf %{_builddir}/%{name}-%{version}%{?snap:-%{snap}}
%setup -q -n %{name}-%{version}%{?snap:-%{snap}}
# sed -i -e 's/80/0/g' CMakeLists.txt
%patch4 -p1 -b .cookie
%patch10 -p1 -b .ldnow
%patch11 -p1 -b .gethomedir
tar xzf %SOURCE11
pushd fltk-*
for p in `find ../contrib/fltk -maxdepth 1 -type f -name "*.patch"|sort` ;
do
patch -p1 -i $p
done
popd
tar xzf %SOURCE12
mkdir xorg
pushd xorg
tar xjf %SOURCE99
tar xjf %SOURCE100
tar xjf %SOURCE101
tar xjf %SOURCE102
tar xjf %SOURCE103
tar xjf %SOURCE104
tar xjf %SOURCE105
tar xjf %SOURCE106
tar xjf %SOURCE107
tar xjf %SOURCE108
tar xjf %SOURCE109
tar xjf %SOURCE110
tar xjf %SOURCE111
tar xjf %SOURCE112
tar xjf %SOURCE113
tar xjf %SOURCE114
tar xjf %SOURCE115
tar xjf %SOURCE116
tar xjf %SOURCE117
tar xjf %SOURCE118
tar xjf %SOURCE119
tar xjf %SOURCE120
tar xjf %SOURCE121
tar xjf %SOURCE122
tar xjf %SOURCE123
tar xjf %SOURCE124
tar xjf %SOURCE125
tar xjf %SOURCE126
tar xjf %SOURCE127
tar xjf %SOURCE128
tar xjf %SOURCE129
tar xjf %SOURCE130
tar xjf %SOURCE131
tar xjf %SOURCE132
tar xjf %SOURCE133
tar xjf %SOURCE134
tar xjf %SOURCE135
tar xjf %SOURCE136
tar xjf %SOURCE137
tar xjf %SOURCE138
tar xjf %SOURCE139
tar xjf %SOURCE140
tar xjf %SOURCE141
tar xjf %SOURCE142
tar xjf %SOURCE143
tar xjf %SOURCE144
tar xjf %SOURCE145
tar xjf %SOURCE146
tar xjf %SOURCE147
tar xjf %SOURCE148
tar xjf %SOURCE149
tar xjf %SOURCE150
tar xjf %SOURCE151
tar xjf %SOURCE152
tar xjf %SOURCE153
tar xjf %SOURCE154
tar xjf %SOURCE155
tar xjf %SOURCE156
#tar xjf %SOURCE157
#tar xjf %SOURCE158
tar xjf %SOURCE159
tar xjf %SOURCE160
tar xjf %SOURCE161
tar xzf %SOURCE162
tar xjf %SOURCE163
tar xjf %SOURCE164
popd
cp -a unix/xserver xorg/xserver
cp -a xorg/xorg-server-1.*/* xorg/xserver
pushd xorg
pushd libdrm-*
%patch133 -p1 -b .forceperms
%patch134 -p1 -b .no-bc
%patch135 -p1 -b .page-flip
%patch136 -p1 -b .nouveau-pbrestart
%patch137 -p1 -b .nouveau-drop
%patch138 -p1 -b .nouveau-relocs
popd
pushd Mesa-*
%patch141 -p1 -b .osmesa
%patch142 -p1 -b .intel-glthread
%patch143 -p1 -b .no-mach64
#%patch147 -p1 -b .dricore
%patch149 -p1 -b .intel-vbl
#%patch1410 -p1 -b .r600_tfp
#%patch1413 -p1 -b .sparc64
%patch1430 -p1 -b .vblank-warning
%patch1431 -p1 -b .glx13-warning
#%patch1440 -p1 -b .r300g
#%patch1460 -p1
#%patch1470 -p1 -b .depth-stall
#%patch1480 -p1 -b .r600gpciids
#%patch1481 -p1 -b .ivbpciid
popd
pushd freetype-*
%patch9020 -p1 -b .enable-ft2-bci
%patch9021 -p1 -b .enable-spr
# Enable otvalid and gxvalid modules
%patch9046 -p1 -b .enable-valid
# Fix multilib conflicts
%patch9088 -p1 -b .multilib
%patch9089 -p1 -b .CVE-2010-2498
%patch9090 -p1 -b .CVE-2010-2499
%patch9091 -p1 -b .CVE-2010-2500
%patch9092 -p1 -b .CVE-2010-2519
%patch9093 -p1 -b .CVE-2010-2520
%patch9096 -p1 -b .CVE-2010-1797
%patch9097 -p1 -b .CVE-2010-2805
%patch9098 -p1 -b .CVE-2010-2806
%patch9099 -p1 -b .CVE-2010-2808
%patch9100 -p1 -b .CVE-2010-3311
%patch9101 -p1 -b .CVE-2010-3855
%patch9102 -p1 -b .CVE-2011-0226
%patch9103 -p1 -b .CVE-2011-3256
%patch9104 -p1 -b .CVE-2011-3439
%patch9105 -p1 -b .CVE-2012-1126
%patch9106 -p1 -b .CVE-2012-1127
%patch9107 -p1 -b .CVE-2012-1130
%patch9108 -p1 -b .CVE-2012-1131
%patch9109 -p1 -b .CVE-2012-1132
%patch9110 -p1 -b .CVE-2012-1134
%patch9111 -p1 -b .CVE-2012-1136
%patch9112 -p1 -b .CVE-2012-1137
%patch9113 -p1 -b .CVE-2012-1139
%patch9114 -p1 -b .CVE-2012-1140
%patch9115 -p1 -b .CVE-2012-1141
%patch9116 -p1 -b .CVE-2012-1142
%patch9117 -p1 -b .CVE-2012-1143
%patch9118 -p1 -b .CVE-2012-1144
%patch9119 -p1 -b .bdf-overflow
%patch9120 -p1 -b .array-initialization
popd
pushd xtrans-*
%patch10001 -p1 -b .my-name-is-unix
popd
pushd libX11-*
%patch10102 -p1 -b .dont-forward-keycode-0
%patch10103 -p1 -b .manual
popd
pushd libXext-*
%patch10201 -p1
popd
pushd libfontenc-*
%patch10301 -p0 -b .get-fontdir-from-pkgconfig
popd
pushd libXt-*
%patch10400 -p1 -b .libsm-fix
popd
pushd xserver
patch -p1 < %{_builddir}/%{name}-%{version}%{?snap:-%{snap}}/unix/xserver17.patch
for all in `find %{_builddir}/%{name}-%{version}%{?snap:-%{snap}}/unix/xorg-7.5-patches/ -type f |grep '.*\.patch$'`; do
echo Applying $all
patch -p1 < $all
done
%patch101 -p1 -b .ac-compatibility
%patch102 -p1 -b .CopyISOLatin1Lowered
%patch5 -p1 -b .xserver-1.4.99-pic-libxf86config
%patch6 -p1 -b .xserver-1.7.4-z-now
# OpenGL compositing manager feature/optimization patches.
%patch103 -p1 -b .xserver-1.5.0-bg-none-root
%patch2014 -p1 -b .xserver-1.5.0-projector-fb-size
# Trivial things to never merge upstream ever:
# This really could be done prettier.
%patch5002 -p1 -b .xserver-1.4.99-ssh-isnt-local
# force mode debugging on for randr 1.2 drivers
%patch6002 -p1 -b .xserver-1.5.1-mode-debug
# don't build the (broken) acpi code
%patch6011 -p1 -b .xserver-1.6.0-less-acpi-brokenness
# Make autoconfiguration chose nouveau driver for NVIDIA GPUs
%patch6016 -p1 -b .xserver-1.6.1-nouveau
# ajax needs to upstream this
%patch6027 -p1 -b .xserver-1.6.0-displayfd
%patch6028 -p1 -b .xserver-1.6.99-randr-error-debugging
%patch6030 -p1 -b .xserver-1.6.99-right-of
%patch6033 -p1 -b .xserver-1.6.99-default-modes
%patch6044 -p1 -b .xserver-1.6.99-hush-prerelease-warning
%patch6045 -p1 -b .xserver-1.7.0-randr-gamma-restore
%patch6047 -p1 -b .xserver-1.7.0-glx-versioning
#%patch6048 -p1 -b .xserver-1.7.0-exa-fix-mixed
%patch6049 -p1 -b .xserver-1.7.1-multilib
%patch6051 -p1 -b .xserver-1.7.1-gamma-kdm-fix
%patch6052 -p1 -b .xserver-1.7.1-libcrypto
%patch6066 -p1 -b .xserver-1.7.1-glx14-swrast
%patch6067 -p1 -b .xserver-1.7.7-exa-master
%patch6070 -p1 -b .xserver-1.7.3-no-free-on-abort
# 558613
%patch6075 -p1 -b .xserver-1.7.4-qxl-autoconfig
# 516918
%patch6076 -p1 -b .xserver-1.7.4-dpms-timeouts
%patch6077 -p1 -b .xserver-1.7.6-export-dix-functions
%patch6078 -p1 -b .xserver-1.7.6-export-more-dix-functions
# 583544 - Pointer jumps to lower-right corner when clicking mousekeys
%patch6087 -p1 -b .xserver-1.7.6-pointerkeys
%patch7002 -p1 -b .xserver-1.7.6-no-connected-outputs
# 586926 - randr change while off vt
%patch7003 -p1 -b .xserver-1.7.6-randr-vt-switch
# 582710 - pam support
%patch7004 -p1 -b .xserver-1.1.1-pam
# 584927 - xinerama coordinate sign fix
%patch7005 -p1 -b .xserver-1.7.6-deviceevent-coordinates-xinerama
# 585371 - default mode list unification
%patch7006 -p1 -b .xserver-1.7.6-default-modes
# 586567 - big window crash when try to resize
%patch7007 -p1 -b .xserver-1.7.7-compresize-fix
# 602080 - fix unnecessary fb resize in multi-head configurations
%patch7008 -p1 -b .xserver-1.7.7-randr-initial
# 600180 - Buffer overflow in XKB geometry copying code.
%patch7009 -p1 -b .xserver-1.7.7-xkb-invalid-writes
# 600116 - Properties are not reset in the second server generation
%patch7010 -p1 -b .xserver-1.7.7-property-generation-reset
# 594523 - Wrong axis mode for absolute axes
%patch7011 -p1 -b .xserver-1.7.7-device-mode-list
# 602511 - Stuck modifiers when using multiple keyboards or XTEST
%patch7012 -p1 -b .xserver-1.7.7-modifier-keycount
# 588640 - XKEYBOARD Warning: Duplicate shape name ""
%patch7013 -p1 -b .xserver-1.7.7-xkb-geom-copy
# 574486 - Dual head setup overlaps one pixel
%patch7014 -p1 -b .xserver-1.7.7-fix-randr-rotation
# 600505 - Xephyr utility should be resizeable
%patch7015 -p1 -b .xserver-1.7.7-make-ephyr-resize
# 604057 - fix aspect match for classic drivers
%patch7016 -p1 -b .xserver-1.7.7-improve-mode-selection
# 607045 - DGA client can crash the server
%patch7017 -p1 -b .xserver-1.7.7-dga-master-keyboard
# 607410 - Reproducible stuck grab on server
%patch7018 -p1 -b .xserver-1.7.7-event-mask-revert
# 607051 - Keyboard bell settings don't apply to keyboards.
%patch7019 -p1 -b .xserver-1.7.7-sd-keyboard-controls
# 607022 - segfault during Xorg -showopts
%patch7020 -p1 -b .xserver-1.7.7-showopts-segv
# Related 607150
%patch7021 -p1 -b .xserver-1.7.7-xkb-purge-includes
# Related 607150
%patch7022 -p1 -b .xserver-1.7.7-xkb-rename-fakebutton
# Related 607150
%patch7023 -p1 -b .xserver-1.7.7-xkb-pointerkeys-on-master
# 607150 - Mouse button never releases when xkb PointerKeys are used
%patch7024 -p1 -b .xserver-1.7.7-xkb-lockedPtrBtns-state-merge
# 607150 - Mouse button never releases when xkb PointerKeys are used, part2
%patch7025 -p1 -b .xserver-1.7.7-release-xtest-on-phys-buttons
# 581505 - Xephyr crashes inside kvm-qemu virtual host
%patch7026 -p1 -b .xserver-1.7.7-xephyr-24bpp
# 605302 - vesa doesn't work on intel gen6
%patch7027 -p1 -b .xserver-1.7.7-int10-reserved-areas
# 618422 - Wrong handling of devices with more than 2 valuators
%patch7028 -p1 -b .xserver-1.7.7-postfix-DCE-PointerKeys
# related 618422, Patch7028
%patch7029 -p1 -b .xserver-1.7.7-reset-unused-classes
# 601319 - LVDS activated when notebook lid is closed
%patch7030 -p1 -b .xserver-1.7.7-lid-hack
# 585283 - xrandr allows mouse to move into non-existant screen locations
%patch7031 -p1 -b .xserver-1.7.7-randr-cursor-dead-zones
# 620333 - mga shows blank screen when X server starts
%patch7032 -p1 -b .xserver-1.7.7-ddc-probe-less
# 638234 - Bump classic driver default resolution to 1024x768
%patch7033 -p1 -b .xserver-1.7.7-classic-default-mode
%patch8000 -p1 -b .cve-2011-4818
%patch8001 -p1 -b .cve-2011-4818-extra
popd
popd
%build
%define tigervnc_src_dir %{_builddir}/%{name}-%{version}%{?snap:-%{snap}}
%define static_lib_buildroot %{tigervnc_src_dir}/build
export CC=gcc44
export CXX=g++44
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$CFLAGS"
echo "*** Building fltk ***"
pushd fltk-*
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$CFLAGS -static-libgcc"
%{cmake28} -G"Unix Makefiles" \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DCMAKE_BUILD_TYPE=Release \
-DOPTION_PREFIX_LIB=%{_libdir} \
-DOPTION_PREFIX_CONFIG=%{_libdir} \
-DOPTION_USE_THREADS=off \
-DOPTION_BUILD_EXAMPLES=off \
-DOPTION_USE_SYSTEM_LIBPNG=on
make %{?_smp_mflags}
popd
echo "*** Building libjpeg-turbo ***"
pushd libjpeg-turbo-*
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
export CXXFLAGS="$CFLAGS -static-libgcc"
./configure --prefix=%{_prefix} --libdir=%{_libdir} --disable-nls --enable-static --disable-shared
make %{?_smp_mflags} DESTDIR=%{static_lib_buildroot} install
popd
echo "*** Building VNC ***"
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
export CXXFLAGS="$CFLAGS"
%{cmake28} -G"Unix Makefiles" \
-DBUILD_STATIC=1 \
-DUSE_INCLUDED_ZLIB=1 \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DFLTK_LIBRARIES="%{tigervnc_src_dir}/fltk-1.3.2/lib/libfltk.a;%{tigervnc_src_dir}/fltk-1.3.2/lib/libfltk_images.a;`g++ -print-file-name=libpng.a`" \
-DFLTK_FLUID_EXECUTABLE=%{tigervnc_src_dir}/fltk-1.3.2/bin/fluid \
-DFLTK_INCLUDE_DIR=%{tigervnc_src_dir}/fltk-1.3.2 \
-DJPEG_INCLUDE_DIR=%{static_lib_buildroot}%{_includedir} \
-DJPEG_LIBRARY=%{static_lib_buildroot}%{_libdir}/libjpeg.a \
-DGNUTLS_LIBRARY='%{_libdir}/libgnutls.a;%{_libdir}/libgcrypt.a;%{_libdir}/libgpg-error.a'
make %{?_smp_mflags}
echo "*** Building Xorg ***"
%define xorg_buildroot %{tigervnc_src_dir}/xorg.build
mkdir -p %{xorg_buildroot}%{_libdir}
pushd %{xorg_buildroot}%{_libdir}
ln -s `g++ -print-file-name=libstdc++.a`
ln -s `g++ -print-file-name=libcrypto.a`
ln -s `g++ -print-file-name=libz.a`
ln -s `g++ -print-file-name=libgcc.a`
popd
export CFLAGS="$RPM_OPT_FLAGS -fPIC -I%{xorg_buildroot}%{_includedir}"
export CXXFLAGS="$RPM_OPT_FLAGS -fPIC -I%{xorg_buildroot}%{_includedir} -static-libgcc"
export LDFLAGS="-L%{xorg_buildroot}%{_libdir} $LDFLAGS"
export ACLOCAL="aclocal -I %{xorg_buildroot}%{_datadir}/aclocal"
export PKG_CONFIG_PATH="%{xorg_buildroot}%{_libdir}/pkgconfig:%{xorg_buildroot}%{_datadir}/pkgconfig"
pushd xorg
pushd util-macros-*
echo "Building macros"
./configure --prefix=/usr --libdir=%{_libdir} --disable-nls --enable-static --disable-shared
make DESTDIR=%{xorg_buildroot} install
find %{xorg_buildroot}%{_prefix} -type f -name "*.la" -exec sed -i -e "s|libdir='%{_libdir}'|libdir='%{xorg_buildroot}%{_libdir}'|" {} \;
find %{xorg_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|libdir=%{_libdir}|libdir=%{xorg_buildroot}%{_libdir}|" {} \;
find %{xorg_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|prefix=/usr|prefix=%{xorg_buildroot}%{_prefix}|" {} \;
popd
echo "*** Building freetype ***"
pushd freetype-*
./configure --prefix=/usr --libdir=%{_libdir} --enable-static --disable-shared --with-libtool=/usr/bin/libtool --disable-nls CFLAGS="$CFLAGS -fno-strict-aliasing"
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' builds/unix/libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' builds/unix/libtool
make DESTDIR=%{xorg_buildroot} install
find %{xorg_buildroot}%{_prefix} -type f -name "*.la" -exec sed -i -e "s|libdir='%{_libdir}'|libdir='%{xorg_buildroot}%{_libdir}'|" {} \;
find %{xorg_buildroot}%{_prefix} -type f -name "*.la" -exec sed -i -e "s|libdir=%{_libdir}|libdir=%{xorg_buildroot}%{_libdir}|" {} \;
find %{xorg_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|prefix=/usr|prefix=%{xorg_buildroot}%{_prefix}|" {} \;
# fix multilib issues
%ifarch x86_64 s390x ia64 ppc64 alpha sparc64
%define wordsize 64
%else
%define wordsize 32
%endif
mv %{xorg_buildroot}%{_includedir}/freetype2/freetype/config/ftconfig.h \
%{xorg_buildroot}%{_includedir}/freetype2/freetype/config/ftconfig-%{wordsize}.h
cat >%{xorg_buildroot}%{_includedir}/freetype2/freetype/config/ftconfig.h <<EOF
#ifndef __FTCONFIG_H__MULTILIB
#define __FTCONFIG_H__MULTILIB
#include <bits/wordsize.h>
#if __WORDSIZE == 32
# include "ftconfig-32.h"
#elif __WORDSIZE == 64
# include "ftconfig-64.h"
#else
# error "unexpected value for __WORDSIZE macro"
#endif
#endif
EOF
popd
modules="\
dri2proto \
glproto \
xf86vidmodeproto \
xextproto \
xproto \
kbproto \
inputproto \
xcmiscproto \
bigreqsproto \
xf86bigfontproto \
fixesproto \
damageproto \
xf86driproto \
randrproto \
renderproto \
scrnsaverproto \
resourceproto \
fontsproto \
videoproto \
compositeproto \
xineramaproto \
xf86dgaproto \
recordproto \
xtrans \
libXau \
libXdmcp \
libpthread-stubs \
libX11 \
libXext \
libfontenc \
libICE \
libSM \
libXt \
libXmu \
libXpm \
libXaw \
libXfixes \
libXcomposite \
libXrender \
libXdamage \
libXcursor \
libXfont \
libXft \
libXi \
libXinerama \
libxkbfile \
libXrandr \
libXres \
libXtst \
libXv \
libXxf86dga \
libXxf86vm \
libXxf86misc \
libpciaccess \
pixman \
libdrm"
for module in ${modules}; do
extraoptions=""
pushd ${module}-*
echo ======================
echo configuring ${module}
echo ======================
%ifarch i386 i686
if [ "${module}" = "libdrm" ]; then
export CFLAGS=`echo $CFLAGS | sed -e 's/-march=i*86/-march=native/'`
fi
%endif
if [ "${module}" = "libXaw" ]; then
extraoptions="${extraoptions} --disable-xaw8 --disable-xaw6"
fi
#if [ "${module}" = "randrproto" ]; then
# ./autogen.sh
#fi
if [ "${module}" = "libX11" ]; then
extraoptions="${extraoptions} --without-xcb --disable-specs --disable-dependency-tracking"
fi
if [ "${module}" = "libSM" ]; then
extraoptions="${extraoptions} --without-libuuid"
fi
if [ "${module}" = "pixman" ]; then
extraoptions="${extraoptions} --disable-gtk"
aclocal -I %{xorg_buildroot}%{_datadir}/aclocal
autoconf
autoreconf -fiv
fi
if [ "${module}" = "libXfont" ]; then
extraoptions="${extraoptions} --with-freetype-config=%{xorg_buildroot}%{_bindir}/freetype-config"
fi
./configure --prefix=/usr --libdir=%{_libdir} ${extraoptions} --enable-static --disable-shared
echo ======================
echo building ${module}
echo ======================
make DESTDIR=%{xorg_buildroot} install
find %{xorg_buildroot}%{_prefix} -type f -name "*.la" -exec sed -i -e "s|libdir='%{_libdir}'|libdir='%{xorg_buildroot}%{_libdir}'|" {} \;
find %{xorg_buildroot}%{_prefix} -type f -name "*.la" -exec sed -i -e "s|libdir=%{_libdir}|libdir=%{xorg_buildroot}%{_libdir}|" {} \;
find %{xorg_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|prefix=/usr|prefix=%{xorg_buildroot}%{_prefix}|" {} \;
popd
done
# build mesa
echo "*** Building Mesa ***"
pushd Mesa-*
%ifarch %{ix86}
# i do not have words for how much the assembly dispatch code infuriates me
%define _mesa_flags --enable-pic --disable-asm
%else
%define _mesa_flags --enable-pic
%endif
export CFLAGS="$RPM_OPT_FLAGS -fvisibility=hidden -Os"
export CXXFLAGS="$RPM_OPT_FLAGS -fvisibility=hidden -Os -static-libgcc"
# Need to set cfghost?
./configure \
--prefix=/usr \
--libdir=%{_libdir} \
--enable-motif \
--with-driver=dri \
--with-dri-drivers=swrast \
--with-dri-driverdir=%{_libdir}/dri \
--with-gallium-drivers="" \
--without-demos \
--disable-driglx-direct \
--disable-egl \
--disable-glut \
--disable-gallium \
--disable-gl-osmesa \
--disable-gallium-intel \
--disable-gallium-radeon \
--disable-gallium-nouveau \
%{_mesa_flags}
# Mesa build fails to install libGLU* if 'make install' is run before 'make'
make DESTDIR=%{xorg_buildroot}
make DESTDIR=%{xorg_buildroot} install
find %{xorg_buildroot}%{_prefix} -type f -name "*.la" -exec sed -i -e "s|libdir='%{_libdir}'|libdir='%{xorg_buildroot}%{_libdir}'|" {} \;
find %{xorg_buildroot}%{_prefix} -type f -name "*.la" -exec sed -i -e "s|libdir=%{_libdir}|libdir=%{xorg_buildroot}%{_libdir}|" {} \;
find %{xorg_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|prefix=/usr|prefix=%{xorg_buildroot}%{_prefix}|" {} \;
#rm %{xorg_buildroot}%{_libdir}/dri/libdricore.so
popd
popd
pushd xorg/xserver
export CFLAGS="$RPM_OPT_FLAGS -fPIC -I%{xorg_buildroot}%{_includedir}"
export CXXFLAGS="$RPM_OPT_FLAGS -fPIC -I%{xorg_buildroot}%{_includedir} -static-libgcc"
export PIXMANINCDIR=%{xorg_buildroot}%{_includedir}/pixman-1
autoreconf -fiv
./configure --prefix=/usr --libdir=%{_libdir} --mandir=%{_datadir}/man \
--disable-xorg --disable-xnest --disable-xvfb --disable-dmx \
--disable-xwin --disable-xephyr --disable-kdrive --with-pic \
--disable-xinerama \
--with-int10=x86emu \
--enable-xdmcp \
--enable-composite \
--disable-xgl \
--disable-xglx \
--enable-freetype \
--with-fontdir=%{_datadir}/X11/fonts \
--with-xkb-output=%{_localstatedir}/lib/xkb \
--enable-install-libxf86config \
--enable-glx --disable-dri --enable-dri2 \
--disable-config-dbus \
--disable-config-hal \
--disable-config-udev \
--with-dri-driver-path=%{_libdir}/dri \
--without-dtrace \
--disable-unit-tests \
--disable-devel-docs \
--with-sha1=libgcrypt SHA1_LIB=-lcrypto \
--disable-shared \
--enable-static \
--disable-record \
--enable-aiglx \
--disable-xvmc \
--enable-dga \
--disable-screensaver \
--enable-xdm-auth-1 \
--enable-xf86vidmode \
--enable-xcsecurity \
--enable-appgroup \
--enable-xevie \
--enable-evi \
--enable-multibuffer \
--enable-xf86bigfont \
--disable-dpms \
--disable-ipv6 \
--with-mesa-source=%{tigervnc_src_dir}/xorg/Mesa-%{mesa_version} \
--with-freetype-config=%{xorg_buildroot}%{_bindir}/freetype-config \
--disable-maintainer-mode
sed -i -e 's/^ECHO/echo/' ./libtool
make TIGERVNC_SRCDIR=%{tigervnc_src_dir} %{?_smp_mflags}
popd
# Build icons
pushd media
make
popd
# Build Java applet
pushd java
%{cmake28} .
make
popd
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
pushd xorg/xserver/hw/vnc
make install DESTDIR=$RPM_BUILD_ROOT
popd
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/init.d
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/vncserver
install -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/vncservers
# Install desktop stuff
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/{16x16,24x24,48x48}/apps
pushd media/icons
for s in 16 24 48; do
install -m644 tigervnc_$s.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${s}x$s/apps/tigervnc.png
done
popd
mkdir $RPM_BUILD_ROOT%{_datadir}/applications
desktop-file-install \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--vendor="" \
%{SOURCE6}
# Install Java applet
pushd java
mkdir -p $RPM_BUILD_ROOT%{_datadir}/vnc/classes
install -m755 VncViewer.jar $RPM_BUILD_ROOT%{_datadir}/vnc/classes
install -m644 com/tigervnc/vncviewer/index.vnc $RPM_BUILD_ROOT%{_datadir}/vnc/classes
popd
%find_lang %{name} %{name}.lang
# remove unwanted files
rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/libvnc.la
rm -f $RPM_BUILD_ROOT%{_libdir}/dri/libdricore.so
%ifarch s390 s390x %{?rhel:ppc ppc64}
rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/libvnc.so
%endif
# move files to correct location
mkdir -p $RPM_BUILD_ROOT%{_libdir}/dri
cp %{xorg_buildroot}%{_libdir}/dri/* $RPM_BUILD_ROOT%{_libdir}/dri/
%clean
rm -rf $RPM_BUILD_ROOT
%post
touch -c %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache -q %{_datadir}/icons/hicolor || :
fi
%postun
touch -c %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache -q %{_datadir}/icons/hicolor || :
fi
%post server
/sbin/chkconfig --add vncserver
%preun server
if [ $1 -eq 0 ]; then
/sbin/service vncserver stop &>/dev/null || :
/sbin/chkconfig --del vncserver
fi
%postun server
/sbin/service vncserver condrestart &>/dev/null || :
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc README.txt
%{_bindir}/vncviewer
%{_datadir}/applications/*
%{_mandir}/man1/vncviewer.1*
%files server
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/sysconfig/vncservers
%config(noreplace) %{_sysconfdir}/init.d/vncserver
%{_bindir}/x0vncserver
%{_bindir}/vncserver
%{_mandir}/man1/vncserver.1*
%{_mandir}/man1/x0vncserver.1*
%files server-minimal
%defattr(-,root,root,-)
%{_bindir}/vncconfig
%{_bindir}/vncpasswd
%{_bindir}/Xvnc
%{_mandir}/man1/Xvnc.1*
%{_mandir}/man1/vncpasswd.1*
%{_mandir}/man1/vncconfig.1*
%{_libdir}/dri/swrast_dri.so
%ifnarch s390 s390x
%files server-module
%defattr(-,root,root,-)
%{_libdir}/xorg/modules/extensions/libvnc.a
%endif
%files server-applet
%defattr(-,root,root,-)
%doc java/com/tigervnc/vncviewer/README
%{_datadir}/vnc/classes/*
%files license
%defattr(-,root,root,-)
%doc LICENCE.TXT
%files icons
%defattr(-,root,root,-)
%{_datadir}/icons/hicolor/*/apps/*
%changelog
* Thu Nov 28 2013 Brian P. Hinz <bphinz@users.sourceforge.net> 1.3.80-17.20131128svn5139
- Bumped version to 1.3.80
- Cleaned up linter warnings
* Thu Jul 05 2013 Brian P. Hinz <bphinz@users.sourceforge.net> 1.3.0
- Upstream 1.3.0 release
- Conditional-ized %snap for release
* Fri Jun 14 2013 Brian P. Hinz <bphinz@users.sourceforge.net> 1.2.90-14.20130531svn5120
- Update libjpeg-turbo to 1.3.0
* Fri May 24 2013 Brian P. Hinz <bphinz@users.sourceforge.net> 1.2.90-14.20130524svn5114
- Improve spec file portability
* Fri May 17 2013 Brian P. Hinz <bphinz@users.sourceforge.net> 1.2.90-13.20130425svn5087
- Improve portability with more static linking
* Thu Apr 04 2013 Brian P. Hinz <bphinz@users.sourceforge.net> 1.2.80-12.20130330svn5066
- Added conditional -march arg to libdrm-intel to allow building on i386
- Fixed version to reflect upstream pre-release versioning
* Sat Mar 30 2013 Brian P. Hinz <bphinz@users.sourceforge.net> 1.2.0-11.20130330svn5066
- Updated to TigerVNC svn 5066
- Updated fltk to 1.3.2 and updated fltk patches per BUILDING.txt
- Fixed vncserver init script & config file which had been overwritten by
systemd versions.
* Wed Nov 28 2012 Brian P. Hinz <bphinz@users.sourceforge.net> 1.2.0-7.20120915svn4999
- Changed BuildRequires to cmake28
- Set PIXMANINCDIR when building Xvnc
* Tue Sep 18 2012 Brian P. Hinz <bphinz@users.sourceforge.net> 1.2.0-6.20120915svn4999
- Applied icon support patch
* Sat Sep 15 2012 Brian P. Hinz <bphinz@users.sourceforge.net> 1.2.0-5.20120915svn4999
- Update to TigerVNC svn r4999 snapshot
- Build a static libjpeg-turbo to remove the external dependency
- Applied Cendio's Fltk patches, except for the icon patch which I cannot get to build
without creating undefined reference errors during linking
* Thu Jul 19 2012 Brian P. Hinz <bphinz@users.sourceforge.net> 1.2.0-4.20120719svn4941
- Update to TigerVNC svn r4941 snapshot
- Removed border-hook.patch since it's been committed
* Wed Jul 18 2012 Brian P. Hinz <bphinz@users.sourceforge.net> 1.2.0-3.20120715svn4937
- Update to TigerVNC svn r4937 snapshot
- Applied border-hook.patch from devel list to fix bug #3415308
- Use build order recommended by cgit.freedesktop.org/xorg/util/modular/tree/build.sh
- Removed tigervnc11-rh692048.patch as it seems to break support for VeNCrypt
* Sun Jul 15 2012 Brian P. Hinz <bphinz@users.sourceforge.net> 1.2.0-1.20120715svn4935
- Adapted spec file for building static linked binary on RHEL5 from F16
spec file and DRC's build-xorg script included in src tarball.
- Update to TigerVNC svn r4935 snapshot
- Need to use inkscape on RHEL5 because convert is broken
* Tue Nov 22 2011 Adam Tkac <atkac redhat com> - 1.1.0-3
- don't build X.Org devel docs (#755782)
- applet: BR generic java-devel instead of java-gcj-devel (#755783)
- use runuser to start Xvnc in systemd service file (#754259)
- don't attepmt to restart Xvnc session during update/erase (#753216)
* Fri Nov 11 2011 Adam Tkac <atkac redhat com> - 1.1.0-2
- libvnc.so: don't use unexported GetMaster function (#744881)
- remove nasm buildreq
* Mon Sep 12 2011 Adam Tkac <atkac redhat com> - 1.1.0-1
- update to 1.1.0
- update the xorg11 patch
- patches merged
- tigervnc11-glx.patch
- tigervnc11-CVE-2011-1775.patch
- 0001-Use-memmove-instead-of-memcpy-in-fbblt.c-when-memory.patch
* Thu Jul 28 2011 Adam Tkac <atkac redhat com> - 1.0.90-6
- add systemd service file and remove legacy SysV initscript (#717227)
* Tue May 12 2011 Adam Tkac <atkac redhat com> - 1.0.90-5
- make Xvnc buildable against X.Org 1.11
* Tue May 10 2011 Adam Tkac <atkac redhat com> - 1.0.90-4
- viewer can send password without proper validation of X.509 certs
(CVE-2011-1775)
* Wed Apr 13 2011 Adam Tkac <atkac redhat com> - 1.0.90-3
- fix wrong usage of memcpy which caused screen artifacts (#652590)
- don't point to inaccessible link in sysconfig/vncservers (#644975)
* Fri Apr 08 2011 Adam Tkac <atkac redhat com> - 1.0.90-2
- improve compatibility with vinagre client (#692048)
* Tue Mar 22 2011 Adam Tkac <atkac redhat com> - 1.0.90-1
- update to 1.0.90
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.90-0.32.20110117svn4237
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Mon Jan 17 2011 Adam Tkac <atkac redhat com> 1.0.90-0.31.20110117svn4237
- fix libvnc.so module loading
* Mon Jan 17 2011 Adam Tkac <atkac redhat com> 1.0.90-0.30.20110117svn4237
- update to r4237
- patches merged
- tigervnc11-optionsdialog.patch
- tigervnc11-rh607866.patch
* Fri Jan 14 2011 Adam Tkac <atkac redhat com> 1.0.90-0.29.20101208svn4225
- improve patch for keyboard issues
* Fri Jan 14 2011 Adam Tkac <atkac redhat com> 1.0.90-0.28.20101208svn4225
- attempt to fix various keyboard-related issues (key repeating etc)
* Fri Jan 07 2011 Adam Tkac <atkac redhat com> 1.0.90-0.27.20101208svn4225
- render "Ok" and "Cancel" buttons in the options dialog correctly
* Wed Dec 15 2010 Jan Görig <jgorig redhat com> 1.0.90-0.26.20101208svn4225
- added vncserver lock file (#662784)
* Fri Dec 10 2010 Adam Tkac <atkac redhat com> 1.0.90-0.25.20101208svn4225
- update to r4225
- patches merged
- tigervnc11-rh611677.patch
- tigervnc11-rh633931.patch
- tigervnc11-xorg1.10.patch
- enable VeNCrypt and PAM support
* Mon Dec 06 2010 Adam Tkac <atkac redhat com> 1.0.90-0.24.20100813svn4123
- rebuild against xserver 1.10.X
- 0001-Return-Success-from-generate_modkeymap-when-max_keys.patch merged
* Wed Sep 29 2010 jkeating - 1.0.90-0.23.20100813svn4123
- Rebuilt for gcc bug 634757
* Tue Sep 21 2010 Adam Tkac <atkac redhat com> 1.0.90-0.22.20100420svn4030
- drop xorg-x11-fonts-misc dependency (#636170)
* Tue Sep 21 2010 Adam Tkac <atkac redhat com> 1.0.90-0.21.20100420svn4030
- improve patch for #633645 (fix tcsh incompatibilities)
* Thu Sep 16 2010 Adam Tkac <atkac redhat com> 1.0.90-0.20.20100813svn4123
- press fake modifiers correctly (#633931)
- supress unneeded debug information emitted from initscript (#633645)
* Wed Aug 25 2010 Adam Tkac <atkac redhat com> 1.0.90-0.19.20100813svn4123
- separate Xvnc, vncpasswd and vncconfig to -server-minimal subpkg (#626946)
- move license to separate subpkg and Requires it from main subpkgs
- Xvnc: handle situations when no modifiers exist well (#611677)
* Fri Aug 13 2010 Adam Tkac <atkac redhat com> 1.0.90-0.18.20100813svn4123
- update to r4123 (#617973)
- add perl requires to -server subpkg (#619791)
* Thu Jul 22 2010 Adam Tkac <atkac redhat com> 1.0.90-0.17.20100721svn4113
- update to r4113
- patches merged
- tigervnc11-rh586406.patch
- tigervnc11-libvnc.patch
- tigervnc11-rh597172.patch
- tigervnc11-rh600070.patch
- tigervnc11-options.patch
- don't own %%{_datadir}/icons directory (#614301)
- minor improvements in the .desktop file (#616340)
- bundled libjpeg configure requires nasm; is executed even if system-wide
libjpeg is used
* Fri Jul 02 2010 Adam Tkac <atkac redhat com> 1.0.90-0.16.20100420svn4030
- build against system-wide libjpeg-turbo (#494458)
- build no longer requires nasm
* Mon Jun 28 2010 Adam Tkac <atkac redhat com> 1.0.90-0.15.20100420svn4030
- vncserver: accept <+optname> option when specified as the first one
* Thu Jun 24 2010 Adam Tkac <atkac redhat com> 1.0.90-0.14.20100420svn4030
- fix memory leak in Xvnc input code (#597172)
- don't crash when receive negative encoding (#600070)
- explicitly disable udev configuration support
- add gettext-autopoint to BR
* Mon Jun 14 2010 Adam Tkac <atkac redhat com> 1.0.90-0.13.20100420svn4030
- update URL about SSH tunneling in the sysconfig file (#601996)
* Fri Jun 11 2010 Adam Tkac <atkac redhat com> 1.0.90-0.12.20100420svn4030
- use newer gettext
- autopoint now uses git instead of cvs, adjust BuildRequires appropriately
* Thu May 13 2010 Adam Tkac <atkac redhat com> 1.0.90-0.11.20100420svn4030
- link libvnc.so "now" to catch "undefined symbol" errors during Xorg startup
- use always XkbConvertCase instead of XConvertCase (#580159, #586406)
- don't link libvnc.so against libXi.la, libdix.la and libxkb.la; use symbols
from Xorg instead
* Thu May 13 2010 Adam Tkac <atkac redhat com> 1.0.90-0.10.20100420svn4030
- update to r4030 snapshot
- patches merged to upstream
- tigervnc11-rh522369.patch
- tigervnc11-rh551262.patch
- tigervnc11-r4002.patch
- tigervnc11-r4014.patch
* Thu Apr 08 2010 Adam Tkac <atkac redhat com> 1.0.90-0.9.20100219svn3993
- add server-applet subpackage which contains Java vncviewer applet
- fix Java applet; it didn't work when run from web browser
- add xorg-x11-xkb-utils to server Requires
* Fri Mar 12 2010 Adam Tkac <atkac redhat com> 1.0.90-0.8.20100219svn3993
- add French translation to vncviewer.desktop (thanks to Alain Portal)
* Thu Mar 04 2010 Adam Tkac <atkac redhat com> 1.0.90-0.7.20100219svn3993
- don't crash during pixel format change (#522369, #551262)
* Mon Mar 01 2010 Adam Tkac <atkac redhat com> 1.0.90-0.6.20100219svn3993
- add mesa-dri-drivers and xkeyboard-config to -server Requires
- update to r3993 1.0.90 snapshot
- tigervnc11-noexecstack.patch merged
- tigervnc11-xorg18.patch merged
- xserver18.patch is no longer needed
* Wed Jan 27 2010 Jan Gorig <jgorig redhat com> 1.0.90-0.5.20091221svn3929
- initscript LSB compliance fixes (#523974)
* Fri Jan 22 2010 Adam Tkac <atkac redhat com> 1.0.90-0.4.20091221svn3929
- mark stack as non-executable in jpeg ASM code
- add xorg-x11-xauth to Requires
- add support for X.Org 1.8
- drop shave sources, they are no longer needed
* Thu Jan 21 2010 Adam Tkac <atkac redhat com> 1.0.90-0.3.20091221svn3929
- drop tigervnc-xorg25909.patch, it has been merged to X.Org upstream
* Thu Jan 07 2010 Adam Tkac <atkac redhat com> 1.0.90-0.2.20091221svn3929
- add patch for upstream X.Org issue #25909
- add libXdmcp-devel to build requires to build Xvnc with XDMCP support (#552322)
* Mon Dec 21 2009 Adam Tkac <atkac redhat com> 1.0.90-0.1.20091221svn3929
- update to 1.0.90 snapshot
- patches merged
- tigervnc10-compat.patch
- tigervnc10-rh510185.patch
- tigervnc10-rh524340.patch
- tigervnc10-rh516274.patch
* Mon Oct 26 2009 Adam Tkac <atkac redhat com> 1.0.0-3
- create Xvnc keyboard mapping before first keypress (#516274)
* Thu Oct 08 2009 Adam Tkac <atkac redhat com> 1.0.0-2
- update underlying X source to 1.6.4-0.3.fc11
- remove bogus '-nohttpd' parameter from /etc/sysconfig/vncservers (#525629)
- initscript LSB compliance fixes (#523974)
- improve -LowColorSwitch documentation and handling (#510185)
- honor dotWhenNoCursor option (and it's changes) every time (#524340)
* Fri Aug 28 2009 Adam Tkac <atkac redhat com> 1.0.0-1
- update to 1.0.0
- tigervnc10-rh495457.patch merged to upstream
* Mon Aug 24 2009 Karsten Hopp <karsten@redhat.com> 0.0.91-0.17
- fix ifnarch s390x for server-module
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.0.91-0.16
- rebuilt with new openssl
* Tue Aug 04 2009 Adam Tkac <atkac redhat com> 0.0.91-0.15
- make Xvnc compilable
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.91-0.14.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Mon Jul 13 2009 Adam Tkac <atkac redhat com> 0.0.91-0.13.1
- don't write warning when initscript is called with condrestart param (#508367)
* Tue Jun 23 2009 Adam Tkac <atkac redhat com> 0.0.91-0.13
- temporary use F11 Xserver base to make Xvnc compilable
- BuildRequires: libXi-devel
- don't ship tigervnc-server-module on s390/s390x
* Mon Jun 22 2009 Adam Tkac <atkac redhat com> 0.0.91-0.12
- fix local rendering of cursor (#495457)
* Thu Jun 18 2009 Adam Tkac <atkac redhat com> 0.0.91-0.11
- update to 0.0.91 (1.0.0 RC1)
- patches merged
- tigervnc10-rh499401.patch
- tigervnc10-rh497592.patch
- tigervnc10-rh501832.patch
- after discusion in upstream drop tigervnc-bounds.patch
- configure flags cleanup
* Thu May 21 2009 Adam Tkac <atkac redhat com> 0.0.90-0.10
- rebuild against 1.6.1.901 X server (#497835)
- disable i18n, vncviewer is not UTF-8 compatible (#501832)
* Mon May 18 2009 Adam Tkac <atkac redhat com> 0.0.90-0.9
- fix vncpasswd crash on long passwords (#499401)
- start session dbus daemon correctly (#497592)
* Mon May 11 2009 Adam Tkac <atkac redhat com> 0.0.90-0.8.1
- remove merged tigervnc-manminor.patch
* Tue May 05 2009 Adam Tkac <atkac redhat com> 0.0.90-0.8
- update to 0.0.90
* Thu Apr 30 2009 Adam Tkac <atkac redhat com> 0.0.90-0.7.20090427svn3789
- server package now requires xorg-x11-fonts-misc (#498184)
* Mon Apr 27 2009 Adam Tkac <atkac redhat com> 0.0.90-0.6.20090427svn3789
- update to r3789
- tigervnc-rh494801.patch merged
- tigervnc-newfbsize.patch is no longer needed
- fix problems when vncviewer and Xvnc run on different endianess (#496653)
- UltraVNC and TightVNC clients work fine again (#496786)
* Wed Apr 08 2009 Adam Tkac <atkac redhat com> 0.0.90-0.5.20090403svn3751
- workaround broken fontpath handling in vncserver script (#494801)
* Fri Apr 03 2009 Adam Tkac <atkac redhat com> 0.0.90-0.4.20090403svn3751
- update to r3751
- patches merged
- tigervnc-xclients.patch
- tigervnc-clipboard.patch
- tigervnc-rh212985.patch
- basic RandR support in Xvnc (resize of the desktop)
- use built-in libjpeg (SSE2/MMX accelerated encoding on x86 platform)
- use Tight encoding by default
- use TigerVNC icons
* Tue Mar 03 2009 Adam Tkac <atkac redhat com> 0.0.90-0.3.20090303svn3631
- update to r3631
* Tue Mar 03 2009 Adam Tkac <atkac redhat com> 0.0.90-0.2.20090302svn3621
- package review related fixes
* Mon Mar 02 2009 Adam Tkac <atkac redhat com> 0.0.90-0.1.20090302svn3621
- initial package, r3621
|