public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/lazarus] multiple-IDE-widgetsets: Add an appdata file
@ 2026-07-23 8:18 Artur Frenszek-Iwicki
0 siblings, 0 replies; only message in thread
From: Artur Frenszek-Iwicki @ 2026-07-23 8:18 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/lazarus
Branch : multiple-IDE-widgetsets
Commit : 0e7fca86d12ceec648d19f00d01e0e24ca2a7956
Author : Artur Frenszek-Iwicki <fedora@svgames.pl>
Date : 2021-01-16T14:23:27+01:00
Stats : +57/-35 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/lazarus/c/0e7fca86d12ceec648d19f00d01e0e24ca2a7956?branch=multiple-IDE-widgetsets
Log:
Add an appdata file
---
diff --git a/lazarus-2.0.6--illegal-qualifier.patch b/lazarus-2.0.6--illegal-qualifier.patch
deleted file mode 100644
index 026e1a6..0000000
--- a/lazarus-2.0.6--illegal-qualifier.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- lazarus-2.0.6/lazarus/ide/frames/compiler_compilation_options.pas 2019-03-07 00:02:00.000000000 +0100
-+++ lazarus-2.0.6--patched/lazarus/ide/frames/compiler_compilation_options.pas 2020-02-08 12:26:26.678811589 +0100
-@@ -389,12 +389,10 @@
- Options.CreateMakefileOnBuild := chkCreateMakefile.Checked;
-
- // execute before
- Options.ExecuteBefore.Command := ExecuteBeforeCommandComboBox.Text;
-- with InputHistories.HistoryLists.GetList('BuildExecBefore',true,rltCaseSensitive) do begin
-- Assign(ExecuteBeforeCommandComboBox.Items);
-- Push(Options.ExecuteBefore.Command);
-- end;
-+ InputHistories.HistoryLists.GetList('BuildExecBefore',true,rltCaseSensitive).Assign(ExecuteBeforeCommandComboBox.Items);
-+ InputHistories.HistoryLists.GetList('BuildExecBefore',true,rltCaseSensitive).Push(Options.ExecuteBefore.Command);
-
- WriteSettingsParsers(Options.ExecuteBefore,ExecBeforeParsersCheckListBox);
-
- if Options.ExecuteBefore is TProjectCompilationToolOptions then
-@@ -415,12 +413,11 @@
- TPkgCompilerOptions(Options).SkipCompiler := chkCompilerCompile.Checked;
-
- // execute after
- Options.ExecuteAfter.Command := ExecuteAfterCommandComboBox.Text;
-- with InputHistories.HistoryLists.GetList('BuildExecAfter',true,rltCaseSensitive) do begin
-- Assign(ExecuteAfterCommandComboBox.Items);
-- Push(Options.ExecuteAfter.Command);
-- end;
-+ InputHistories.HistoryLists.GetList('BuildExecAfter',true,rltCaseSensitive).Assign(ExecuteAfterCommandComboBox.Items);
-+ InputHistories.HistoryLists.GetList('BuildExecAfter',true,rltCaseSensitive).Push(Options.ExecuteAfter.Command);
-+
- WriteSettingsParsers(Options.ExecuteAfter,ExecAfterParsersCheckListBox);
- if Options.ExecuteAfter is TProjectCompilationToolOptions then
- Options.ExecuteAfter.CompileReasons :=
- MakeCompileReasons(chkExecAfterCompile, chkExecAfterBuild, chkExecAfterRun);
diff --git a/lazarus.appdata.xml b/lazarus.appdata.xml
new file mode 100644
index 0000000..6af1525
--- /dev/null
+++ b/lazarus.appdata.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2021 Artur Frenszek-Iwicki <fedora@svgames.pl> -->
+<component type="desktop">
+<id>lazarus.desktop</id>
+ <metadata_license>CC-BY-SA-3.0</metadata_license>
+ <project_license>GPL-2.0-or-later and LGPL-2.1-or-later and MPL-1.1</project_license>
+ <name>Lazarus</name>
+ <summary>RAD IDE for Free Pascal</summary>
+ <description>
+ <p>
+ Lazarus is a Delphi-compatible cross-platform IDE for Rapid Application Development.
+ It has variety of components ready for use and a graphical form designer to easily create complex graphical user interfaces.
+ With Lazarus you can create file browsers, image viewers, database applications, graphics editing software,
+ games, 3D software, medical analysis software or any other type of software.
+ </p>
+ <p>
+ Lazarus is developed to be totally and completely API independent. Once you write your code, you just link it against the API widget set of your choice.
+ If you want to use GTK+, great! If you want it to be Gnome compliant, great! As long as the interface code for the widget set you want to use is available, you can link to it.
+ </p>
+ </description>
+ <screenshots>
+ <screenshot type="default">
+ <image>https://suve.fedorapeople.org/lazarus-dark-0.png</image>
+ </screenshot>
+ <screenshot>
+ <image>https://suve.fedorapeople.org/lazarus-light-0.png</image>
+ </screenshot>
+ <screenshot>
+ <image>https://suve.fedorapeople.org/lazarus-dark-1.png</image>
+ </screenshot>
+ <screenshot>
+ <image>https://suve.fedorapeople.org/lazarus-light-1.png</image>
+ </screenshot>
+ </screenshots>
+ <url type="homepage">https://lazarus-ide.org</url>
+ <url type="bugtracker">https://bugs.freepascal.org</url>
+ <url type="faq">https://wiki.lazarus.freepascal.org/Lazarus_Faq</url>
+ <update_contact>fedora@svgames.pl</update_contact>
+</component>
diff --git a/lazarus.spec b/lazarus.spec
index d80b7d0..482c02d 100644
--- a/lazarus.spec
+++ b/lazarus.spec
@@ -2,7 +2,7 @@ Name: lazarus
Summary: Lazarus Component Library and IDE for Freepascal
Version: 2.0.10
-Release: 4%{?dist}
+Release: 5%{?dist}
# The qt5pas version is taken from lcl/interfaces/qt5/cbindings/Qt5Pas.pro
%global qt5pas_version 2.6
@@ -13,6 +13,8 @@ License: GPLv2+ and MPLv1.1 and LGPLv2+ with exceptions
URL: http://www.lazarus-ide.org/
Source0: https://downloads.sourceforge.net/project/%{name}/Lazarus%20Zip%20_%20GZip/Lazarus%20%{version}/%{name}-%{version}-2.tar.gz
+Source100: lazarus.appdata.xml
+
Patch0: Makefile_patch.diff
Patch1: lazarus-2.0.6--disable-PascalScript-on-ppc64le.patch
@@ -22,10 +24,11 @@ BuildRequires: fpc, fpc-src
BuildRequires: gcc-c++
BuildRequires: glibc-devel
BuildRequires: gtk2-devel
+BuildRequires: libappstream-glib
+BuildRequires: make
BuildRequires: perl-generators
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtx11extras-devel
-BuildRequires: make
Requires: binutils
Requires: fpc%{?_isa}
@@ -107,6 +110,11 @@ sed 's#__LAZARUSDIR__#%{_libdir}/%{name}#;s#__FPCSRCDIR__#%{_datadir}/fpcsrc#' \
chmod 755 %{buildroot}%{_libdir}/%{name}/components/lazreport/tools/localize.sh
+install -m 755 -d %{buildroot}%{_metainfodir}
+install -m 644 %{SOURCE100} %{buildroot}%{_metainfodir}/%{name}.appdata.xml
+
+# -- Install Qt5Pas
+
pushd lazarus/lcl/interfaces/qt5/cbindings/
%make_install INSTALL_ROOT=%{buildroot}
popd
@@ -122,6 +130,10 @@ done
rm -rf %{buildroot}%{_libdir}/%{name}/lcl/interfaces/qt5/cbindings/tmp/
+%check
+appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdata.xml
+
+
%files
%{_libdir}/%{name}
%{_bindir}/%{name}-ide
@@ -134,6 +146,7 @@ rm -rf %{buildroot}%{_libdir}/%{name}/lcl/interfaces/qt5/cbindings/tmp/
%{_datadir}/applications/*%{name}.desktop
%{_datadir}/mime/packages/lazarus.xml
%{_datadir}/icons/hicolor/48x48/mimetypes/*
+%{_metainfodir}/%{name}.appdata.xml
%license lazarus/COPYING*
%doc lazarus/README.txt
%dir %{_sysconfdir}/lazarus
@@ -150,6 +163,9 @@ rm -rf %{buildroot}%{_libdir}/%{name}/lcl/interfaces/qt5/cbindings/tmp/
%changelog
+* Sat Jan 16 2021 Artur Frenszek-Iwicki <fedora@svgames.pl> - 2.0.10-5
+- Add an appdata file
+
* Mon Aug 24 2020 Artur Iwicki <fedora@svgames.pl> - 2.0.10-4
- Make the package explicitly require "make"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-23 8:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-23 8:18 [rpms/lazarus] multiple-IDE-widgetsets: Add an appdata file Artur Frenszek-Iwicki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox