From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- .../git-annex-5.20150731-no-strange-installs.patch | 9 +++++ .../files/git-annex-6.20160114-QC-2.8.2.patch | 16 ++++++++ .../files/git-annex-6.20161210-directory-1.3.patch | 9 +++++ .../files/git-annex-6.20170101-crypto-api.patch | 8 ++++ dev-vcs/git-annex/files/git-annex.bash | 19 +++++++++ dev-vcs/git-annex/files/git-annex.xpm | 47 ++++++++++++++++++++++ 6 files changed, 108 insertions(+) create mode 100644 dev-vcs/git-annex/files/git-annex-5.20150731-no-strange-installs.patch create mode 100644 dev-vcs/git-annex/files/git-annex-6.20160114-QC-2.8.2.patch create mode 100644 dev-vcs/git-annex/files/git-annex-6.20161210-directory-1.3.patch create mode 100644 dev-vcs/git-annex/files/git-annex-6.20170101-crypto-api.patch create mode 100644 dev-vcs/git-annex/files/git-annex.bash create mode 100644 dev-vcs/git-annex/files/git-annex.xpm (limited to 'dev-vcs/git-annex/files') diff --git a/dev-vcs/git-annex/files/git-annex-5.20150731-no-strange-installs.patch b/dev-vcs/git-annex/files/git-annex-5.20150731-no-strange-installs.patch new file mode 100644 index 000000000000..a2ca5b866282 --- /dev/null +++ b/dev-vcs/git-annex/files/git-annex-5.20150731-no-strange-installs.patch @@ -0,0 +1,9 @@ +diff --git a/Setup.hs b/Setup.hs +index f90a9b2..97afb7f 100644 +--- a/Setup.hs ++++ b/Setup.hs +@@ -25,3 +25,3 @@ main = defaultMainWithHooks simpleUserHooks + return (Nothing, []) +- , postCopy = myPostCopy ++ -- , postCopy = myPostCopy + } diff --git a/dev-vcs/git-annex/files/git-annex-6.20160114-QC-2.8.2.patch b/dev-vcs/git-annex/files/git-annex-6.20160114-QC-2.8.2.patch new file mode 100644 index 000000000000..2f232782de02 --- /dev/null +++ b/dev-vcs/git-annex/files/git-annex-6.20160114-QC-2.8.2.patch @@ -0,0 +1,16 @@ +diff --git a/Utility/QuickCheck.hs b/Utility/QuickCheck.hs +index cd408dd..9f60f23 100644 +--- a/Utility/QuickCheck.hs ++++ b/Utility/QuickCheck.hs +@@ -9,2 +9,3 @@ + {-# LANGUAGE TypeSynonymInstances #-} ++{-# LANGUAGE CPP #-} + +@@ -23,2 +24,3 @@ import Prelude + ++#if ! MIN_VERSION_QuickCheck(2,8,2) + instance (Arbitrary k, Arbitrary v, Eq k, Ord k) => Arbitrary (M.Map k v) where +@@ -28,2 +30,3 @@ instance (Arbitrary v, Eq v, Ord v) => Arbitrary (S.Set v) where + arbitrary = S.fromList <$> arbitrary ++#endif + diff --git a/dev-vcs/git-annex/files/git-annex-6.20161210-directory-1.3.patch b/dev-vcs/git-annex/files/git-annex-6.20161210-directory-1.3.patch new file mode 100644 index 000000000000..1e9bb57f9eec --- /dev/null +++ b/dev-vcs/git-annex/files/git-annex-6.20161210-directory-1.3.patch @@ -0,0 +1,9 @@ +diff --git a/Common.hs b/Common.hs +index 5213863..74b054e 100644 +--- a/Common.hs ++++ b/Common.hs +@@ -27,3 +27,3 @@ import Utility.Process as X + import Utility.Path as X +-import Utility.Directory as X ++import Utility.Directory as X hiding (getFileSize) + import Utility.Monad as X diff --git a/dev-vcs/git-annex/files/git-annex-6.20170101-crypto-api.patch b/dev-vcs/git-annex/files/git-annex-6.20170101-crypto-api.patch new file mode 100644 index 000000000000..c517c651ce47 --- /dev/null +++ b/dev-vcs/git-annex/files/git-annex-6.20170101-crypto-api.patch @@ -0,0 +1,8 @@ +diff --git a/git-annex.cabal b/git-annex.cabal +index 5b95a16..f03024d 100644 +--- a/git-annex.cabal ++++ b/git-annex.cabal +@@ -326,2 +326,3 @@ Executable git-annex + case-insensitive, ++ crypto-api, + random, diff --git a/dev-vcs/git-annex/files/git-annex.bash b/dev-vcs/git-annex/files/git-annex.bash new file mode 100644 index 000000000000..309b221f0157 --- /dev/null +++ b/dev-vcs/git-annex/files/git-annex.bash @@ -0,0 +1,19 @@ +_git_annex() +{ + local cmdline + local IFS=$' +' + CMDLINE=(--bash-completion-index $COMP_CWORD) + + if [[ "${COMP_WORDS[@]:0:2}" == "git annex" ]]; then + unset COMP_WORDS[0] + COMP_WORDS[1]="git-annex" + fi + for arg in ${COMP_WORDS[@]}; do + CMDLINE=(${CMDLINE[@]} --bash-completion-word $arg) + done + + COMPREPLY=( $(/usr/bin/git-annex "${CMDLINE[@]}") ) +} + +complete -o filenames -F _git_annex git-annex diff --git a/dev-vcs/git-annex/files/git-annex.xpm b/dev-vcs/git-annex/files/git-annex.xpm new file mode 100644 index 000000000000..781f21c5e9dc --- /dev/null +++ b/dev-vcs/git-annex/files/git-annex.xpm @@ -0,0 +1,47 @@ +/* XPM */ +static char * git_annex_42x42_xpm[] = { +"42 40 4 1", +" c None", +". c #40BF4C", +"+ c #D8382D", +"@ c #666666", +" . . ", +" ... ... ", +" ... ... ", +" ..... ..... ", +"....... .......", +" ... ... ", +" . . ", +" . . ", +" .. .. ", +" . .... . ", +" .. .... .. ", +" .... .... .... ", +" ..... .... ..... ", +" .... . ................ . .... ", +" .. . ................ . .. ", +" .. ................ .. ", +" .... ", +" .... ", +" .... ", +" .... ", +" ", +" ++++++++++++++++ ", +" ++++++++++++++++ ", +" ++++++++++++++++ ", +" ++++++++++++++++ ", +" ", +" @@ @@@@@@@@ ", +" @@@@ @@@@@@@@ ", +" @@@@ @@@@@@ ", +" @@@@@ @@@@@@@ ", +" @@@ @@ @@@ ", +" @@@@ @@ @@@@ ", +" @@@ @@ @@@ ", +" @@@@ @@@ ", +" @@@ @@@@ ", +" @@@@ @@@ ", +" @@@@@@ @@@@@@ ", +" @@@@@@@@@@@@ ", +" @@@@@@@@@@ ", +" @@@@@@ "}; -- cgit v1.2.3