From 2809136db035652183b2e73f98779a30bd4453a0 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Wed, 15 Mar 2023 17:58:21 +0100 Subject: [PATCH] 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. --- ldc.spec | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/ldc.spec b/ldc.spec index 6fe3e60..2abc6ee 100644 --- a/ldc.spec +++ b/ldc.spec @@ -62,6 +62,8 @@ Requires: gcc Obsoletes: ldc-druntime-devel < 1:1.23.0 Obsoletes: ldc-jit-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 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. -%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 %autosetup -n %{name}-%{version}%{?pre:-%{pre}}-src -p1 -# temp geany config directory for allow geany to generate tags -mkdir geany_config %build # This package appears to be failing because links to the LLVM plugins @@ -129,9 +119,6 @@ popd %cmake_build -# generate geany tags -geany -c geany_config -g phobos.d.tags $(find runtime/phobos/std -name "*.d") - %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/ 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 %license LICENSE %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-shared.so.%{soversion}* -%files phobos-geany-tags -%{_datadir}/geany/tags/phobos.d.tags - %changelog * Wed Mar 15 2023 Kalev Lember - 1:1.32.0-1 - Update to 1.32.0 +- Remove geany tags subpackage * Thu Jan 19 2023 Fedora Release Engineering - 1:1.30.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild