mirror of
https://github.com/dvorka/hstr.git
synced 2024-09-20 14:56:14 +08:00
Launchpad automation
This commit is contained in:
parent
05fea46ba9
commit
137e839d06
|
@ -4,8 +4,8 @@
|
|||
|
||||
AC_PREREQ([2.69])
|
||||
|
||||
AC_INIT(hh, 0.7, martin.dvorak@mindforger.com)
|
||||
AM_INIT_AUTOMAKE(hh, 0.7)
|
||||
AC_INIT(hh, 0.73, martin.dvorak@mindforger.com)
|
||||
AM_INIT_AUTOMAKE(hh, 0.73)
|
||||
AC_OUTPUT(Makefile src/Makefile man/Makefile)
|
||||
|
||||
# Checks for src dir existence.
|
||||
|
|
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -1,4 +1,4 @@
|
|||
hh (0.71-0ubuntu1) raring; urgency=low
|
||||
hh (0.72-0ubuntu1) raring; urgency=low
|
||||
|
||||
* Case insensitive search with ctrl-i toggle.
|
||||
|
||||
|
|
2
debian/control
vendored
2
debian/control
vendored
|
@ -1,5 +1,5 @@
|
|||
Source: hh
|
||||
Section: universe/admin
|
||||
Section: Utilities
|
||||
Priority: optional
|
||||
Maintainer: Martin Dvorak <martin.dvorak@mindforger.com>
|
||||
Build-Depends: debhelper (>= 8.0.0), autotools-dev, libreadline-dev, libncurses5-dev
|
||||
|
|
2
dist/1-dist.sh
vendored
2
dist/1-dist.sh
vendored
|
@ -7,7 +7,7 @@ aclocal
|
|||
automake --force-missing --add-missing
|
||||
autoconf
|
||||
|
||||
rm -rvf depcomp install-sh missing autom*te.cache
|
||||
rm -rvf depcomp install-sh missing #autom*te.cache
|
||||
cp -vf /usr/share/automake-1.11/depcomp .
|
||||
cp -vf /usr/share/automake-1.11/install-sh .
|
||||
cp -vf /usr/share/automake-1.11/missing .
|
||||
|
|
16
dist/2-deb.sh
vendored
16
dist/2-deb.sh
vendored
|
@ -4,13 +4,21 @@ export SCRIPTHOME=`pwd`
|
|||
|
||||
. ./env.sh
|
||||
|
||||
function createChangelog() {
|
||||
export MYTS=`date "+%a, %d %b %Y %H:%M:%S"`
|
||||
echo "Changelog timestamp: ${MYTS}"
|
||||
echo -e "hh (${HHFULLVERSION}) ${UBUNTUVERSION}; urgency=low" > $1
|
||||
echo -e "\n" >> $1
|
||||
echo -e " * ${HHBZRMSG}" >> $1
|
||||
echo -e "\n" >> $1
|
||||
echo -e " -- Martin Dvorak (Dvorka) <martin.dvorak@mindforger.com> ${MYTS} +0100" >> $1
|
||||
echo -e "\n" >> $1
|
||||
}
|
||||
|
||||
rm -rvf ../debian
|
||||
cp -rvf ${HHSRC}/debian ..
|
||||
|
||||
cp changelog-${UBUNTUVERSION} ../debian/changelog
|
||||
cd ..
|
||||
dch -i
|
||||
cd dist
|
||||
createChangelog ../debian/changelog
|
||||
|
||||
cd ../..
|
||||
mv hh ${HH}
|
||||
|
|
3
dist/3-deb-push.sh
vendored
3
dist/3-deb-push.sh
vendored
|
@ -4,7 +4,8 @@
|
|||
|
||||
cd ..
|
||||
bzr commit -m "Sync."
|
||||
bzr push lp:~ultradvorka/+junk/hh-package
|
||||
bzr push :parent
|
||||
#bzr push lp:~ultradvorka/+junk/hh-package
|
||||
cd ..
|
||||
dput ppa:ultradvorka ${HHRELEASE}_source.changes
|
||||
|
||||
|
|
5
dist/changelog-raring
vendored
5
dist/changelog-raring
vendored
|
@ -1,5 +0,0 @@
|
|||
hh (0.71-0ubuntu1) raring; urgency=low
|
||||
|
||||
* Case insensitive search with ctrl-i toggle.
|
||||
|
||||
-- Martin Dvorak (Dvorka) <martin.dvorak@mindforger.com> Wed, 25 Dec 2013 17:21:31 +0100
|
5
dist/changelog-saucy
vendored
5
dist/changelog-saucy
vendored
|
@ -1,5 +0,0 @@
|
|||
hh (0.71-0ubuntu1) saucy; urgency=low
|
||||
|
||||
* Case insensitive search with ctrl-i toggle.
|
||||
|
||||
-- Martin Dvorak (Dvorka) <martin.dvorak@mindforger.com> Wed, 25 Dec 2013 17:21:31 +0100
|
13
dist/env.sh
vendored
13
dist/env.sh
vendored
|
@ -1,14 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
export HHVERSION="0.71"
|
||||
export HHVERSION="0.731"
|
||||
export HHFULLVERSION=${HHVERSION}-0ubuntu1
|
||||
export HH=hh_${HHVERSION}
|
||||
export HHRELEASE=${HH}-0ubuntu1
|
||||
export HHRELEASE=hh_${HHFULLVERSION}
|
||||
export HHSRC=/home/dvorka/p/hstr/github/hstr
|
||||
export NOW=`date +%Y-%m-%d--%H-%M-%S`
|
||||
export HHBUILD=hstr-${NOW}
|
||||
export UBUNTUVERSION=raring
|
||||
|
||||
# - when asked to change debian/changes, just copy the date and keep 0ubuntu1
|
||||
export UBUNTUVERSION=raring
|
||||
#export UBUNTUVERSION=saucy
|
||||
|
||||
export HHBZRMSG="Adding case insensitive search."
|
||||
|
||||
# - edit config.am ... set new version
|
||||
# - user email must be as in gpg i.e. (Dvorka) must present
|
||||
# - hh_ must be with underscore
|
||||
|
||||
|
|
36
dist/make-ubuntu-distro.sh
vendored
36
dist/make-ubuntu-distro.sh
vendored
|
@ -3,29 +3,43 @@
|
|||
. /home/dvorka/p/hstr/github/hstr/dist/env.sh
|
||||
|
||||
function branch_hh() {
|
||||
bzr branch lp:hstr
|
||||
#cd hstr
|
||||
#mv .bzr ..
|
||||
#rm -rvf debian dist man src LICENSE *.am *.md *.ac
|
||||
#mv ../.bzr .
|
||||
#cp -rvf ${HHSRC}/* ${HHSRC}/*.* .
|
||||
bzr branch lp:~ultradvorka/+junk/hh-package
|
||||
#bzr clone lp:~ultradvorka/+junk/hh-package
|
||||
#bzr branch lp:hstr
|
||||
mv hh-package ${HH}
|
||||
cd ${HH}
|
||||
mv .bzr ..
|
||||
rm -rvf debian dist man src LICENSE *.am *.md *.ac auto*.*
|
||||
mv ../.bzr .
|
||||
cp -rvf ${HHSRC}/* ${HHSRC}/*.* .
|
||||
cd ..
|
||||
#tar zcf ${HH}.tgz ${HH}
|
||||
#cp -vf ${H}.tgz ${HH}.orig.tar.gz
|
||||
mv -v ${HH} hh
|
||||
cd ./hh/dist && ./1-dist.sh && cd ../..
|
||||
}
|
||||
|
||||
function init_hh() {
|
||||
cp -rvf ${HHSRC} .
|
||||
cd ./hstr/dist && ./1-dist.sh && rm -vrf ../debian && cd ../..
|
||||
cd ${1}
|
||||
mv hstr ${HH}
|
||||
tar zcf ${HH}.tgz ${HH}
|
||||
rm -rvf ${HH}
|
||||
bzr dh-make hh ${HHVERSION} ${HH}.tgz
|
||||
bzr dh-make -v hh ${HHVERSION} ${HH}.tgz
|
||||
}
|
||||
|
||||
rm -rvf *.*~
|
||||
rm -rvf *.*~ ./debian
|
||||
|
||||
mkdir ${HHBUILD}
|
||||
cd ${HHBUILD}
|
||||
init_hh
|
||||
cd dist
|
||||
|
||||
#echo "Continue by editing debian/changes and dist/ directory: 1-dist.sh"
|
||||
branch_hh `pwd`
|
||||
#init_hh `pwd`
|
||||
|
||||
cd hh/dist
|
||||
./2-deb.sh
|
||||
|
||||
echo -e "\n\nContinue by editing debian/changes and dist/ directory: 3-deb-push.sh\n"
|
||||
|
||||
# eof
|
||||
|
|
Loading…
Reference in a new issue