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/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 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) |