diff --git a/fish.changes b/fish.changes index 4fae055..5fb42dc 100644 --- a/fish.changes +++ b/fish.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 8 00:14:35 UTC 2021 - Simon Lees + +- pc file contained references to /usr/local (boo#1181888) + * fix-pc-file-paths.patch - Already fixed upstream + ------------------------------------------------------------------- Sun Aug 9 14:56:41 UTC 2020 - Sam Yu @@ -82,7 +88,7 @@ Tue Mar 31 15:50:19 UTC 2020 - Antonio Larrosa Tue Mar 31 09:20:39 UTC 2020 - Simon Lees - Fix build with gcc10 fix-gcc10-build.patch (boo#1167862) -- Use python3 rather then python2 +- Use python3 rather then python2 ------------------------------------------------------------------- Mon Mar 16 14:09:10 UTC 2020 - Paolo Stivanin @@ -92,11 +98,11 @@ Mon Mar 16 14:09:10 UTC 2020 - Paolo Stivanin of the previous job, for each of the separate commands in a pipeline * fish no longer buffers pipes to the last function in a pipeline, improving many cases where pipes appeared to block or hang -* cd now always looks for its argument in the current directory as a +* cd now always looks for its argument in the current directory as a last resort, even if the CDPATH variable does not include it or "." * fish's debugging arguments have been significantly improved * new builtin command, time, which allows timing of fish functions - and builtins as well as external commands + and builtins as well as external commands * Brace expansion now only takes place if the braces include a "," or a variable expansion, meaning common commands such as git reset HEAD@{0} do not require escaping @@ -146,7 +152,7 @@ Sat Dec 29 06:47:02 UTC 2018 - sean@suspend.net * Command sub output now limited to 10MB by default * The machine hostname is now exposed as the $hostname reserved variable * Bare bind invocations in config.fish now work - + ------------------------------------------------------------------- Thu Apr 12 11:41:42 UTC 2018 - jengelh@inai.de @@ -190,7 +196,7 @@ Sat Nov 25 15:23:31 UTC 2017 - jaime.marquinez.ferrandiz@fastmail.net the --mode-name flag (#1504). * command now supports an --all flag to report all directories with the command. which is no longer a runtime dependency (#2778). - * fish can run commands before starting an interactive session using the new + * fish can run commands before starting an interactive session using the new --init-command/-C options (#4164). * set has a new --show option to show lots of information about variables (#4265). @@ -217,35 +223,35 @@ Fri Feb 3 04:13:49 UTC 2017 - sflees@suse.de - Update to 2.5.0 Notable fixes and improvements - * alias, run without options or arguments, lists all defined aliases, and + * alias, run without options or arguments, lists all defined aliases, and aliases now include a description in the function signature that identifies them. * complete accepts empty strings as descriptions (#3557). - * command accepts -q/--quiet in combination with --search (#3591), providing + * command accepts -q/--quiet in combination with --search (#3591), providing a simple way of checking whether a command exists in scripts. * Abbreviations can now be renamed with abbr --rename OLD_KEY NEW_KEY (#3610). - * The command synopses printed by --help options work better with copying and + * The command synopses printed by --help options work better with copying and pasting (#2673). * help launches the browser specified by the $fish_help_browser variable if it is set (#3131). - * History merging could lose items under certain circumstances and is now + * History merging could lose items under certain circumstances and is now fixed (#3496). - * The $status variable is now set to 123 when a syntactically invalid command + * The $status variable is now set to 123 when a syntactically invalid command is entered (#3616). - * Exiting fish now signals all background processes to terminate, not just + * Exiting fish now signals all background processes to terminate, not just stopped jobs (#3497). - * A new prompt_hostname function which prints a hostname suitable for use in + * A new prompt_hostname function which prints a hostname suitable for use in prompts (#3482). - * The __fish_man_page function (bound to Alt-h by default) now tries to - recognize subcommands (e.g. git add will now open the "git-add" man page) + * The __fish_man_page function (bound to Alt-h by default) now tries to + recognize subcommands (e.g. git add will now open the "git-add" man page) (#3678). - * A new function edit_command_buffer (bound to Alt-e & Alt-v by default) to + * A new function edit_command_buffer (bound to Alt-e & Alt-v by default) to edit the command buffer in an external editor (#1215, #3627). - * set_color now supports italics (--italics), dim (--dim) and reverse + * set_color now supports italics (--italics), dim (--dim) and reverse (--reverse) modes (#3650). - * Filesystems with very slow locking (eg incorrectly-configured NFS) will no + * Filesystems with very slow locking (eg incorrectly-configured NFS) will no longer slow fish down (#685). - * Improved completions for apt (#3695), fusermount (#3642), make (#3628), + * Improved completions for apt (#3695), fusermount (#3642), make (#3628), netctl-auto (#3378), nmcli (#3648), pygmentize (#3378), and tar (#3719). * Added completions for: VBoxHeadless (#3378) @@ -275,87 +281,87 @@ Tue Nov 8 11:49:49 UTC 2016 - aloisio@gmx.com - Update to version 2.4.0 ## Notable fixes and improvements - * The documentation is now generated properly and with the + * The documentation is now generated properly and with the correct version identifier. - * Automatic cursor changes are now only enabled on the - subset of XTerm versions known to support them, resolving a - problem where older versions printed garbage to the terminal + * Automatic cursor changes are now only enabled on the + subset of XTerm versions known to support them, resolving a + problem where older versions printed garbage to the terminal before and after every prompt (#3499). * Improved the title set in Apple Terminal.app. - * Added completions for `defaults` and improved completions + * Added completions for `defaults` and improved completions for `diskutil` (#3478). # fish 2.4b1 (released October 18, 2016) ## Significant changes - * The clipboard integration has been revamped with explicit - bindings. The killring commands no longer copy from, or - paste to, the X11 clipboard - use the new copy (`C-x`) and - paste (`C-v`) bindings instead. The clipboard is now - available on OS X as well as systems using X11 (e.g. Linux). + * The clipboard integration has been revamped with explicit + bindings. The killring commands no longer copy from, or + paste to, the X11 clipboard - use the new copy (`C-x`) and + paste (`C-v`) bindings instead. The clipboard is now + available on OS X as well as systems using X11 (e.g. Linux). (#3061) - * `history` uses subcommands (`history delete`) rather than - options (`history --delete`) for its actions (#3367). You - can no longer specify multiple actions via flags (e.g., + * `history` uses subcommands (`history delete`) rather than + options (`history --delete`) for its actions (#3367). You + can no longer specify multiple actions via flags (e.g., `history --delete --save something`). - * New `history` options have been added, including `--max=n` - to limit the number of history entries, `--show-time` option - to show timestamps (#3175, #3244), and `--null` to null + * New `history` options have been added, including `--max=n` + to limit the number of history entries, `--show-time` option + to show timestamps (#3175, #3244), and `--null` to null terminate history entries in the search output. - * `history search` is now case-insensitive by default (which + * `history search` is now case-insensitive by default (which also affects `history delete`) (#3236). - * `history delete` now correctly handles multiline commands + * `history delete` now correctly handles multiline commands (#31). - * Vi-style bindings no longer include all of the default - emacs-style bindings; instead, they share some definitions + * Vi-style bindings no longer include all of the default + emacs-style bindings; instead, they share some definitions (#3068). - * If there is no locale set in the environment, various - known system configuration files will be checked for a - default. If no locale can be found, `en_US-UTF.8` will be + * If there is no locale set in the environment, various + known system configuration files will be checked for a + default. If no locale can be found, `en_US-UTF.8` will be used (#277). - * A number followed by a caret (e.g. `5^`) is no longer + * A number followed by a caret (e.g. `5^`) is no longer treated as a redirection (#1873). - * The `$version` special variable can be overwritten, so + * The `$version` special variable can be overwritten, so that it can be used for other purposes if required. ## Notable fixes and improvements - * The `fish_realpath` builtin has been renamed to `realpath` - and made compatible with GNU `realpath` when run without - arguments (#3400). It is used only for systems without a + * The `fish_realpath` builtin has been renamed to `realpath` + and made compatible with GNU `realpath` when run without + arguments (#3400). It is used only for systems without a `realpath` or `grealpath` utility (#3374). - * Improved color handling on terminals/consoles with 8-16 - colors, particularly the use of bright named color (#3176, + * Improved color handling on terminals/consoles with 8-16 + colors, particularly the use of bright named color (#3176, #3260). - * `fish_indent` can now read from files given as arguments, + * `fish_indent` can now read from files given as arguments, rather than just standard input (#3037). - * Fuzzy tab completions behave in a less surprising manner + * Fuzzy tab completions behave in a less surprising manner (#3090, #3211). * `jobs` should only print its header line once (#3127). - * Wildcards in redirections are highlighted appropriately + * Wildcards in redirections are highlighted appropriately (#2789). - * Suggestions will be offered more often, like after + * Suggestions will be offered more often, like after removing characters (#3069). - * `history --merge` now correctly interleaves items in + * `history --merge` now correctly interleaves items in chronological order (#2312). - * Options for `fish_indent` have been aligned with the other - binaries - in particular, `-d` now means `--debug`. The - `--dump` option has been renamed to `--dump-parse-tree` + * Options for `fish_indent` have been aligned with the other + binaries - in particular, `-d` now means `--debug`. The + `--dump` option has been renamed to `--dump-parse-tree` (#3191). - * The display of bindings in the Web-based configuration has - been greatly improved (#3325), as has the rendering of + * The display of bindings in the Web-based configuration has + been greatly improved (#3325), as has the rendering of prompts (#2924). - * fish should no longer hang using 100% CPU in the C locale + * fish should no longer hang using 100% CPU in the C locale (#3214). - * A bug in FreeBSD 11 & 12, Dragonfly BSD & illumos - prevented fish from working correctly on these platforms - under UTF-8 locales; fish now avoids the buggy behaviour + * A bug in FreeBSD 11 & 12, Dragonfly BSD & illumos + prevented fish from working correctly on these platforms + under UTF-8 locales; fish now avoids the buggy behaviour (#3050). - * Prompts which show git repository information (via - `__fish_git_prompt`) are faster in large repositories + * Prompts which show git repository information (via + `__fish_git_prompt`) are faster in large repositories (#3294) and slow filesystems (#3083). - * fish 2.3.0 reintroduced a problem where the greeting was - printed even when using `read`; this has been corrected + * fish 2.3.0 reintroduced a problem where the greeting was + printed even when using `read`; this has been corrected again (#3261). - * Vi mode changes the cursor depending on the current mode + * Vi mode changes the cursor depending on the current mode (#3215). - * Command lines with escaped space characters at the end + * Command lines with escaped space characters at the end tab-complete correctly (#2447). * Added completions for: + `arcanist` (#3256) @@ -366,20 +372,20 @@ Tue Nov 8 11:49:49 UTC 2016 - aloisio@gmx.com + `p4`, the Perforce client (#3314) + `pygmentize` (#3378) + `ranger` (#3378) - * Improved completions for `aura` (#3297), `abbr` (#3267), - `brew` (#3309), `chown` (#3380, #3383),`cygport` (#3392), - `git` (#3274, #3226, #3225, #3094, #3087, #3035, #3021, - #2982, #3230), `kill & `pkill` (#3200), `screen` (#3271), + * Improved completions for `aura` (#3297), `abbr` (#3267), + `brew` (#3309), `chown` (#3380, #3383),`cygport` (#3392), + `git` (#3274, #3226, #3225, #3094, #3087, #3035, #3021, + #2982, #3230), `kill & `pkill` (#3200), `screen` (#3271), `wget` (#3470), and `xz` (#3378). - * Distributors, packagers and developers will notice that - the build process produces more succinct output by default; + * Distributors, packagers and developers will notice that + the build process produces more succinct output by default; use `make V=1` to get verbose output (#3248). - * Improved compatibility with minor platforms including musl - (#2988), Cygwin (#2993), Android (#3441, #3442), Haiku + * Improved compatibility with minor platforms including musl + (#2988), Cygwin (#2993), Android (#3441, #3442), Haiku (#3322) and Solaris . - Dropped no longer necessary - no-return-in-nonvoid-function.patch + no-return-in-nonvoid-function.patch ------------------------------------------------------------------- Sat Sep 10 10:09:00 UTC 2016 - mpluskal@suse.com @@ -399,26 +405,26 @@ Mon Jul 4 05:01:34 UTC 2016 - sflees@suse.de - Update to v2.3.1 - Significant changes * A new fish_key_reader binary for decoding interactive keypresses (#2991). - * fish_mode_prompt has been updated to reflect the changes in the way the + * fish_mode_prompt has been updated to reflect the changes in the way the Vi input mode is set up (#3067), making this more reliable. * fish_config can now properly be launched from the OS X app bundle (#3140). - Notable fixes and improvements - * Extra lines were sometimes inserted into the output under Windows (Cygwin - and Microsoft Windows Subsystem for Linux) due to TTY timestamps + * Extra lines were sometimes inserted into the output under Windows (Cygwin + and Microsoft Windows Subsystem for Linux) due to TTY timestamps not being updated (#2859). - * The string builtin's match mode now handles the combination of -rnv (match, + * The string builtin's match mode now handles the combination of -rnv (match, invert and count) correctly (#3098). - * Improvements to TTY special character handling (#3064), locale handling (#3124) + * Improvements to TTY special character handling (#3064), locale handling (#3124) and terminal environment variable handling (#3060). - * Work towards handling the terminal modes for external commands launched + * Work towards handling the terminal modes for external commands launched from initialisation files (#2980). - * Ease the upgrade path from fish 2.2.0 and before by warning users to restart + * Ease the upgrade path from fish 2.2.0 and before by warning users to restart fish if the string builtin is not available (#3057). * type -a now syntax-colorizes function source output. - * Added completions for alsamixer, godoc, gofmt, goimports, gorename, lscpu, + * Added completions for alsamixer, godoc, gofmt, goimports, gorename, lscpu, mkdir, modinfo, netctl-auto, poweroff, termite, udisksctl and xz (#3123). - * Improved completions for apt (#3097), aura (#3102),git (#3114), npm (#3158), + * Improved completions for apt (#3097), aura (#3102),git (#3114), npm (#3158), string and suspend (#3154). ------------------------------------------------------------------- @@ -426,29 +432,29 @@ Mon May 23 01:05:17 UTC 2016 - sflees@suse.de - Update to v2.3.0 - Significant Changes - * A new string builtin to handle… strings! + * A new string builtin to handle… strings! * After seeing an escape character wait up to 300ms for an a dditional character. - * Add new directories for vendor functions and configuration + * Add new directories for vendor functions and configuration snippets (#2498) - * A new fish_realpath builtin and associated function to allow - the use of realpath even on those platforms that don't ship + * A new fish_realpath builtin and associated function to allow + the use of realpath even on those platforms that don't ship an appropriate command. (#2932) - * Alt-# toggles the current command line between commented and - uncommented states, making it easy to save a command in + * Alt-# toggles the current command line between commented and + uncommented states, making it easy to save a command in history without executing it. - * The fish_vi_mode function is now deprecated in favour of + * The fish_vi_mode function is now deprecated in favour of fish_vi_key_bindings - Backward-incompatible changes - * Unmatched globs will now cause an error, except when used - with for, set or count (#2719, #2394) and and or will now bind - to the closest if or while, allowing compound conditions without + * Unmatched globs will now cause an error, except when used + with for, set or count (#2719, #2394) and and or will now bind + to the closest if or while, allowing compound conditions without begin and end (#1428) * set -ql now searches up to function scope for variables (#2502) - * status -f will now behave the same when run as the main script + * status -f will now behave the same when run as the main script or using source (#2643) - * source no longer puts the file name in $argv if no arguments - are given (#139) + * source no longer puts the file name in $argv if no arguments + are given (#139) - Full release notes at https://github.com/fish-shell/fish-shell/releases/tag/2.3.0 ------------------------------------------------------------------- @@ -462,14 +468,14 @@ Thu Nov 19 12:19:45 UTC 2015 - infroma@gmail.com Mon Jul 27 06:53:55 UTC 2015 - develop7@develop7.info - update to v2.2.0 - See full changelog on + See full changelog on https://github.com/fish-shell/fish-shell/releases/tag/2.2.0 - Drop check_for_command-not-found_command_on_suse.patch ------------------------------------------------------------------- Sat Mar 21 02:41:33 UTC 2015 - simon@simotek.net -- Require: python-curses Its required for the prompt page on +- Require: python-curses Its required for the prompt page on the web config ------------------------------------------------------------------- @@ -493,20 +499,20 @@ Mon Dec 1 10:08:12 UTC 2014 - seanpwatson@live.com Thu Oct 9 12:05:02 UTC 2014 - seanpwatson@live.com - update to 2.1.1 -- The fish_config web interface now uses an authentication token - to protect requests and only responds to requests from the local +- The fish_config web interface now uses an authentication token + to protect requests and only responds to requests from the local machine with this token, preventing a remote code execution attack (closing CVE-2014-2914). -- psub and funced are no longer vulnerable to attacks which - allow local privilege escalation and data tampering (closing +- psub and funced are no longer vulnerable to attacks which + allow local privilege escalation and data tampering (closing CVE-2014-2906 and CVE-2014-3856) -- fishd uses a secure path for its socket, preventing a local +- fishd uses a secure path for its socket, preventing a local privilege escalation attack (closing CVE-2014-2905) -- __fish_print_packages is no longer vulnerable to attacks which - would allow local privilege escalation and data tampering +- __fish_print_packages is no longer vulnerable to attacks which + would allow local privilege escalation and data tampering (closing CVE-2014-3219) -- fishd now ignores SIGPIPE, fixing crashes using tools like - GNU Parallel and which occurred more often as a result of +- fishd now ignores SIGPIPE, fixing crashes using tools like + GNU Parallel and which occurred more often as a result of the other fishd changes. ------------------------------------------------------------------- Sat Oct 12 20:34:28 UTC 2013 - mailaender@opensuse.org @@ -523,4 +529,3 @@ Sat May 18 06:36:25 UTC 2013 - mailaender@opensuse.org Sat Mar 28 00:00:00 UTC 2009 - bitshuffler@opensuse.org - Initial RPM - diff --git a/fish.spec b/fish.spec index 3c1e890..6c71642 100644 --- a/fish.spec +++ b/fish.spec @@ -1,7 +1,7 @@ # # spec file for package fish # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,6 +24,7 @@ License: GPL-2.0-only Group: System/Shells URL: https://fishshell.com/ Source: https://github.com/fish-shell/fish-shell/releases/download/%{version}/fish-%{version}.tar.gz +Patch0: fix-pc-file-paths.patch BuildRequires: cmake BuildRequires: doxygen BuildRequires: gcc-c++ diff --git a/fix-pc-file-paths.patch b/fix-pc-file-paths.patch new file mode 100644 index 0000000..85b109d --- /dev/null +++ b/fix-pc-file-paths.patch @@ -0,0 +1,23 @@ +Index: fish-3.1.2/cmake/Install.cmake +=================================================================== +--- fish-3.1.2.orig/cmake/Install.cmake ++++ fish-3.1.2/cmake/Install.cmake +@@ -25,15 +25,15 @@ SET(configure_input + DO NOT MANUALLY EDIT THIS FILE!") + + SET(extra_completionsdir +- /usr/local/share/fish/vendor_completions.d ++ ${CMAKE_INSTALL_FULL_DATADIR}/fish/vendor_completions.d + CACHE STRING "Path for extra completions") + + SET(extra_functionsdir +- /usr/local/share/fish/vendor_functions.d ++ ${CMAKE_INSTALL_FULL_DATADIR}/fish/vendor_functions.d + CACHE STRING "Path for extra functions") + + SET(extra_confdir +- /usr/local/share/fish/vendor_conf.d ++ ${CMAKE_INSTALL_FULL_DATADIR}/fish/vendor_conf.d + CACHE STRING "Path for extra configuration") + + # These are the man pages that go in system manpath; all manpages go in the fish-specific manpath.