#1 Add fox cow to cowsay
Merged 3 years ago by limb. Opened 3 years ago by filbranden.
rpms/ filbranden/cowsay foxcow1  into  master

file modified
+8 -1
@@ -3,7 +3,7 @@ 

  

  Name:           cowsay

  Version:        3.04

- Release:        15%{?dist}

+ Release:        16%{?dist}

  Summary:        Configurable speaking/thinking cow

  License:        GPLv3+

  URL:            https://github.com/tnalpgge/rank-amateur-cowsay
@@ -16,6 +16,8 @@ 

  Patch2:         cowsay-3.03-debian-01-empty_messages_fix.patch

  Patch3:         cowsay-3.03-debian-02-remove_trailing_spaces.patch

  Patch4:         cowsay-3.03-debian-utf8_width.patch

+ # More cows:

+ Patch5:         fox-cow.patch

  

  BuildArch:      noarch

  BuildRequires:  bash-completion
@@ -44,6 +46,8 @@ 

  %patch3 -p1

  %patch4 -p1

  

+ %patch5 -p1

+ 

  %build

  echo No need to build anything

  
@@ -75,6 +79,9 @@ 

  %(dirname %{compdir})

  

  %changelog

+ * Thu Nov 19 2020 Filipe Brandenburger <filbranden@gmail.com> - 3.04-16

+ - Add fox cow.

+ 

  * Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.04-15

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

  

file added
+24
@@ -0,0 +1,24 @@ 

+ Description: Add a fox cow

+ Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888229#5

+ Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888229

+ --- /dev/null

+ +++ b/cows/fox.cow

+ @@ -0,0 +1,18 @@

+ +$the_cow = <<EOC;

+ +         $thoughts     ,-.      .-,

+ +          $thoughts    |-.\\ __ /.-|

+ +           $thoughts   \\  `    `  /

+ +                /_     _ \\

+ +              <  _`q  p _  >

+ +              <.._=/  \\=_. >

+ +                 {`\\()/`}`\\

+ +                 {      }  \\

+ +                 |{    }    \\

+ +                 \\ '--'   .- \\

+ +                 |-      /    \\

+ +                 | | | | |     ;

+ +                 | | |.;.,..__ |

+ +               .-"";`         `|

+ +              /    |           /

+ +              `-../____,..---'`

+ +EOC

The fox cow is included in the Debian/Ubuntu package of cowsay.

Author has released it under the same license as cowsay itself:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888229

Tested:

$ cowsay -f fox 'Crazy like a fox!'
 ___________________
< Crazy like a fox! >
 -------------------
         \     ,-.      .-,
          \    |-.\ __ /.-|
           \   \  `    `  /
                /_     _ \
              <  _`q  p _  >
              <.._=/  \=_. >
                 {`\()/`}`\
                 {      }  \
                 |{    }    \
                 \ '--'   .- \
                 |-      /    \
                 | | | | |     ;
                 | | |.;.,..__ |
               .-"";`         `|
              /    |           /
              `-../____,..---'`

Pull-Request has been merged by limb

3 years ago

Thanks for merging!

Would you terribly mind also merging this into the epel8 (perhaps also epel8-playground) branches and building packages for those versions of it?

Cheers!

Working on it right now. :)