Compare commits

..

No commits in common. "rawhide" and "f18" have entirely different histories.

21 changed files with 1406 additions and 191 deletions

11
.gitignore vendored
View file

@ -1,13 +1,2 @@
xfig.3.2.5b.full.tar.gz
/xfig-icons.tar.gz
/xfig.3.2.5c.full.tar.gz
/xfig_3.2.5.c-8.debian.tar.xz
/xfig-full-3.2.6.tar.xz
/xfig-3.2.6.tar.xz
/xfig-3.2.6a.tar.xz
/xfig-3.2.7a.tar.xz
/xfig-3.2.7b.tar.xz
/xfig-3.2.8a.tar.xz
/xfig-3.2.8b.tar.xz
/xfig-3.2.9.tar.xz
/mcj-xfig-ce9782a404b6a527393839369aac13dcfb66ff16.zip

35
03_usr_share.patch Normal file
View file

@ -0,0 +1,35 @@
From: Roland Rosenfeld <roland@debian.org>
Subject: Change documentation, that image libraries are in
--- a/Doc/xfig.man
+++ b/Doc/xfig.man
@@ -1475,8 +1475,11 @@
See the
.IR Imakefile .
.TP
-/usr/lib/X11/xfig
-This directory contains the html documentation, the above mentioned
+/usr/share/doc/xfig
+This directory contains the documentation.
+.TP
+/usr/share/xfig
+This directory contains the above mentioned
CompKeyDB file, and a directory of libraries containing Fig objects
such as electrical symbols, logic symbols, etc.
.TP
--- a/Doc/xfig_man.html
+++ b/Doc/xfig_man.html
@@ -2539,8 +2539,11 @@
See the
<I>Imakefile</I>.
-<DT>/usr/lib/X11/xfig<DD>
-This directory contains the html documentation, the above mentioned
+<DT>/usr/share/doc/xfig<DD>
+This directory contains the documentation.
+
+<DT>/usr/share/xfig<DD>
+This directory contains the above mentioned
CompKeyDB file, and a directory of libraries containing Fig objects
such as electrical symbols, logic symbols, etc.
<DT><B>Fig.ad and Fig-color.ad</B>

361
12_network_images.patch Normal file
View file

