From: Marcin Krol Date: Sun, 10 Dec 2023 21:01:47 +0000 (+0100) Subject: - updated to 3.6.4 X-Git-Tag: auto/th/fish-3.6.4-1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Ffish.git;a=commitdiff_plain;h=HEAD - updated to 3.6.4 --- diff --git a/fish-no_lld.patch b/fish-no_lld.patch deleted file mode 100644 index 05863e9..0000000 --- a/fish-no_lld.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- fish-3.3.1/CMakeLists.txt.orig 2021-07-06 16:45:37.000000000 +0200 -+++ fish-3.3.1/CMakeLists.txt 2021-07-19 19:39:56.209238876 +0200 -@@ -56,22 +56,6 @@ - # Disable exception handling. - add_compile_options(-fno-exceptions) - --# Prefer lld or the gold linker because they don't emit useless warnings about sys_nerr and --# _sys_errlist. They're also faster (significantly so in the case of lld). --if (UNIX) -- execute_process(COMMAND ${CMAKE_C_COMPILER} -fuse-ld=lld -Wl,--version -- ERROR_QUIET OUTPUT_VARIABLE LD_VERSION) -- if ("${LD_VERSION}" MATCHES "LLD ") -- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fuse-ld=lld") -- elseif (NOT APPLE) -- execute_process(COMMAND ${CMAKE_C_COMPILER} -fuse-ld=gold -Wl,--version -- ERROR_QUIET OUTPUT_VARIABLE LD_VERSION) -- if ("${LD_VERSION}" MATCHES "GNU gold") -- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fuse-ld=gold") -- endif() -- endif() --endif() -- - # Hide the CMake Rules directories in Xcode projects. - source_group("CMake Rules" REGULAR_EXPRESSION "^$") - diff --git a/fish-rel_datadir.patch b/fish-rel_datadir.patch deleted file mode 100644 index 1b2a55a..0000000 --- a/fish-rel_datadir.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- fish-3.3.1/cmake/Install.cmake.orig 2021-07-06 16:45:37.000000000 +0200 -+++ fish-3.3.1/cmake/Install.cmake 2021-07-19 20:04:46.496541738 +0200 -@@ -14,7 +14,11 @@ - set(sysconfdir ${CMAKE_INSTALL_SYSCONFDIR}) - set(mandir ${CMAKE_INSTALL_MANDIR}) - --set(rel_datadir ${CMAKE_INSTALL_DATADIR}) -+if(IS_ABSOLUTE ${CMAKE_INSTALL_DATADIR}) -+ file(RELATIVE_PATH rel_datadir ${CMAKE_INSTALL_PREFIX} ${CMAKE_INSTALL_DATADIR}) -+else() -+ set(rel_datadir ${CMAKE_INSTALL_DATADIR}) -+endif() - set(datadir ${CMAKE_INSTALL_FULL_DATADIR}) - - set(docdir ${CMAKE_INSTALL_DOCDIR}) diff --git a/fish.spec b/fish.spec index 1dbc47a..6762104 100644 --- a/fish.spec +++ b/fish.spec @@ -1,14 +1,12 @@ Summary: fish - A friendly interactive shell Summary(pl.UTF-8): fish - przyjazna interaktywna powłoka Name: fish -Version: 3.3.1 -Release: 4 +Version: 3.6.4 +Release: 1 License: GPL v2 Group: Applications/Shells Source0: https://github.com/fish-shell/fish-shell/releases/download/%{version}/%{name}-%{version}.tar.xz -# Source0-md5: 94be285255aadfcf0f910bdcc2f56073 -Patch0: %{name}-no_lld.patch -Patch1: %{name}-rel_datadir.patch +# Source0-md5: 600c5d8ffa45b1d73b5263809cb5e6f5 URL: http://fishshell.com/ BuildRequires: cmake >= 3.2 BuildRequires: gettext-tools @@ -48,10 +46,8 @@ Pliki programistyczne dla fish. %prep %setup -q -%patch0 -p1 -%patch1 -p1 -%{__sed} -i -e '1s,/usr/bin/env python$,%{__python},' share/tools/{deroff.py,create_manpage_completions.py,web_config/webconfig.py} +%{__sed} -i -e '1s,/usr/bin/env python3$,%{__python3},' share/tools/create_manpage_completions.py %build %cmake -B build @@ -98,7 +94,6 @@ end %{_datadir}/%{name}/groff/fish.tmac %dir %{_datadir}/%{name}/functions %{_datadir}/%{name}/functions/*.fish -%{_datadir}/%{name}/lynx.lss %{_datadir}/%{name}/man %dir %{_datadir}/%{name}/tools %attr(755,root,root) %{_datadir}/%{name}/tools/create_manpage_completions.py @@ -111,6 +106,7 @@ end %{_datadir}/%{name}/tools/web_config/js %{_datadir}/%{name}/tools/web_config/partials %{_datadir}/%{name}/tools/web_config/sample_prompts +%{_datadir}/%{name}/tools/web_config/themes %attr(755,root,root) %{_datadir}/%{name}/tools/web_config/webconfig.py %dir %{_datadir}/%{name}/vendor_completions.d %dir %{_datadir}/%{name}/vendor_conf.d