xaizek / hstr (License: Apachev2) (since 2018-12-07)
Bash and Zsh shell history suggest box - easily view, navigate, search and manage your command history.
Commit faf0d935c4b01c180c0a389cb62adaa6c2737d8a

Debian: polishing various config files + DEB build script (blank license, changelog format, change line format issues remains).
Author: Martin Dvorak
Author date (UTC): 2015-09-10 08:13
Committer name: Martin Dvorak
Committer date (UTC): 2015-09-10 08:13
Parent(s): 271395d29738929c914ec53922dba1b5b9abd4e9
Signing key:
Tree: 44d72bbd00d63c942b201a6e7fe2671d6a8cdcef
File Lines added Lines deleted
debian/changelog 1 1
debian/control 3 3
debian/copyright 2 2
dist/2-debian-build-deb.sh 4 4
dist/3-debian-push-mentors.sh 1 1
dist/debian-env.sh 4 4
dist/debian-make-distro.sh 3 3
dist/debian/hstr.dirs 0 0
dist/debian/rules 1 1
man/Makefile.am 1 1
man/hstr.1 0 0
src/Makefile.am 9 5
File debian/changelog changed (mode: 100644) (index f57888e..ca94b1b)
... ... hh (0.80-0ubuntu1) raring; urgency=low
2 2
3 3 * Fixed keyboard loop; Ctrl-r consistent shortcuts; propagation of the text from the prompt to HH. * Fixed keyboard loop; Ctrl-r consistent shortcuts; propagation of the text from the prompt to HH.
4 4
5 -- Martin Dvorak (Dvorka) <martin.dvorak@mindforger.com> Wed, 25 Dec 2013 17:21:31 +0100
5 -- Martin Dvorak <martin.dvorak@mindforger.com> Wed, 25 Dec 2013 17:21:31 +0100
File debian/control changed (mode: 100644) (index caf806b..ed9021f)
1 Source: hh
1 Source: hstr
2 2 Section: utils Section: utils
3 3 Priority: optional Priority: optional
4 Maintainer: Martin Dvorak (Dvorka) <martin.dvorak@mindforger.com>
4 Maintainer: Martin Dvorak <martin.dvorak@mindforger.com>
5 5 Build-Depends: debhelper (>= 8.0.0), autotools-dev, libreadline-dev, libncursesw5-dev Build-Depends: debhelper (>= 8.0.0), autotools-dev, libreadline-dev, libncursesw5-dev
6 6 Standards-Version: 3.9.5 Standards-Version: 3.9.5
7 7 Homepage: https://github.com/dvorka/hstr Homepage: https://github.com/dvorka/hstr
8 8 Vcs-Git: https://github.com/dvorka/hstr.git Vcs-Git: https://github.com/dvorka/hstr.git
9 9 Vcs-Browser: https://github.com/dvorka/hstr Vcs-Browser: https://github.com/dvorka/hstr
10 10
11 Package: hh
11 Package: hstr
12 12 Architecture: any Architecture: any
13 13 Depends: ${shlibs:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${misc:Depends}
14 14 Description: Suggest box like shell history completion Description: Suggest box like shell history completion
File debian/copyright changed (mode: 100644) (index 733bc50..0710208)
1 1 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2 Upstream-Name: hh
2 Upstream-Name: hstr
3 3 Source: https://github.com/dvorka/hstr Source: https://github.com/dvorka/hstr
4 4
5 5 Files: debian/* Files: debian/*
6 6 Copyright: 2015 Martin Dvorak <martin.dvorak@mindforger.com> Copyright: 2015 Martin Dvorak <martin.dvorak@mindforger.com>
7 License: Apache-2.0
7 License: Apache
8 8 Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
9 9 you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
10 10 You may obtain a copy of the License at You may obtain a copy of the License at
File dist/2-debian-build-deb.sh changed (mode: 100755) (index b3fa31a..f2867df)
... ... export SCRIPTHOME=`pwd`
7 7 function createChangelog() { function createChangelog() {
8 8 export MYTS=`date "+%a, %d %b %Y %H:%M:%S"` export MYTS=`date "+%a, %d %b %Y %H:%M:%S"`
9 9 echo "Changelog timestamp: ${MYTS}" echo "Changelog timestamp: ${MYTS}"
10 echo -e "hh (${HHFULLVERSION}) ${UBUNTUVERSION}; urgency=low" > $1
10 echo -e "hstr (${HHFULLVERSION}) ${UBUNTUVERSION}; urgency=low" > $1
11 11 echo -e "\n" >> $1 echo -e "\n" >> $1
12 12 echo -e " * ${HHBZRMSG}" >> $1 echo -e " * ${HHBZRMSG}" >> $1
13 13 echo -e "\n" >> $1 echo -e "\n" >> $1
 
... ... function createTarball() {
26 26 cd ../${HH} cd ../${HH}
27 27 } }
28 28
29 echo -e "\n_ hh deb build _______________________________________________\n"
29 echo -e "\n_ HSTR deb build _______________________________________________\n"
30 30
31 31 rm -rvf ../debian rm -rvf ../debian
32 32 cp -rvf ${HHSRC}/debian .. cp -rvf ${HHSRC}/debian ..
33 33
34 34 createChangelog ../debian/changelog createChangelog ../debian/changelog
35 35 cp -vf debian/rules ../debian/rules cp -vf debian/rules ../debian/rules
36 cp -vf debian/hh.dirs ../debian/hh.dirs
36 cp -vf debian/hstr.dirs ../debian/hstr.dirs
37 37 cp -vf debian/watch ../debian/watch cp -vf debian/watch ../debian/watch
38 38
39 39 cd ../.. cd ../..
40 mv hh ${HH}
40 mv hstr ${HH}
41 41 cd ${HH} cd ${HH}
42 42
43 43 createTarball createTarball
File dist/3-debian-push-mentors.sh changed (mode: 100755) (index 7dab250..95774c3)
3 3 . ./debian-env.sh . ./debian-env.sh
4 4
5 5 cd ../.. cd ../..
6 dput mentors hh*source.changes
6 dput mentors hstr*source.changes
7 7
8 8 # eof # eof
File dist/debian-env.sh changed (mode: 100755) (index 4317cd3..4589c6e)
2 2
3 3 # Debian release: https://wiki.debian.org/IntroDebianPackaging # Debian release: https://wiki.debian.org/IntroDebianPackaging
4 4
5 export HHVERSION="1.0.8"
5 export HHVERSION="1.17.0"
6 6 #export HHFULLVERSION=${HHVERSION}-1.0 # NMU upload #export HHFULLVERSION=${HHVERSION}-1.0 # NMU upload
7 export HHFULLVERSION=${HHVERSION}-1 # mantainer upload
8 export HH=hh_${HHVERSION}
7 export HHFULLVERSION=${HHVERSION}-1 # mantainer upload
8 export HH=hstr_${HHVERSION}
9 9 export HHRELEASE=hh-${HHFULLVERSION} export HHRELEASE=hh-${HHFULLVERSION}
10 10 export HHSRC=/home/dvorka/p/hstr/github/hstr export HHSRC=/home/dvorka/p/hstr/github/hstr
11 11 export NOW=`date +%Y-%m-%d--%H-%M-%S` export NOW=`date +%Y-%m-%d--%H-%M-%S`
 
... ... export HHBUILD=hstr-${NOW}
13 13
14 14 export UBUNTUVERSION=unstable export UBUNTUVERSION=unstable
15 15
16 export HHBZRMSG="Radix sort fixes."
16 export HHBZRMSG="Debian distribution."
17 17
18 18 # eof # eof
File dist/debian-make-distro.sh changed (mode: 100755) (index 53b0ee3..139208b)
2 2
3 3 . ~/p/hstr/github/hstr/dist/debian-env.sh . ~/p/hstr/github/hstr/dist/debian-env.sh
4 4
5 rm -rvf *.*~ ./debian
5 rm -rvf *.*~ ./debian ./bin
6 6
7 7 mkdir ${HHBUILD} mkdir ${HHBUILD}
8 8 cd ${HHBUILD} cd ${HHBUILD}
 
... ... tar zcf ${HH}.tgz ${HH}
15 15 rm -rvf ${HH} rm -rvf ${HH}
16 16
17 17 #bzr dh-make -v packagename version tarball #bzr dh-make -v packagename version tarball
18 bzr dh_make -v hh ${HHVERSION} ${HH}.tgz
18 bzr dh_make -v hstr ${HHVERSION} ${HH}.tgz
19 19
20 20 # rewrite to native dh_make: # rewrite to native dh_make:
21 21 #dh_make --single --createorig #dh_make --single --createorig
22 22
23 23 rm -vf *.orig.tar.gz rm -vf *.orig.tar.gz
24 24
25 cd hh/dist
25 cd hstr/dist
26 26 ./2-debian-build-deb.sh ./2-debian-build-deb.sh
27 27
28 28 pwd pwd
File dist/debian/hstr.dirs renamed from dist/debian/hh.dirs (similarity 100%)
File dist/debian/rules changed (mode: 100755) (index 5c264dd..f14cfec)
3 3 dh $@ dh $@
4 4
5 5 override_dh_auto_install: override_dh_auto_install:
6 $(MAKE) DESTDIR=$$(pwd)/debian/hh prefix=/usr install
6 $(MAKE) DESTDIR=$$(pwd)/debian/hstr prefix=/usr install
File man/Makefile.am changed (mode: 100644) (index e8316cc..b4e5c45)
1 man_MANS = hh.1
1 man_MANS = hh.1 hstr.1
File man/hstr.1 copied from file man/hh.1 (similarity 100%)
File src/Makefile.am changed (mode: 100644) (index 121cf64..989e533)
... ... AM_LDFLAGS =
21 21 # bin_ installs to bin; hh_ is the binary name # bin_ installs to bin; hh_ is the binary name
22 22 bin_PROGRAMS = hh bin_PROGRAMS = hh
23 23
24 hh_SOURCES = \
25 hashset.c include/hashset.h \
24 hh_SOURCES = \
25 hashset.c include/hashset.h \
26 26 hstr_curses.c include/hstr_curses.h \ hstr_curses.c include/hstr_curses.h \
27 27 hstr_history.c include/hstr_history.h \ hstr_history.c include/hstr_history.h \
28 hstr_utils.c include/hstr_utils.h \
28 hstr_utils.c include/hstr_utils.h \
29 29 hstr_favorites.c include/hstr_favorites.h \ hstr_favorites.c include/hstr_favorites.h \
30 30 hstr_blacklist.c include/hstr_blacklist.h \ hstr_blacklist.c include/hstr_blacklist.h \
31 hstr_regexp.c include/hstr_regexp.h \
32 radixsort.c include/radixsort.h \
31 hstr_regexp.c include/hstr_regexp.h \
32 radixsort.c include/radixsort.h \
33 33 hstr.c hstr.c
34
35 # create hh > hstr hard link on installation
36 install-exec-hook:
37 ln $(DESTDIR)$(bindir)/hh$(EXEEXT) $(DESTDIR)$(bindir)/hstr$(EXEEXT)
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/hstr

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/hstr

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master