@ -0,0 +1,361 @@
From: Roland Rosenfeld <roland@debian.org>
Subject: Some network icons colored and/or combined by Roland Rosenfeld.
--- /dev/null
+++ b/Libraries/Networks/Devices/firewall-pair.fig
@@ -0,0 +1,75 @@
+#FIG 3.2 Produced by xfig version 3.2.5-alpha5
+Portrait
+Center
+Inches
+A4
+100.00
+Single
+-2
+# A pair of firewalls
+# Combined by Roland Rosenfeld
+1200 2
+0 32 #aeaaae
+# A pair of firewalls
+6 3375 2175 4050 3075
+6 3600 2250 4050 3075
+# Firewall
+# (from TomiOllila <Tomi.Ollila@tfi.net> )
+6 3600 2250 4050 3075
+2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 2
+ 3825 3075 3825 2475
+2 1 0 1 0 20 2 0 20 0.000 0 0 -1 0 0 5
+ 3675 2475 3675 3075 3825 3075 3975 2925 3975 2400
+2 1 0 1 0 32 1 0 20 0.000 0 0 -1 0 0 7
+ 3600 2400 3600 2475 3900 2475 4050 2325 4050 2250 3750 2250
+ 3600 2400
+2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 3
+ 3900 2475 3900 2400 3600 2400
+2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 2
+ 3900 2400 4050 2250
+2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 3
+ 3675 2625 3825 2625 3975 2475
+2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 3
+ 3675 2775 3825 2775 3975 2625
+2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 3
+ 3675 2925 3825 2925 3975 2775
+2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 2
+ 3900 3000 3900 2850
+2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 2
+ 3900 2700 3900 2550
+2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 2
+ 3750 2475 3750 2625
+2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 0 0 2
+ 3750 2775 3750 2925
+-6
+-6
+6 3375 2175 3825 3000
+6 3450 2175 3825 3000
+2 1 0 1 0 7 20 0 -1 0.000 0 0 7 0 0 2
+ 3600 3000 3600 2400
+2 1 0 1 0 7 20 0 -1 0.000 0 0 7 0 0 2
+ 3675 2325 3825 2175
+2 1 0 1 0 7 20 0 -1 0.000 0 0 7 0 0 3
+ 3450 2550 3600 2550 3750 2400
+2 1 0 1 0 7 20 0 -1 0.000 0 0 7 0 0 3
+ 3450 2700 3600 2700 3750 2550
+2 1 0 1 0 7 20 0 -1 0.000 0 0 7 0 0 3
+ 3450 2850 3600 2850 3750 2700
+2 1 0 1 0 7 20 0 -1 0.000 0 0 7 0 0 2
+ 3675 2925 3675 2775
+2 1 0 1 0 7 20 0 -1 0.000 0 0 7 0 0 2
+ 3675 2625 3675 2475
+2 1 0 1 0 7 20 0 -1 0.000 0 0 7 0 0 2
+ 3525 2400 3525 2550
+2 1 0 1 0 7 20 0 -1 0.000 0 0 7 0 0 2
+ 3525 2700 3525 2850
+-6
+2 1 0 1 0 20 22 0 20 0.000 0 0 -1 0 0 5
+ 3450 2400 3450 3000 3600 3000 3750 2850 3750 2325
+2 1 0 1 0 32 21 0 20 0.000 0 0 -1 0 0 7
+ 3375 2325 3375 2400 3675 2400 3825 2250 3825 2175 3525 2175
+ 3375 2325
+2 1 0 1 0 7 20 0 -1 0.000 0 0 -1 0 0 3
+ 3675 2400 3675 2325 3375 2325
+-6
+-6
--- /dev/null
+++ b/Libraries/Networks/Devices/internet.fig
@@ -0,0 +1,39 @@
+#FIG 3.2 Produced by xfig version 3.2.5-alpha5
+Portrait
+Center
+Inches
+A4
+100.00
+Single
+-2
+# Internet cloud
+# By Roland Rosenfeld
+1200 2
+# An Internet cloud
+6 4275 5700 7200 7650
+2 1 0 0 7 7 970 0 20 4.000 0 0 0 0 0 65
+ 4719 7111 4633 7121 4548 7105 4469 7057 4394 6983 4346 6888
+ 4309 6776 4298 6654 4309 6526 4346 6415 4394 6325 4469 6244
+ 4548 6197 4633 6181 4719 6197 4798 6048 4893 5915 4994 5825
+ 5122 5746 5244 5719 5377 5719 5505 5746 5627 5825 5733 5915
+ 5850 5825 5961 5746 6094 5719 6222 5719 6355 5746 6472 5825
+ 6583 5915 6668 6048 6748 6197 6833 6181 6918 6197 7003 6244
+ 7072 6325 7130 6415 7157 6526 7168 6654 7157 6776 7130 6888
+ 7072 6983 7003 7057 6918 7105 6833 7121 6748 7111 6668 7265
+ 6583 7387 6472 7488 6355 7557 6222 7594 6094 7594 5961 7557
+ 5850 7488 5733 7387 5627 7488 5505 7557 5377 7594 5244 7594
+ 5122 7557 4994 7488 4893 7387 4798 7265 4719 7111
+2 1 0 2 1 0 969 0 -1 0.000 0 0 0 0 0 65
+ 4719 7111 4633 7121 4548 7105 4469 7057 4394 6983 4346 6888
+ 4309 6776 4298 6654 4309 6526 4346 6415 4394 6325 4469 6244
+ 4548 6197 4633 6181 4719 6197 4798 6048 4893 5915 4994 5825
+ 5122 5746 5244 5719 5377 5719 5505 5746 5627 5825 5733 5915
+ 5850 5825 5961 5746 6094 5719 6222 5719 6355 5746 6472 5825
+ 6583 5915 6668 6048 6748 6197 6833 6181 6918 6197 7003 6244
+ 7072 6325 7130 6415 7157 6526 7168 6654 7157 6776 7130 6888
+ 7072 6983 7003 7057 6918 7105 6833 7121 6748 7111 6668 7265
+ 6583 7387 6472 7488 6355 7557 6222 7594 6094 7594 5961 7557
+ 5850 7488 5733 7387 5627 7488 5505 7557 5377 7594 5244 7594
+ 5122 7557 4994 7488 4893 7387 4798 7265 4719 7111
+4 0 0 100 0 18 33 0.0000 4 405 2040 4744 6853 Internet\001
+-6
--- /dev/null
+++ b/Libraries/Networks/Routers/router-pair.fig
@@ -0,0 +1,78 @@
+#FIG 3.2 Produced by xfig version 3.2.5-alpha5
+Portrait
+Center
+Inches
+A4
+100.00
+Single
+-2
+# A pair of routers
+# Colored and combined by Roland Rosenfeld
+1200 2
+# A pair of routers
+6 3150 3300 4275 3975
+6 3346 3450 4269 3975
+6 3844 3615 4173 3718
+# polyline
+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8
+ 3879 3701 3854 3647 3976 3624 3955 3642 4159 3676 4111 3713
+ 3908 3676 3879 3701
+-6
+6 3617 3636 3803 3759
+# polyline
+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8
+ 3764 3731 3638 3754 3634 3694 3671 3703 3738 3646 3800 3657
+ 3727 3719 3764 3731
+-6
+6 3803 3470 3988 3594
+# polyline
+2 1 0 1 0 7 50 0 20 0.000 0 0 7 0 0 8
+ 3837 3518 3982 3481 3983 3541 3947 3535 3876 3591 3809 3581
+ 3882 3526 3837 3518
+-6
+1 2 0 1 0 15 51 0 20 0.000 1 0.0000 3807 3619 457 169 3349 3619 4264 3619
+1 2 0 1 0 15 53 0 20 0.000 1 0.0000 3803 3806 457 169 3346 3806 4261 3806
+# polyline
+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8
+ 3705 3557 3738 3608 3609 3637 3638 3615 3439 3581 3488 3545
+ 3681 3576 3705 3557
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+ 3350 3613 3347 3812
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+ 4263 3626 4263 3815
+2 2 0 0 0 15 52 -1 20 0.000 0 0 -1 0 0 5
+ 3349 3626 4269 3626 4269 3800 3349 3800 3349 3626
+-6
+6 3150 3300 4125 3825
+6 3600 3450 3975 3600
+# polyline
+2 1 0 1 0 7 60 0 20 0.000 0 0 0 0 0 8
+ 3683 3551 3658 3497 3780 3474 3759 3492 3963 3526 3915 3563
+ 3712 3526 3683 3551
+-6
+6 3600 3300 3825 3450
+# polyline
+2 1 0 1 0 7 60 0 20 0.000 0 0 7 0 0 8
+ 3641 3368 3786 3331 3787 3391 3751 3385 3680 3441 3613 3431
+ 3686 3376 3641 3368
+-6
+6 3375 3450 3675 3675
+# polyline
+2 1 0 1 0 7 60 0 20 0.000 0 0 0 0 0 8
+ 3568 3581 3442 3604 3438 3544 3475 3553 3542 3496 3604 3507
+ 3531 3569 3568 3581
+-6
+1 2 0 1 0 15 61 0 20 0.000 1 0.0000 3611 3469 457 169 3153 3469 4068 3469
+1 2 0 1 0 15 63 0 20 0.000 1 0.0000 3607 3656 457 169 3150 3656 4065 3656
+2 1 0 1 0 7 60 -1 -1 0.000 0 0 -1 0 0 2
+ 4067 3476 4067 3665
+# polyline
+2 1 0 1 0 7 60 0 20 0.000 0 0 0 0 0 8
+ 3509 3407 3542 3458 3413 3487 3442 3465 3243 3431 3292 3395
+ 3485 3426 3509 3407
+2 1 0 1 0 7 60 -1 -1 0.000 0 0 -1 0 0 2
+ 3154 3463 3151 3662
+2 2 0 0 0 15 62 -1 20 0.000 0 0 -1 0 0 5
+ 3153 3476 4073 3476 4073 3650 3153 3650 3153 3476
+-6
+-6
--- /dev/null
+++ b/Libraries/Networks/Routers/router4.fig
@@ -0,0 +1,44 @@
+#FIG 3.2 Produced by xfig version 3.2.5-alpha5
+Portrait
+Center
+Metric
+A4
+100.00
+Single
+-2
+# Router
+# Colored by Roland Rosenfeld
+1200 2
+# Router
+6 3870 4455 5940 5625
+6 4995 4815 5715 5040
+# polyline
+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8
+ 5072 5002 5018 4886 5284 4834 5238 4873 5683 4948 5578 5030
+ 5136 4948 5072 5002
+-6
+6 4500 4860 4905 5130
+# polyline
+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8
+ 4822 5067 4545 5117 4537 4989 4618 5007 4766 4883 4900 4905
+ 4741 5041 4822 5067
+-6
+6 4905 4500 5310 4770
+# polyline
+2 1 0 1 0 7 50 0 20 0.000 0 0 7 0 0 8
+ 4981 4603 5296 4523 5300 4653 5222 4640 5066 4762 4919 4741
+ 5079 4622 4981 4603
+-6
+1 2 0 1 0 15 51 0 20 0.000 1 0.0000 4914 4824 999 369 3915 4824 5913 4824
+1 2 0 1 0 15 53 0 20 0.000 1 0.0000 4908 5231 999 369 3909 5231 5907 5231
+# polyline
+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8
+ 4693 4690 4766 4800 4483 4863 4545 4814 4111 4740 4219 4661
+ 4640 4731 4693 4690
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+ 3917 4811 3910 5244
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+ 5910 4838 5910 5251
+2 2 0 0 0 15 52 -1 20 0.000 0 0 -1 0 0 5
+ 3915 4838 5924 4838 5924 5218 3915 5218 3915 4838
+-6
--- /dev/null
+++ b/Libraries/Networks/Switches/switch-pair.fig
@@ -0,0 +1,66 @@
+#FIG 3.2 Produced by xfig version 3.2.5-alpha5
+Portrait
+Center
+Inches
+A4
+100.00
+Single
+-2
+# A pair of switches
+# Colored and combined by Roland Rosenfeld
+1200 2
+# A pair of switches
+6 2550 2625 4725 3750
+6 2625 2850 4725 3750
+6 3000 2850 4425 3300
+# polyline
+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8
+ 3603 3180 3581 3210 3194 3210 3161 3240 3028 3195 3268 3126
+ 3214 3184 3608 3184
+# polyline
+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8
+ 3651 3128 3673 3098 4060 3098 4093 3068 4226 3113 3986 3182
+ 4040 3124 3646 3124
+# polyline
+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8
+ 3760 3008 3738 3038 3351 3038 3318 3068 3185 3023 3425 2954
+ 3371 3012 3765 3012
+# polyline
+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8
+ 3827 2963 3849 2933 4236 2933 4269 2903 4402 2948 4162 3017
+ 4216 2959 3822 2959
+-6
+2 1 0 1 0 15 51 0 20 0.000 0 0 -1 0 0 4
+ 4125 3300 4725 2850 4725 3300 4125 3750
+2 2 0 1 0 15 51 0 20 0.000 0 0 -1 0 0 5
+ 2625 3300 4125 3300 4125 3750 2625 3750 2625 3300
+2 3 0 1 0 15 51 -1 20 0.000 0 0 -1 0 0 5
+ 2625 3300 3225 2850 4725 2850 4125 3300 2625 3300
+-6
+6 2550 2625 4650 3525
+6 2925 2625 4350 3075
+# polyline
+2 1 0 1 0 7 61 0 20 0.000 0 0 0 0 0 8
+ 3528 2955 3506 2985 3119 2985 3086 3015 2953 2970 3193 2901
+ 3139 2959 3533 2959
+# polyline
+2 1 0 1 0 7 61 0 20 0.000 0 0 0 0 0 8
+ 3576 2903 3598 2873 3985 2873 4018 2843 4151 2888 3911 2957
+ 3965 2899 3571 2899
+# polyline
+2 1 0 1 0 7 61 0 20 0.000 0 0 0 0 0 8
+ 3685 2783 3663 2813 3276 2813 3243 2843 3110 2798 3350 2729
+ 3296 2787 3690 2787
+# polyline
+2 1 0 1 0 7 61 0 20 0.000 0 0 0 0 0 8
+ 3752 2738 3774 2708 4161 2708 4194 2678 4327 2723 4087 2792
+ 4141 2734 3747 2734
+-6
+2 1 0 1 0 15 62 0 20 0.000 0 0 -1 0 0 4
+ 4050 3075 4650 2625 4650 3075 4050 3525
+2 2 0 1 0 15 62 0 20 0.000 0 0 -1 0 0 5
+ 2550 3075 4050 3075 4050 3525 2550 3525 2550 3075
+2 3 0 1 0 15 62 -1 20 0.000 0 0 -1 0 0 5
+ 2550 3075 3150 2625 4650 2625 4050 3075 2550 3075
+-6
+-6
--- /dev/null
+++ b/Libraries/Networks/Switches/switch2.fig
@@ -0,0 +1,38 @@
+#FIG 3.2 Produced by xfig version 3.2.5-alpha5
+Portrait
+Center
+Inches
+A4
+100.00
+Single
+-2
+# Switch
+# colored by Roland Rosenfeld
+1200 2
+# Switch
+6 2625 2850 4725 3750
+6 3000 2850 4425 3300
+# polyline
+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8
+ 3603 3180 3581 3210 3194 3210 3161 3240 3028 3195 3268 3126
+ 3214 3184 3608 3184
+# polyline
+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8
+ 3651 3128 3673 3098 4060 3098 4093 3068 4226 3113 3986 3182
+ 4040 3124 3646 3124
+# polyline
+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8
+ 3760 3008 3738 3038 3351 3038 3318 3068 3185 3023 3425 2954
+ 3371 3012 3765 3012
+# polyline
+2 1 0 1 0 7 50 0 20 0.000 0 0 0 0 0 8
+ 3827 2963 3849 2933 4236 2933 4269 2903 4402 2948 4162 3017
+ 4216 2959 3822 2959
+-6
+2 1 0 1 0 15 51 0 20 0.000 0 0 -1 0 0 4
+ 4125 3300 4725 2850 4725 3300 4125 3750
+2 2 0 1 0 15 51 0 20 0.000 0 0 -1 0 0 5
+ 2625 3300 4125 3300 4125 3750 2625 3750 2625 3300
+2 3 0 1 0 15 51 -1 20 0.000 0 0 -1 0 0 5
+ 2625 3300 3225 2850 4725 2850 4125 3300 2625 3300
+-6

