public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/xfig] epel10: Build with -DGSBIT to fix eps file preview generation (rhbz#1418560)
Date: Sat, 30 May 2026 14:25:56 GMT [thread overview]
Message-ID: <178015115651.1.13374483842314292841.rpms-xfig-b689dc394686@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/xfig
Branch : epel10
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
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
reply other threads:[~2026-05-30 14:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178015115651.1.13374483842314292841.rpms-xfig-b689dc394686@fedoraproject.org \
--to=hdegoede@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox