[pacman-dev] [PATCH] libmakepkg: Add missing vim modelines
This conforms with the rest of the pacman codebase. The modelines appear to have been mistakenly dropped when libmakepkg was separated out into separate files from the original monolithic makepkg script. Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> --- scripts/libmakepkg/integrity.sh.in | 2 ++ scripts/libmakepkg/integrity/generate_checksum.sh.in | 2 ++ scripts/libmakepkg/integrity/generate_signature.sh.in | 2 ++ scripts/libmakepkg/integrity/verify_checksum.sh.in | 2 ++ scripts/libmakepkg/integrity/verify_signature.sh.in | 2 ++ scripts/libmakepkg/lint_package.sh.in | 2 ++ scripts/libmakepkg/lint_package/build_references.sh.in | 2 ++ scripts/libmakepkg/lint_package/dotfiles.sh.in | 2 ++ scripts/libmakepkg/lint_package/file_names.sh.in | 2 ++ scripts/libmakepkg/lint_package/missing_backup.sh.in | 2 ++ scripts/libmakepkg/lint_pkgbuild.sh.in | 2 ++ scripts/libmakepkg/lint_pkgbuild/arch.sh.in | 2 ++ scripts/libmakepkg/lint_pkgbuild/backup.sh.in | 2 ++ scripts/libmakepkg/lint_pkgbuild/changelog.sh.in | 2 ++ scripts/libmakepkg/lint_pkgbuild/epoch.sh.in | 2 ++ scripts/libmakepkg/lint_pkgbuild/install.sh.in | 2 ++ scripts/libmakepkg/lint_pkgbuild/optdepends.sh.in | 2 ++ scripts/libmakepkg/lint_pkgbuild/options.sh.in | 2 ++ scripts/libmakepkg/lint_pkgbuild/package_function.sh.in | 2 ++ scripts/libmakepkg/lint_pkgbuild/pkgbase.sh.in | 2 ++ scripts/libmakepkg/lint_pkgbuild/pkglist.sh.in | 2 ++ scripts/libmakepkg/lint_pkgbuild/pkgname.sh.in | 2 ++ scripts/libmakepkg/lint_pkgbuild/pkgrel.sh.in | 2 ++ scripts/libmakepkg/lint_pkgbuild/pkgver.sh.in | 2 ++ scripts/libmakepkg/lint_pkgbuild/provides.sh.in | 2 ++ scripts/libmakepkg/lint_pkgbuild/source.sh.in | 2 ++ scripts/libmakepkg/lint_pkgbuild/util.sh.in | 2 ++ scripts/libmakepkg/lint_pkgbuild/variable.sh.in | 2 ++ scripts/libmakepkg/source.sh.in | 2 ++ scripts/libmakepkg/source/bzr.sh.in | 2 ++ scripts/libmakepkg/source/file.sh.in | 2 ++ scripts/libmakepkg/source/git.sh.in | 2 ++ scripts/libmakepkg/source/hg.sh.in | 2 ++ scripts/libmakepkg/source/local.sh.in | 2 ++ scripts/libmakepkg/source/svn.sh.in | 2 ++ scripts/libmakepkg/srcinfo.sh.in | 2 ++ scripts/libmakepkg/tidy.sh.in | 2 ++ scripts/libmakepkg/tidy/docs.sh.in | 2 ++ scripts/libmakepkg/tidy/emptydirs.sh.in | 2 ++ scripts/libmakepkg/tidy/libtool.sh.in | 2 ++ scripts/libmakepkg/tidy/purge.sh.in | 2 ++ scripts/libmakepkg/tidy/staticlibs.sh.in | 2 ++ scripts/libmakepkg/tidy/strip.sh.in | 2 ++ scripts/libmakepkg/tidy/zipman.sh.in | 2 ++ scripts/libmakepkg/util.sh.in | 2 ++ scripts/libmakepkg/util/message.sh.in | 2 ++ scripts/libmakepkg/util/option.sh.in | 2 ++ scripts/libmakepkg/util/parseopts.sh.in | 2 ++ scripts/libmakepkg/util/pkgbuild.sh.in | 2 ++ scripts/libmakepkg/util/source.sh.in | 2 ++ scripts/libmakepkg/util/util.sh.in | 2 ++ 51 files changed, 102 insertions(+) diff --git a/scripts/libmakepkg/integrity.sh.in b/scripts/libmakepkg/integrity.sh.in index 3a77ef16..68177884 100644 --- a/scripts/libmakepkg/integrity.sh.in +++ b/scripts/libmakepkg/integrity.sh.in @@ -43,3 +43,5 @@ check_source_integrity() { check_pgpsigs "$@" fi } + +# vim: set noet: diff --git a/scripts/libmakepkg/integrity/generate_checksum.sh.in b/scripts/libmakepkg/integrity/generate_checksum.sh.in index 902a989e..35dbb7cc 100644 --- a/scripts/libmakepkg/integrity/generate_checksum.sh.in +++ b/scripts/libmakepkg/integrity/generate_checksum.sh.in @@ -100,3 +100,5 @@ generate_checksums() { done done } + +# vim: set noet: diff --git a/scripts/libmakepkg/integrity/generate_signature.sh.in b/scripts/libmakepkg/integrity/generate_signature.sh.in index 060ae344..732df131 100644 --- a/scripts/libmakepkg/integrity/generate_signature.sh.in +++ b/scripts/libmakepkg/integrity/generate_signature.sh.in @@ -47,3 +47,5 @@ create_signature() { warning "$(gettext "Failed to sign package file.")" fi } + +# vim: set noet: diff --git a/scripts/libmakepkg/integrity/verify_checksum.sh.in b/scripts/libmakepkg/integrity/verify_checksum.sh.in index 1a11a082..b194b9fe 100644 --- a/scripts/libmakepkg/integrity/verify_checksum.sh.in +++ b/scripts/libmakepkg/integrity/verify_checksum.sh.in @@ -128,3 +128,5 @@ verify_integrity_sums() { return 1 fi } + +# vim: set noet: diff --git a/scripts/libmakepkg/integrity/verify_signature.sh.in b/scripts/libmakepkg/integrity/verify_signature.sh.in index b5577523..2f02b337 100644 --- a/scripts/libmakepkg/integrity/verify_signature.sh.in +++ b/scripts/libmakepkg/integrity/verify_signature.sh.in @@ -267,3 +267,5 @@ source_has_signatures() { done return 1 } + +# vim: set noet: diff --git a/scripts/libmakepkg/lint_package.sh.in b/scripts/libmakepkg/lint_package.sh.in index ff0894ec..5043dc24 100644 --- a/scripts/libmakepkg/lint_package.sh.in +++ b/scripts/libmakepkg/lint_package.sh.in @@ -46,3 +46,5 @@ lint_package() { done return $ret } + +# vim: set noet: diff --git a/scripts/libmakepkg/lint_package/build_references.sh.in b/scripts/libmakepkg/lint_package/build_references.sh.in index 9183fce9..29347d2e 100644 --- a/scripts/libmakepkg/lint_package/build_references.sh.in +++ b/scripts/libmakepkg/lint_package/build_references.sh.in @@ -39,3 +39,5 @@ warn_build_references() { done return 0 } + +# vim: set noet: diff --git a/scripts/libmakepkg/lint_package/dotfiles.sh.in b/scripts/libmakepkg/lint_package/dotfiles.sh.in index 9842028c..cf6ef749 100644 --- a/scripts/libmakepkg/lint_package/dotfiles.sh.in +++ b/scripts/libmakepkg/lint_package/dotfiles.sh.in @@ -36,3 +36,5 @@ check_dotfiles() { done return $ret } + +# vim: set noet: diff --git a/scripts/libmakepkg/lint_package/file_names.sh.in b/scripts/libmakepkg/lint_package/file_names.sh.in index 0b8e7a03..657489bd 100644 --- a/scripts/libmakepkg/lint_package/file_names.sh.in +++ b/scripts/libmakepkg/lint_package/file_names.sh.in @@ -40,3 +40,5 @@ lint_file_names() { return $ret } + +# vim: set noet: diff --git a/scripts/libmakepkg/lint_package/missing_backup.sh.in b/scripts/libmakepkg/lint_package/missing_backup.sh.in index 934dd12f..bb2f3f3e 100644 --- a/scripts/libmakepkg/lint_package/missing_backup.sh.in +++ b/scripts/libmakepkg/lint_package/missing_backup.sh.in @@ -37,3 +37,5 @@ warn_missing_backup() { done return 0 } + +# vim: set noet: diff --git a/scripts/libmakepkg/lint_pkgbuild.sh.in b/scripts/libmakepkg/lint_pkgbuild.sh.in index d3a1a083..c126c662 100644 --- a/scripts/libmakepkg/lint_pkgbuild.sh.in +++ b/scripts/libmakepkg/lint_pkgbuild.sh.in @@ -44,3 +44,5 @@ lint_pkgbuild() { return $ret } + +# vim: set noet: diff --git a/scripts/libmakepkg/lint_pkgbuild/arch.sh.in b/scripts/libmakepkg/lint_pkgbuild/arch.sh.in index ddc2f29e..79377f36 100644 --- a/scripts/libmakepkg/lint_pkgbuild/arch.sh.in +++ b/scripts/libmakepkg/lint_pkgbuild/arch.sh.in @@ -62,3 +62,5 @@ lint_arch() { return $ret } + +# vim: set noet: diff --git a/scripts/libmakepkg/lint_pkgbuild/backup.sh.in b/scripts/libmakepkg/lint_pkgbuild/backup.sh.in index 5b37b4e9..9ead0a8d 100644 --- a/scripts/libmakepkg/lint_pkgbuild/backup.sh.in +++ b/scripts/libmakepkg/lint_pkgbuild/backup.sh.in @@ -49,3 +49,5 @@ lint_backup() { return $ret } + +# vim: set noet: diff --git a/scripts/libmakepkg/lint_pkgbuild/changelog.sh.in b/scripts/libmakepkg/lint_pkgbuild/changelog.sh.in index 264ea105..d7c5f1ca 100644 --- a/scripts/libmakepkg/lint_pkgbuild/changelog.sh.in +++ b/scripts/libmakepkg/lint_pkgbuild/changelog.sh.in @@ -45,3 +45,5 @@ lint_changelog() { return $ret } + +# vim: set noet: diff --git a/scripts/libmakepkg/lint_pkgbuild/epoch.sh.in b/scripts/libmakepkg/lint_pkgbuild/epoch.sh.in index cc11d975..7c56b77b 100644 --- a/scripts/libmakepkg/lint_pkgbuild/epoch.sh.in +++ b/scripts/libmakepkg/lint_pkgbuild/epoch.sh.in @@ -35,3 +35,5 @@ lint_epoch() { return 1 fi } + +# vim: set noet: diff --git a/scripts/libmakepkg/lint_pkgbuild/install.sh.in b/scripts/libmakepkg/lint_pkgbuild/install.sh.in index 3e268923..1435ec95 100644 --- a/scripts/libmakepkg/lint_pkgbuild/install.sh.in +++ b/scripts/libmakepkg/lint_pkgbuild/install.sh.in @@ -44,3 +44,5 @@ lint_install() { return $ret } + +# vim: set noet: diff --git a/scripts/libmakepkg/lint_pkgbuild/optdepends.sh.in b/scripts/libmakepkg/lint_pkgbuild/optdepends.sh.in index f5fdbb90..7fc2d98e 100644 --- a/scripts/libmakepkg/lint_pkgbuild/optdepends.sh.in +++ b/scripts/libmakepkg/lint_pkgbuild/optdepends.sh.in @@ -62,3 +62,5 @@ lint_optdepends() { return $ret } + +# vim: set noet: diff --git a/scripts/libmakepkg/lint_pkgbuild/options.sh.in b/scripts/libmakepkg/lint_pkgbuild/options.sh.in index ffcd19e3..d5b0bd48 100644 --- a/scripts/libmakepkg/lint_pkgbuild/options.sh.in +++ b/scripts/libmakepkg/lint_pkgbuild/options.sh.in @@ -55,3 +55,5 @@ lint_options() { return $ret } + +# vim: set noet: diff --git a/scripts/libmakepkg/lint_pkgbuild/package_function.sh.in b/scripts/libmakepkg/lint_pkgbuild/package_function.sh.in index 14398217..f1c97279 100644 --- a/scripts/libmakepkg/lint_pkgbuild/package_function.sh.in +++ b/scripts/libmakepkg/lint_pkgbuild/package_function.sh.in @@ -49,3 +49,5 @@ lint_package_function() { return $ret } + +# vim: set noet: diff --git a/scripts/libmakepkg/lint_pkgbuild/pkgbase.sh.in b/scripts/libmakepkg/lint_pkgbuild/pkgbase.sh.in index 911e1128..e697d813 100644 --- a/scripts/libmakepkg/lint_pkgbuild/pkgbase.sh.in +++ b/scripts/libmakepkg/lint_pkgbuild/pkgbase.sh.in @@ -48,3 +48,5 @@ lint_pkgbase() { return $ret } + +# vim: set noet: diff --git a/scripts/libmakepkg/lint_pkgbuild/pkglist.sh.in b/scripts/libmakepkg/lint_pkgbuild/pkglist.sh.in index 8c09ad5b..64d76d92 100644 --- a/scripts/libmakepkg/lint_pkgbuild/pkglist.sh.in +++ b/scripts/libmakepkg/lint_pkgbuild/pkglist.sh.in @@ -42,3 +42,5 @@ lint_pkglist() { return $ret } + +# vim: set noet: diff --git a/scripts/libmakepkg/lint_pkgbuild/pkgname.sh.in b/scripts/libmakepkg/lint_pkgbuild/pkgname.sh.in index b66eda68..bb749f37 100644 --- a/scripts/libmakepkg/lint_pkgbuild/pkgname.sh.in +++ b/scripts/libmakepkg/lint_pkgbuild/pkgname.sh.in @@ -60,3 +60,5 @@ lint_pkgname() { return $ret } + +# vim: set noet: diff --git a/scripts/libmakepkg/lint_pkgbuild/pkgrel.sh.in b/scripts/libmakepkg/lint_pkgbuild/pkgrel.sh.in index b5cdfcf1..8c7a9bdd 100644 --- a/scripts/libmakepkg/lint_pkgbuild/pkgrel.sh.in +++ b/scripts/libmakepkg/lint_pkgbuild/pkgrel.sh.in @@ -40,3 +40,5 @@ lint_pkgrel() { return 1 fi } + +# vim: set noet: diff --git a/scripts/libmakepkg/lint_pkgbuild/pkgver.sh.in b/scripts/libmakepkg/lint_pkgbuild/pkgver.sh.in index 0ec6584c..727f054c 100644 --- a/scripts/libmakepkg/lint_pkgbuild/pkgver.sh.in +++ b/scripts/libmakepkg/lint_pkgbuild/pkgver.sh.in @@ -49,3 +49,5 @@ lint_pkgver() { check_pkgver $pkgver } + +# vim: set noet: diff --git a/scripts/libmakepkg/lint_pkgbuild/provides.sh.in b/scripts/libmakepkg/lint_pkgbuild/provides.sh.in index f521d0f5..ab3cd9b0 100644 --- a/scripts/libmakepkg/lint_pkgbuild/provides.sh.in +++ b/scripts/libmakepkg/lint_pkgbuild/provides.sh.in @@ -60,3 +60,5 @@ lint_provides() { return $ret } + +# vim: set noet: diff --git a/scripts/libmakepkg/lint_pkgbuild/source.sh.in b/scripts/libmakepkg/lint_pkgbuild/source.sh.in index 052b9d54..c9cbe9f3 100644 --- a/scripts/libmakepkg/lint_pkgbuild/source.sh.in +++ b/scripts/libmakepkg/lint_pkgbuild/source.sh.in @@ -37,3 +37,5 @@ lint_source() { return 1 fi } + +# vim: set noet: diff --git a/scripts/libmakepkg/lint_pkgbuild/util.sh.in b/scripts/libmakepkg/lint_pkgbuild/util.sh.in index e8a35933..1eb1eb74 100644 --- a/scripts/libmakepkg/lint_pkgbuild/util.sh.in +++ b/scripts/libmakepkg/lint_pkgbuild/util.sh.in @@ -39,3 +39,5 @@ check_files_exist() { return $ret } + +# vim: set noet: diff --git a/scripts/libmakepkg/lint_pkgbuild/variable.sh.in b/scripts/libmakepkg/lint_pkgbuild/variable.sh.in index 1e749638..78df84a5 100644 --- a/scripts/libmakepkg/lint_pkgbuild/variable.sh.in +++ b/scripts/libmakepkg/lint_pkgbuild/variable.sh.in @@ -105,3 +105,5 @@ lint_variable() { return $ret } + +# vim: set noet: diff --git a/scripts/libmakepkg/source.sh.in b/scripts/libmakepkg/source.sh.in index 234e35e4..42e70d67 100644 --- a/scripts/libmakepkg/source.sh.in +++ b/scripts/libmakepkg/source.sh.in @@ -111,3 +111,5 @@ extract_sources() { esac done } + +# vim: set noet: diff --git a/scripts/libmakepkg/source/bzr.sh.in b/scripts/libmakepkg/source/bzr.sh.in index 97206714..69529f4b 100644 --- a/scripts/libmakepkg/source/bzr.sh.in +++ b/scripts/libmakepkg/source/bzr.sh.in @@ -104,3 +104,5 @@ extract_bzr() { popd &>/dev/null } + +# vim: set noet: diff --git a/scripts/libmakepkg/source/file.sh.in b/scripts/libmakepkg/source/file.sh.in index 1d85ea9b..5e724249 100644 --- a/scripts/libmakepkg/source/file.sh.in +++ b/scripts/libmakepkg/source/file.sh.in @@ -145,3 +145,5 @@ extract_file() { chown -R 0:0 "$srcdir" fi } + +# vim: set noet: diff --git a/scripts/libmakepkg/source/git.sh.in b/scripts/libmakepkg/source/git.sh.in index 6d7e0a67..8129a717 100644 --- a/scripts/libmakepkg/source/git.sh.in +++ b/scripts/libmakepkg/source/git.sh.in @@ -120,3 +120,5 @@ extract_git() { popd &>/dev/null } + +# vim: set noet: diff --git a/scripts/libmakepkg/source/hg.sh.in b/scripts/libmakepkg/source/hg.sh.in index 4e6ebad9..6a3e863d 100644 --- a/scripts/libmakepkg/source/hg.sh.in +++ b/scripts/libmakepkg/source/hg.sh.in @@ -102,3 +102,5 @@ extract_hg() { popd &>/dev/null } + +# vim: set noet: diff --git a/scripts/libmakepkg/source/local.sh.in b/scripts/libmakepkg/source/local.sh.in index 8104141a..bfb93f8e 100644 --- a/scripts/libmakepkg/source/local.sh.in +++ b/scripts/libmakepkg/source/local.sh.in @@ -40,3 +40,5 @@ download_local() { exit 1 # $E_MISSING_FILE fi } + +# vim: set noet: diff --git a/scripts/libmakepkg/source/svn.sh.in b/scripts/libmakepkg/source/svn.sh.in index 6cb78235..2fafadfe 100644 --- a/scripts/libmakepkg/source/svn.sh.in +++ b/scripts/libmakepkg/source/svn.sh.in @@ -91,3 +91,5 @@ extract_svn() { cp -au "$dir" "$srcdir" } + +# vim: set noet: diff --git a/scripts/libmakepkg/srcinfo.sh.in b/scripts/libmakepkg/srcinfo.sh.in index 99f5628a..f627f88d 100644 --- a/scripts/libmakepkg/srcinfo.sh.in +++ b/scripts/libmakepkg/srcinfo.sh.in @@ -125,3 +125,5 @@ write_srcinfo() { write_srcinfo_header write_srcinfo_content } + +# vim: set noet: diff --git a/scripts/libmakepkg/tidy.sh.in b/scripts/libmakepkg/tidy.sh.in index 856f2394..ce7d879d 100644 --- a/scripts/libmakepkg/tidy.sh.in +++ b/scripts/libmakepkg/tidy.sh.in @@ -50,3 +50,5 @@ tidy_install() { $func done } + +# vim: set noet: diff --git a/scripts/libmakepkg/tidy/docs.sh.in b/scripts/libmakepkg/tidy/docs.sh.in index 0919f201..31617c81 100644 --- a/scripts/libmakepkg/tidy/docs.sh.in +++ b/scripts/libmakepkg/tidy/docs.sh.in @@ -35,3 +35,5 @@ tidy_docs() { rm -rf -- ${DOC_DIRS[@]} fi } + +# vim: set noet: diff --git a/scripts/libmakepkg/tidy/emptydirs.sh.in b/scripts/libmakepkg/tidy/emptydirs.sh.in index 2b16afdf..9acf7f0f 100644 --- a/scripts/libmakepkg/tidy/emptydirs.sh.in +++ b/scripts/libmakepkg/tidy/emptydirs.sh.in @@ -37,3 +37,5 @@ tidy_emptydirs() { find . -depth -type d -exec rmdir '{}' \; 2>/dev/null fi } + +# vim: set noet: diff --git a/scripts/libmakepkg/tidy/libtool.sh.in b/scripts/libmakepkg/tidy/libtool.sh.in index b844c792..3690e7bc 100644 --- a/scripts/libmakepkg/tidy/libtool.sh.in +++ b/scripts/libmakepkg/tidy/libtool.sh.in @@ -36,3 +36,5 @@ tidy_libtool() { find . ! -type d -name "*.la" -exec rm -f -- '{}' + fi } + +# vim: set noet: diff --git a/scripts/libmakepkg/tidy/purge.sh.in b/scripts/libmakepkg/tidy/purge.sh.in index 5d37ded5..9c32e34d 100644 --- a/scripts/libmakepkg/tidy/purge.sh.in +++ b/scripts/libmakepkg/tidy/purge.sh.in @@ -43,3 +43,5 @@ tidy_purge() { done fi } + +# vim: set noet: diff --git a/scripts/libmakepkg/tidy/staticlibs.sh.in b/scripts/libmakepkg/tidy/staticlibs.sh.in index 643932dd..df0bb4ed 100644 --- a/scripts/libmakepkg/tidy/staticlibs.sh.in +++ b/scripts/libmakepkg/tidy/staticlibs.sh.in @@ -41,3 +41,5 @@ tidy_staticlibs() { done < <(find . ! -type d -name "*.a" -print0) fi } + +# vim: set noet: diff --git a/scripts/libmakepkg/tidy/strip.sh.in b/scripts/libmakepkg/tidy/strip.sh.in index 76562808..29218c4d 100644 --- a/scripts/libmakepkg/tidy/strip.sh.in +++ b/scripts/libmakepkg/tidy/strip.sh.in @@ -134,3 +134,5 @@ tidy_strip() { done fi } + +# vim: set noet: diff --git a/scripts/libmakepkg/tidy/zipman.sh.in b/scripts/libmakepkg/tidy/zipman.sh.in index ff82d43c..ca30118a 100644 --- a/scripts/libmakepkg/tidy/zipman.sh.in +++ b/scripts/libmakepkg/tidy/zipman.sh.in @@ -59,3 +59,5 @@ tidy_zipman() { -exec @INODECMD@ '{}' + 2>/dev/null) fi } + +# vim: set noet: diff --git a/scripts/libmakepkg/util.sh.in b/scripts/libmakepkg/util.sh.in index b7b56d34..7c8f9c98 100644 --- a/scripts/libmakepkg/util.sh.in +++ b/scripts/libmakepkg/util.sh.in @@ -26,3 +26,5 @@ LIBRARY=${LIBRARY:-'@libmakepkgdir@'} for lib in "$LIBRARY/util/"*.sh; do source "$lib" done + +# vim: set noet: diff --git a/scripts/libmakepkg/util/message.sh.in b/scripts/libmakepkg/util/message.sh.in index 33808de7..49ce025d 100644 --- a/scripts/libmakepkg/util/message.sh.in +++ b/scripts/libmakepkg/util/message.sh.in @@ -67,3 +67,5 @@ error() { local mesg=$1; shift printf "${RED}==> $(gettext "ERROR:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 } + +# vim: set noet: diff --git a/scripts/libmakepkg/util/option.sh.in b/scripts/libmakepkg/util/option.sh.in index 8cf0039b..2892cdfb 100644 --- a/scripts/libmakepkg/util/option.sh.in +++ b/scripts/libmakepkg/util/option.sh.in @@ -140,3 +140,5 @@ check_buildoption() { # not found return 127 } + +# vim: set noet: diff --git a/scripts/libmakepkg/util/parseopts.sh.in b/scripts/libmakepkg/util/parseopts.sh.in index a7638cf1..bd018cc8 100644 --- a/scripts/libmakepkg/util/parseopts.sh.in +++ b/scripts/libmakepkg/util/parseopts.sh.in @@ -171,3 +171,5 @@ parseopts() { return 0 } + +# vim: set noet: diff --git a/scripts/libmakepkg/util/pkgbuild.sh.in b/scripts/libmakepkg/util/pkgbuild.sh.in index 2a4bd3af..7f431394 100644 --- a/scripts/libmakepkg/util/pkgbuild.sh.in +++ b/scripts/libmakepkg/util/pkgbuild.sh.in @@ -218,3 +218,5 @@ get_integlist() { printf "%s\n" "${INTEGRITY_CHECK[@]}" fi } + +# vim: set noet: diff --git a/scripts/libmakepkg/util/source.sh.in b/scripts/libmakepkg/util/source.sh.in index 238d1f58..aeeca00a 100644 --- a/scripts/libmakepkg/util/source.sh.in +++ b/scripts/libmakepkg/util/source.sh.in @@ -169,3 +169,5 @@ get_downloadclient() { printf "%s\n" "$agent" } + +# vim: set noet: diff --git a/scripts/libmakepkg/util/util.sh.in b/scripts/libmakepkg/util/util.sh.in index d676249d..45070bea 100644 --- a/scripts/libmakepkg/util/util.sh.in +++ b/scripts/libmakepkg/util/util.sh.in @@ -83,3 +83,5 @@ cd_safe() { exit 1 fi } + +# vim: set noet: -- 2.11.0
On 08/01/17 16:03, Eli Schwartz wrote:
This conforms with the rest of the pacman codebase.
The modelines appear to have been mistakenly dropped when libmakepkg was separated out into separate files from the original monolithic makepkg script.
They were not mistakenly removed. I want them removed everywhere... (From memory, Andrew will fight me on that!) A
On 01/08/2017 01:22 AM, Allan McRae wrote:
They were not mistakenly removed. I want them removed everywhere... (From memory, Andrew will fight me on that!)
Well, can we do one or the other, or else remove them everywhere? Because having them in makepkg.sh.in and lib/ but not in libmakepkg is inconsistent, which IMHO is the worst of all possible worlds. -- Eli Schwartz
On 01/08/17 at 01:55am, Eli Schwartz wrote:
On 01/08/2017 01:22 AM, Allan McRae wrote:
They were not mistakenly removed. I want them removed everywhere... (From memory, Andrew will fight me on that!)
Well, can we do one or the other, or else remove them everywhere? Because having them in makepkg.sh.in and lib/ but not in libmakepkg is inconsistent, which IMHO is the worst of all possible worlds.
Sorry to disappoint, but I setup project-specific vim settings a while back, so the modelines don't make any difference to me personally. I don't know how easy it is to do that sort of thing in other editors, so it might be worth it to go ahead and add something like the proposed EditorConfig. At least it's a separate file and not mixed in with the code. apg
On 09/01/17 00:58, Andrew Gregory wrote:
On 01/08/17 at 01:55am, Eli Schwartz wrote:
On 01/08/2017 01:22 AM, Allan McRae wrote:
They were not mistakenly removed. I want them removed everywhere... (From memory, Andrew will fight me on that!)
Well, can we do one or the other, or else remove them everywhere? Because having them in makepkg.sh.in and lib/ but not in libmakepkg is inconsistent, which IMHO is the worst of all possible worlds.
Sorry to disappoint, but I setup project-specific vim settings a while back, so the modelines don't make any difference to me personally. I don't know how easy it is to do that sort of thing in other editors, so it might be worth it to go ahead and add something like the proposed EditorConfig. At least it's a separate file and not mixed in with the code.
OK - remove all the modelines and I will accept the editorconfig patch. A
On 01/08/2017 11:28 PM, Allan McRae wrote:
OK - remove all the modelines and I will accept the editorconfig patch.
Will do. -- Eli Schwartz
Many of these are pointless (e.g. there is no need to explicitly turn on spellchecking and language dictionaries for the manpages by default). The only useful modelines are the ones enforcing the project coding standards for indentation style (and "maybe" filetype/syntax, but everything except the asciidoc manpages and makepkg.conf is already autodetected), and indent style can be applied more easily with .editorconfig Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> --- HACKING | 4 ---- Makefile.am | 2 -- NEWS | 2 -- configure.ac | 2 -- doc/Makefile.am | 2 -- doc/PKGBUILD.5.txt | 3 --- doc/alpm-hooks.5.txt | 3 --- doc/footer.txt | 3 --- doc/index.txt | 4 ---- doc/libalpm.3.txt | 3 --- doc/makepkg-template.1.txt | 3 --- doc/makepkg.8.txt | 3 --- doc/makepkg.conf.5.txt | 3 --- doc/pacman-key.8.txt | 3 --- doc/pacman.8.txt | 3 --- doc/pacman.conf.5.txt | 3 --- doc/pkgdelta.8.txt | 3 --- doc/repo-add.8.txt | 3 --- doc/submitting-patches.txt | 4 ---- doc/translation-help.txt | 4 ---- doc/vercmp.8.txt | 3 --- etc/Makefile.am | 2 -- etc/makepkg.conf.in | 2 -- lib/libalpm/Makefile.am | 2 -- lib/libalpm/add.c | 2 -- lib/libalpm/add.h | 2 -- lib/libalpm/alpm.c | 2 -- lib/libalpm/alpm.h | 2 -- lib/libalpm/alpm_list.c | 2 -- lib/libalpm/alpm_list.h | 2 -- lib/libalpm/backup.c | 2 -- lib/libalpm/backup.h | 2 -- lib/libalpm/be_local.c | 2 -- lib/libalpm/be_package.c | 2 -- lib/libalpm/be_sync.c | 2 -- lib/libalpm/conflict.c | 2 -- lib/libalpm/conflict.h | 2 -- lib/libalpm/db.c | 2 -- lib/libalpm/db.h | 2 -- lib/libalpm/delta.c | 2 -- lib/libalpm/delta.h | 2 -- lib/libalpm/deps.c | 1 - lib/libalpm/deps.h | 2 -- lib/libalpm/diskspace.c | 2 -- lib/libalpm/diskspace.h | 2 -- lib/libalpm/dload.c | 2 -- lib/libalpm/dload.h | 2 -- lib/libalpm/error.c | 2 -- lib/libalpm/filelist.c | 2 -- lib/libalpm/filelist.h | 2 -- lib/libalpm/graph.c | 2 -- lib/libalpm/graph.h | 2 -- lib/libalpm/group.c | 2 -- lib/libalpm/group.h | 2 -- lib/libalpm/handle.c | 2 -- lib/libalpm/handle.h | 2 -- lib/libalpm/hook.c | 2 -- lib/libalpm/hook.h | 2 -- lib/libalpm/libarchive-compat.h | 2 -- lib/libalpm/log.c | 2 -- lib/libalpm/log.h | 2 -- lib/libalpm/package.c | 2 -- lib/libalpm/package.h | 2 -- lib/libalpm/pkghash.c | 2 -- lib/libalpm/rawstr.c | 2 -- lib/libalpm/remove.c | 2 -- lib/libalpm/remove.h | 2 -- lib/libalpm/signing.c | 2 -- lib/libalpm/signing.h | 2 -- lib/libalpm/sync.c | 2 -- lib/libalpm/sync.h | 2 -- lib/libalpm/trans.c | 1 - lib/libalpm/trans.h | 2 -- lib/libalpm/util.c | 2 -- lib/libalpm/util.h | 2 -- lib/libalpm/version.c | 2 -- scripts/Makefile.am | 3 --- scripts/makepkg-template.pl.in | 2 -- scripts/makepkg.sh.in | 2 -- scripts/pacman-db-upgrade.sh.in | 2 -- scripts/pacman-key.sh.in | 2 -- scripts/pkgdelta.sh.in | 2 -- scripts/repo-add.sh.in | 1 - src/common/Makefile.am | 2 -- src/common/ini.c | 2 -- src/common/ini.h | 2 -- src/common/util-common.c | 2 -- src/common/util-common.h | 2 -- src/pacman/Makefile.am | 3 --- src/pacman/callback.c | 2 -- src/pacman/callback.h | 2 -- src/pacman/check.c | 2 -- src/pacman/check.h | 2 -- src/pacman/conf.c | 2 -- src/pacman/conf.h | 2 -- src/pacman/database.c | 2 -- src/pacman/deptest.c | 2 -- src/pacman/files.c | 2 -- src/pacman/package.c | 2 -- src/pacman/package.h | 2 -- src/pacman/pacman.c | 2 -- src/pacman/pacman.h | 2 -- src/pacman/query.c | 2 -- src/pacman/remove.c | 2 -- src/pacman/sighandler.c | 2 -- src/pacman/sighandler.h | 2 -- src/pacman/sync.c | 2 -- src/pacman/upgrade.c | 2 -- src/pacman/util.c | 2 -- src/pacman/util.h | 2 -- src/util/Makefile.am | 2 -- src/util/cleanupdelta.c | 2 -- test/pacman/Makefile.am | 2 -- test/pacman/pactest.py | 2 -- test/pacman/pmdb.py | 2 -- test/pacman/pmenv.py | 2 -- test/pacman/pmfile.py | 2 -- test/pacman/pmpkg.py | 2 -- test/pacman/pmrule.py | 2 -- test/pacman/pmtest.py | 2 -- test/pacman/tests/Makefile.am | 2 -- test/pacman/util.py | 2 -- test/scripts/Makefile.am | 2 -- test/scripts/human_to_size_test.sh | 2 -- test/scripts/parseopts_test.sh | 2 -- test/tap.sh | 2 -- test/util/Makefile.am | 2 -- test/util/vercmptest.sh | 2 -- 128 files changed, 276 deletions(-) diff --git a/HACKING b/HACKING index 962a5f96..e32938cf 100644 --- a/HACKING +++ b/HACKING @@ -194,7 +194,3 @@ For example, to run valgrind: ./src/pacman/pacman valgrind --leak-check=full -- src/pacman/.libs/lt-pacman -Syu - -///// -vim:set syntax=asciidoc noet spell spelllang=en_us: -///// diff --git a/Makefile.am b/Makefile.am index 67ffc6b4..85be82b4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -69,5 +69,3 @@ update-copyright: done .PHONY: update-po update-copyright - -# vim:set noet: diff --git a/NEWS b/NEWS index b7298bfb..bd1c557a 100644 --- a/NEWS +++ b/NEWS @@ -1258,5 +1258,3 @@ VERSION DESCRIPTION backed up, then it will be copied to "file.save" - Changed db_find_conflicts() to ignore directories 1.0 - Initial Release - -vim: set et spell spelllang=en_us: diff --git a/configure.ac b/configure.ac index 4d2f7d34..a820b6de 100644 --- a/configure.ac +++ b/configure.ac @@ -594,5 +594,3 @@ ${PACKAGE_NAME}: extra warning flags : ${warningflags} use git version : ${wantgitver} " - -# vim:set noet: diff --git a/doc/Makefile.am b/doc/Makefile.am index bbf2af66..3eff9194 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -176,5 +176,3 @@ install-data-hook: uninstall-hook: $(RM) $(DESTDIR)$(mandir)/man8/repo-remove.8 - -# vim:set noet: diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt index cbd02e88..795dde45 100644 --- a/doc/PKGBUILD.5.txt +++ b/doc/PKGBUILD.5.txt @@ -1,6 +1,3 @@ -///// -vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: -///// PKGBUILD(5) =========== diff --git a/doc/alpm-hooks.5.txt b/doc/alpm-hooks.5.txt index 7c523e2d..eb56054e 100644 --- a/doc/alpm-hooks.5.txt +++ b/doc/alpm-hooks.5.txt @@ -1,6 +1,3 @@ -///// -vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: -///// alpm-hooks(5) ============= diff --git a/doc/footer.txt b/doc/footer.txt index 12b07150..5812aa72 100644 --- a/doc/footer.txt +++ b/doc/footer.txt @@ -1,6 +1,3 @@ -///// -vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: -///// See the pacman website at https://www.archlinux.org/pacman/[] for current information on pacman and its related tools. diff --git a/doc/index.txt b/doc/index.txt index 6461e34f..48510830 100644 --- a/doc/index.txt +++ b/doc/index.txt @@ -259,7 +259,3 @@ pacman is Copyright (C) 2006-2018 Pacman Development Team <pacman-dev@archlinux.org> and Copyright (C) 2002-2006 Judd Vinet <jvinet@zeroflux.org> and is licensed through the GNU General Public License, version 2 or later. - -///// -vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: -///// diff --git a/doc/libalpm.3.txt b/doc/libalpm.3.txt index aa667a11..e75fb880 100644 --- a/doc/libalpm.3.txt +++ b/doc/libalpm.3.txt @@ -1,6 +1,3 @@ -///// -vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: -///// libalpm(3) ========== diff --git a/doc/makepkg-template.1.txt b/doc/makepkg-template.1.txt index 99637d43..fcb19b07 100644 --- a/doc/makepkg-template.1.txt +++ b/doc/makepkg-template.1.txt @@ -1,6 +1,3 @@ -///// -vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: -///// makepkg-template(1) =================== diff --git a/doc/makepkg.8.txt b/doc/makepkg.8.txt index a065b795..58e9b27a 100644 --- a/doc/makepkg.8.txt +++ b/doc/makepkg.8.txt @@ -1,6 +1,3 @@ -///// -vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: -///// makepkg(8) ========== diff --git a/doc/makepkg.conf.5.txt b/doc/makepkg.conf.5.txt index 267dc9e9..a9246af5 100644 --- a/doc/makepkg.conf.5.txt +++ b/doc/makepkg.conf.5.txt @@ -1,6 +1,3 @@ -///// -vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: -///// makepkg.conf(5) =============== diff --git a/doc/pacman-key.8.txt b/doc/pacman-key.8.txt index 3c947f7a..0b46f919 100644 --- a/doc/pacman-key.8.txt +++ b/doc/pacman-key.8.txt @@ -1,6 +1,3 @@ -///// -vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: -///// pacman-key(8) ============= diff --git a/doc/pacman.8.txt b/doc/pacman.8.txt index a395b777..ebe16e61 100644 --- a/doc/pacman.8.txt +++ b/doc/pacman.8.txt @@ -1,6 +1,3 @@ -///// -vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: -///// pacman(8) ========= diff --git a/doc/pacman.conf.5.txt b/doc/pacman.conf.5.txt index f401193f..db8fe740 100644 --- a/doc/pacman.conf.5.txt +++ b/doc/pacman.conf.5.txt @@ -1,6 +1,3 @@ -///// -vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: -///// pacman.conf(5) ============== diff --git a/doc/pkgdelta.8.txt b/doc/pkgdelta.8.txt index 49b3460b..6d93a67a 100644 --- a/doc/pkgdelta.8.txt +++ b/doc/pkgdelta.8.txt @@ -1,6 +1,3 @@ -///// -vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: -///// pkgdelta(8) ========= diff --git a/doc/repo-add.8.txt b/doc/repo-add.8.txt index 564ee758..4c6d8d5a 100644 --- a/doc/repo-add.8.txt +++ b/doc/repo-add.8.txt @@ -1,6 +1,3 @@ -///// -vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: -///// repo-add(8) ========== diff --git a/doc/submitting-patches.txt b/doc/submitting-patches.txt index 77ec771f..73c7487d 100644 --- a/doc/submitting-patches.txt +++ b/doc/submitting-patches.txt @@ -99,7 +99,3 @@ aren't their own. When resubmitting patches, update the subject line to reflect the version number ('[PATCHv2]'), and send it as a reply to the original thread. -- - -///// -vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: -///// diff --git a/doc/translation-help.txt b/doc/translation-help.txt index 99ce3d82..67117bcc 100644 --- a/doc/translation-help.txt +++ b/doc/translation-help.txt @@ -151,7 +151,3 @@ the pacman codebase. However, this is not to say translations are unwelcome. If someone has experience with i18n man pages and how to best include them with our source, please contact the pacman-dev mailing list at mailto:pacman-dev@archlinux.org[]. - -///// -vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: -///// diff --git a/doc/vercmp.8.txt b/doc/vercmp.8.txt index 18819953..f8328a6b 100644 --- a/doc/vercmp.8.txt +++ b/doc/vercmp.8.txt @@ -1,6 +1,3 @@ -///// -vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: -///// vercmp(8) ========= diff --git a/etc/Makefile.am b/etc/Makefile.am index 5363f429..0d4fbc07 100644 --- a/etc/Makefile.am +++ b/etc/Makefile.am @@ -25,5 +25,3 @@ SED_PROCESS = \ %.conf: %.conf.in Makefile $(SED_PROCESS) - -# vim:set noet: diff --git a/etc/makepkg.conf.in b/etc/makepkg.conf.in index fe3858ad..3c3d4767 100644 --- a/etc/makepkg.conf.in +++ b/etc/makepkg.conf.in @@ -141,5 +141,3 @@ COMPRESSZ=(compress -c -f) # PKGEXT='@PKGEXT@' SRCEXT='@SRCEXT@' - -# vim: set ft=sh ts=2 sw=2 et: diff --git a/lib/libalpm/Makefile.am b/lib/libalpm/Makefile.am index f4f20e61..8201dcbd 100644 --- a/lib/libalpm/Makefile.am +++ b/lib/libalpm/Makefile.am @@ -75,5 +75,3 @@ libalpm_la_LIBADD = \ $(LIBCURL_LIBS) \ $(LIBSSL_LIBS) \ $(NETTLE_LIBS) - -# vim:set noet: diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c index e193ae0f..5a3e06b8 100644 --- a/lib/libalpm/add.c +++ b/lib/libalpm/add.c @@ -694,5 +694,3 @@ int _alpm_upgrade_packages(alpm_handle_t *handle) return ret; } - -/* vim: set noet: */ diff --git a/lib/libalpm/add.h b/lib/libalpm/add.h index 7c93843e..e9125c78 100644 --- a/lib/libalpm/add.h +++ b/lib/libalpm/add.h @@ -27,5 +27,3 @@ int _alpm_upgrade_packages(alpm_handle_t *handle); #endif /* ALPM_ADD_H */ - -/* vim: set noet: */ diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c index f5114e13..0f3db6f4 100644 --- a/lib/libalpm/alpm.c +++ b/lib/libalpm/alpm.c @@ -166,5 +166,3 @@ int SYMEXPORT alpm_capabilities(void) #endif | 0; } - -/* vim: set noet: */ diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 02d5e584..57226ebd 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -1646,5 +1646,3 @@ void alpm_conflict_free(alpm_conflict_t *conflict); } #endif #endif /* ALPM_H */ - -/* vim: set noet: */ diff --git a/lib/libalpm/alpm_list.c b/lib/libalpm/alpm_list.c index 8a907ff2..f2b10be4 100644 --- a/lib/libalpm/alpm_list.c +++ b/lib/libalpm/alpm_list.c @@ -842,5 +842,3 @@ void SYMEXPORT *alpm_list_to_array(const alpm_list_t *list, size_t n, } /** @} */ - -/* vim: set noet: */ diff --git a/lib/libalpm/alpm_list.h b/lib/libalpm/alpm_list.h index aa79e69e..8a2c5b2b 100644 --- a/lib/libalpm/alpm_list.h +++ b/lib/libalpm/alpm_list.h @@ -92,5 +92,3 @@ void *alpm_list_to_array(const alpm_list_t *list, size_t n, size_t size); } #endif #endif /* ALPM_LIST_H */ - -/* vim: set noet: */ diff --git a/lib/libalpm/backup.c b/lib/libalpm/backup.c index 3e42b585..6640c5e6 100644 --- a/lib/libalpm/backup.c +++ b/lib/libalpm/backup.c @@ -98,5 +98,3 @@ error: free(newbackup); return NULL; } - -/* vim: set noet: */ diff --git a/lib/libalpm/backup.h b/lib/libalpm/backup.h index 1580426b..00e39b40 100644 --- a/lib/libalpm/backup.h +++ b/lib/libalpm/backup.h @@ -29,5 +29,3 @@ void _alpm_backup_free(alpm_backup_t *backup); alpm_backup_t *_alpm_backup_dup(const alpm_backup_t *backup); #endif /* ALPM_BACKUP_H */ - -/* vim: set noet: */ diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c index 2b4d9330..7c2f96b8 100644 --- a/lib/libalpm/be_local.c +++ b/lib/libalpm/be_local.c @@ -1166,5 +1166,3 @@ alpm_db_t *_alpm_db_register_local(alpm_handle_t *handle) handle->db_local = db; return db; } - -/* vim: set noet: */ diff --git a/lib/libalpm/be_package.c b/lib/libalpm/be_package.c index 9daf28af..ac911bdb 100644 --- a/lib/libalpm/be_package.c +++ b/lib/libalpm/be_package.c @@ -788,5 +788,3 @@ int SYMEXPORT alpm_pkg_load(alpm_handle_t *handle, const char *filename, int ful return 0; } - -/* vim: set noet: */ diff --git a/lib/libalpm/be_sync.c b/lib/libalpm/be_sync.c index 0ccb7209..5009a7da 100644 --- a/lib/libalpm/be_sync.c +++ b/lib/libalpm/be_sync.c @@ -805,5 +805,3 @@ alpm_db_t *_alpm_db_register_sync(alpm_handle_t *handle, const char *treename, handle->dbs_sync = alpm_list_add(handle->dbs_sync, db); return db; } - -/* vim: set noet: */ diff --git a/lib/libalpm/conflict.c b/lib/libalpm/conflict.c index 16ad19ab..35946de5 100644 --- a/lib/libalpm/conflict.c +++ b/lib/libalpm/conflict.c @@ -700,5 +700,3 @@ alpm_list_t *_alpm_db_find_fileconflicts(alpm_handle_t *handle, return conflicts; } - -/* vim: set noet: */ diff --git a/lib/libalpm/conflict.h b/lib/libalpm/conflict.h index a2cdd171..2deff79b 100644 --- a/lib/libalpm/conflict.h +++ b/lib/libalpm/conflict.h @@ -31,5 +31,3 @@ alpm_list_t *_alpm_db_find_fileconflicts(alpm_handle_t *handle, alpm_list_t *upgrade, alpm_list_t *remove); #endif /* ALPM_CONFLICT_H */ - -/* vim: set noet: */ diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c index 35045fe5..aa7f2af7 100644 --- a/lib/libalpm/db.c +++ b/lib/libalpm/db.c @@ -726,5 +726,3 @@ alpm_group_t *_alpm_db_get_groupfromcache(alpm_db_t *db, const char *target) return NULL; } - -/* vim: set noet: */ diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h index 1cb737ab..60062056 100644 --- a/lib/libalpm/db.h +++ b/lib/libalpm/db.h @@ -112,5 +112,3 @@ alpm_list_t *_alpm_db_get_groupcache(alpm_db_t *db); alpm_group_t *_alpm_db_get_groupfromcache(alpm_db_t *db, const char *target); #endif /* ALPM_DB_H */ - -/* vim: set noet: */ diff --git a/lib/libalpm/delta.c b/lib/libalpm/delta.c index d8e696dc..33da4a3f 100644 --- a/lib/libalpm/delta.c +++ b/lib/libalpm/delta.c @@ -359,5 +359,3 @@ error: _alpm_delta_free(newdelta); return NULL; } - -/* vim: set noet: */ diff --git a/lib/libalpm/delta.h b/lib/libalpm/delta.h index c9d57c89..d80c0745 100644 --- a/lib/libalpm/delta.h +++ b/lib/libalpm/delta.h @@ -31,5 +31,3 @@ off_t _alpm_shortest_delta_path(alpm_handle_t *handle, alpm_list_t *deltas, const char *to, alpm_list_t **path); #endif /* ALPM_DELTA_H */ - -/* vim: set noet: */ diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c index 20ec9bc4..71185c68 100644 --- a/lib/libalpm/deps.c +++ b/lib/libalpm/deps.c @@ -954,4 +954,3 @@ char SYMEXPORT *alpm_dep_compute_string(const alpm_depend_t *dep) return str; } -/* vim: set noet: */ diff --git a/lib/libalpm/deps.h b/lib/libalpm/deps.h index c707998e..788b4573 100644 --- a/lib/libalpm/deps.h +++ b/lib/libalpm/deps.h @@ -39,5 +39,3 @@ int _alpm_depcmp_provides(alpm_depend_t *dep, alpm_list_t *provisions); int _alpm_depcmp(alpm_pkg_t *pkg, alpm_depend_t *dep); #endif /* ALPM_DEPS_H */ - -/* vim: set noet: */ diff --git a/lib/libalpm/diskspace.c b/lib/libalpm/diskspace.c index 25204f17..00745a9a 100644 --- a/lib/libalpm/diskspace.c +++ b/lib/libalpm/diskspace.c @@ -500,5 +500,3 @@ finish: return 0; } - -/* vim: set noet: */ diff --git a/lib/libalpm/diskspace.h b/lib/libalpm/diskspace.h index ffc819b3..8100dd6f 100644 --- a/lib/libalpm/diskspace.h +++ b/lib/libalpm/diskspace.h @@ -61,5 +61,3 @@ int _alpm_check_downloadspace(alpm_handle_t *handle, const char *cachedir, size_t num_files, off_t *file_sizes); #endif /* ALPM_DISKSPACE_H */ - -/* vim: set noet: */ diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c index f06caad8..eeef32f5 100644 --- a/lib/libalpm/dload.c +++ b/lib/libalpm/dload.c @@ -734,5 +734,3 @@ void _alpm_dload_payload_reset_for_retry(struct dload_payload *payload) payload->unlink_on_fail = 0; payload->cb_initialized = 0; } - -/* vim: set noet: */ diff --git a/lib/libalpm/dload.h b/lib/libalpm/dload.h index d69d5926..20a1ff3c 100644 --- a/lib/libalpm/dload.h +++ b/lib/libalpm/dload.h @@ -54,5 +54,3 @@ int _alpm_download(struct dload_payload *payload, const char *localpath, char **final_file, const char **final_url); #endif /* ALPM_DLOAD_H */ - -/* vim: set noet: */ diff --git a/lib/libalpm/error.c b/lib/libalpm/error.c index 28b2e36d..b4fc99ae 100644 --- a/lib/libalpm/error.c +++ b/lib/libalpm/error.c @@ -164,5 +164,3 @@ const char SYMEXPORT *alpm_strerror(alpm_errno_t err) return _("unexpected error"); } } - -/* vim: set noet: */ diff --git a/lib/libalpm/filelist.c b/lib/libalpm/filelist.c index 1048a4a1..0d01c0f6 100644 --- a/lib/libalpm/filelist.c +++ b/lib/libalpm/filelist.c @@ -145,5 +145,3 @@ void _alpm_filelist_sort(alpm_filelist_t *filelist) } } } - -/* vim: set noet: */ diff --git a/lib/libalpm/filelist.h b/lib/libalpm/filelist.h index 04a005fe..0b0de37e 100644 --- a/lib/libalpm/filelist.h +++ b/lib/libalpm/filelist.h @@ -30,5 +30,3 @@ alpm_list_t *_alpm_filelist_intersection(alpm_filelist_t *filesA, void _alpm_filelist_sort(alpm_filelist_t *filelist); #endif /* ALPM_FILELIST_H */ - -/* vim: set noet: */ diff --git a/lib/libalpm/graph.c b/lib/libalpm/graph.c index c0b8162a..98c2227f 100644 --- a/lib/libalpm/graph.c +++ b/lib/libalpm/graph.c @@ -36,5 +36,3 @@ void _alpm_graph_free(void *data) alpm_list_free(graph->children); free(graph); } - -/* vim: set noet: */ diff --git a/lib/libalpm/graph.h b/lib/libalpm/graph.h index 98ae16ea..d8d9ae4c 100644 --- a/lib/libalpm/graph.h +++ b/lib/libalpm/graph.h @@ -42,5 +42,3 @@ alpm_graph_t *_alpm_graph_new(void); void _alpm_graph_free(void *data); #endif /* ALPM_GRAPH_H */ - -/* vim: set noet: */ diff --git a/lib/libalpm/group.c b/lib/libalpm/group.c index 2808d8f1..9b6e7f21 100644 --- a/lib/libalpm/group.c +++ b/lib/libalpm/group.c @@ -49,5 +49,3 @@ void _alpm_group_free(alpm_group_t *grp) alpm_list_free(grp->packages); FREE(grp); } - -/* vim: set noet: */ diff --git a/lib/libalpm/group.h b/lib/libalpm/group.h index ef46adee..3b7a4644 100644 --- a/lib/libalpm/group.h +++ b/lib/libalpm/group.h @@ -26,5 +26,3 @@ alpm_group_t *_alpm_group_new(const char *name); void _alpm_group_free(alpm_group_t *grp); #endif /* ALPM_GROUP_H */ - -/* vim: set noet: */ diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c index 2bd360bf..2213ce53 100644 --- a/lib/libalpm/handle.c +++ b/lib/libalpm/handle.c @@ -876,5 +876,3 @@ int SYMEXPORT alpm_option_set_disable_dl_timeout(alpm_handle_t *handle, #endif return 0; } - -/* vim: set noet: */ diff --git a/lib/libalpm/handle.h b/lib/libalpm/handle.h index a7807cad..44c4904b 100644 --- a/lib/libalpm/handle.h +++ b/lib/libalpm/handle.h @@ -126,5 +126,3 @@ alpm_errno_t _alpm_set_directory_option(const char *value, char **storage, int must_exist); #endif /* ALPM_HANDLE_H */ - -/* vim: set noet: */ diff --git a/lib/libalpm/hook.c b/lib/libalpm/hook.c index 89018c4f..0805e661 100644 --- a/lib/libalpm/hook.c +++ b/lib/libalpm/hook.c @@ -782,5 +782,3 @@ cleanup: return ret; } - -/* vim: set noet: */ diff --git a/lib/libalpm/hook.h b/lib/libalpm/hook.h index d7835d87..364d22d7 100644 --- a/lib/libalpm/hook.h +++ b/lib/libalpm/hook.h @@ -25,5 +25,3 @@ int _alpm_hook_run(alpm_handle_t *handle, alpm_hook_when_t when); #endif /* ALPM_HOOK_H */ - -/* vim: set noet: */ diff --git a/lib/libalpm/libarchive-compat.h b/lib/libalpm/libarchive-compat.h index d65e141d..6cf8e0ad 100644 --- a/lib/libalpm/libarchive-compat.h +++ b/lib/libalpm/libarchive-compat.h @@ -69,5 +69,3 @@ static inline int _alpm_archive_read_support_filter_all(struct archive *archive) } #endif /* LIBARCHIVE_COMPAT_H */ - -/* vim: set noet: */ diff --git a/lib/libalpm/log.c b/lib/libalpm/log.c index 1a1f6b49..e46ad3c3 100644 --- a/lib/libalpm/log.c +++ b/lib/libalpm/log.c @@ -121,5 +121,3 @@ void _alpm_log(alpm_handle_t *handle, alpm_loglevel_t flag, const char *fmt, ... handle->logcb(flag, fmt, args); va_end(args); } - -/* vim: set noet: */ diff --git a/lib/libalpm/log.h b/lib/libalpm/log.h index 730ce012..a82cda41 100644 --- a/lib/libalpm/log.h +++ b/lib/libalpm/log.h @@ -28,5 +28,3 @@ void _alpm_log(alpm_handle_t *handle, alpm_loglevel_t flag, const char *fmt, ...) __attribute__((format(printf,3,4))); #endif /* ALPM_LOG_H */ - -/* vim: set noet: */ diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index b9fef335..97a78781 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -805,5 +805,3 @@ int SYMEXPORT alpm_pkg_should_ignore(alpm_handle_t *handle, alpm_pkg_t *pkg) return 0; } - -/* vim: set noet: */ diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h index cab41618..b11d5dda 100644 --- a/lib/libalpm/package.h +++ b/lib/libalpm/package.h @@ -161,5 +161,3 @@ int _alpm_pkg_cmp(const void *p1, const void *p2); int _alpm_pkg_compare_versions(alpm_pkg_t *local_pkg, alpm_pkg_t *pkg); #endif /* ALPM_PACKAGE_H */ - -/* vim: set noet: */ diff --git a/lib/libalpm/pkghash.c b/lib/libalpm/pkghash.c index 1d983916..4ae9541c 100644 --- a/lib/libalpm/pkghash.c +++ b/lib/libalpm/pkghash.c @@ -349,5 +349,3 @@ alpm_pkg_t *_alpm_pkghash_find(alpm_pkghash_t *hash, const char *name) return NULL; } - -/* vim: set noet: */ diff --git a/lib/libalpm/rawstr.c b/lib/libalpm/rawstr.c index f3f81f5a..96d3a911 100644 --- a/lib/libalpm/rawstr.c +++ b/lib/libalpm/rawstr.c @@ -133,5 +133,3 @@ int _alpm_raw_ncmp(const char *first, const char *second, size_t max) return (raw_toupper(*first) - raw_toupper(*second)); } - -/* vim: set noet: */ diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c index a83710ed..5b53ac34 100644 --- a/lib/libalpm/remove.c +++ b/lib/libalpm/remove.c @@ -779,5 +779,3 @@ int _alpm_remove_packages(alpm_handle_t *handle, int run_ldconfig) return ret; } - -/* vim: set noet: */ diff --git a/lib/libalpm/remove.h b/lib/libalpm/remove.h index 6252eeb7..67993bfc 100644 --- a/lib/libalpm/remove.h +++ b/lib/libalpm/remove.h @@ -32,5 +32,3 @@ int _alpm_remove_single_package(alpm_handle_t *handle, size_t targ_count, size_t pkg_count); #endif /* ALPM_REMOVE_H */ - -/* vim: set noet: */ diff --git a/lib/libalpm/signing.c b/lib/libalpm/signing.c index 76641274..df7ac6ca 100644 --- a/lib/libalpm/signing.c +++ b/lib/libalpm/signing.c @@ -1174,5 +1174,3 @@ int SYMEXPORT alpm_extract_keyid(alpm_handle_t *handle, const char *identifier, return 0; } - -/* vim: set noet: */ diff --git a/lib/libalpm/signing.h b/lib/libalpm/signing.h index 2f25f00d..f8b84b94 100644 --- a/lib/libalpm/signing.h +++ b/lib/libalpm/signing.h @@ -35,5 +35,3 @@ int _alpm_key_in_keychain(alpm_handle_t *handle, const char *fpr); int _alpm_key_import(alpm_handle_t *handle, const char *fpr); #endif /* ALPM_SIGNING_H */ - -/* vim: set noet: */ diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index a4d21a00..696a5131 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -1417,5 +1417,3 @@ int _alpm_sync_commit(alpm_handle_t *handle) return 0; } - -/* vim: set noet: */ diff --git a/lib/libalpm/sync.h b/lib/libalpm/sync.h index b4dd124c..f9c61491 100644 --- a/lib/libalpm/sync.h +++ b/lib/libalpm/sync.h @@ -30,5 +30,3 @@ int _alpm_sync_check(alpm_handle_t *handle, alpm_list_t **data); int _alpm_sync_commit(alpm_handle_t *handle); #endif /* ALPM_SYNC_H */ - -/* vim: set noet: */ diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c index af964832..4d97921f 100644 --- a/lib/libalpm/trans.c +++ b/lib/libalpm/trans.c @@ -445,4 +445,3 @@ alpm_list_t SYMEXPORT *alpm_trans_get_remove(alpm_handle_t *handle) return handle->trans->remove; } -/* vim: set noet: */ diff --git a/lib/libalpm/trans.h b/lib/libalpm/trans.h index a3b1c3b9..f9a87ee7 100644 --- a/lib/libalpm/trans.h +++ b/lib/libalpm/trans.h @@ -53,5 +53,3 @@ int _alpm_runscriptlet(alpm_handle_t *handle, const char *filepath, const char *script, const char *ver, const char *oldver, int is_archive); #endif /* ALPM_TRANS_H */ - -/* vim: set noet: */ diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c index 102a879a..a06f5bfd 100644 --- a/lib/libalpm/util.c +++ b/lib/libalpm/util.c @@ -1463,5 +1463,3 @@ void _alpm_alloc_fail(size_t size) { fprintf(stderr, "alloc failure: could not allocate %zu bytes\n", size); } - -/* vim: set noet: */ diff --git a/lib/libalpm/util.h b/lib/libalpm/util.h index 072799b8..9a3942f1 100644 --- a/lib/libalpm/util.h +++ b/lib/libalpm/util.h @@ -159,5 +159,3 @@ char *strsep(char **, const char *); #define UNUSED __attribute__((unused)) #endif /* ALPM_UTIL_H */ - -/* vim: set noet: */ diff --git a/lib/libalpm/version.c b/lib/libalpm/version.c index 1379e6b3..ac7f09c0 100644 --- a/lib/libalpm/version.c +++ b/lib/libalpm/version.c @@ -272,5 +272,3 @@ int SYMEXPORT alpm_pkg_vercmp(const char *a, const char *b) free(full2); return ret; } - -/* vim: set noet: */ diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 17e54eff..f759e149 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -289,6 +289,3 @@ uninstall-hook: for dir in $(LIBMAKEPKGDIRS); do \ $(RM) -r $(DESTDIR)$(libmakepkgdir)/$$dir; \ done - - -# vim:set noet: diff --git a/scripts/makepkg-template.pl.in b/scripts/makepkg-template.pl.in index 918d58c9..e485dec4 100755 --- a/scripts/makepkg-template.pl.in +++ b/scripts/makepkg-template.pl.in @@ -213,5 +213,3 @@ $opts{input} = "/dev/stdin" if $opts{input} eq "-"; $opts{output} = "/dev/stdout" if $opts{output} eq "-"; burp($opts{output}, process_file($opts{input})); - -# vim: set noet: diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index eee8a56c..13a8e7b3 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1693,5 +1693,3 @@ fi msg "$(gettext "Finished making: %s")" "$pkgbase $basever ($(date +%c))" install_package && exit $E_OK || exit $E_INSTALL_FAILED - -# vim: set noet: diff --git a/scripts/pacman-db-upgrade.sh.in b/scripts/pacman-db-upgrade.sh.in index 9d447cbc..9f27a2a2 100644 --- a/scripts/pacman-db-upgrade.sh.in +++ b/scripts/pacman-db-upgrade.sh.in @@ -240,5 +240,3 @@ echo "9" > "$dbroot"/local/ALPM_DB_VERSION # remove the lock file rm -f "$lockfile" - -# vim: set noet: diff --git a/scripts/pacman-key.sh.in b/scripts/pacman-key.sh.in index 060d8369..ff460363 100644 --- a/scripts/pacman-key.sh.in +++ b/scripts/pacman-key.sh.in @@ -636,5 +636,3 @@ fi (( UPDATEDB )) && updatedb exit 0 - -# vim: set noet: diff --git a/scripts/pkgdelta.sh.in b/scripts/pkgdelta.sh.in index 4500dd75..2dc12c28 100644 --- a/scripts/pkgdelta.sh.in +++ b/scripts/pkgdelta.sh.in @@ -227,5 +227,3 @@ if ! type xdelta3 &>/dev/null; then fi create_xdelta "$@" - -# vim: set noet: diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in index 4b3a03ea..8ab0099b 100644 --- a/scripts/repo-add.sh.in +++ b/scripts/repo-add.sh.in @@ -829,4 +829,3 @@ else fi exit 0 -# vim: set noet: diff --git a/src/common/Makefile.am b/src/common/Makefile.am index ba402b2d..c0e37273 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am @@ -1,4 +1,2 @@ EXTRA_DIST = \ util-common.h util-common.c - -# vim:set noet: diff --git a/src/common/ini.c b/src/common/ini.c index ae5d555d..9d656781 100644 --- a/src/common/ini.c +++ b/src/common/ini.c @@ -107,5 +107,3 @@ cleanup: free(section_name); return ret; } - -/* vim: set noet: */ diff --git a/src/common/ini.h b/src/common/ini.h index 22dbed91..6d2b264a 100644 --- a/src/common/ini.h +++ b/src/common/ini.h @@ -26,5 +26,3 @@ typedef int (ini_parser_fn)(const char *file, int line, const char *section, int parse_ini(const char *file, ini_parser_fn cb, void *data); #endif /* PM_INI_H */ - -/* vim: set noet: */ diff --git a/src/common/util-common.c b/src/common/util-common.c index f45524b0..3aa0eac9 100644 --- a/src/common/util-common.c +++ b/src/common/util-common.c @@ -197,5 +197,3 @@ char *strndup(const char *s, size_t n) return (char *)memcpy(new, s, len); } #endif - -/* vim: set noet: */ diff --git a/src/common/util-common.h b/src/common/util-common.h index 5e886c82..3434e1eb 100644 --- a/src/common/util-common.h +++ b/src/common/util-common.h @@ -39,5 +39,3 @@ char *strndup(const char *s, size_t n); #define ARRAYSIZE(a) (sizeof (a) / sizeof (a[0])) #endif /* PM_UTIL_COMMON_H */ - -/* vim: set noet: */ diff --git a/src/pacman/Makefile.am b/src/pacman/Makefile.am index a1adfcaa..2344daff 100644 --- a/src/pacman/Makefile.am +++ b/src/pacman/Makefile.am @@ -65,6 +65,3 @@ pacman_conf_SOURCES = pacman-conf.c \ conf.c pacman_conf_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la - - -# vim:set noet: diff --git a/src/pacman/callback.c b/src/pacman/callback.c index 1756d624..ee75297c 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -884,5 +884,3 @@ void cb_log(alpm_loglevel_t level, const char *fmt, va_list args) pm_vfprintf(stderr, level, fmt, args); } } - -/* vim: set noet: */ diff --git a/src/pacman/callback.h b/src/pacman/callback.h index 555c396d..e49f86dd 100644 --- a/src/pacman/callback.h +++ b/src/pacman/callback.h @@ -44,5 +44,3 @@ __attribute__((format(printf, 2, 0))) void cb_log(alpm_loglevel_t level, const char *fmt, va_list args); #endif /* PM_CALLBACK_H */ - -/* vim: set noet: */ diff --git a/src/pacman/check.c b/src/pacman/check.c index 9b61a1ed..62c0ca8e 100644 --- a/src/pacman/check.c +++ b/src/pacman/check.c @@ -390,5 +390,3 @@ int check_pkg_full(alpm_pkg_t *pkg) return (errors != 0 ? 1 : 0); } - -/* vim: set noet: */ diff --git a/src/pacman/check.h b/src/pacman/check.h index a3930b6b..d9fd6902 100644 --- a/src/pacman/check.h +++ b/src/pacman/check.h @@ -26,5 +26,3 @@ int check_pkg_fast(alpm_pkg_t *pkg); int check_pkg_full(alpm_pkg_t *pkg); #endif /* PM_CHECK_H */ - -/* vim: set noet: */ diff --git a/src/pacman/conf.c b/src/pacman/conf.c index 4ca97d86..9a37dcea 100644 --- a/src/pacman/conf.c +++ b/src/pacman/conf.c @@ -1073,5 +1073,3 @@ int parseconfig(const char *file) config->repos = NULL; return ret; } - -/* vim: set noet: */ diff --git a/src/pacman/conf.h b/src/pacman/conf.h index 39488062..ababf2e0 100644 --- a/src/pacman/conf.h +++ b/src/pacman/conf.h @@ -245,5 +245,3 @@ int parseconfig(const char *file); int parseconfigfile(const char *file); int setdefaults(config_t *c); #endif /* PM_CONF_H */ - -/* vim: set noet: */ diff --git a/src/pacman/database.c b/src/pacman/database.c index f8c7ef62..f3b890ce 100644 --- a/src/pacman/database.c +++ b/src/pacman/database.c @@ -300,5 +300,3 @@ int pacman_database(alpm_list_t *targets) return ret; } - -/* vim: set noet: */ diff --git a/src/pacman/deptest.c b/src/pacman/deptest.c index 09da1a67..597eee42 100644 --- a/src/pacman/deptest.c +++ b/src/pacman/deptest.c @@ -53,5 +53,3 @@ int pacman_deptest(alpm_list_t *targets) alpm_list_free(deps); return 127; } - -/* vim: set noet: */ diff --git a/src/pacman/files.c b/src/pacman/files.c index 79feec74..d7fc5446 100644 --- a/src/pacman/files.c +++ b/src/pacman/files.c @@ -323,5 +323,3 @@ int pacman_files(alpm_list_t *targets) return 0; } - -/* vim: set noet: */ diff --git a/src/pacman/package.c b/src/pacman/package.c index be5456aa..e80c5953 100644 --- a/src/pacman/package.c +++ b/src/pacman/package.c @@ -568,5 +568,3 @@ int dump_pkg_search(alpm_db_t *db, alpm_list_t *targets, int show_status) return 0; } - -/* vim: set noet: */ diff --git a/src/pacman/package.h b/src/pacman/package.h index 983fd822..68c2a630 100644 --- a/src/pacman/package.h +++ b/src/pacman/package.h @@ -32,5 +32,3 @@ void print_installed(alpm_db_t *db_local, alpm_pkg_t *pkg); int dump_pkg_search(alpm_db_t *db, alpm_list_t *targets, int show_status); #endif /* PM_PACKAGE_H */ - -/* vim: set noet: */ diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index b1ef163b..fe54793e 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -1304,5 +1304,3 @@ int main(int argc, char *argv[]) /* not reached */ return EXIT_SUCCESS; } - -/* vim: set noet: */ diff --git a/src/pacman/pacman.h b/src/pacman/pacman.h index 05febffc..50ecc110 100644 --- a/src/pacman/pacman.h +++ b/src/pacman/pacman.h @@ -41,5 +41,3 @@ int sync_prepare_execute(void); int pacman_upgrade(alpm_list_t *targets); #endif /* PM_PACMAN_H */ - -/* vim: set noet: */ diff --git a/src/pacman/query.c b/src/pacman/query.c index c1ea855d..00c39638 100644 --- a/src/pacman/query.c +++ b/src/pacman/query.c @@ -511,5 +511,3 @@ int pacman_query(alpm_list_t *targets) return ret; } - -/* vim: set noet: */ diff --git a/src/pacman/remove.c b/src/pacman/remove.c index bca4910e..a2269ed8 100644 --- a/src/pacman/remove.c +++ b/src/pacman/remove.c @@ -186,5 +186,3 @@ cleanup: } return retval; } - -/* vim: set noet: */ diff --git a/src/pacman/sighandler.c b/src/pacman/sighandler.c index f59d23f5..ebcdebae 100644 --- a/src/pacman/sighandler.c +++ b/src/pacman/sighandler.c @@ -115,5 +115,3 @@ void install_winch_handler(void) new_action.sa_flags = SA_RESTART; sigaction(SIGWINCH, &new_action, NULL); } - -/* vim: set noet: */ diff --git a/src/pacman/sighandler.h b/src/pacman/sighandler.h index ee2be333..24393c74 100644 --- a/src/pacman/sighandler.h +++ b/src/pacman/sighandler.h @@ -26,5 +26,3 @@ void install_soft_interrupt_handler(void); void remove_soft_interrupt_handler(void); #endif /* PM_SIGHANDLER_H */ - -/* vim: set noet: */ diff --git a/src/pacman/sync.c b/src/pacman/sync.c index 6453e5e4..3c6be89d 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -942,5 +942,3 @@ int pacman_sync(alpm_list_t *targets) return sync_trans(targets); } - -/* vim: set noet: */ diff --git a/src/pacman/upgrade.c b/src/pacman/upgrade.c index b1675a6f..8c63c124 100644 --- a/src/pacman/upgrade.c +++ b/src/pacman/upgrade.c @@ -129,5 +129,3 @@ fail_free: return retval; } - -/* vim: set noet: */ diff --git a/src/pacman/util.c b/src/pacman/util.c index 4bcc0362..74e1037d 100644 --- a/src/pacman/util.c +++ b/src/pacman/util.c @@ -1771,5 +1771,3 @@ int pm_vfprintf(FILE *stream, alpm_loglevel_t level, const char *format, va_list ret = vfprintf(stream, format, args); return ret; } - -/* vim: set noet: */ diff --git a/src/pacman/util.h b/src/pacman/util.h index ab1dbb72..a1fbef46 100644 --- a/src/pacman/util.h +++ b/src/pacman/util.h @@ -84,5 +84,3 @@ int pm_sprintf(char **string, alpm_loglevel_t level, const char *format, ...) __ int pm_vasprintf(char **string, alpm_loglevel_t level, const char *format, va_list args) __attribute__((format(printf,3,0))); #endif /* PM_UTIL_H */ - -/* vim: set noet: */ diff --git a/src/util/Makefile.am b/src/util/Makefile.am index 562151bc..470c79f5 100644 --- a/src/util/Makefile.am +++ b/src/util/Makefile.am @@ -26,5 +26,3 @@ testpkg_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la vercmp_SOURCES = vercmp.c vercmp_LDADD = $(top_builddir)/lib/libalpm/libalpm_la-version.lo - -# vim:set noet: diff --git a/src/util/cleanupdelta.c b/src/util/cleanupdelta.c index b1f024c5..34e09c52 100644 --- a/src/util/cleanupdelta.c +++ b/src/util/cleanupdelta.c @@ -133,5 +133,3 @@ int main(int argc, char *argv[]) cleanup(0); } - -/* vim: set noet: */ diff --git a/test/pacman/Makefile.am b/test/pacman/Makefile.am index f71333c4..a36908a7 100644 --- a/test/pacman/Makefile.am +++ b/test/pacman/Makefile.am @@ -19,5 +19,3 @@ EXTRA_DIST = \ ChangeLog \ ldconfig.stub \ $(check_SCRIPTS) - -# vim:set noet: diff --git a/test/pacman/pactest.py b/test/pacman/pactest.py index b251ef45..1f5b8483 100755 --- a/test/pacman/pactest.py +++ b/test/pacman/pactest.py @@ -162,5 +162,3 @@ def create_parser(): if env.failed > 0: sys.exit(1) - -# vim: set ts=4 sw=4 et: diff --git a/test/pacman/pmdb.py b/test/pacman/pmdb.py index 1c425458..f7671987 100644 --- a/test/pacman/pmdb.py +++ b/test/pacman/pmdb.py @@ -257,5 +257,3 @@ def generate(self): serverpath = os.path.join(self.root, util.SYNCREPO, self.treename) util.mkdir(serverpath) shutil.copy(self.dbfile, serverpath) - -# vim: set ts=4 sw=4 et: diff --git a/test/pacman/pmenv.py b/test/pacman/pmenv.py index bf19ceaa..f1d626d3 100644 --- a/test/pacman/pmenv.py +++ b/test/pacman/pmenv.py @@ -69,5 +69,3 @@ def run(self): tap.diag("==> Checking rules") tap.todo = t.expectfailure tap.subtest(lambda: t.check(), t.description) - -# vim: set ts=4 sw=4 et: diff --git a/test/pacman/pmfile.py b/test/pacman/pmfile.py index af37e9f2..f7204d68 100644 --- a/test/pacman/pmfile.py +++ b/test/pacman/pmfile.py @@ -80,5 +80,3 @@ def ismodified(self): return True return False - -# vim: set ts=4 sw=4 et: diff --git a/test/pacman/pmpkg.py b/test/pacman/pmpkg.py index db81225c..5a32ccd6 100644 --- a/test/pacman/pmpkg.py +++ b/test/pacman/pmpkg.py @@ -221,5 +221,3 @@ def installfile(self): data.append("%s() {\n%s\n}\n" % (key, value)) return "\n".join(data) - -# vim: set ts=4 sw=4 et: diff --git a/test/pacman/pmrule.py b/test/pacman/pmrule.py index 923ccde9..bdd0fcaa 100644 --- a/test/pacman/pmrule.py +++ b/test/pacman/pmrule.py @@ -189,5 +189,3 @@ def check(self, test): success = not success self.result = success return success - -# vim: set ts=4 sw=4 et: diff --git a/test/pacman/pmtest.py b/test/pacman/pmtest.py index 0f0f84e0..00012ac6 100644 --- a/test/pacman/pmtest.py +++ b/test/pacman/pmtest.py @@ -323,5 +323,3 @@ def cachedir(self): def hookdir(self): return os.path.join(self.root, util.PM_HOOKDIR) - -# vim: set ts=4 sw=4 et: diff --git a/test/pacman/tests/Makefile.am b/test/pacman/tests/Makefile.am index b541b3d6..ba3d0993 100644 --- a/test/pacman/tests/Makefile.am +++ b/test/pacman/tests/Makefile.am @@ -3,5 +3,3 @@ check_SCRIPTS = $(wildcard *.py) noinst_SCRIPTS = $(check_SCRIPTS) EXTRA_DIST = $(check_SCRIPTS) - -# vim:set noet: diff --git a/test/pacman/util.py b/test/pacman/util.py index f84a6ae0..5fbe4c35 100644 --- a/test/pacman/util.py +++ b/test/pacman/util.py @@ -185,5 +185,3 @@ def mkdir(path): elif os.path.isfile(path): raise OSError("'%s' already exists and is not a directory" % path) os.makedirs(path, 0o755) - -# vim: set ts=4 sw=4 et: diff --git a/test/scripts/Makefile.am b/test/scripts/Makefile.am index ed1a9511..450a278d 100644 --- a/test/scripts/Makefile.am +++ b/test/scripts/Makefile.am @@ -8,5 +8,3 @@ noinst_SCRIPTS = $(check_SCRIPTS) EXTRA_DIST = \ $(check_SCRIPTS) - -# vim:set noet: diff --git a/test/scripts/human_to_size_test.sh b/test/scripts/human_to_size_test.sh index 6334495f..fe9a94ba 100755 --- a/test/scripts/human_to_size_test.sh +++ b/test/scripts/human_to_size_test.sh @@ -53,5 +53,3 @@ tap_parse_hts '1M' 1048576 tap_parse_hts ' 1 G ' 1073741824 tap_parse_hts '1Q' '' - -# vim: set noet: diff --git a/test/scripts/parseopts_test.sh b/test/scripts/parseopts_test.sh index a5821986..9674c6a6 100755 --- a/test/scripts/parseopts_test.sh +++ b/test/scripts/parseopts_test.sh @@ -112,5 +112,3 @@ tap_parse '--force --' 2 --force tap_parse '--clean foo --' 3 --clean=foo tap_finish - -# vim: set noet: diff --git a/test/tap.sh b/test/tap.sh index 38852691..894d49ca 100644 --- a/test/tap.sh +++ b/test/tap.sh @@ -159,5 +159,3 @@ tap_diff() { fi return $ret } - -# vim: ft=sh diff --git a/test/util/Makefile.am b/test/util/Makefile.am index 27ef49f1..92824e8c 100644 --- a/test/util/Makefile.am +++ b/test/util/Makefile.am @@ -5,5 +5,3 @@ noinst_SCRIPTS = $(check_SCRIPTS) EXTRA_DIST = \ $(check_SCRIPTS) - -# vim:set noet: diff --git a/test/util/vercmptest.sh b/test/util/vercmptest.sh index 18eeb37a..1541e7ae 100755 --- a/test/util/vercmptest.sh +++ b/test/util/vercmptest.sh @@ -114,5 +114,3 @@ tap_runtest 1:1.0 1.1 1 tap_runtest 1:1.1 1.1 1 tap_finish - -# vim: set noet: -- 2.17.0
Since we no longer use vim-specific modelines, use the .asciidoc file extension which is, well, reserved for asciidoc formatted files. This should presumably work everywhere without needing editor-specific workarounds and configuration. Also add a shebang to makepkg.conf to indicate it contains bash content. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> --- doc/{BUILDINFO.5.txt => BUILDINFO.5.asciidoc} | 2 +- doc/Makefile.am | 68 +++++++++---------- doc/{PKGBUILD.5.txt => PKGBUILD.5.asciidoc} | 2 +- ...alpm-hooks.5.txt => alpm-hooks.5.asciidoc} | 2 +- doc/{footer.txt => footer.asciidoc} | 0 doc/{index.txt => index.asciidoc} | 0 doc/{libalpm.3.txt => libalpm.3.asciidoc} | 2 +- ...late.1.txt => makepkg-template.1.asciidoc} | 2 +- doc/{makepkg.8.txt => makepkg.8.asciidoc} | 2 +- ...pkg.conf.5.txt => makepkg.conf.5.asciidoc} | 2 +- ...pacman-key.8.txt => pacman-key.8.asciidoc} | 2 +- doc/{pacman.8.txt => pacman.8.asciidoc} | 2 +- ...cman.conf.5.txt => pacman.conf.5.asciidoc} | 2 +- doc/{pkgdelta.8.txt => pkgdelta.8.asciidoc} | 2 +- doc/{repo-add.8.txt => repo-add.8.asciidoc} | 2 +- ...atches.txt => submitting-patches.asciidoc} | 0 ...ion-help.txt => translation-help.asciidoc} | 0 doc/{vercmp.8.txt => vercmp.8.asciidoc} | 2 +- etc/makepkg.conf.in | 1 + 19 files changed, 48 insertions(+), 47 deletions(-) rename doc/{BUILDINFO.5.txt => BUILDINFO.5.asciidoc} (98%) rename doc/{PKGBUILD.5.txt => PKGBUILD.5.asciidoc} (99%) rename doc/{alpm-hooks.5.txt => alpm-hooks.5.asciidoc} (99%) rename doc/{footer.txt => footer.asciidoc} (100%) rename doc/{index.txt => index.asciidoc} (100%) rename doc/{libalpm.3.txt => libalpm.3.asciidoc} (96%) rename doc/{makepkg-template.1.txt => makepkg-template.1.asciidoc} (99%) rename doc/{makepkg.8.txt => makepkg.8.asciidoc} (99%) rename doc/{makepkg.conf.5.txt => makepkg.conf.5.asciidoc} (99%) rename doc/{pacman-key.8.txt => pacman-key.8.asciidoc} (99%) rename doc/{pacman.8.txt => pacman.8.asciidoc} (99%) rename doc/{pacman.conf.5.txt => pacman.conf.5.asciidoc} (99%) rename doc/{pkgdelta.8.txt => pkgdelta.8.asciidoc} (97%) rename doc/{repo-add.8.txt => repo-add.8.asciidoc} (99%) rename doc/{submitting-patches.txt => submitting-patches.asciidoc} (100%) rename doc/{translation-help.txt => translation-help.asciidoc} (100%) rename doc/{vercmp.8.txt => vercmp.8.asciidoc} (98%) diff --git a/doc/BUILDINFO.5.txt b/doc/BUILDINFO.5.asciidoc similarity index 98% rename from doc/BUILDINFO.5.txt rename to doc/BUILDINFO.5.asciidoc index b7a72831..1821f012 100644 --- a/doc/BUILDINFO.5.txt +++ b/doc/BUILDINFO.5.asciidoc @@ -64,4 +64,4 @@ See Also -------- linkman:makepkg[8], linkman:pacman[8], linkman:makepkg.conf[5] -include::footer.txt[] +include::footer.asciidoc[] diff --git a/doc/Makefile.am b/doc/Makefile.am index 3eff9194..8dec4ab1 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -47,24 +47,24 @@ HTML_DOCS = \ EXTRA_DIST = \ asciidoc.conf \ asciidoc-override.css \ - alpm-hooks.5.txt \ - pacman.8.txt \ - makepkg.8.txt \ - makepkg-template.1.txt \ - repo-add.8.txt \ - vercmp.8.txt \ - pkgdelta.8.txt \ - pacman-key.8.txt \ - PKGBUILD.5.txt \ + alpm-hooks.5.asciidoc \ + pacman.8.asciidoc \ + makepkg.8.asciidoc \ + makepkg-template.1.asciidoc \ + repo-add.8.asciidoc \ + vercmp.8.asciidoc \ + pkgdelta.8.asciidoc \ + pacman-key.8.asciidoc \ + PKGBUILD.5.asciidoc \ PKGBUILD-example.txt \ - makepkg.conf.5.txt \ - pacman.conf.5.txt \ - BUILDINFO.5.txt \ - libalpm.3.txt \ - footer.txt \ - index.txt \ - submitting-patches.txt \ - translation-help.txt \ + makepkg.conf.5.asciidoc \ + pacman.conf.5.asciidoc \ + BUILDINFO.5.asciidoc \ + libalpm.3.asciidoc \ + footer.asciidoc \ + index.asciidoc \ + submitting-patches.asciidoc \ + translation-help.asciidoc \ Doxyfile \ $(ASCIIDOC_MANS) \ $(DOXYGEN_MANS) @@ -130,11 +130,11 @@ A2X_OPTS = \ --xsltproc-opts='-param man.endnotes.list.enabled 0 -param man.endnotes.are.numbered 0' # These rules are due to the includes and files of the asciidoc text -$(ASCIIDOC_MANS): asciidoc.conf footer.txt Makefile.am - $(AM_V_GEN)a2x $(A2X_OPTS) --asciidoc-opts="$(ASCIIDOC_OPTS) --out-file=./$@.xml" $(srcdir)/$@.txt +$(ASCIIDOC_MANS): asciidoc.conf footer.asciidoc Makefile.am + $(AM_V_GEN)a2x $(A2X_OPTS) --asciidoc-opts="$(ASCIIDOC_OPTS) --out-file=./$@.xml" $(srcdir)/$@.asciidoc -%.html: %.txt - $(AM_V_GEN)asciidoc $(ASCIIDOC_OPTS) -o - $*.txt | \ +%.html: %.asciidoc + $(AM_V_GEN)asciidoc $(ASCIIDOC_OPTS) -o - $*.asciidoc | \ sed -e 's/\r$$//' > $@ HACKING.html: ../HACKING @@ -142,7 +142,7 @@ HACKING.html: ../HACKING sed -e 's/\r$$//' > $@ # Customizations for certain HTML docs -$(HTML_MANPAGES): asciidoc.conf footer.txt Makefile.am +$(HTML_MANPAGES): asciidoc.conf footer.asciidoc Makefile.am $(HTML_OTHER): asciidoc.conf Makefile.am %.html: ASCIIDOC_OPTS += -a linkcss -a toc -a icons -a max-width=960px -a stylesheet=asciidoc-override.css %.8.html: ASCIIDOC_OPTS += -d manpage @@ -150,18 +150,18 @@ $(HTML_OTHER): asciidoc.conf Makefile.am %.3.html: ASCIIDOC_OPTS += -d manpage # Dependency rules -alpm-hooks.5 alpm-hooks.5.html: alpm-hooks.5.txt -pacman.8 pacman.8.html: pacman.8.txt -makepkg.8 makepkg.8.html: makepkg.8.txt -makepkg-template.1 makepkg-template.1.html: makepkg-template.1.txt -repo-add.8 repo-add.8.html: repo-add.8.txt -vercmp.8 vercmp.8.html: vercmp.8.txt -pkgdelta.8 pkgdelta.8.html: pkgdelta.8.txt -pacman-key.8 pacman-key.8.html: pacman-key.8.txt -PKGBUILD.5 PKGBUILD.5.html: PKGBUILD.5.txt PKGBUILD-example.txt -makepkg.conf.5 makepkg.conf.5.html: makepkg.conf.5.txt -pacman.conf.5 pacman.conf.5.html: pacman.conf.5.txt -libalpm.3 libalpm.3.html: libalpm.3.txt +alpm-hooks.5 alpm-hooks.5.html: alpm-hooks.5.asciidoc +pacman.8 pacman.8.html: pacman.8.asciidoc +makepkg.8 makepkg.8.html: makepkg.8.asciidoc +makepkg-template.1 makepkg-template.1.html: makepkg-template.1.asciidoc +repo-add.8 repo-add.8.html: repo-add.8.asciidoc +vercmp.8 vercmp.8.html: vercmp.8.asciidoc +pkgdelta.8 pkgdelta.8.html: pkgdelta.8.asciidoc +pacman-key.8 pacman-key.8.html: pacman-key.8.asciidoc +PKGBUILD.5 PKGBUILD.5.html: PKGBUILD.5.asciidoc PKGBUILD-example.txt +makepkg.conf.5 makepkg.conf.5.html: makepkg.conf.5.asciidoc +pacman.conf.5 pacman.conf.5.html: pacman.conf.5.asciidoc +libalpm.3 libalpm.3.html: libalpm.3.asciidoc # this one is just a symlink repo-remove.8: repo-add.8 $(RM) repo-remove.8 diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.asciidoc similarity index 99% rename from doc/PKGBUILD.5.txt rename to doc/PKGBUILD.5.asciidoc index 795dde45..9634bd15 100644 --- a/doc/PKGBUILD.5.txt +++ b/doc/PKGBUILD.5.asciidoc @@ -522,4 +522,4 @@ See Also -------- linkman:makepkg[8], linkman:pacman[8], linkman:makepkg.conf[5] -include::footer.txt[] +include::footer.asciidoc[] diff --git a/doc/alpm-hooks.5.txt b/doc/alpm-hooks.5.asciidoc similarity index 99% rename from doc/alpm-hooks.5.txt rename to doc/alpm-hooks.5.asciidoc index eb56054e..1d19f96e 100644 --- a/doc/alpm-hooks.5.txt +++ b/doc/alpm-hooks.5.asciidoc @@ -125,4 +125,4 @@ or not they were actually present on the file system before package removal. PostTransaction hooks will *not* run if the transaction fails to complete for any reason. -include::footer.txt[] +include::footer.asciidoc[] diff --git a/doc/footer.txt b/doc/footer.asciidoc similarity index 100% rename from doc/footer.txt rename to doc/footer.asciidoc diff --git a/doc/index.txt b/doc/index.asciidoc similarity index 100% rename from doc/index.txt rename to doc/index.asciidoc diff --git a/doc/libalpm.3.txt b/doc/libalpm.3.asciidoc similarity index 96% rename from doc/libalpm.3.txt rename to doc/libalpm.3.asciidoc index e75fb880..79ea5409 100644 --- a/doc/libalpm.3.txt +++ b/doc/libalpm.3.asciidoc @@ -34,4 +34,4 @@ See Also linkman:alpm-hooks[5], linkman:makepkg[8], linkman:pacman[8], linkman:pacman.conf[5] -include::footer.txt[] +include::footer.asciidoc[] diff --git a/doc/makepkg-template.1.txt b/doc/makepkg-template.1.asciidoc similarity index 99% rename from doc/makepkg-template.1.txt rename to doc/makepkg-template.1.asciidoc index fcb19b07..1cf39fb2 100644 --- a/doc/makepkg-template.1.txt +++ b/doc/makepkg-template.1.asciidoc @@ -115,4 +115,4 @@ See Also -------- linkman:makepkg[8], linkman:PKGBUILD[5] -include::footer.txt[] +include::footer.asciidoc[] diff --git a/doc/makepkg.8.txt b/doc/makepkg.8.asciidoc similarity index 99% rename from doc/makepkg.8.txt rename to doc/makepkg.8.asciidoc index 58e9b27a..b15e3a67 100644 --- a/doc/makepkg.8.txt +++ b/doc/makepkg.8.asciidoc @@ -346,4 +346,4 @@ See Also -------- linkman:makepkg.conf[5], linkman:PKGBUILD[5], linkman:pacman[8] -include::footer.txt[] +include::footer.asciidoc[] diff --git a/doc/makepkg.conf.5.txt b/doc/makepkg.conf.5.asciidoc similarity index 99% rename from doc/makepkg.conf.5.txt rename to doc/makepkg.conf.5.asciidoc index a9246af5..5f9fd02e 100644 --- a/doc/makepkg.conf.5.txt +++ b/doc/makepkg.conf.5.asciidoc @@ -266,4 +266,4 @@ See Also -------- linkman:makepkg[8], linkman:pacman[8], linkman:PKGBUILD[5] -include::footer.txt[] +include::footer.asciidoc[] diff --git a/doc/pacman-key.8.txt b/doc/pacman-key.8.asciidoc similarity index 99% rename from doc/pacman-key.8.txt rename to doc/pacman-key.8.asciidoc index 0b46f919..f0b5ac08 100644 --- a/doc/pacman-key.8.txt +++ b/doc/pacman-key.8.asciidoc @@ -142,4 +142,4 @@ See Also -------- linkman:pacman[8], linkman:pacman.conf[5] -include::footer.txt[] +include::footer.asciidoc[] diff --git a/doc/pacman.8.txt b/doc/pacman.8.asciidoc similarity index 99% rename from doc/pacman.8.txt rename to doc/pacman.8.asciidoc index ebe16e61..b6f4dd76 100644 --- a/doc/pacman.8.txt +++ b/doc/pacman.8.asciidoc @@ -565,4 +565,4 @@ See Also linkman:alpm-hooks[5], linkman:libalpm[3], linkman:makepkg[8], linkman:pacman.conf[5] -include::footer.txt[] +include::footer.asciidoc[] diff --git a/doc/pacman.conf.5.txt b/doc/pacman.conf.5.asciidoc similarity index 99% rename from doc/pacman.conf.5.txt rename to doc/pacman.conf.5.asciidoc index db8fe740..e5fffecf 100644 --- a/doc/pacman.conf.5.txt +++ b/doc/pacman.conf.5.asciidoc @@ -368,4 +368,4 @@ See Also -------- linkman:pacman[8], linkman:libalpm[3] -include::footer.txt[] +include::footer.asciidoc[] diff --git a/doc/pkgdelta.8.txt b/doc/pkgdelta.8.asciidoc similarity index 97% rename from doc/pkgdelta.8.txt rename to doc/pkgdelta.8.asciidoc index 6d93a67a..412e607e 100644 --- a/doc/pkgdelta.8.txt +++ b/doc/pkgdelta.8.asciidoc @@ -50,4 +50,4 @@ See Also -------- linkman:pacman[8], linkman:xdelta3[1] -include::footer.txt[] +include::footer.asciidoc[] diff --git a/doc/repo-add.8.txt b/doc/repo-add.8.asciidoc similarity index 99% rename from doc/repo-add.8.txt rename to doc/repo-add.8.asciidoc index 4c6d8d5a..945fff75 100644 --- a/doc/repo-add.8.txt +++ b/doc/repo-add.8.asciidoc @@ -91,4 +91,4 @@ See Also -------- linkman:makepkg[8], linkman:pacman[8], linkman:pkgdelta[8] -include::footer.txt[] +include::footer.asciidoc[] diff --git a/doc/submitting-patches.txt b/doc/submitting-patches.asciidoc similarity index 100% rename from doc/submitting-patches.txt rename to doc/submitting-patches.asciidoc diff --git a/doc/translation-help.txt b/doc/translation-help.asciidoc similarity index 100% rename from doc/translation-help.txt rename to doc/translation-help.asciidoc diff --git a/doc/vercmp.8.txt b/doc/vercmp.8.asciidoc similarity index 98% rename from doc/vercmp.8.txt rename to doc/vercmp.8.asciidoc index f8328a6b..88021674 100644 --- a/doc/vercmp.8.txt +++ b/doc/vercmp.8.asciidoc @@ -69,4 +69,4 @@ See Also -------- linkman:pacman[8], linkman:makepkg[8], linkman:libalpm[3] -include::footer.txt[] +include::footer.asciidoc[] diff --git a/etc/makepkg.conf.in b/etc/makepkg.conf.in index 3c3d4767..4382bea3 100644 --- a/etc/makepkg.conf.in +++ b/etc/makepkg.conf.in @@ -1,3 +1,4 @@ +#!/hint/bash # # @sysconfdir@/makepkg.conf # -- 2.17.0
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> --- .editorconfig | 20 ++++++++++++++++++++ HACKING | 9 ++------- 2 files changed, 22 insertions(+), 7 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..273eef48 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,20 @@ +# EditorConfig configuration for pacman +# http://EditorConfig.org + +# Top-most EditorConfig file +root = true + +# Unix-style newlines without trailing whitespaces, but with a newline +# ending every file, utf-8 charset, set indent to tabs +[*] +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +charset = utf-8 +indent_style = tab + +[NEWS,HACKING] +indent_style = space + +[*.py] +indent_style = space diff --git a/HACKING b/HACKING index e32938cf..009a4682 100644 --- a/HACKING +++ b/HACKING @@ -11,13 +11,8 @@ Coding Style 1. All code should be indented with tabs. (Ignore the use of only spaces in this file.) A tab size of two spaces is used when calculating line widths, - which should be a maximum of 80 characters. By default, source files - contain the following Vim modeline: -+ -[source,C] -------------------------------------------- -/* vim: set noet: */ -------------------------------------------- + which should be a maximum of 80 characters. An EditorConfig file is used + to set this project-wide default. 2. When opening new blocks such as 'while', 'if', or 'for', leave the opening brace on the same line as the beginning of the codeblock. The closing brace -- 2.17.0
participants (4)
-
Allan McRae
-
Andrew Gregory
-
Eli Schwartz
-
Eli Schwartz