View file

@ -0,0 +1,21 @@
From: Roland Rosenfeld <roland@debian.org>
Subject: Remove unnecessary dependencies on libz, libXmu, libSM, libICE, libXext
--- a/Imakefile
+++ b/Imakefile
@@ -227,7 +227,14 @@
XCOMM #define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWCLIENTLIBS) $(XLIB)
#ifdef XawClientLibs
# undef XawClientLibs
-# define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XTOOLONLYLIIB) $(XPMLIB) $(EXTRAXAWCLIENTLIBS) $(XONLYLIB)
+# define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XTOOLONLYLIB) $(XPMLIB) $(EXTRAXAWCLIENTLIBS) $(XONLYLIB)
+#endif
+
+XCOMM Shorten unnecessary dependencies:
+XCOMM #define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWCLIENTLIBS) $(XLIB)
+#ifdef XawClientLibs
+# undef XawClientLibs
+# define XawClientLibs $(XAWLIB) $(XTOOLONLYLIB) $(XPMLIB) $(EXTRAXAWCLIENTLIBS) $(XONLYLIB)
#endif
XCOMM *****************************************************

56
30_figparserstack.patch Normal file
View file

@ -0,0 +1,56 @@
From: Hans de Goede <j.w.r.degoede@hhs.nl>
Subject: Fix Stack-based buffer overflow by loading malformed .FIG files
Bug: https://bugzilla.redhat.com/show_bug.cgi?id=543905
Bug-Debian: http://bugs.debian.org/559274
--- a/f_readold.c
+++ b/f_readold.c
@@ -471,7 +471,7 @@
F_text *t;
int n;
int dum;
- char buf[128];
+ char buf[512];
PR_SIZE tx_dim;
if ((t = create_text()) == NULL)
@@ -485,22 +485,34 @@
t->pen_style = -1;
t->angle = 0.0;
t->next = NULL;
+ if (!fgets(buf, sizeof(buf), fp)) {
+ file_msg("Incomplete text data");
+ free((char *) t);
+ return (NULL);
+ }
+
+ /* Note using strlen(buf) here will waste a few bytes, as the
+ various text attributes are counted into this length too. */
+ if ((t->cstring = new_string(strlen(buf))) == NULL)
+ return (NULL);
+
/* ascent and length will be recalculated later */
- n = fscanf(fp, " %d %d %d %d %d %d %d %[^\n]",
+ n = sscanf(buf, " %d %d %d %d %d %d %d %[^\n]",
&t->font, &dum, &dum, &t->ascent, &t->length,
- &t->base_x, &t->base_y, buf);
+ &t->base_x, &t->base_y, t->cstring);
if (n != 8) {
file_msg("Incomplete text data");
+ free(t->cstring);
free((char *) t);
return (NULL);
}
- if ((t->cstring = new_string(strlen(buf))) == NULL) {
+
+ if (!strlen(t->cstring)) {
+ free(t->cstring);
free((char *) t);
file_msg("Empty text string at line %d.", line_no);
return (NULL);
}
- /* put string in structure */
- strcpy(t->cstring, buf);
/* get the font struct */
t->zoom = zoomscale;

23
31_spelling.patch Normal file
View file

@ -0,0 +1,23 @@
From: Roland Rosenfeld <roland@debian.org>
Subject: Fix spelling errors in binary.
--- a/f_load.c
+++ b/f_load.c
@@ -373,5 +373,5 @@
/* Format error; relevant error message is already delivered */
;
else
- file_msg("File \"%s\" is not accessable; %s.", file, strerror(err));
+ file_msg("File \"%s\" is not accessible; %s.", file, strerror(err));
}
--- a/f_readgif.c
+++ b/f_readgif.c
@@ -137,7 +137,7 @@
if (c == '!') { /* Extension */
if (! ReadOK(file,&c,1))
- file_msg("GIF read error on extention function code");
+ file_msg("GIF read error on extension function code");
(void) DoGIFextension(file, c);
continue;
}

22
32_papersize_b1.patch Normal file
View file

