public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/xfig] epel10.2: Build with -DGSBIT to fix eps file preview generation (rhbz#1418560)
@ 2026-05-30 14:28 Hans de Goede
0 siblings, 0 replies; only message in thread
From: Hans de Goede @ 2026-05-30 14:28 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/xfig
Branch : epel10.2
Commit : b689dc394686cb30fdecf06ef9ebdcba0891114c
Author : Hans de Goede <hdegoede@redhat.com>
Date : 2017-02-12T14:04:29+01:00
Stats : +14/-7 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/xfig/c/b689dc394686cb30fdecf06ef9ebdcba0891114c?branch=epel10.2
Log:
Build with -DGSBIT to fix eps file preview generation (rhbz#1418560)
Fix broken screenshot links in appdata
---
diff --git a/xfig.appdata.xml b/xfig.appdata.xml
index de29687..52787f6 100644
--- a/xfig.appdata.xml
+++ b/xfig.appdata.xml
@@ -21,11 +21,11 @@
<url type="homepage">https://en.wikipedia.org/wiki/Xfig</url>
<url type="help">http://epb.lbl.gov/xfig/</url>
<screenshots>
- <screenshot type="default">http://epb.lbl.gov/xfig/images/screen-image.png</screenshot>
- <screenshot>http://epb.lbl.gov/xfig/images/library-icon-view.png</screenshot>
- <screenshot>http://epb.lbl.gov/xfig/images/file-panel.png</screenshot>
- <screenshot>http://epb.lbl.gov/xfig/images/color-panel.png</screenshot>
- <screenshot>http://epb.lbl.gov/xfig/images/dimline-panel.png</screenshot>
+ <screenshot type="default">http://mcj.sourceforge.net/images/screen-image.png</screenshot>
+ <screenshot>http://mcj.sourceforge.net/images/library-icon-view.png</screenshot>
+ <screenshot>http://mcj.sourceforge.net/images/file-panel.png</screenshot>
+ <screenshot>http://mcj.sourceforge.net/images/color-panel.png</screenshot>
+ <screenshot>http://mcj.sourceforge.net/images/dimline-panel.png</screenshot>
</screenshots>
<updatecontact>jwrdegoede_at_fedoraproject.org</updatecontact>
</component>
diff --git a/xfig.spec b/xfig.spec
index 50db16c..72a8ef0 100644
--- a/xfig.spec
+++ b/xfig.spec
@@ -3,7 +3,7 @@
Summary: An X Window System tool for drawing basic vector graphics
Name: xfig
Version: 3.2.6
-Release: 4%{?dist}
+Release: 5%{?dist}
License: MIT
URL: https://en.wikipedia.org/wiki/Xfig
Source0: http://downloads.sourceforge.net/mcj/xfig-%{version}.tar.xz
@@ -29,6 +29,8 @@ BuildRequires: libXt-devel
BuildRequires: Xaw3d-devel
BuildRequires: man2html-core ImageMagick
BuildRequires: desktop-file-utils libappstream-glib
+# For eps preview generation
+Requires: ghostscript-core
# We used to have seperate Xaw3d and non Xaw3d pkgs, now we only have Xaw3d
Obsoletes: %{name}-common < %{version}-%{release}
@@ -61,7 +63,8 @@ done
%build
# Fedora's Xaw3d is built with -DXAW_ARROW_SCROLLBARS
-export CFLAGS="-DXAW_ARROW_SCROLLBARS $RPM_OPT_FLAGS -fno-strength-reduce -fno-strict-aliasing"
+# Add -DGSBIT to make eps image previews work
+export CFLAGS="-DXAW_ARROW_SCROLLBARS -DGSBIT $RPM_OPT_FLAGS -fno-strength-reduce -fno-strict-aliasing"
%configure --enable-xpm-splash
make %{?_smp_mflags}
@@ -114,6 +117,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
+* 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
+
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-30 14:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-30 14:28 [rpms/xfig] epel10.2: Build with -DGSBIT to fix eps file preview generation (rhbz#1418560) Hans de Goede
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox