]> git.pld-linux.org Git - packages/BitTorrent.git/blob - BitTorrent-xgettext.patch
BR: rpmbuild(macros) >= 1.710
[packages/BitTorrent.git] / BitTorrent-xgettext.patch
1 --- BitTorrent-5.0.9/makei18n.sh.wiget  2008-10-05 18:15:31.000000000 +0200
2 +++ BitTorrent-5.0.9/makei18n.sh        2008-10-05 18:28:56.000000000 +0200
3 @@ -28,8 +28,9 @@ ls BitTorrent/defaultargs.py    >> $APP_
4  ls *py                          >> $APP_NAME.lis
5  # find everything else
6  find . -name \*.py -type f | egrep -v '/(build)|(dist)|(test)/' >> $APP_NAME.lis
7 +sed -i -e 's=./BitTorrent/Upload.py==;s=./khashmir/khash.py==' $APP_NAME.lis
8  
9 -pygettext -o - $(cat $APP_NAME.lis)                             |\
10 +xgettext -o - $(cat $APP_NAME.lis)                              |\
11      sed -e 's/CHARSET/UTF-8/'                                   |\
12      sed -e 's/SOME DESCRIPTIVE TITLE./BitTorrent/'              |\
13      sed -e 's/YEAR/2006/'                                       |\
This page took 0.051378 seconds and 3 git commands to generate.