@ -0,0 +1,22 @@
From: Roland Rosenfeld <roland@debian.org>
Subject: xfig -papersize b1 now really uses B1 instead of B10; Closes: #535181
Bug-Debian: http://bugs.debian.org/535181
--- a/resources.c
+++ b/resources.c
@@ -228,7 +228,6 @@
{"A2 ", "ISO A2 ( 420mm x 594mm)", 19843, 28063},
{"A1 ", "ISO A1 ( 594mm x 841mm)", 28063, 39732},
{"A0 ", "ISO A0 ( 841mm x 1189mm)", 39732, 56173},
- {"B10 ", "JIS B10 ( 32mm x 45mm)", 1516, 2117},
{"B9 ", "JIS B9 ( 45mm x 64mm)", 2117, 3017},
{"B8 ", "JIS B8 ( 64mm x 91mm)", 3017, 4300},
{"B7 ", "JIS B7 ( 91mm x 128mm)", 4300, 6050},
@@ -239,6 +238,7 @@
{"B2 ", "JIS B2 ( 515mm x 728mm)", 24333, 34400},
{"B1 ", "JIS B1 ( 728mm x 1030mm)", 34400, 48666},
{"B0 ", "JIS B0 (1030mm x 1456mm)", 48666, 68783},
+ {"B10 ", "JIS B10 ( 32mm x 45mm)", 1516, 2117},
};
char *multiple_pages[] = {

View file

@ -0,0 +1,33 @@
From: jsoula@univ-lille2.fr
Subject: Fix reading "/MediaBox" when importing PDF (Closes: #530898).
Bug-Debian: http://bugs.debian.org/530898
--- a/f_readeps.c
+++ b/f_readeps.c
@@ -77,11 +77,13 @@
/* look for /MediaBox for pdf file */
if (pdf_flag) {
- if (!strncmp(buf, "/MediaBox", 8)) { /* look for the MediaBox spec */
+ char *s;
+ for(s=buf; (s=strchr(s,'/')); s++) {
+ if (!strncmp(s, "/MediaBox", 8)) { /* look for the MediaBox spec */
char *c;
- c = strchr(buf, '[') + 1;
- if (c && sscanf(c, "%d %d %d %d", &llx, &lly, &urx, &ury) < 4) {
+ c = strchr(s, '[');
+ if (c && sscanf(c+1, "%d %d %d %d", &llx, &lly, &urx, &ury) < 4) {
llx = lly = 0;
urx = paper_sizes[0].width * 72 / PIX_PER_INCH;
ury = paper_sizes[0].height * 72 / PIX_PER_INCH;
@@ -89,7 +91,9 @@
appres.INCHES ? "Letter" : "A4");
app_flush();
}
+ break;
}
+ }
/* look for bounding box */
} else if (!nested && !strncmp(buf, "%%BoundingBox:", 14)) {
if (!strstr(buf, "(atend)")) { /* make sure doesn't say (atend) */

28
35_CVE-2010-4262.patch Normal file
View file

@ -0,0 +1,28 @@
From: Dr. Werner Fink <werner@suse.de>
Subject: Fix stack-based buffer overflow by processing certain FIG images.
Closes: 606257: CVE-2010-4262: Buffer overflow
Bug: https://bugzilla.redhat.com/show_bug.cgi?id=659676
Bug-Debian: http://bugs.debian.org/606257
--- a/w_msgpanel.c
+++ b/w_msgpanel.c
@@ -60,7 +60,7 @@
/* for the popup message (file_msg) window */
static int file_msg_length=0;
-static char tmpstr[300];
+static char tmpstr[512];
static Widget file_msg_panel,
file_msg_win, file_msg_dismiss;
@@ -582,8 +582,8 @@
}
va_start(ap, format);
- /* format the string */
- vsprintf(tmpstr, format, ap);
+ /* format the string (but leave room for \n and \0) */
+ vsnprintf(tmpstr, sizeof(tmpstr)-2, format, ap);
va_end(ap);
strcat(tmpstr,"\n");

78
36_libpng15.patch Normal file
View file

@ -0,0 +1,78 @@
From: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Subject: Some changes to cooperate with libpng 1.5.
--- a/f_readpng.c
+++ b/f_readpng.c
@@ -43,7 +43,7 @@
char *ptr;
int num_palette;
png_colorp palette;
- png_color_16 background;
+ png_color_16 background, *image_background;
/* make scale factor smaller for metric */
float scale = (appres.INCHES ?
@@ -73,7 +73,7 @@
}
/* set long jump recovery here */
- if (setjmp(png_ptr->jmpbuf)) {
+ if (setjmp(png_jmpbuf((png_ptr)))) {
/* if we get here there was a problem reading the file */
png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
close_picfile(file,filetype);
@@ -90,14 +90,18 @@
png_get_IHDR(png_ptr, info_ptr, &w, &h, &bit_depth, &color_type,
&interlace_type, &compression_type, &filter_type);
- if (info_ptr->valid & PNG_INFO_gAMA)
- png_set_gamma(png_ptr, 2.2, info_ptr->gamma);
- else
+ if (png_get_valid(png_ptr, info_ptr, PNG_INFO_gAMA)) {
+ double gamma;
+ png_get_gAMA(png_ptr, info_ptr, &gamma);
+ png_set_gamma(png_ptr, 2.2, gamma);
+ } else {
png_set_gamma(png_ptr, 2.2, 0.45);
+ }
- if (info_ptr->valid & PNG_INFO_bKGD)
+ if (png_get_valid(png_ptr, info_ptr, PNG_INFO_bKGD) &&
+ png_get_bKGD(png_ptr, info_ptr, &image_background))
/* set the background to the one supplied */
- png_set_background(png_ptr, &info_ptr->background,
+ png_set_background(png_ptr, image_background,
PNG_BACKGROUND_GAMMA_FILE, 1, 1.0);
else {
/* blend the canvas background using the alpha channel */
@@ -136,7 +140,11 @@
if (png_get_PLTE(png_ptr, info_ptr, &palette, &num_palette)) {
png_get_hIST(png_ptr, info_ptr, &histogram);
+#ifdef PNG_READ_QUANTIZE_SUPPORTED
+ png_set_quantize(png_ptr, palette, num_palette, 256, histogram, 0);
+#else
png_set_dither(png_ptr, palette, num_palette, 256, histogram, 0);
+#endif
}
}
if (color_type == PNG_COLOR_TYPE_GRAY || color_type == PNG_COLOR_TYPE_GRAY_ALPHA) {
--- a/f_wrpng.c
+++ b/f_wrpng.c
@@ -20,6 +20,7 @@
#include "w_msgpanel.h"
#include "w_setup.h"
#include <png.h>
+#include <zlib.h>
/*
* Write PNG file from rgb data
@@ -59,7 +60,7 @@
}
/* set long jump recovery here */
- if (setjmp(png_ptr->jmpbuf)) {
+ if (setjmp(png_jmpbuf((png_ptr)))) {
/* if we get here there was a problem reading the file */
png_destroy_write_struct(&png_ptr, &info_ptr);
return False;

48
37_fix-eps-reading.patch Normal file
View file

@ -0,0 +1,48 @@
From: Hans de Goede <hdegoede@redhat.com>
Subject: Fix importing of eps files.
--- a/f_readeps.c
+++ b/f_readeps.c
@@ -256,12 +256,13 @@
{
char buf[300];
FILE *tmpfp, *pixfile, *gsfile;
- char *psnam, *driver;
+ char *driver;
int status, wid, ht, nbitmap, fd;
char tmpfile[PATH_MAX],
pixnam[PATH_MAX],
errnam[PATH_MAX],
- gscom[2 * PATH_MAX];
+ gscom[2 * PATH_MAX],
+ psnam[PATH_MAX];
wid = urx - llx;
ht = ury - lly;
@@ -311,19 +312,14 @@
/* for color, use pcx */
driver = "pcx256";
}
- /* avoid absolute paths (for Cygwin with gswin32) by changing directory */
- if (tmpfile[0] == '/') {
- psnam = strrchr(tmpfile, '/');
- *psnam = 0;
- sprintf(gscom, "cd \"%s/\";", tmpfile);
- *psnam++ = '/'; /* Restore name for unlink() below */
- } else {
- psnam = tmpfile;
- gscom[0] = '\0';
+ /* Canonicalize the eps file filename, needed to "defeat" -dSAFER */
+ if (!realpath(tmpfile, psnam)) {
+ file_msg("Cannot canonicalize %s: %s\n", tmpfile, strerror(errno));
+ return False;
}
- sprintf(&gscom[strlen(gscom)],
- "%s -r72x72 -dSAFER -sDEVICE=%s -g%dx%d -sOutputFile=%s -q - > %s 2>&1",
- appres.ghostscript, driver, wid, ht, pixnam, errnam);
+ sprintf(gscom,
+ "%s -r72x72 -sDEVICE=%s -g%dx%d -sOutputFile=%s -dDELAYSAFER -c '<< /PermitFileReading [ (%s)] >> setuserparams .locksafe' -dSAFER -q - > %s 2>&1",
+ appres.ghostscript, driver, wid, ht, pixnam, psnam, errnam);
if (appres.DEBUG)
fprintf(stderr,"calling: %s\n",gscom);
if ((gsfile = popen(gscom, "w")) == 0) {

14
38_formatstring.patch Normal file
View file

@ -0,0 +1,14 @@
From: Roland Rosenfeld <roland@debian.org>
Subject: Fix format string error with hardening.
--- a/w_msgpanel.c
+++ b/w_msgpanel.c
@@ -588,7 +588,7 @@
strcat(tmpstr,"\n");
if (update_figs) {
- fprintf(stderr,tmpstr);
+ fprintf(stderr, "%s", tmpstr);
} else {
/* append this message to the file message widget string */
block.firstPos = 0;

View file

@ -1,2 +1,2 @@
SHA512 (mcj-xfig-ce9782a404b6a527393839369aac13dcfb66ff16.zip) = a0d483d77edb16d869596a53f89783efd232832b4447089227f34ff552836209f595e5cc9f179242386e85f6f8378607433913720aab29b9d69a2a4007404b47
SHA512 (xfig-icons.tar.gz) = f7d9b314d57994d479712740dcac4a2c924ddacea028db1c6cdeef36fb7d846885c45d21499f7453c750c265eeb5877e4b032454911ce91667ccc550cb2112e5
499b0ce103a6b353453bf7e327f9a3b9 xfig.3.2.5b.full.tar.gz
f58e3bde288d623c826e1784ebb45de0 xfig-icons.tar.gz

View file

@ -0,0 +1,37 @@
diff -up xfig.3.2.5b/Imakefile.fed xfig.3.2.5b/Imakefile
--- xfig.3.2.5b/Imakefile.fed 2012-08-12 16:54:00.102765148 +0200
+++ xfig.3.2.5b/Imakefile 2012-08-12 16:57:32.883846828 +0200
@@ -45,12 +45,12 @@ XCOMM Don't set the DESTDIR variable unl
XCOMM different tree than the "correct" tree that your X system expects. The usual
XCOMM purpose of DESTDIR is to test an install process by installing in a benign area.
-XCOMM XAPPLOADDIR = /home/user/xfig
+XAPPLOADDIR = /usr/share/X11/app-defaults
XCOMM Comment out the following definition for XAW3D if you don't to want to use
XCOMM the 3d Athena Widget Set
-#define XAW3D
+XCOMM #define XAW3D
#ifdef XAW3D
XAWLIB = -lXaw3d
@@ -169,15 +169,14 @@ XCOMM be sure to comment out the second
XCOMM XFIGLIBDIR = $(LIBDIR)
XCOMM use this if you want the multi-key data base file in the standard X11 tree
-XFIGLIBDIR = $(LIBDIR)/xfig
+XFIGLIBDIR = /usr/share/xfig
XCOMM XFIGDOCDIR tells where the html and pdf documentation should go
-XCOMM XFIGDOCDIR = $(DOCDIR)/xfig
-XFIGDOCDIR = /usr/local/xfig/doc
+XFIGDOCDIR = /usr/share/doc/xfig
XCOMM MANDIR tells where the standard man pages should go (no need to change it
XCOMM if you want the man pages installed in the standard place on your system
-MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
+MANDIR = /usr/share/man/man1
XCOMM MANDIR = /usr/local/xfig/man
XCOMM If your system doesn't have strstr undefine the following definition

View file

@ -0,0 +1,21 @@
diff -up xfig.3.2.5a/Imakefile.no-Xaw3d xfig.3.2.5a/Imakefile
--- xfig.3.2.5a/Imakefile.no-Xaw3d 2009-03-27 16:33:46.000000000 +0100
+++ xfig.3.2.5a/Imakefile 2009-03-27 16:35:06.000000000 +0100
@@ -50,7 +50,7 @@ XAPPLOADDIR = /usr/share/X11/app-default
XCOMM Comment out the following definition for XAW3D if you don't to want to use
XCOMM the 3d Athena Widget Set
-XCOMM #define XAW3D
+#define XAW3D
#ifdef XAW3D
XAWLIB = -lXaw3d
@@ -60,7 +60,7 @@ XCOMM Uncomment the following if you hav
XCOMM some new features, including "Tips", which replace xfig's "help balloons"
XCOMM NOTE: This is the default for many X systems now.
-XCOMM #define XAW3D1_5E
+#define XAW3D1_5E
#ifdef XAW3D1_5E
DUSEXAW3D = -DXAW3D -DXAW3D1_5E

79
xfig-3.2.5-urwfonts.patch Normal file
View file

@ -0,0 +1,79 @@
--- xfig.3.2.4/u_fonts.c 2002-09-09 13:36:58.000000000 -0400
+++ new-xfig-3.2.4/u_fonts.c 2006-10-11 00:29:07.000000000 -0400
@@ -22,41 +22,41 @@
/* X11 font names */
struct _xfstruct x_fontinfo[NUM_FONTS] = {
- {"-*-times-medium-r-normal--", (struct xfont*) NULL},
- {"-*-times-medium-i-normal--", (struct xfont*) NULL},
- {"-*-times-bold-r-normal--", (struct xfont*) NULL},
- {"-*-times-bold-i-normal--", (struct xfont*) NULL},
- {"-*-avantgarde-book-r-normal--", (struct xfont*) NULL},
- {"-*-avantgarde-book-o-normal--", (struct xfont*) NULL},
- {"-*-avantgarde-demi-r-normal--", (struct xfont*) NULL},
- {"-*-avantgarde-demi-o-normal--", (struct xfont*) NULL},
- {"-*-bookman-light-r-normal--", (struct xfont*) NULL},
- {"-*-bookman-light-i-normal--", (struct xfont*) NULL},
- {"-*-bookman-demi-r-normal--", (struct xfont*) NULL},
- {"-*-bookman-demi-i-normal--", (struct xfont*) NULL},
- {"-*-courier-medium-r-normal--", (struct xfont*) NULL},
- {"-*-courier-medium-o-normal--", (struct xfont*) NULL},
- {"-*-courier-bold-r-normal--", (struct xfont*) NULL},
- {"-*-courier-bold-o-normal--", (struct xfont*) NULL},
- {"-*-helvetica-medium-r-normal--", (struct xfont*) NULL},
- {"-*-helvetica-medium-o-normal--", (struct xfont*) NULL},
- {"-*-helvetica-bold-r-normal--", (struct xfont*) NULL},
- {"-*-helvetica-bold-o-normal--", (struct xfont*) NULL},
- {"-*-helvetica-medium-r-narrow--", (struct xfont*) NULL},
- {"-*-helvetica-medium-o-narrow--", (struct xfont*) NULL},
- {"-*-helvetica-bold-r-narrow--", (struct xfont*) NULL},
- {"-*-helvetica-bold-o-narrow--", (struct xfont*) NULL},
- {"-*-new century schoolbook-medium-r-normal--", (struct xfont*) NULL},
- {"-*-new century schoolbook-medium-i-normal--", (struct xfont*) NULL},
- {"-*-new century schoolbook-bold-r-normal--", (struct xfont*) NULL},
- {"-*-new century schoolbook-bold-i-normal--", (struct xfont*) NULL},
- {"-*-palatino-medium-r-normal--", (struct xfont*) NULL},
- {"-*-palatino-medium-i-normal--", (struct xfont*) NULL},
- {"-*-palatino-bold-r-normal--", (struct xfont*) NULL},
- {"-*-palatino-bold-i-normal--", (struct xfont*) NULL},
- {"-*-symbol-medium-r-normal--", (struct xfont*) NULL},
- {"-*-itc zapf chancery-medium-i-normal--", (struct xfont*) NULL},
- {"-*-itc zapf dingbats-*-*-*--", (struct xfont*) NULL},
+ {"-urw-nimbus roman no9 l-medium-r-normal--", (struct xfont*) NULL},
+ {"-urw-nimbus roman no9 l-medium-i-normal--", (struct xfont*) NULL},
+ {"-urw-nimbus roman no9 l-bold-r-normal--", (struct xfont*) NULL},
+ {"-urw-nimbus roman no9 l-bold-i-normal--", (struct xfont*) NULL},
+ {"-urw-urw gothic l-medium-r-normal--", (struct xfont*) NULL},
+ {"-urw-urw gothic l-medium-o-normal--", (struct xfont*) NULL},
+ {"-urw-urw gothic l-semibold-r-normal--", (struct xfont*) NULL},
+ {"-urw-urw gothic l-semibold-o-normal--", (struct xfont*) NULL},
+ {"-urw-urw bookman l-medium-r-normal--", (struct xfont*) NULL},
+ {"-urw-urw bookman l-medium-i-normal--", (struct xfont*) NULL},
+ {"-urw-urw bookman l-bold-r-normal--", (struct xfont*) NULL},
+ {"-urw-urw bookman l-bold-i-normal--", (struct xfont*) NULL},
+ {"-urw-nimbus mono l-medium-r-normal--", (struct xfont*) NULL},
+ {"-urw-nimbus mono l-medium-o-normal--", (struct xfont*) NULL},
+ {"-urw-nimbus mono l-bold-r-normal--", (struct xfont*) NULL},
+ {"-urw-nimbus mono l-bold-o-normal--", (struct xfont*) NULL},
+ {"-urw-nimbus sans l-medium-r-normal--", (struct xfont*) NULL},
+ {"-urw-nimbus sans l-medium-i-normal--", (struct xfont*) NULL},
+ {"-urw-nimbus sans l-bold-r-normal--", (struct xfont*) NULL},
+ {"-urw-nimbus sans l-bold-i-normal--", (struct xfont*) NULL},
+ {"-urw-nimbus sans l condensed-medium-r-condensed--", (struct xfont*) NULL},
+ {"-urw-nimbus sans l condensed-medium-i-condensed--", (struct xfont*) NULL},
+ {"-urw-nimbus sans l condensed-bold-r-condensed--", (struct xfont*) NULL},
+ {"-urw-nimbus sans l condensed-bold-i-condensed--", (struct xfont*) NULL},
+ {"-urw-century schoolbook l-medium-r-normal--", (struct xfont*) NULL},
+ {"-urw-century schoolbook l-medium-i-normal--", (struct xfont*) NULL},
+ {"-urw-century schoolbook l-bold-r-normal--", (struct xfont*) NULL},
+ {"-urw-century schoolbook l-bold-i-normal--", (struct xfont*) NULL},
+ {"-urw-urw palladio l-medium-r-normal--", (struct xfont*) NULL},
+ {"-urw-urw palladio l-medium-i-normal--", (struct xfont*) NULL},
+ {"-urw-urw palladio l-bold-r-normal--", (struct xfont*) NULL},
+ {"-urw-urw palladio l-bold-i-normal--", (struct xfont*) NULL},
+ {"-urw-standard symbols l-medium-r-normal--", (struct xfont*) NULL},
+ {"-urw-urw chancery l-medium-i-normal--", (struct xfont*) NULL},
+ {"-urw-dingbats-medium-r-normal--", (struct xfont*) NULL},
};
/* Use the following font names for any font that doesn't exist in the table above.

View file

@ -0,0 +1,36 @@
diff -up xfig.3.2.5a/Fig.ad~ xfig.3.2.5a/Fig.ad
--- xfig.3.2.5a/Fig.ad~ 2007-04-14 04:17:24.000000000 +0200
+++ xfig.3.2.5a/Fig.ad 2009-03-27 15:15:27.000000000 +0100
@@ -5,6 +5,10 @@
! some sample settings you may want to change
+! If the following resource is set to false, xfig will use metric units
+! by default.
+Fig.inches: false
+
! The following fixes a problem that some window managers have
! with xfig continually resizing itself
@@ -23,18 +27,16 @@
! Browser - put your favorite browser here.
! This is for viewing the xfig html reference.
-! For firefox, this command will open the help pages in a running firefox,
-! or start a new netscape if one isn't already running
-Fig.browser: firefox -remote 'openFile(%f)' || firefox %f
+Fig.browser: xdg-open %f
! pdfviewer - put your favorite pdf viewer here.
! This is for viewing the xfig how-to guide and man pages
-Fig.pdfviewer: xpdf %f
+Fig.pdfviewer: xdg-open %f
! Spell check program - put your favorite spelling check program here.
! It must write the misspelled words to standard output.
-Fig.spellcheckcommand: spell %f
+Fig.spellcheckcommand: enchant -l %f
! delay before spinner automatically counts when pressed (milliseconds)
Fig.spinner_delay: 1000

47
xfig.desktop Normal file
View file

@ -0,0 +1,47 @@
[Desktop Entry]
Encoding=UTF-8
Categories=Graphics;
MimeType=image/fig;image/x-xfig;
Exec=xfig
Icon=xfig
Type=Application
Name=Xfig
Name[eo]=XDesegno
Name[et]=Ffig
Name[ja]=xfig
Name[no]=X-figur
Comment=Xfig drawing application
Comment[bg]=Xfig ïðîãðàìà çà ðèñóâàíå
Comment[ca]=Aplicació de dibuix Xfig
Comment[cs]=Aplikace pro kreslení vektorových obrázků
Comment[da]=Xfig tegneprogram
Comment[de]=Xfig-Zeichenprogramm
Comment[el]=Xfig
Comment[eo]=Desegnilo "Xfig"
Comment[es]=Aplicación de diseño vectorial (objetos)
Comment[et]=XFig joonistusprogramm
Comment[fi]=Xfig vektoripiirto-ohjelma
Comment[fr]=Programme de dessin objet Xfig
Comment[gl]=Aplicación de debuxo (obxectos)
Comment[he]=Xfig רויצה םושיי
Comment[hr]=Program za crtanje
Comment[hu]=Rajzolóprogram
Comment[is]=Hlutbundið teikniforrit
Comment[it]=Applicazione di disegno Xfig
Comment[lt]=Xfig braižymo programa
Comment[mk]=Едноставна апликација за векторско цртање
Comment[nl]=Xfig-tekenprogramma
Comment[no]=Xfig-tegneprogram
Comment[no_NY]=Teikneprogrammet Xfig
Comment[pl]=Aplikacja do kreślenia
Comment[pt]=Aplicação de desenho
Comment[ro]=Program de desenare vectorială
Comment[ru]=Приложения для рисования векторной графики
Comment[sk]=Xfig aplikácia pre kreslenie vektorových obrázkov
Comment[sl]=Program za risanje Xfig
Comment[sr]=Xfig prgram za vektorsko crtanje
Comment[sv]=Xfig ritprogram
Comment[ta]=Xfig Ũþø ÀÂýÀ¡Î
Comment[tr]=Xfig çizim uygulaması
Comment[uk]=Xfig
Comment[zh_CN.GB2312]=Xfig 绘图应用程序

View file

@ -1,5 +0,0 @@
addFilter("W: invalid-url Source1")
addFilter("W: no-%check-section")
addFilter("W: files-duplicate /usr/share/")
addFilter("E: non-executable-script /usr/share/xfig/Libraries/Maps/")
addFilter("E: spelling-error")

7
xfig.sh Normal file
View file

@ -0,0 +1,7 @@
#!/bin/bash
if [ -x /usr/bin/xfig-Xaw3d ]; then
exec xfig-Xaw3d "$@"
else
exec xfig-plain "$@"
fi

625
xfig.spec
View file

@ -1,27 +1,39 @@
%global commit ce9782a404b6a527393839369aac13dcfb66ff16
%global commitdate 20250317
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%define app_defaults_dir %{_datadir}/X11/app-defaults
Summary: An X Window System tool for drawing basic vector graphics
Name: xfig
Version: 3.2.9a
Release: 3.%{commitdate}git%{shortcommit}%{?dist}
Version: 3.2.5
Release: 33.b%{?dist}
License: MIT
URL: https://en.wikipedia.org/wiki/Xfig
#Source0: http://downloads.sourceforge.net/mcj/xfig-%%{version}.tar.xz
Source0: https://sourceforge.net/code-snapshots/git/m/mc/mcj/xfig.git/mcj-xfig-%{commit}.zip
Group: Applications/Multimedia
URL: http://www.xfig.org/
Source0: http://downloads.sourceforge.net/mcj/xfig.%{version}b.full.tar.gz
Source1: xfig-icons.tar.gz
Source2: xfig.desktop
Source3: xfig.sh
Patch0: xfig-3.2.5a-default-apps.patch
Patch1: xfig-3.2.5-Imakefile.patch
Patch2: xfig-3.2.5-enable-Xaw3d.patch
Patch3: xfig-3.2.5-urwfonts.patch
Patch4: 03_usr_share.patch
Patch5: 12_network_images.patch
Patch6: 13_remove_extra_libs.patch
Patch7: 30_figparserstack.patch
Patch8: 31_spelling.patch
Patch9: 32_papersize_b1.patch
Patch10: 33_pdfimport_mediabox.patch
Patch11: 35_CVE-2010-4262.patch
Patch12: 36_libpng15.patch
Patch13: 37_fix-eps-reading.patch
Patch14: 38_formatstring.patch
BuildRequires: make
BuildRequires: gcc libtool
BuildRequires: transfig
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libtiff-devel
BuildRequires: imake
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXft-devel
BuildRequires: libXaw-devel
BuildRequires: libXext-devel
BuildRequires: libXi-devel
@ -29,22 +41,13 @@ BuildRequires: libXmu-devel
BuildRequires: libXpm-devel
BuildRequires: libXt-devel
BuildRequires: Xaw3d-devel
BuildRequires: man2html-core ImageMagick
# For eps preview generation
Requires: ghostscript
Requires: transfig
# Used in the UI
Requires: xorg-x11-fonts-misc
# For scalable fonts, inc. Bookman, New Century Schoolbook and Palatino
Requires: urw-base35-fonts-legacy
BuildRequires: desktop-file-utils
# We used to have seperate Xaw3d and non Xaw3d pkgs, now we only have Xaw3d
Obsoletes: %{name}-common < %{version}-%{release}
Provides: %{name}-common = %{version}-%{release}
Obsoletes: %{name}-plain < %{version}-%{release}
Provides: %{name}-plain = %{version}-%{release}
Obsoletes: %{name}-Xaw3d < %{version}-%{release}
Provides: %{name}-Xaw3d = %{version}-%{release}
Requires: %{name}-common = %{version}-%{release}
Provides: %{name}-executable = %{version}-%{release}
# Xaw3d used to be the one in a subpackage, now the plain Xaw version is
Obsoletes: %{name}-Xaw3d <= 3.2.5-7.fc8
Provides: %{name}-Xaw3d = %{version}-%{release}
%description
Xfig is an X Window System tool for creating basic vector graphics,
@ -57,201 +60,483 @@ You should install xfig if you need a simple program to create vector
graphics.
%package plain
Summary: Plain Xaw version of xfig
Group: Applications/Multimedia
Requires: %{name}-common = %{version}-%{release}
Provides: %{name}-executable = %{version}-%{release}
%description plain
Plain Xaw version of xfig, an X Window System tool for creating basic vector
graphics, including bezier curves, lines, rulers and more. The normal xfig
package uses the more modern / prettier looking Xaw3d toolkit, whereas this
version uses the very basic Xaw toolkit. Unless you really know you want this
version you probably don't want this version.
%package common
Summary: Common xfig files
Group: Applications/Multimedia
Requires: transfig >= 1:3.2.5, xdg-utils, enchant, urw-fonts
Requires: hicolor-icon-theme
Requires: xorg-x11-fonts-base
# So that this will get uninstalled together with xfig / xfig-Xaw3d
Requires: %{name}-executable = %{version}-%{release}
Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils
%description common
Files common to both the plain Xaw and the Xaw3d version of xfig.
%prep
%autosetup -p1 -a 1 -n mcj-xfig-%{commit}
for i in doc/html/japanese/button_frame.fig doc/html/japanese/japanese.ps \
doc/html/animate.js; do
sed -i.orig 's/\r//' $i; touch -r $i.orig $i; rm $i.orig
done
autoreconf -i
%setup -q -n xfig.%{version}b -a 1
%patch0 -p1
%patch1 -p1
%patch2 -p1 -b .no-Xaw3d
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
iconv -f ISO-8859-1 -t UTF8 CHANGES > tmp; touch -r CHANGES tmp; mv tmp CHANGES
rm Doc/html/images/sav1a0.tmp
chmod -x `find -type f`
%build
# Fedora's Xaw3d is built with -DXAW_ARROW_SCROLLBARS
export CFLAGS="-DXAW_ARROW_SCROLLBARS $RPM_OPT_FLAGS -fno-strength-reduce -fno-strict-aliasing"
%configure
%make_build
# First build the Xaw3d version
xmkmf
# make sure cmdline option parsing still works despite us renaming the binary
sed -i 's/"xfig"/"xfig-Xaw3d"/' main.c
make CDEBUGFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fno-strength-reduce -fno-strict-aliasing"
mv xfig xfig-Xaw3d
make distclean
# And then build the normal Xaw version
mv Imakefile.no-Xaw3d Imakefile
xmkmf
# make sure cmdline option parsing still works despite us renaming the binary
sed -i 's/"xfig-Xaw3d"/"xfig-plain"/' main.c
make CDEBUGFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fno-strength-reduce -fno-strict-aliasing"
%install
%make_install INSTALL="install -p"
cp -p README CHANGES FIGAPPS $RPM_BUILD_ROOT%{_docdir}/%{name}
make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install.all
install -p -m 644 CHANGES README LATEX.AND.XFIG* FIGAPPS \
$RPM_BUILD_ROOT%{_docdir}/%{name}
rm -r $RPM_BUILD_ROOT%{_datadir}/pixmaps
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/{16x16,32x32,64x64}/apps
convert %{name}16x16.xpm \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
convert %{name}32x32.xpm \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
convert %{name}64x64.xpm \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
# remove the map generation scripts, these are for xfig developers only
rm $RPM_BUILD_ROOT%{_datadir}/%{name}/Libraries/Maps/{USA,Canada}/assemble
# remove app-defaults symlink which gets installed
rm $RPM_BUILD_ROOT%{_prefix}/lib*/X11/app-defaults
# install the Xaw3d version and the wrapper for the .desktop file
mv $RPM_BUILD_ROOT%{_bindir}/%{name} $RPM_BUILD_ROOT%{_bindir}/%{name}-plain
install -p -m 755 %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/%{name}
install -m 755 %{name}-Xaw3d $RPM_BUILD_ROOT%{_bindir}
install -D -p -m 644 %{name}16x16.xpm \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/%{name}.xpm
install -D -p -m 644 %{name}32x32.xpm \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.xpm
install -D -p -m 644 %{name}64x64.xpm \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.xpm
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
desktop-file-install --vendor fedora \
--dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE2}
%post common
update-desktop-database &> /dev/null || :
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun common
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 common
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files
%{_bindir}/%{name}-Xaw3d
%files plain
%{_bindir}/%{name}-plain
%files common
%doc %{_docdir}/%{name}
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_mandir}/man1/%{name}.1*
%{_datadir}/X11/app-defaults/Fig
%{_datadir}/metainfo/org.xfig.xfig.metainfo.xml
%{_datadir}/applications/org.xfig.xfig.desktop
%{_datadir}/icons/hicolor/??x??/apps/%{name}.png
%{_mandir}/*/*
%{app_defaults_dir}/*
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/icons/hicolor/??x??/apps/%{name}.xpm
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.9a-3.20250317gitce9782a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Sun Aug 12 2012 Hans de Goede <hdegoede@redhat.com> - 3.2.5-33.b
- Re-organize / consolidate patches
- Add a bunch of patches (minor bug-fixes) from the Debian package
- Add better icons from the Debian package
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.9a-2.20250317gitce9782a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Sun Aug 12 2012 Hans de Goede <hdegoede@redhat.com> - 3.2.5-32.b
- Fix a stack overflow when importing 1.3 files (CVE-2009-4227) (rhbz#543905)
* Wed Aug 6 2025 Hans de Goede <hans@hansg.org> - 3.2.9a-1.20250317gitce9782a
- Update to 3.2.9a + latest git changes to fix build with -std=c11
- Switch to upstream appdata/metainfo and desktop file
- Drop all patches (all upstreamed)
- Resolves: rhbz#2341567
- Resolves: rhbz#2385740
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.5-31.b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.9-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sun Feb 26 2012 Orion Poplawski <orion@cora.nwra.com> - 3.2.5-30.b
- Rebuild with Xaw3d 1.6.1
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.9-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Tue Feb 14 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 3.2.5-29.b
- Add patch from Debian for libpng 1.5
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.9-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.5-28.b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Feb 26 2024 Hans de Goede <hdegoede@redhat.com> - 3.2.9-4
- Fix missing Dingbats and Symbol glyphs
- Resolves: rhbz#2260359
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 3.2.5-27.b
- Rebuild for new libpng
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.9-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.5-26.b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Thu Jan 18 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.2.9-2
- Backport upstream patches for upstream 2 issues
- Fix exporting only active layers
- Sanitize a call to realloc (redhat #2252679)
* Mon Dec 6 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.2.5-25.b
- Fix buffer overflow when opening malicious fig files
* Sat Aug 26 2023 Ranjan Maitra <aarem@fedoraproject.org> - 3.2.9-1
- New upstream release 3.2.9
* Thu Nov 25 2010 Hans de Goede <hdegoede@redhat.com> 3.2.5-24.b
- Fix importing of eps files (#657290)
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.8b-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Sep 30 2009 Hans de Goede <hdegoede@redhat.com> 3.2.5-23.b
- New upstream 3.2.5b release
- Drop many merged patches
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.8b-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.5-22.a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.8b-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sun Jun 28 2009 Caolán McNamara <caolanm@redhat.com> 3.2.5-21.a
- Resolves: rhbz#506791 make xfig spellchecking work
* Mon Oct 11 2021 Hans de Goede <hdegoede@redhat.com> - 3.2.8b-1
- New upstream release 3.2.8b
* Wed Jun 3 2009 Hans de Goede <hdegoede@redhat.com> 3.2.5-20.a
- Fix eps preview (#503911)
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.8a-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Apr 8 2009 Hans de Goede <hdegoede@redhat.com> 3.2.5-19.a
- Fix crash when printing (#494193), thanks to Ian Dall for the patch
* Sat May 29 2021 Hans de Goede <hdegoede@redhat.com> - 3.2.8a-1
- New upstream release 3.2.8a
* Fri Mar 27 2009 Hans de Goede <hdegoede@redhat.com> 3.2.5-18.a
- Rebase to new upstream 3.2.5a release, this was made available to me by
the Debian maintainer who is in contact with upstream, which appearantly
is still somewhat alive (but not alive enough to put the tarbal on the
homepage ??)
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.7b-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sun Mar 15 2009 Hans de Goede <hdegoede@redhat.com> 3.2.5-17
- Add various patches from Debian (doc updates, new figures in the lib,
better fix for modepanel resizing)
- Do not crash when inserting a character from the charmap into a text string
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.7b-4
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sun Mar 15 2009 Hans de Goede <hdegoede@redhat.com> 3.2.5-16
- Fix Text size field inserts characters on left instead of right (#490257)
- Fix xfig-Xaw3d does not display messages in message panel (#490259)
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.7b-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.5-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.7b-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sun Feb 22 2009 Hans de Goede <hdegoede@redhat.com> 3.2.5-14
- Add missing Requires: xorg-x11-fonts-base (#486701)
* Thu Jan 16 2020 Hans de Goede <hdegoede@redhat.com> - 3.2.7b-1
- New upstream release 3.2.7b
* Mon Nov 10 2008 Stepan Kasal <skasal@redhat.com> - 3.2.5-13
- fix the Obsoletes tag to <= 3.2.5-7.fc8, which is the last
release with Xaw3d subpackage
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.7a-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Tue Nov 4 2008 Hans de Goede <hdegoede@redhat.com> 3.2.5-12
- Various small specfile cleanups from merge review
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.7a-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Jul 14 2008 Ian Hutchinson <ihutch@mit.edu> 3.2.5-11
- Fix incorrect height of modepanel.
* Fri Jan 11 2019 Hans de Goede <hdegoede@redhat.com> - 3.2.7a-2
- Fix spline drawing (rhbz#1665237)
* Thu Apr 3 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 3.2.5-10
- Fix missing prototype compiler warnings
* Mon Oct 29 2018 Hans de Goede <hdegoede@redhat.com> - 3.2.7a-1
- New upstream release 3.2.7a
- Add Requires: transfig to make sure esp export works (rhbz#1642033)
- Switch back to URW fonts so that Bookman, New Century Schoolbook and
Palatino work again. This uses the old version of the URW fonts which are
now packaged as urw-base35-fonts-legacy (rhbz#1523624, rhbz#1551219)
- Trim the changelog
* Thu Feb 28 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 3.2.5-9
- Fix cmdline parsing (broken by renaming the binary) (bz 435097)
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.6a-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.2.5-8
- Autorebuild for GCC 4.3
* Sat Mar 03 2018 Hans de Goede <hdegoede@redhat.com> - 3.2.6a-7
- Fix font issues take 2 (rhbz#1523624) :
- It turns out the new urw fonts are completely unusuable as X11 core fonts,
stop using them for now (see bug rhbz#1551219)
- Add a patch to use the fallback fonts for non-scalable fonts too, so that
we at least show something somewhat reasonable for Bookman, New Century
Schoolbook and Palatino
- This means that display of Zapf Chancery and Zapf Dingbats currently
falls back to the "fixed" font, which is completely wrong for Dingbats
* Wed Dec 12 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 3.2.5-7
- Fix xfig crashing when zooming in a lot (bz 420411)
* Thu Mar 01 2018 Hans de Goede <hdegoede@redhat.com> - 3.2.6a-6
- Fix font issues (rhbz#1523624) :
- Adjust xfig-3.2.5-urwfonts.patch for new font names in urw-base35-fonts
- Except for the symbols font, use the old un-scalable Adobe PCF Symbol font
for now as StandardSymbolsPS.otf from urw-base35-fonts is currently broken
- Add a patch to deal with some fonts being scalable, while Symbol is not
- Note the dingbats font is also broken in urw-base35-fonts, but there is no
replacement for it, so that font is still broken, see rhbz#1534206
- ghostscript-core no longer exists, instead require ghostscript (rhbz#1536581)
- Remove obsolete icon-cache and desktop-database scriptlets
- Add a patch from Debian fixing some issues with arrows
* Sat Nov 17 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 3.2.5-6
- Put the Xaw3d version in the main xfig package, put the plain Xaw version
in a -plain subpackage
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.6a-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Nov 16 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 3.2.5-5
- Also compile a version against Xaw3d instead of plain Xaw, available in the
new xfig-Xaw3d package
- Various specfile cleanups for packaging guidelines compliance
- Remove spurious executable permissions on various files (bz 247424)
- Apply patch fixing problems with xfig not finding fonts (bz 210278)
* Tue Nov 07 2017 Adam Jackson <ajax@redhat.com> - 3.2.6a-4
- Drop unneeded BuildRequires: imake
* Thu Nov 15 2007 Than Ngo <than@redhat.com> 3.2.5-4
- fix #201992, xfig crashes in the edit function
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.6a-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Nov 15 2007 Than Ngo <than@redhat.com> 3.2.5-3
- fix #201992, xfig crashes in the edit function
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.6a-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Oct 05 2007 Than Ngo <than@redhat.com> - 3.2.5-2
- rh#313321, use xdg-open
* Mon Feb 13 2017 Hans de Goede <hdegoede@redhat.com> - 3.2.6a-1
- New upstream release 3.2.6a
* Mon Apr 16 2007 Than Ngo <than@redhat.com> - 3.2.5-1.fc7
- 3.2.5
* Sun Feb 12 2017 Hans de Goede <hdegoede@redhat.com> - 3.2.6-5
- Build with -DGSBIT to fix eps file preview generation (rhbz#1418560)
- Fix broken screenshot links in appdata
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.2.4-21.1
- rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue May 16 2006 Than Ngo <than@redhat.com> 3.2.4-21
- fix #191816, Xaw3d build problem
* Fri Aug 12 2016 Hans de Goede <hdegoede@redhat.com> - 3.2.6-3
- Switch to non -full (smaller) version of upstream sources,
we package transfig seperately so we do not need the -full version
* Fri May 05 2006 Than Ngo <than@redhat.com> 3.2.4-20
- fix #169330, wrong docdir
- fix #187902, no parameter negotiation for xfig
- fix #182451, switch xfig's pdf viewer to evince
* Thu Aug 11 2016 Hans de Goede <hdegoede@redhat.com> - 3.2.6-2
- Make using metric units the default again
* Tue Apr 25 2006 Adam Jackson <ajackson@redhat.com> 3.2.4-19
- Rebuild for updated imake build rules
* Thu Aug 11 2016 Hans de Goede <hdegoede@redhat.com> - 3.2.6-1
- New upstream release 3.2.6
- Drop all patches, all fixes are upstream now
- Drop -plain subpackage, only build Xaw3d version
- Update appdata screenshots for xfig.org being gone
(point to http://epb.lbl.gov/xfig/ for now)
* Tue Apr 04 2006 Than Ngo <than@redhat.com> 3.2.4-18
- no parameter negotiation for xfig, fix #187902
* Sun Feb 28 2016 Hans de Goede <hdegoede@redhat.com> - 3.2.5-48.c
- Bring in various bugfixes from Debian
- Convert icons to png
- Add appdata
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.2.4-17.2
- bump again for double-long bug on ppc(64)
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.5-47.c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.2.4-17.1
- rebuilt for new gcc4.1 snapshot and glibc changes
* Wed Dec 21 2005 Than Ngo <than@redhat.com> 3.2.4-17
- workaround for utf8
* Sun Dec 18 2005 Than Ngo <than@redhat.com> 3.2.4-16
- add correct app-defaults directory
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
* Tue Nov 15 2005 Than Ngo <than@redhat.com> 3.2.4-15
- fix for modular X
* Mon Oct 24 2005 Than Ngo <than@redhat.com> 3.2.4-14
- enable xpm support #158422
* Tue Jul 19 2005 Than Ngo <than@redhat.com> 3.2.4-13
- buildrequires on xorg-x11-devel
* Mon Jul 18 2005 Than Ngo <than@redhat.com> 3.2.4-12
- fix another buffer overflow #163413
* Thu May 19 2005 Than Ngo <than@redhat.com> 3.2.4-11
- apply patch to fix buffer overflow #158088
* Mon Mar 21 2005 Than Ngo <than@redhat.com> 3.2.4-10
- fix font warning #116542
* Mon Mar 07 2005 Than Ngo <than@redhat.com> 3.2.4-9
- cleanup
* Sat Mar 05 2005 Than Ngo <than@redhat.com> 3.2.4-8
- rebuilt
* Wed Feb 09 2005 Than Ngo <than@redhat.com> 3.2.4-7
- rebuilt
* Sat Sep 25 2004 Than Ngo <than@redhat.com> 3.2.4-6
- add mimetype spec #131629
* Mon Sep 13 2004 Than Ngo <than@redhat.com> 3.2.4-5
- fix desktop file #131983
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Tue Jun 3 2003 Jeff Johnson <jbj@redhat.com>
- add explicit epoch's where needed.
* Tue May 6 2003 Than Ngo <than@redhat.com> 3.2.4-1
- 3.2.4
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
* Thu Nov 7 2002 Than Ngo <than@redhat.com> 3.2.3d-11
- rebuild in new enviroment
* Thu Aug 22 2002 Than Ngo <than@redhat.com> 3.2.3d-10
- close should get fd, not filename
* Wed Jul 31 2002 Than Ngo <than@redhat.com> 3.2.3d-9
- Fixed typo bug (bug #70347)
* Wed Jul 24 2002 Than Ngo <than@redhat.com> 3.2.3d-8
- desktop file issue (bug #69543)
* Tue Jun 25 2002 Than Ngo <than@redhat.com> 3.2.3d-7
- add patch file using mkstemp (bug #67351)
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Thu May 23 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Fri Jul 13 2001 Than Ngo <than@redhhat.com> 3.2.3d-3
- fix build dependencies (bug #48910)
* Tue Jul 03 2001 Than Ngo <than@redhat.com>
- fix export to eps when i18n set (bug #45114)
- requires transfig-3.2.3d
* Fri Jun 15 2001 Than Ngo <than@redhat.com>
- update to 3.2.3d release
* Tue Jun 12 2001 Than Ngo <than@redhat.com>
- fix to build against XFree86-4.1.0
* Tue May 29 2001 Than Ngo <than@redhat.com>
- update to 3.2.3d beta2 fixes (Bug #42597, #42556)
- fix bug when LANG is set, launching help gives a spurious error (Bug #42596)
- fix bug in resource setting (Bug #42595)
- remove some patches, which are included in 3.2.3d beta2
- fix wrong version number
- use make install.all
- fix fhs problem
* Wed May 9 2001 Bernhard Rosenkraenzer <bero@redhat.com>
- Don't require Netscape at all - use htmlview (which automatically launches
Netscape, Mozilla or Konqueror depending on what is installed/running).
No need to depend on proprietary stuff...
* Thu Apr 26 2001 Florian La Roche <Florian.LaRoche@redhat.de>
- do the same for s390x
* Sat Jan 06 2001 Florian La Roche <Florian.LaRoche@redhat.de>
- only require /usr/bin/netscape if not on S390
* Tue Dec 20 2000 Yukihiro Nakai <ynakai@redhat.com>
- Delete enable_japanese macro and set i18n default.
- Fix Japanese translation in .desktop file
* Mon Nov 20 2000 Than Ngo <than@redhat.com>
- rebuilt to fix bad dir perms
* Thu Nov 9 2000 Than Ngo <than@redhat.com>
- fixed f_read, which made xfig stop reading the file after
removing such bad objects.
* Fri Oct 13 2000 Preston Brown <pbrown@redhat.com>
- improved .desktop entry
* Thu Aug 24 2000 Yukihiro Nakai <ynakai@redhat.com>
- Add Japanese patch
* Tue Aug 08 2000 Than Ngo <than@redhat.de>
- fixed dependency problem
- fixed starting xpdf
* Mon Aug 07 2000 Than Ngo <than@redhat.de>
- fixed for using xpdf instead acroreader (Bug #15621)
- add requires: netscape, display
* Sat Aug 05 2000 Than Ngo <than@redhat.de>
- update to 3.2.3c (bugs fixed released)
- fix parse_printcap broken (Bug #11147)
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
* Fri Jun 23 2000 Than Ngo <than@redhat.de>
- xfig crash, if a menu item was clicked (Bug #12855)
* Sun Jun 18 2000 Than Ngo <than@redhat.de>
- rebuilt in the new build environment
- enable optimization
* Sat Jun 03 2000 Than Ngo <than@redhat.de>
- fix requires, xfig-3.2.3a requires transfig-2.2.3 or newer
- disable optimization -O2 (gcc-2.96 Bug) on i386
* Thu May 18 2000 Preston Brown <pbrown@redhat.com>
- fix buildroot issue in Imakefile
* Mon May 8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
- rebuild with current libXaw3d
- update to 3.2.3a
* Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
- rebuild to gzip man pages
* Fri Jan 14 2000 Preston Brown <pbrown@redhat.com>
- upgrade to beta1 of 2.2.3. Hopefully this fixes outstanding issues.
- no need for vararg fix, commented out
* Thu Sep 23 1999 Preston Brown <pbrown@redhat.com>
- add icon
- don't compile with optimization on alpha
* Mon Aug 30 1999 Preston Brown <pbrown@redhat.com>
- converted to use a .desktop file
* Fri Mar 26 1999 Michael Maher <mike@redhat.com>
- added files that were missing.
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
- auto rebuild in the new build environment (release 4)
- varargs fix
* Thu Feb 18 1999 Jeff Johnson <jbj@redhat.com>
- correct DESTDIRR typo (#962)
* Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com>
- build for glibc 2.1
* Tue Jul 7 1998 Jeff Johnson <jbj@redhat.com>
- updated to 3.2.2.
* Wed Jun 10 1998 Prospector System <bugs@redhat.com>
- translations modified for de
* Fri May 08 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
* Sat Apr 11 1998 Cristian Gafton <gafton@redhat.com>
- updated for manhattan
- buildroot
* Thu Oct 23 1997 Marc Ewing <marc@redhat.com>
- new version
- messed with config for 5.0
- updated Requires and Copyright
- added wmconfig
* Mon Jul 21 1997 Erik Troan <ewt@redhat.com>
- built against glibc