rebase to upstream version 3.2.9

This commit is contained in:
Zuzana Miklankova 2023-10-23 15:07:01 +02:00
parent 2254e38f51
commit 4873e6258e
No known key found for this signature in database
GPG Key ID: 46A18EF4D17103A0
4 changed files with 8 additions and 29 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@ transfig.3.2.5c.tar.gz
/fig2dev-3.2.7b.tar.xz /fig2dev-3.2.7b.tar.xz
/fig2dev-3.2.8a.tar.xz /fig2dev-3.2.8a.tar.xz
/fig2dev-3.2.8b.tar.xz /fig2dev-3.2.8b.tar.xz
/fig2dev-3.2.9.tar.xz

View File

@ -1,25 +0,0 @@
From 1b09a885a8f0309bf1170ddcf07673801c79f895 Mon Sep 17 00:00:00 2001
From: Thomas Loimer <thomas.loimer@tuwien.ac.at>
Date: Tue, 28 Sep 2021 21:58:41 +0200
Subject: [PATCH] Correct a typo causing incorrect eps import, #137
---
fig2dev/dev/readeps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fig2dev/dev/readeps.c b/fig2dev/dev/readeps.c
index a7d6008..efeb33e 100644
--- a/fig2dev/dev/readeps.c
+++ b/fig2dev/dev/readeps.c
@@ -346,7 +346,7 @@ read_eps(F_pic *pic, struct xfig_stream *restrict pic_stream, int *llx,int *lly)
}
*llx = floor(rllx);
*lly = floor(rlly);
- pic->bit_size.x = (int)(rurx - rlly);
+ pic->bit_size.x = (int)(rurx - rllx);
pic->bit_size.y = (int)(rury - rlly);
break;
}
--
2.31.1

View File

@ -1 +1 @@
SHA512 (fig2dev-3.2.8b.tar.xz) = b1f083db6c38d84e1df82c430fabda5ad13413e4d42eb20b6fd06fae5626911413c93846b7935873687b82f601e0674c3f3e1d36441dcfa1da6626bafc9d2139 SHA512 (fig2dev-3.2.9.tar.xz) = 4a92539d79027c73cd9fa53d7e960db40ae5616d3197023a98346de4727cd70b28cd7d64ba33063dbe3dcacada7e97bb0e0c595547781a4244aea8c75d43f406

View File

@ -1,12 +1,11 @@
Name: transfig Name: transfig
Version: 3.2.8b Version: 3.2.9
Release: 8%{?dist} Release: 1%{?dist}
Epoch: 1 Epoch: 1
Summary: Utility for converting FIG files (made by xfig) to other formats Summary: Utility for converting FIG files (made by xfig) to other formats
License: Xfig License: Xfig
URL: https://sourceforge.net/projects/mcj/ URL: https://sourceforge.net/projects/mcj/
Source0: http://downloads.sourceforge.net/mcj/fig2dev-%{version}.tar.xz Source0: http://downloads.sourceforge.net/mcj/fig2dev-%{version}.tar.xz
Patch1: 0001-Correct-a-typo-causing-incorrect-eps-import-137.patch
Requires: ghostscript Requires: ghostscript
Requires: bc Requires: bc
@ -58,6 +57,10 @@ mv fig2dev.1.in.new man/fig2dev.1.in
%changelog %changelog
* Mon Oct 23 2023 Zuzana Miklankova <zmiklank@redhat.com> - 1:3.2.9-1
- Updated to version 3.2.9
- Remove Patch1, this is now fixed upstream
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.2.8b-8 * Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.2.8b-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild