Remove geany tags subpackage

Pulling in geany as a build dep makes the buildroot huge as it has to
pull in all the graphical libraries for supporting geany.

Also, I strongly suspect nobody uses this. geany users are probably used
to generating the tags themselves for the things that they need. The
only packages currently in Fedora that ship geany tags are ldc and gtkd,
and nothing else.
epel9
Kalev Lember 2 years ago
parent 8bc2f96d53
commit 2809136db0

@ -62,6 +62,8 @@ Requires: gcc
Obsoletes: ldc-druntime-devel < 1:1.23.0 Obsoletes: ldc-druntime-devel < 1:1.23.0
Obsoletes: ldc-jit-devel < 1:1.23.0 Obsoletes: ldc-jit-devel < 1:1.23.0
Obsoletes: ldc-phobos-devel < 1:1.23.0 Obsoletes: ldc-phobos-devel < 1:1.23.0
# Removed in F38
Obsoletes: ldc-phobos-geany-tags < 1:1.32.0
%description %description
LDC is a portable compiler for the D programming language with modern LDC is a portable compiler for the D programming language with modern
@ -85,20 +87,8 @@ optimization and code generation capabilities.
This package contains the Phobos D standard library and the D runtime library. This package contains the Phobos D standard library and the D runtime library.
%package phobos-geany-tags
Summary: Support for enable autocompletion in geany
Requires: %{name} = %{epoch}:%{version}-%{release}
BuildArch: noarch
BuildRequires: geany
Requires: geany
%description phobos-geany-tags
Enable autocompletion for phobos library in geany (IDE)
%prep %prep
%autosetup -n %{name}-%{version}%{?pre:-%{pre}}-src -p1 %autosetup -n %{name}-%{version}%{?pre:-%{pre}}-src -p1
# temp geany config directory for allow geany to generate tags
mkdir geany_config
%build %build
# This package appears to be failing because links to the LLVM plugins # This package appears to be failing because links to the LLVM plugins
@ -129,9 +119,6 @@ popd
%cmake_build %cmake_build
# generate geany tags
geany -c geany_config -g phobos.d.tags $(find runtime/phobos/std -name "*.d")
%install %install
%cmake_install %cmake_install
@ -139,10 +126,6 @@ geany -c geany_config -g phobos.d.tags $(find runtime/phobos/std -name "*.d")
mkdir -p %{buildroot}/%{_rpmconfigdir}/macros.d/ mkdir -p %{buildroot}/%{_rpmconfigdir}/macros.d/
install --mode=0644 %{SOURCE3} %{buildroot}%{_rpmconfigdir}/macros.d/macros.ldc install --mode=0644 %{SOURCE3} %{buildroot}%{_rpmconfigdir}/macros.d/macros.ldc
# geany tags
mkdir -p %{buildroot}/%{_datadir}/geany/tags/
install -m0644 phobos.d.tags %{buildroot}/%{_datadir}/geany/tags/
%files %files
%license LICENSE %license LICENSE
%doc README.md %doc README.md
@ -174,12 +157,10 @@ install -m0644 phobos.d.tags %{buildroot}/%{_datadir}/geany/tags/
%{_libdir}/libphobos2-ldc-debug-shared.so.%{soversion}* %{_libdir}/libphobos2-ldc-debug-shared.so.%{soversion}*
%{_libdir}/libphobos2-ldc-shared.so.%{soversion}* %{_libdir}/libphobos2-ldc-shared.so.%{soversion}*
%files phobos-geany-tags
%{_datadir}/geany/tags/phobos.d.tags
%changelog %changelog
* Wed Mar 15 2023 Kalev Lember <klember@redhat.com> - 1:1.32.0-1 * Wed Mar 15 2023 Kalev Lember <klember@redhat.com> - 1:1.32.0-1
- Update to 1.32.0 - Update to 1.32.0
- Remove geany tags subpackage
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.30.0-5 * Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.30.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

Loading…
Cancel
Save