Compare commits
13 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
45f8012565 | ||
|
|
8a8a141c23 | ||
|
|
0b394da35b | ||
|
|
da28ae8028 | ||
|
|
25fb80a930 | ||
|
|
4aeded16a4 | ||
|
|
a6b2ba00eb | ||
|
|
ed4f129aa6 | ||
|
|
86a92e5fa2 | ||
| 9319ea2762 | |||
| 63b5996609 | |||
| 5ee23c3479 | |||
| bcfd9f7504 |
6 changed files with 53 additions and 104 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -10,3 +10,4 @@ xfig.3.2.5b.full.tar.gz
|
|||
/xfig-3.2.8a.tar.xz
|
||||
/xfig-3.2.8b.tar.xz
|
||||
/xfig-3.2.9.tar.xz
|
||||
/mcj-xfig-ce9782a404b6a527393839369aac13dcfb66ff16.zip
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1,2 +1,2 @@
|
|||
SHA512 (xfig-3.2.9.tar.xz) = ec33476ca4349cdc106ac2308c61f6ecd014bb7331a4fc3616c9f94b93bdc391ce9affe87139c70da88549449b45309d6d9ec78a1e8477450bda4bc370cbbc9a
|
||||
SHA512 (mcj-xfig-ce9782a404b6a527393839369aac13dcfb66ff16.zip) = a0d483d77edb16d869596a53f89783efd232832b4447089227f34ff552836209f595e5cc9f179242386e85f6f8378607433913720aab29b9d69a2a4007404b47
|
||||
SHA512 (xfig-icons.tar.gz) = f7d9b314d57994d479712740dcac4a2c924ddacea028db1c6cdeef36fb7d846885c45d21499f7453c750c265eeb5877e4b032454911ce91667ccc550cb2112e5
|
||||
|
|
|
|||
|
|
@ -1,31 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component type="desktop">
|
||||
<id>xfig.desktop</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>MIT</project_license>
|
||||
<name>Xfig</name>
|
||||
<summary>Xfig drawing application</summary>
|
||||
<description>
|
||||
<p>
|
||||
Xfig is an X Window System tool for creating basic vector graphics,
|
||||
including bezier curves, lines, rulers and more. The resulting
|
||||
graphics can be saved, printed on PostScript printers or converted to
|
||||
a variety of other formats (e.g., X11 bitmaps, Encapsulated
|
||||
PostScript, LaTeX).
|
||||
</p>
|
||||
<p>
|
||||
You should install xfig if you need a simple program to create vector
|
||||
graphics.
|
||||
</p>
|
||||
</description>
|
||||
<url type="homepage">https://en.wikipedia.org/wiki/Xfig</url>
|
||||
<url type="help">http://epb.lbl.gov/xfig/</url>
|
||||
<screenshots>
|
||||
<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>
|
||||
49
xfig.desktop
49
xfig.desktop
|
|
@ -1,49 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Categories=Graphics;
|
||||
MimeType=image/fig;image/x-xfig;
|
||||
Exec=/usr/bin/xfig %f
|
||||
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 绘图应用程序
|
||||
Terminal=false
|
||||
StartupNotify=false
|
||||
Keywords=vector;graphics;figure;drawing;
|
||||
|
|
@ -1,2 +1,5 @@
|
|||
addFilter("W: spelling-error.*")
|
||||
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")
|
||||
|
|
|
|||
69
xfig.spec
69
xfig.spec
|
|
@ -1,24 +1,23 @@
|
|||
%global app_defaults_dir %{_datadir}/X11/app-defaults
|
||||
%global commit ce9782a404b6a527393839369aac13dcfb66ff16
|
||||
%global commitdate 20250317
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
Summary: An X Window System tool for drawing basic vector graphics
|
||||
Name: xfig
|
||||
Version: 3.2.9
|
||||
Release: 1%{?dist}
|
||||
Version: 3.2.9a
|
||||
Release: 3.%{commitdate}git%{shortcommit}%{?dist}
|
||||
License: MIT
|
||||
URL: https://en.wikipedia.org/wiki/Xfig
|
||||
Source0: http://downloads.sourceforge.net/mcj/xfig-%{version}.tar.xz
|
||||
#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
|
||||
Source1: xfig-icons.tar.gz
|
||||
Source2: xfig.desktop
|
||||
Source3: xfig.appdata.xml
|
||||
|
||||
#Patch0: xfig-3.2.5a-default-apps.patch
|
||||
#Patch1: xfig-3.2.5-urwfonts.patch
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc libtool
|
||||
BuildRequires: transfig
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: libICE-devel
|
||||
BuildRequires: libSM-devel
|
||||
BuildRequires: libX11-devel
|
||||
|
|
@ -31,7 +30,6 @@ BuildRequires: libXpm-devel
|
|||
BuildRequires: libXt-devel
|
||||
BuildRequires: Xaw3d-devel
|
||||
BuildRequires: man2html-core ImageMagick
|
||||
BuildRequires: desktop-file-utils libappstream-glib
|
||||
# For eps preview generation
|
||||
Requires: ghostscript
|
||||
Requires: transfig
|
||||
|
|
@ -60,7 +58,7 @@ graphics.
|
|||
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -a 1
|
||||
%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
|
||||
|
|
@ -88,27 +86,54 @@ convert %{name}32x32.xpm \
|
|||
convert %{name}64x64.xpm \
|
||||
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
|
||||
desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE2}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
|
||||
install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/appdata
|
||||
appstream-util validate-relax --nonet \
|
||||
$RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml
|
||||
|
||||
|
||||
%files
|
||||
%doc %{_docdir}/%{name}
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/%{name}
|
||||
%{_mandir}/man1/%{name}.1*
|
||||
%{app_defaults_dir}/Fig
|
||||
%{_datadir}/appdata/%{name}.appdata.xml
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_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
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Aug 26 2023 Ranjan Maitra <aarem@fedoraproject.org> - 3.2.9
|
||||
* 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
|
||||
|
||||
* 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
|
||||
|
||||
* 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
|
||||
|
||||
* 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 Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.9-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.9-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_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
|
||||
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.9-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_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)
|
||||
|
||||
* Sat Aug 26 2023 Ranjan Maitra <aarem@fedoraproject.org> - 3.2.9-1
|
||||
- New upstream release 3.2.9
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.8b-4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue