Skip to content

Commit

Permalink
try to build package via git build package
Browse files Browse the repository at this point in the history
	modified:   ChangeLog
	modified:   debian/changelog
	modified:   po/partclone.pot
	modified:   po/zh_TW.gmo
	modified:   po/zh_TW.po
	modified:   toolbox

git-svn-id: svn+ssh://140.110.240.196/partclone_svn@363 93b75dfe-da2d-4241-a08d-2141769abc04
  • Loading branch information
thomas committed Mar 1, 2010
1 parent c0c4b57 commit 52cbe49
Show file tree
Hide file tree
Showing 6 changed files with 81 additions and 47 deletions.
27 changes: 27 additions & 0 deletions partclone/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
2010-03-01 Thomas Tsai <[email protected]>

try to build package via git build package
modified: ChangeLog
modified: debian/changelog
modified: po/partclone.pot
modified: po/zh_TW.gmo
modified: po/zh_TW.po
modified: toolbox

~ update message of fstype
~ replace to git repository
~ update version display
~ add gitlog-to-changelog to convert git log to ChangeLog

On branch master
Changes to be committed:
new file: gitlog-to-changelog
modified: ChangeLog
modified: configure
modified: configure.ac
modified: src/chkimg.c
modified: src/fstype.c
modified: src/partclone.c
modified: src/version.h
modified: toolbox

2010-02-25 Thomas Tsai <[email protected]>

update version number
Expand Down
7 changes: 7 additions & 0 deletions partclone/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
partclone (0.2.3-2ubuntu1) karmic; urgency=low

* add partclone.fstype to test filesystem type (vmfs only)
*

-- thomas <thomas@T-laptop> Mon, 01 Mar 2010 16:14:59 +0800

partclone (0.2.0-2) unstable; urgency=low

* VMFS supported in this release.
Expand Down
4 changes: 2 additions & 2 deletions partclone/po/partclone.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2010-01-18 10:07+0800\n"
"POT-Creation-Date: 2010-03-01 16:07+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -96,7 +96,7 @@ msgstr ""

#: src/partclone.c:936
#, c-format
msgid "Partclone v%s (%s) http://partclone.org\n"
msgid "Partclone v%s http://partclone.org\n"
msgstr ""

#: src/partclone.c:938
Expand Down
Binary file modified partclone/po/zh_TW.gmo
Binary file not shown.
4 changes: 2 additions & 2 deletions partclone/po/zh_TW.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Partclone 0.0.4\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2010-01-18 10:07+0800\n"
"POT-Creation-Date: 2010-03-01 16:07+0800\n"
"PO-Revision-Date: 2007-11-01 11:35+0800\n"
"Last-Translator: Yu-Chin Tsai <[email protected]>\n"
"Language-Team: Chinese (traditional) <[email protected]>\n"
Expand Down Expand Up @@ -104,7 +104,7 @@ msgstr ""

#: src/partclone.c:936
#, c-format
msgid "Partclone v%s (%s) http://partclone.org\n"
msgid "Partclone v%s http://partclone.org\n"
msgstr ""

#: src/partclone.c:938
Expand Down
86 changes: 43 additions & 43 deletions partclone/toolbox
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ case "$1" in
--update-log)
action=changelog
;;
# --update-version)
# action=version
# ;;
--update-version)
action=version
;;
--help)
help
;;
Expand Down Expand Up @@ -91,46 +91,46 @@ fi
##
## Create version file
##
#if test "${action}" = "version"
#then
# if test -z "${srcdir}"; then
# srcdir="`sed -ne 's/^srcdir *= *//p' < Makefile`"
# fi
# if test -z "${builddir}"; then
# builddir="`sed -ne 's/^top_builddir *= *//p' < Makefile`"
# fi
# if test -z "${CC}"; then
# CC="`sed -ne 's/^CC *= *//p' < Makefile`"
# fi
#
# file="${builddir}/src/version.h"
# if which svnversion 2>&1 >/dev/null; then
# SVN_REVISION=Rev:`svnversion ${builddir}`
# else
# SVN_REVISION='exported'
# fi
#
# rm -f ${file}.tmp
# mkdir -p -- "${builddir}/src/"
# cat > ${file}.tmp << EOF
#/* DO NOT EDIT THIS FILE - IT IS REGENERATED AT EVERY COMPILE -
# * IT GIVES BETTER TRACKING OF DEVELOPMENT VERSIONS
# * WHETHER THEY ARE BUILT BY OTHERS OR DURING DEVELOPMENT OR FOR THE
# * OFFICIAL PARTCLONE RELEASES.
# */
##define svn_version "${SVN_REVISION}"
#
#EOF
# if diff >/dev/null 2>&1 ${file} ${file}.tmp
# then
# rm -f ${file}.tmp
# else
# echo "creating new ${file}"
# mv -f ${file}.tmp ${file}
# fi
#
# exit 0
#fi
if test "${action}" = "version"
then
if test -z "${srcdir}"; then
srcdir="`sed -ne 's/^srcdir *= *//p' < Makefile`"
fi
if test -z "${builddir}"; then
builddir="`sed -ne 's/^top_builddir *= *//p' < Makefile`"
fi
if test -z "${CC}"; then
CC="`sed -ne 's/^CC *= *//p' < Makefile`"
fi

file="${builddir}/src/version.h"
if which svnversion 2>&1 >/dev/null; then
SVN_REVISION=Rev:`svnversion ${builddir}`
else
SVN_REVISION='exported'
fi

rm -f ${file}.tmp
mkdir -p -- "${builddir}/src/"
cat > ${file}.tmp << EOF
/* DO NOT EDIT THIS FILE - IT IS REGENERATED AT EVERY COMPILE -
* IT GIVES BETTER TRACKING OF DEVELOPMENT VERSIONS
* WHETHER THEY ARE BUILT BY OTHERS OR DURING DEVELOPMENT OR FOR THE
* OFFICIAL PARTCLONE RELEASES.
*/
#define svn_version "${SVN_REVISION}"
EOF
if diff >/dev/null 2>&1 ${file} ${file}.tmp
then
rm -f ${file}.tmp
else
echo "creating new ${file}"
mv -f ${file}.tmp ${file}
fi

exit 0
fi

if test "${action}" = "changelog"
then
Expand Down

0 comments on commit 52cbe49

Please sign in to comment.