[Pkg-privacy-commits] [pidgin-otr] 88/255: Makefile.mingw: packaging/windows/pidgin-otr.nsi: A couple small tweaks and updates to Windows packaging
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 12:51:27 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch experimental
in repository pidgin-otr.
commit 4ddc1968c5fd9b688c9991113c9fc301196c3718
Author: Rob Smits <rdfsmits at cs.uwaterloo.ca>
Date: Wed May 23 11:55:03 2012 -0400
Makefile.mingw:
packaging/windows/pidgin-otr.nsi: A couple small tweaks
and updates to Windows packaging
---
Makefile.mingw | 15 +++++++--------
packaging/windows/pidgin-otr.nsi | 8 ++++----
2 files changed, 11 insertions(+), 12 deletions(-)
diff --git a/Makefile.mingw b/Makefile.mingw
index 27d4aec..445b4f9 100644
--- a/Makefile.mingw
+++ b/Makefile.mingw
@@ -93,7 +93,7 @@ prepare_win32_export: all
otr_readforge.exe otr_sesskeys.exe; do \
cp -a $(LIBOTRBINDIR)/$$f win32_export/; done
cp -a $(LIBOTRSRCDIR)/README win32_export/README.Toolkit.txt
- cp -a $(LIBOTRSRCDIR)/Protocol-v2.html win32_export/Protocol-v2.html
+ cp -a $(LIBOTRSRCDIR)/Protocol-v3.html win32_export/Protocol-v3.html
cp -a $(LIBOTRSRCDIR)/COPYING win32_export/COPYING.txt
cp -a $(LIBOTRSRCDIR)/COPYING.LIB win32_export/COPYING.LIB.txt
cp -a $(TARGET) win32_export/
@@ -104,11 +104,10 @@ prepare_win32_export: all
mkdir -p win32_export/locale/$$l/LC_MESSAGES; \
cp -a $$i win32_export/locale/$$l/LC_MESSAGES/pidgin-otr.mo; \
done
- cp -a po/*.gmo win32_export/
cd win32_export; \
i586-mingw32msvc-strip *.exe *.dll; \
- perl -pi -e 's/$$/\r/' README.Toolkit.txt Protocol-v2.html \
- COPYING.txt COPYING.LIB.txt README.txt; \
+ perl -pi -e 's/$$/\r/' README.Toolkit.txt Protocol-v3.html \
+ COPYING.txt COPYING.LIB.txt README.txt;
installer: prepare_win32_export
makensis packaging/windows/pidgin-otr.nsi
@@ -116,9 +115,9 @@ installer: prepare_win32_export
## Package up all the pieces needed to build the installer
zip: prepare_win32_export
- rm -f ../$(ZIPFILE); \
- zip -r ../$(ZIPFILE) README.txt \
- README.Toolkit.txt Protocol-v2.html COPYING.txt \
- COPYING.LIB.txt *.exe *.dll *.nsi locale
+ rm -f $(ZIPFILE)
+ cd win32_export; \
+ zip -r $(ZIPFILE) ./*; \
+ mv $(ZIPFILE) ../;
rm -rf win32_export
diff --git a/packaging/windows/pidgin-otr.nsi b/packaging/windows/pidgin-otr.nsi
index b667a37..0bda765 100644
--- a/packaging/windows/pidgin-otr.nsi
+++ b/packaging/windows/pidgin-otr.nsi
@@ -43,7 +43,7 @@
; Welcome page
!insertmacro MUI_PAGE_WELCOME
; License page
-!insertmacro MUI_PAGE_LICENSE "../../../libotr/COPYING"
+!insertmacro MUI_PAGE_LICENSE "../../win32_export/COPYING.txt"
; Directory page
!insertmacro MUI_PAGE_DIRECTORY
; Instfiles page
@@ -84,7 +84,7 @@ Section "MainSection" SEC01
SetOverwrite on
; What the next line means is to recursively search /usr/share/locale
; and install all files under there named pidgin-otr.mo
- File /r "/usr/share/locale/pidgin-otr.mo"
+ File /r "../../win32_export/locale/pidgin-otr.mo"
SetOutPath "$INSTDIR"
SetOverwrite on
@@ -97,7 +97,7 @@ Section "MainSection" SEC01
File "../../win32_export/README.txt"
File "../../win32_export/COPYING.txt"
File "../../win32_export/COPYING.LIB.txt"
- File "../../win32_export/Protocol-v2.html"
+ File "../../win32_export/Protocol-v3.html"
File "../../win32_export/otr_mackey.exe"
File "../../win32_export/otr_modify.exe"
File "../../win32_export/otr_parse.exe"
@@ -136,7 +136,7 @@ Section Uninstall
Delete "$INSTDIR\pidgin-otr-uninst.exe"
Delete "$INSTDIR\README.Toolkit.txt"
Delete "$INSTDIR\README.txt"
- Delete "$INSTDIR\Protocol-v2.txt"
+ Delete "$INSTDIR\Protocol-v3.html"
Delete "$INSTDIR\COPYING.txt"
Delete "$INSTDIR\COPYING.LIB.txt"
Delete "$INSTDIR\otr_mackey.exe"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/pidgin-otr.git
More information about the Pkg-privacy-commits
mailing list