-
Notifications
You must be signed in to change notification settings - Fork 8
/
gimp.spec
2012 lines (1628 loc) · 70.4 KB
/
gimp.spec
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
#### options:
# Use the following --with/--without <option> switches to control how the
# package will be built:
#
# lcms: lcms support
%bcond_without lcms
# python: python support
%bcond_without python
# mp: multi processor support
%bcond_without mp
# static: build static libraries
%bcond_with static
# print: build the print plugin (if you don't build it externally)
%bcond_without print
# gutenprint: require gutenprint-plugin (instead of gimp-print-plugin) if
# internal print plugin isn't built
%bcond_without gutenprint
# convenience: install convenience symlinks
%bcond_without convenience
# gudev: use gudev to discover special input devices
%if ! 0%{?fedora}%{?rhel} || 0%{?fedora} >= 15 || 0%{?rhel} >= 7
# use gudev from F-15/RHEL7 on
%bcond_without gudev
%else
%bcond_with gudev
%endif
# aalib: build with AAlib (ASCII art gfx library)
%if 0%{?rhel}
# don't use aalib on RHEL
%bcond_with aalib
%else
%bcond_without aalib
%endif
# hardening: use various compiler/linker flags to harden binaries against
# certain types of exploits
%bcond_without hardening
# Reset this once poppler picks up the updated xpdf version of "GPLv2 or GPLv3"
%bcond_with poppler
Summary: GNU Image Manipulation Program
Name: gimp
Epoch: 2
Version: 2.7.4
Release: 2%{?dist}.R
# Set this to 0 in stable, 1 in unstable releases
%global unstable 1
# Compute some version related macros
# Ugly hack, you need to get your quoting backslashes/percent signs straight
%global major %(ver=%version; echo ${ver%%%%.*})
%global minor %(ver=%version; ver=${ver#%major.}; echo ${ver%%%%.*})
%global micro %(ver=%version; ver=${ver#%major.%minor.}; echo ${ver%%%%.*})
%global binver %major.%minor
%global interface_age 0
%global gettext_version 20
%global lib_api_version 2.0
%if ! %unstable
%global lib_minor %(echo $[%minor * 100])
%global lib_micro %micro
%else # unstable
%global lib_minor %(echo $[%minor * 100 + %micro])
%global lib_micro 0
%endif # unstable
License: GPLv3+
Group: Applications/Multimedia
URL: http://www.gimp.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%__id_u -n)
Obsoletes: gimp-perl < 2:2.0
Obsoletes: gimp < 2:2.6.0-3
BuildRequires: chrpath >= 0.13-5
%if %{with aalib}
BuildRequires: aalib-devel
%endif
BuildRequires: alsa-lib-devel >= 1.0.0
BuildRequires: babl-devel >= 0.1.6
BuildRequires: cairo-devel >= 1.10.2
BuildRequires: curl-devel >= 7.15.1
BuildRequires: dbus-glib-devel >= 0.70
BuildRequires: fontconfig-devel >= 2.2.0
BuildRequires: freetype-devel >= 2.1.7
BuildRequires: gdk-pixbuf2-devel >= 2.24.0
BuildRequires: gegl-devel >= 0.1.8
BuildRequires: glib2-devel >= 2.30.2
BuildRequires: gnome-keyring-devel >= 0.4.5
BuildRequires: gtk2-devel >= 2.24.7
BuildRequires: gtk-doc >= 1.0
BuildRequires: jasper-devel
%if %{with lcms}
BuildRequires: lcms-devel >= 1.16
%endif
BuildRequires: libexif-devel >= 0.6.15
BuildRequires: libgnomeui-devel >= 2.10.0
%if %{with gudev}
BuildRequires: libgudev1-devel >= 167
%else
BuildRequires: hal-devel >= 0.5.7
%endif
BuildRequires: libjpeg-devel
BuildRequires: libmng-devel
BuildRequires: libpng-devel >= 1.2.37
BuildRequires: librsvg2-devel >= 2.34.2
BuildRequires: libtiff-devel
BuildRequires: libwmf-devel >= 0.2.8
BuildRequires: pango-devel >= 1.29.4
%if %{with poppler}
%if 0%{?fedora}%{?rhel} == 0 || 0%{?fedora} > 8 || 0%{?rhel} > 5
BuildRequires: poppler-glib-devel >= 0.12.4
%else
BuildRequires: poppler-devel >= 0.12.4
%endif
%endif
BuildRequires: python-devel
BuildRequires: pygtk2-devel >= 2.10.4
BuildRequires: pygobject2-devel
%if 0%{?fedora}%{?rhel} == 0 || 0%{?fedora} > 10 || 0%{?rhel} > 5
BuildRequires: webkitgtk-devel >= 1.6.1
%else
BuildRequires: WebKit-gtk-devel >= 1.6.1
%endif
BuildRequires: libX11-devel
BuildRequires: libXmu-devel
BuildRequires: libXpm-devel
BuildRequires: sed
BuildRequires: intltool
BuildRequires: gettext
BuildRequires: findutils
Requires: glib2 >= 2.28.8
Requires: gtk2 >= 2.24.7
Requires: pango >= 1.29.4
Requires: freetype >= 2.1.7
Requires: fontconfig >= 2.2.0
%if ! %{with print}
%if %{with gutenprint}
Requires: gutenprint-plugin
%else
Requires: gimp-print-plugin
%endif
%endif
Requires: hicolor-icon-theme
Requires: pygtk2 >= 2.10.4
Requires: xdg-utils
Requires: gimp-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Source0: ftp://ftp.gimp.org/pub/gimp/v%{binver}/gimp-%{version}.tar.bz2
%description
GIMP (GNU Image Manipulation Program) is a powerful image composition and
editing program, which can be extremely useful for creating logos and other
graphics for webpages. GIMP has many of the tools and filters you would expect
to find in similar commercial offerings, and some interesting extras as well.
GIMP provides a large image manipulation toolbox, including channel operations
and layers, effects, sub-pixel imaging and anti-aliasing, and conversions, all
with multi-level undo.
%package libs
Summary: GIMP libraries
Group: System Environment/Libraries
License: LGPLv3+
%description libs
The gimp-libs package contains shared libraries needed for the GNU Image
Manipulation Program (GIMP).
%package devel
Summary: GIMP plugin and extension development kit
Group: Development/Libraries
License: LGPLv3+
Requires: gimp-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: gimp-devel-tools = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: gtk2-devel
Requires: glib2-devel
Requires: pkgconfig
%description devel
The gimp-devel package contains the static libraries and header files
for writing GNU Image Manipulation Program (GIMP) plug-ins and
extensions.
%package devel-tools
Summary: GIMP plugin and extension development tools
Group: Development/Tools
License: LGPLv3+
Requires: gimp-devel = %{?epoch:%{epoch}:}%{version}-%{release}
%description devel-tools
The gimp-devel-tools package contains gimptool, a helper program to build GNU
Image Manipulation Program (GIMP) plug-ins and extensions.
%package help-browser
Summary: GIMP help browser plug-in
Group: Applications/Multimedia
License: GPLv3+
Obsoletes: gimp < 2:2.6.0-3
Requires: gimp%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description help-browser
The gimp-help-browser package contains a lightweight help browser plugin for
viewing GIMP online help.
%prep
cat << EOF
--- 8< --- Build options ---------------------------------------------------
LCMS support: %{with lcms}
Python support: %{with python}
MP support: %{with mp}
build static libs: %{with static}
build internal print plugin: %{with print}
include convenience symlinks: %{with convenience}
build the print plugin: %{with print}
use gudev: %{with gudev}
%if ! %{with print}
prefer gutenprint over (external) gimp-print plugin:
%{with gutenprint}
%endif
build ASCII art plugin %{with aalib}
harden binaries: %{with hardening}
use poppler: %{with poppler}
--- >8 ---------------------------------------------------------------------
EOF
%setup -q -n gimp-%{version}
%build
%if %{with hardening}
# Use hardening compiler/linker flags because gimp is likely to deal with files
# coming from untrusted sources
%if ! 0%{?fedora}%{?rhel} || 0%{?fedora} >= 16 || 0%{?rhel} >= 7
%global _hardened_build 1
%else
# fake things
export CFLAGS='-fPIC %optflags'
export CXXFLAGS='-fPIC %optflags'
export LDFLAGS='-pie'
%endif
%endif
%configure \
%if %{with python}
--enable-python \
%else
--disable-python \
%endif
%if %{with mp}
--enable-mp \
%else
--disable-mp \
%endif
%if %{with static}
--enable-static \
%else
--disable-static \
%endif
%if %{with print}
--with-print \
%else
--without-print \
%endif
%if %{with lcms}
--with-lcms \
%else
--without-lcms \
%endif
--enable-gimp-console \
%if %{with aalib}
--with-aa \
%else
--without-aa \
%endif
%if %{with gudev}
--with-gudev --without-hal \
%else
--with-hal --without-gudev \
%endif
%ifos linux
--with-linux-input \
%endif
%if use_poppler
--with-poppler \
%else
--without-poppler \
%endif
--with-libtiff --with-libjpeg --with-libpng --with-libmng --with-libjasper \
--with-libexif --with-librsvg --with-libxpm --with-gvfs --with-alsa \
--with-webkit --with-dbus --with-script-fu --with-cairo-pdf
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
# makeinstall macro won't work here - libexec is overriden
make DESTDIR=%{buildroot} install
# remove rpaths
find %buildroot -type f -print0 | xargs -0 -L 20 chrpath --delete --keepgoing 2>/dev/null || :
%ifos linux
# remove .la files
find %buildroot -name \*.la -exec %__rm -f {} \;
%endif
#
# Plugins and modules change often (grab the executeable ones)
#
echo "%defattr (-, root, root)" > gimp-plugin-files
find %{buildroot}%{_libdir}/gimp/%{lib_api_version} -type f | sed "s@^%{buildroot}@@g" | grep -v '\.a$' >> gimp-plugin-files
# .pyc and .pyo files don't exist yet
grep "\.py$" gimp-plugin-files > gimp-plugin-files-py
for file in $(cat gimp-plugin-files-py); do
for newfile in ${file}c ${file}o; do
fgrep -q -x "$newfile" gimp-plugin-files || echo "$newfile"
done
done >> gimp-plugin-files
%if %{with static}
echo "%defattr (-, root, root)" > gimp-static-files
find %{buildroot}%{_libdir}/gimp/%{lib_api_version} -type f | sed "s@^%{buildroot}@@g" | grep '\.a$' >> gimp-static-files
%endif
#
# Auto detect the lang files.
#
%find_lang gimp%{gettext_version}
%find_lang gimp%{gettext_version}-std-plug-ins
%find_lang gimp%{gettext_version}-script-fu
%find_lang gimp%{gettext_version}-libgimp
%find_lang gimp%{gettext_version}-tips
%find_lang gimp%{gettext_version}-python
cat gimp%{gettext_version}.lang gimp%{gettext_version}-std-plug-ins.lang gimp%{gettext_version}-script-fu.lang gimp%{gettext_version}-libgimp.lang gimp%{gettext_version}-tips.lang gimp%{gettext_version}-python.lang > gimp-all.lang
#
# Build the master filelists generated from the above mess.
#
cat gimp-plugin-files gimp-all.lang > gimp.files
%if %{with convenience}
# install convenience symlinks
ln -snf gimp-%{binver} %{buildroot}%{_bindir}/gimp
ln -snf gimp-%{binver}.1 %{buildroot}%{_mandir}/man1/gimp.1
ln -snf gimp-console-%{binver} %{buildroot}/%{_bindir}/gimp-console
ln -snf gimp-console-%{binver}.1 %{buildroot}/%{_mandir}/man1/gimp-console.1
ln -snf gimptool-%{lib_api_version} %{buildroot}%{_bindir}/gimptool
ln -snf gimptool-%{lib_api_version}.1 %{buildroot}%{_mandir}/man1/gimptool.1
ln -snf gimprc-%{binver}.5 %{buildroot}/%{_mandir}/man5/gimprc.5
%endif
%clean
rm -rf %{buildroot}
%post
update-desktop-database &> /dev/null || :
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
update-desktop-database &> /dev/null || :
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%files -f gimp.files
%defattr(-, root, root, 0755)
%doc AUTHORS COPYING ChangeLog NEWS README
%doc docs/*.xcf*
%{_datadir}/applications/*.desktop
%dir %{_datadir}/gimp
%dir %{_datadir}/gimp/%{lib_api_version}
%{_datadir}/gimp/%{lib_api_version}/dynamics/
%{_datadir}/gimp/%{lib_api_version}/menus/
%{_datadir}/gimp/%{lib_api_version}/tags/
%{_datadir}/gimp/%{lib_api_version}/tips/
%{_datadir}/gimp/%{lib_api_version}/ui/
%dir %{_libdir}/gimp
%dir %{_libdir}/gimp/%{lib_api_version}
%dir %{_libdir}/gimp/%{lib_api_version}/environ
#%dir %{_libdir}/gimp/%{lib_api_version}/fonts
%dir %{_libdir}/gimp/%{lib_api_version}/interpreters
%dir %{_libdir}/gimp/%{lib_api_version}/modules
%dir %{_libdir}/gimp/%{lib_api_version}/plug-ins
%exclude %{_libdir}/gimp/%{lib_api_version}/plug-ins/help-browser
%dir %{_libdir}/gimp/%{lib_api_version}/python
#%dir %{_libdir}/gimp/%{lib_api_version}/tool-plug-ins
%{_datadir}/gimp/%{lib_api_version}/brushes/
%{_datadir}/gimp/%{lib_api_version}/fractalexplorer/
%{_datadir}/gimp/%{lib_api_version}/gfig/
%{_datadir}/gimp/%{lib_api_version}/gflare/
%{_datadir}/gimp/%{lib_api_version}/gimpressionist/
%{_datadir}/gimp/%{lib_api_version}/gradients/
# %{_datadir}/gimp/%{lib_api_version}/help/
%{_datadir}/gimp/%{lib_api_version}/images/
%{_datadir}/gimp/%{lib_api_version}/palettes/
%{_datadir}/gimp/%{lib_api_version}/patterns/
%{_datadir}/gimp/%{lib_api_version}/scripts/
%{_datadir}/gimp/%{lib_api_version}/themes/
%dir %{_sysconfdir}/gimp
%dir %{_sysconfdir}/gimp/%{lib_api_version}
%config(noreplace) %{_sysconfdir}/gimp/%{lib_api_version}/controllerrc
%config(noreplace) %{_sysconfdir}/gimp/%{lib_api_version}/gimprc
%config(noreplace) %{_sysconfdir}/gimp/%{lib_api_version}/gtkrc
%config(noreplace) %{_sysconfdir}/gimp/%{lib_api_version}/unitrc
%config(noreplace) %{_sysconfdir}/gimp/%{lib_api_version}/sessionrc
%config(noreplace) %{_sysconfdir}/gimp/%{lib_api_version}/templaterc
%config(noreplace) %{_sysconfdir}/gimp/%{lib_api_version}/menurc
%{_bindir}/gimp-%{binver}
%{_bindir}/gimp-console-%{binver}
%if %{with convenience}
%{_bindir}/gimp
%{_bindir}/gimp-console
%endif
%{_mandir}/man1/gimp-%{binver}.1*
%{_mandir}/man1/gimp-console-%{binver}.1*
%{_mandir}/man5/gimprc-%{binver}.5*
%if %{with convenience}
%{_mandir}/man1/gimp.1*
%{_mandir}/man1/gimp-console.1*
%{_mandir}/man5/gimprc.5*
%endif
%{_datadir}/icons/hicolor/*/apps/gimp.png
%files libs
%defattr(-, root, root, 0755)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_libdir}/libgimp-%{lib_api_version}.so.%{interface_age}.%{lib_minor}.%{lib_micro}
%{_libdir}/libgimp-%{lib_api_version}.so.%{interface_age}
%{_libdir}/libgimpbase-%{lib_api_version}.so.%{interface_age}.%{lib_minor}.%{lib_micro}
%{_libdir}/libgimpbase-%{lib_api_version}.so.%{interface_age}
%{_libdir}/libgimpcolor-%{lib_api_version}.so.%{interface_age}.%{lib_minor}.%{lib_micro}
%{_libdir}/libgimpcolor-%{lib_api_version}.so.%{interface_age}
%{_libdir}/libgimpconfig-%{lib_api_version}.so.%{interface_age}.%{lib_minor}.%{lib_micro}
%{_libdir}/libgimpconfig-%{lib_api_version}.so.%{interface_age}
%{_libdir}/libgimpmath-%{lib_api_version}.so.%{interface_age}.%{lib_minor}.%{lib_micro}
%{_libdir}/libgimpmath-%{lib_api_version}.so.%{interface_age}
%{_libdir}/libgimpmodule-%{lib_api_version}.so.%{interface_age}.%{lib_minor}.%{lib_micro}
%{_libdir}/libgimpmodule-%{lib_api_version}.so.%{interface_age}
%{_libdir}/libgimpthumb-%{lib_api_version}.so.%{interface_age}.%{lib_minor}.%{lib_micro}
%{_libdir}/libgimpthumb-%{lib_api_version}.so.%{interface_age}
%{_libdir}/libgimpui-%{lib_api_version}.so.%{interface_age}.%{lib_minor}.%{lib_micro}
%{_libdir}/libgimpui-%{lib_api_version}.so.%{interface_age}
%{_libdir}/libgimpwidgets-%{lib_api_version}.so.%{interface_age}.%{lib_minor}.%{lib_micro}
%{_libdir}/libgimpwidgets-%{lib_api_version}.so.%{interface_age}
%if %{with static}
%files devel -f gimp-static-files
%else
%files devel
%endif
%defattr (-, root, root, 0755)
%doc HACKING README.i18n
%doc %{_datadir}/gtk-doc
%{_libdir}/*.so
%dir %{_libdir}/gimp
%dir %{_libdir}/gimp/%{lib_api_version}
%dir %{_libdir}/gimp/%{lib_api_version}/modules
%ifnos linux
%{_libdir}/*.la
%{_libdir}/gimp/%{lib_api_version}/modules/*.la
%endif
%{_datadir}/aclocal/*.m4
%{_includedir}/gimp-%{lib_api_version}
%{_libdir}/pkgconfig/*
%files devel-tools
%defattr (-, root, root, 0755)
%{_bindir}/gimptool-%{lib_api_version}
%{_mandir}/man1/gimptool-%{lib_api_version}.1*
%if %{with convenience}
%{_bindir}/gimptool
%{_mandir}/man1/gimptool.1*
%endif
%files help-browser
%defattr (-, root, root, 0755)
%{_libdir}/gimp/%{lib_api_version}/plug-ins/help-browser
%changelog
* Tue Jan 10 2012 Nils Philippsen <nils@redhat.com> - 2:2.7.4-2
- rebuild for gcc 4.7
* Thu Dec 15 2011 Nils Philippsen <nils@redhat.com> - 2:2.7.4-1
- version 2.7.4 (unstable, see http://developer.gimp.org/NEWS for details)
- update dependency versions
- don't suppress abrt reporting, don't redirect bug reports to upstream
* Tue Aug 30 2011 Nils Philippsen <nils@redhat.com> - 2:2.7.3-1
- version 2.7.3 (unstable, see http://developer.gimp.org/NEWS for details)
- change license to GPLv3+/LGPLv3+
- update required versions of dependencies
- build with cairo-pdf, jasper, require jasper-devel for building
- build without poppler as that currently is GPLv2 only, thus incompatible
with LGPLv3 gimp libraries (use postscript plugin for PDF import
meanwhile), future poppler versions will be "GPLv2 or GPLv3", i.e.
compatible again
- clean up configure options, compiler/linker flags
- suppress abrt bug reporting for unstable releases
- remove all patches (obsolete, woo!)
- add new files, remove files that are not installed any longer
- use %%global instead of %%define
- replace hal, minorver, microver, interfacever, gimp_lang_ver macros with
gudev, lib_minor, lib_micro, lib_api_version, gettext_version macros
- compute more version macros (ugly, but convenient)
- use gudev from Fedora 15 on
- use convenience macro for hardening binaries from F-16 on
* Fri Aug 12 2011 Nils Philippsen <nils@redhat.com> - 2:2.6.11-21
- actually apply startup-warning patch
- fix heap corruption and buffer overflow in file-gif-load plugin
(CVE-2011-2896)
* Thu Aug 04 2011 Nils Philippsen <nils@redhat.com> - 2:2.6.11-20
- fix goption warning on startup, patch by Mikael Magnusson
* Wed Aug 03 2011 Nils Philippsen <nils@redhat.com> - 2:2.6.11-19
- remove obsolete gtkhtml2-devel build requirement
* Fri Jul 15 2011 Marek Kasik <mkasik@redhat.com> - 2:2.6.11-18
- Rebuild (poppler-0.17.0)
* Fri Jun 24 2011 Nils Philippsen <nils@redhat.com> - 2:2.6.11-17
- rebuild against new cfitsio
* Fri Jun 10 2011 Nils Philippsen <nils@redhat.com> - 2:2.6.11-16
- guard against crash due to quitting while DND is processed (#711952)
* Tue Jun 07 2011 Nils Philippsen <nils@redhat.com> - 2:2.6.11-15
- drop support for building with non-modular X
- ensure file-xpm plugin is built (#710207)
* Mon May 23 2011 Nils Philippsen <nils@redhat.com> - 2:2.6.11-14
- fix buffer overflows in sphere-designer (CVE-2010-4541),
gfig (CVE-2010-4542), lighting (CVE-2010-4540) plugins
* Mon May 23 2011 Nils Philippsen <nils@redhat.com> - 2:2.6.11-13
- harden PSP plugin against bogus input data (CVE-2010-4543, CVE-2011-1782)
* Sat May 07 2011 Christopher Aillon <caillon@redhat.com> - 2:2.6.11-12
- Update desktop database, icon cache scriptlets
* Fri May 06 2011 Nils Philippsen <nils@redhat.com> - 2:2.6.11-11
- simplify poppler-0.17 patch to avoid adding to libgimp (#698157)
* Wed May 04 2011 Nils Philippsen <nils@redhat.com> - 2:2.6.11-10
- don't use poppler/gdk_pixbuf API removed in poppler >= 0.17 (#698157)
- remove obsolete configure options
* Tue Mar 15 2011 Nils Philippsen <nils@redhat.com> - 2:2.6.11-9
- don't use HAL from F-16/RHEL-7 on
- explicitly use GIO/GVFS rather than gnome-vfs
* Sun Mar 13 2011 Marek Kasik <mkasik@redhat.com> - 2:2.6.11-8
- Rebuild (poppler-0.16.3)
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:2.6.11-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Feb 02 2011 Nils Philippsen <nils@redhat.com> - 2:2.6.11-6
- avoid traceback in pyslice plugin (#667958)
* Sat Jan 01 2011 Rex Dieter <rdieter@fedoraproject.org> - 2:2.6.11-5
- rebuild (poppler)
* Wed Dec 15 2010 Rex Dieter <rdieter@fedoraproject.org> - 2:2.6.11-4
- rebuild (poppler)
* Tue Nov 09 2010 Nils Philippsen <nils@redhat.com> - 2:2.6.11-3
- avoid traceback in colorxhtml plugin (#651002)
* Sat Nov 06 2010 Rex Dieter <rdieter@fedoraproject.org> - 2:2.6.11-2
- rebuilt (poppler)
* Mon Oct 04 2010 Nils Philippsen <nils@redhat.com> - 2:2.6.11-1
- version 2.6.11
Overview of Changes from GIMP 2.6.10 to GIMP 2.6.11
===================================================
* Bugs fixed:
631199 - Printing and Print preview broken with cairo 1.10
572865 - Parasite handling had problems and can cause crashing
628893 - Error with string-append and gimp-drawable-get-name
623850 - (Paco) Recursive Gaussian Filter error
624487 - Fix incorrect "wrap mode" documentation values in Edge plug-in
557380 - Difference of Gaussians gives blank doc if "Invert" selected
627009 - Image type filter doesn't include .rgba SGI files
626020 - Console window opening on file-ps-load
624698 - Wood 1 and Wood 2 have bad alpha value
624275 - Image saved from google docs generates a
'gimp-image-set-resolution' error message
* Updated translations:
German (de)
Spanish (es)
Italian (it)
Japanese (ja)
Romanian (ro)
Chinese (Hong Kong) (zh_HK)
Chinese (Taiwan) (zh_HK)
* Tue Aug 24 2010 Nils Philippsen <nils@redhat.com> - 2:2.6.10-5
- don't require gtk-doc but own %%{_datadir}/gtk-doc (#604355, #604169)
* Thu Aug 19 2010 Rex Dieter <rdieter@fedoraproject.org> - 2:2.6.10-4
- rebuild (poppler)
* Wed Aug 11 2010 David Malcolm <dmalcolm@redhat.com> - 2:2.6.10-3
- recompiling .py files against Python 2.7 (rhbz#623309)
* Mon Jul 09 2010 Nils Philippsen <nils@redhat.com> - 2:2.6.10-2
- distribute license and other documentation with gimp-libs
* Fri Jul 09 2010 Nils Philippsen <nils@redhat.com> - 2:2.6.10-1
- version 2.6.10
Overview of Changes from GIMP 2.6.9 to GIMP 2.6.10
==================================================
* Bugs fixed:
613328 - TGA files saved with incorrect header yOrigin data
623290 - Save As... does not save Windows Bitmap as default in dialog
621363 - CMYK decompose broken
595170 - brush - color from gradient works wrong in greyscale
613838 - Error in gimp-hue-saturation PDB call
622608 - GIMP crashes when clicking any scroll bar from combo boxes
565459 - newly opened images are put into the background
* Updated translations:
German (de)
Italian (it)
Romanian (ro)
Portuguese (pt)
- remove obsolete combo-popup patch
- update script-fu-ipv6 patch
* Mon Jul 05 2010 Nils Philippsen <nils@redhat.com> - 2:2.6.9-5
- rebuild against libwebkitgtk (instead of libwebkit)
* Tue Jun 29 2010 Nils Philippsen <nils@redhat.com> - 2:2.6.9-4
- script-fu: make rest of server IPv6-aware (#198367)
* Mon Jun 28 2010 Nils Philippsen <nils@redhat.com> - 2:2.6.9-3
- script-fu: make logging IPv6-aware (#198367)
* Fri Jun 25 2010 Nils Philippsen <nils@redhat.com> - 2:2.6.9-2
- fix clicking scroll bar buttons from combo boxes
* Wed Jun 23 2010 Nils Philippsen <nils@redhat.com> - 2:2.6.9-1
- version 2.6.9
Overview of Changes from GIMP 2.6.8 to GIMP 2.6.9
=================================================
* Bugs fixed:
612618 - Font selection remains visible
622234 - gimp.desktop: image/x-psd in MimeTypes twice
622196 - Unportable test(1) construct in configure script
620604 - Description of "histogram" procedure is slightly inaccurate
541586 - Tool options not saved/loaded correctly?
614153 - Importing PDF files with long titles
600112 - blur-gauss-selective.exe crashes
599233 - Dialog of "Save as BMP" ignores changes which are not made
with a mous
565001 - Text-Tool crashes when edit a 2.4.2 version xcf
610478 - Layer preview suddenly stops getting updated
609026 - leaks shared memory
609056 - Exporting to Alias PIX format fails
608188 - a few strings in Save as... > Raw image data dialog are always
in English
604820 - GEGL Operation "path" crashes GIMP
603711 - Crashes when using path tool
607242 - GIMP 2.7.0 fails to build against libpng 1.4.0
606372 - Saving to .ppm fails on indexed colorspace
605237 - the "Antialiasing..." message in the progress bar does not show
translated
604508 - gimp-layer-new-from-visible should work from updated projection
* Updated and new translations:
Asturian (ast)
Basque (eu)
Burmese (my)
Catalan (ca)
Chinese (Hong Kong) (zh_HK)
Chinese (Taiwan) (zh_HK)
German (de)
Italian (it)
Latvian (lv)
Low German (nds)
Romanian (ro)
Simplified Chinese (zh_CN)
Slovenian (sl)
Ukrainian (uk)
Valencian (ca@valencia)
- remove obsolete gtk219, never-stack-trace-desktop, indexed-pnm patches
- don't manually provide "gimp-libs%%{?_isa}" in gimp-libs
- don't package %%{_datadir}/gtk-doc/html, but dirs beneath
* Wed Jun 23 2010 Nils Philippsen <nils@redhat.com> - 2:2.6.8-10
- get rid of obsolete gimp-plugin-mgr
* Tue Jun 22 2010 Matthias Clasen <mclasen@redhat.com> - 2:2.6.8-9
- Rebuild against new poppler
* Fri Jun 18 2010 Nils Philippsen <nils@redhat.com> - 2:2.6.8-8
- backport fix for saving indexed PNM files (#605615)
* Mon Apr 19 2010 Nils Philippsen <nils@redhat.com> - 2:2.6.8-7
- add --stack-trace-mode=never to desktop file
* Wed Mar 24 2010 Nils Philippsen <nils@redhat.com> - 2:2.6.8-6
- backport: statusbar code needed for GTK+ >= 2.19.1 (#559726)
* Fri Feb 26 2010 Nils Philippsen <nils@redhat.com> - 2:2.6.8-5
- require gtk-doc in devel package
* Thu Feb 25 2010 Nils Philippsen <nils@redhat.com> - 2:2.6.8-4
- add missing explicit libraries
* Wed Feb 24 2010 Nils Philippsen <nils@redhat.com>
- backport: fix building with "gold" linker
- add more explicit libraries
* Wed Jan 27 2010 Nils Philippsen <nils@redhat.com> - 2:2.6.8-3
- remove wrong dependency (#558836)
* Mon Jan 25 2010 Nils Philippsen <nils@redhat.com> - 2:2.6.8-2
- rebuild against new babl
* Wed Jan 20 2010 Nils Philippsen <nils@redhat.com>
- use %%_isa instead of %%_arch for architecture-specific dependencies
* Fri Dec 11 2009 Nils Philippsen <nils@redhat.com> - 2:2.6.8-1
- version 2.6.8
Overview of Changes from GIMP 2.6.7 to GIMP 2.6.8
=================================================
* Bugs fixed:
470698 - MapObject cannot modify highlight
593848 - FG color changed to black when FG-BG Editor tab created
594651 - layer.scale() raises RuntimeError
594998 - Keyboard shortcuts does not work for first image when dock
is focused
599765 - F1 key on gimp-tool-align in menu have wrong link and it
open gimp-tool-move
600484 - Gimp BMP Integer Overflow Vulnerability
600741 - "read_channel_data()" Integer Overflow Vulnerability
601891 - gimp_image_get_selection returns None
602761 - plug-in-grid: Parameters Horizontal/Vertical Spacing and
Horizontal/Vertical Offset are reversed.
603995 - PCX plugin doesn't sanitize input to avoid allocation overflows.
603998 - PCX: Calculating amount of memory to allocate may overflow.
604000 - SGI: sanitize input
604001 - SGI: Calculating amount of memory to allocate may overflow.
604002 - SGI: RLE encoded input data may write beyond allocated buffers
604004 - SGI: allocate memory consistently
604008 - GBR, PAT: sanitize input data
604078 - Crash when pressing Backspace with Free Select Tool
* Updated and new translations:
Basque (eu)
British English (en_GB)
Czech (cs)
French (fr)
Greek (el)
Italian (it)
Japanese (ja)
Norwegian Nynorsk (nn)
Polish (pl)
Romanian (ro)
Russian (ru)
Simplified Chinese (zh_CN)
- remove obsolete bmp-hardening, psd-hardening patches
* Tue Nov 17 2009 Nils Philippsen <nils@redhat.com> - 2:2.6.7-3
- avoid overflow in the BMP image file plugin (#537356)
- avoid overflow in the PSD image file plugin (#537370)
- update jpeg-units patch
* Tue Aug 18 2009 Nils Philippsen <nils@redhat.com> - 2:2.6.7-2
- BR: webkitgtk-devel/WebKit-gtk-devel >= 1.1.0
* Fri Aug 14 2009 Nils Philippsen <nils@redhat.com> - 2:2.6.7-1
- version 2.6.7
Overview of Changes from GIMP 2.6.6 to GIMP 2.6.7
=================================================
* Bugs fixed:
591017 - Tablet pan is not working as fast as it should
577581 - Crashes when using any colors tool/function on Windows
589667 - GIMP crashes when clicking GEGL Operation on Windows
569833 - file-jpeg-save erroneous with small quality values
590638 - Changing palettes from list to grid view loses "locked to dock"
status
589674 - "Send by Email" does not update "Filename"
589674 - "Send by Email" does not update "Filename"
586851 - Transparent BMP files fail to load
589205 - help-browser uses deprecated (and sometimes broken) webkit call
582821 - 'Sphere Designer' does not reset correctly...
570353 - first time open of .svg file ignores the requested units
555777 - Export to MNG animation fails
577301 - Dithering with transparency is broken for "positioned" method
493778 - metadata plug-in crashes on some images
567466 - PNG comment not found if more than 1 tEXt chunks
585665 - Exporting to PSD with a blank text layer creates a corrupt file
586316 - Levels tool does not adjust output levels correctly if input
levels are changed
569661 - Import from PDF throws errors when entering resolution in
pixels per millimetre
567262 - Black pixels appear in "Spread" filter preview
554658 - Path Dialog: Path preview pics not to see constantly
167604 - gimp_gradient_get_color_at() may return out-of-bounds values
567393 - Rectangle select tool size shrinks to 0 if size is larger than
the image and the up or down arrow is pressed
587543 - crash when invoking certain actions by keyboard shortcut
563029 - Closing maximized image doesn't restore document window size
585488 - Perspective transformation on a layer with a mask causes crash
586008 - GIMP crashes when right-click canceling a drawing action initiated
outside layer boundaries
584345 - when printing, the number of copies should be reset to 1
557061 - Alpha to Logo
472644 - Rotate with clipping crops the whole layer
577575 - transform tool fills underlying extracted area wrongly
555738 - Image display is wrong after undoing canvas size
577024 - help-browser plugin crashes when used with webkit 1.1.3
555025 - Action GEGL box widgets weirdness
* Updated and new translations:
Czech (cs)
Danish (da)
German (de)
Spanish (es)
Basque (eu)
Finnish (fi)
Hungarian (hu)
Italian (it)
Gujarati (gu)
Japanese (ja)
Kannada (kn)
Marathi (mr)
Norwegian bokmål (nb)
Oriya (or)
Portuguese (pt)
Romanian (ro)
Sinhala (si)
Swedish (sv)
Simplified Chinese (zh_CN)
Traditional Chinese - Hong Kong (zh_HK)
Traditional Chinese - Taiwan (zh_TW)
- remove obsolete gegl-babl-versions-check, help-browser-webkit patches
- comment/explain patches
* Fri Jul 24 2009 Nils Philippsen <nils@redhat.com> - 2:2.6.6-8
- rebuild with chrpath >= 0.13-5 (#513419)
* Thu Jul 16 2009 Nils Philippsen <nils@redhat.com> - 2:2.6.6-7
- rebuild against gegl-0.1 (#510209)
* Mon Jun 29 2009 Nils Philippsen <nils@redhat.com> - 2:2.6.6-6
- really fix help browser crash with new WebKit versions (#508301)
* Sat Jun 27 2009 Nils Philippsen <nils@redhat.com> - 2:2.6.6-5
- fix help browser crash with new WebKit versions (#508301)
- BR: webkitgtk-devel from F-11 on
* Fri Jun 05 2009 Nils Philippsen <nils@redhat.com> - 2:2.6.6-4
- don't build against aalib on RHEL
- use backported patch to correctly check gegl/babl versions
* Tue Apr 14 2009 Nils Philippsen <nils@redhat.com> - 2:2.6.6-3
- remove rpaths from binaries (#495670)
* Mon Mar 30 2009 Nils Philippsen <nils@redhat.com> - 2:2.6.6-2
- minimize dialogs with single image window (#492796, backported from trunk,
original patch by Sven Neumann)
* Wed Mar 18 2009 Nils Philippsen <nils@redhat.com> - 2:2.6.6-1
- version 2.6.6
Overview of Changes from GIMP 2.6.5 to GIMP 2.6.6
=================================================
* Bugs fixed:
571117 - lcms plug-in crashes on broken profile
575154 - changing the help browser preference may not work
573542 - blur plugin: bug in the first line
572403 - gimp-2.6 crashed with SIGSEGV in IA__g_object_get()
573695 - 1-bit white background saved as PBM becomes all black
573488 - Small bug in Filter>Distorts>Ripple
572156 - top left pixel position/coordinate is not 0,0 but 1,1
472644 - Rotate with clipping crops the whole layer
* Updated translations:
German (de)
Spanish (es)
Estonian (et)
Basque (eu)
French (fr)
Italian (it)
Portuguese (pt)
Simplified Chinese (zh_CN)
* Tue Mar 17 2009 Nils Philippsen <nils@redhat.com> - 2:2.6.5-5
- require pygtk2 >= 2.10.4 (#490553)
* Tue Mar 10 2009 Nils Philippsen <nils@redhat.com> - 2:2.6.5-4
- use correct fix from upstream to avoid crashes (#486122)
- use -fno-strict-aliasing, PIC/PIE compilation flags
* Mon Mar 09 2009 Nils Philippsen <nils@redhat.com> - 2:2.6.5-3
- rebuild against new WebKit
- define deprecated gtk functions to avoid crashes (#486122)
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:2.6.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Sun Feb 15 2009 Nils Philippsen <nils@redhat.com> - 2:2.6.5-1
- version 2.6.5
Overview of Changes from GIMP 2.6.4 to GIMP 2.6.5
=================================================
* Bugs fixed:
571628 - Scaling image to 25% turn background from white to grey
567840 - GIMP's GtkScaleButton conflicts with GTK's
569043 - GEGL tool - missing Operation Settings for all sub-tools
568890 - don't rely on GtkAction implementation details
568909 - wrong RGB values for color names in libgimpcolor/gimprgb-parse.c
568839 - wrong hex RGB value for the color names slategrey and slategray
559408 - Brushes dragged to the image window look strange
563337 - Rectangle Select Tool does not allow 1:1 fixed ratio
568016 - Black pullout parameter of plug-in-newsprint has no effect
562818 - First image opened in GIMP offset
562213 - Align Tool doesn't work properly if it is the active tool
at startup
* Updated translations:
Spanish (es)
Estonian (et)
Hindi (hi)
Italian (it)
Brazilian Portuguese (pt_BR)
Romanian (ro)
Russian (ru)
Serbian (sr)
Tamil (ta)
Simplified Chinese (zh_CN)
* Wed Jan 07 2009 Nils Philippsen <nils@redhat.com> - 2:2.6.4-3
- split off gimptool into new gimp-devel-tools subpackage to avoid multilib
conflicts (#477789)
- require poppler-glib-devel for building from F9 on (#478691)
- fix gimp-devel package group
* Sun Jan 04 2009 Nils Philippsen <nils@redhat.com> - 2:2.6.4-2
- enable building with aalib
* Thu Jan 01 2009 Nils Philippsen <nils@redhat.com> - 2:2.6.4-1
- version 2.6.4
Overview of Changes from GIMP 2.6.3 to GIMP 2.6.4
=================================================