summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-04-04 22:49:56 -0400
committerKali Kaneko <kali@leap.se>2016-04-06 17:30:25 -0400
commitc35d9f6338300dcf6f1688ee2df9475dd14b8c94 (patch)
tree5e48490fbf10de3fcc3abb9e7784b59fee190c43 /pkg
parentb4dde3d5112c95574f85f62daf0c2c75db391f52 (diff)
[pkg] move the pyinstaller bundle to a child folder
Diffstat (limited to 'pkg')
-rw-r--r--pkg/next-version1
-rw-r--r--pkg/pyinst/pyinst-build.mk27
2 files changed, 23 insertions, 5 deletions
diff --git a/pkg/next-version b/pkg/next-version
new file mode 100644
index 00000000..8df8fe62
--- /dev/null
+++ b/pkg/next-version
@@ -0,0 +1 @@
+0.9.2.alpha3
diff --git a/pkg/pyinst/pyinst-build.mk b/pkg/pyinst/pyinst-build.mk
index 532ec88c..637390a8 100644
--- a/pkg/pyinst/pyinst-build.mk
+++ b/pkg/pyinst/pyinst-build.mk
@@ -1,5 +1,7 @@
pyinst:
- echo "MAKE SURE OF FREEZING VERSION FIRST!"
+ echo "*********************************************"
+ echo "MAKE SURE OF MANUALLY FREEZING VERSION FIRST!"
+ echo "*********************************************"
pyinstaller -y pkg/pyinst/bitmask.spec
pyinst-hacks:
@@ -19,6 +21,7 @@ pyinst-trim:
#rm -f dist/bitmask/libgstreamer-1.0.so.0
pyinst-wrapper:
+ # TODO this *is* an ugly hack, See #7352
mv $(DIST)libQtCore.so.4 $(DIST)libQtCore.so.4.orig
mv $(DIST)libQtGui.so.4 $(DIST)libQtGui.so.4.orig
mv $(DIST)libQtNetwork.so.4 $(DIST)libQtNetwork.so.4.orig
@@ -28,12 +31,26 @@ pyinst-wrapper:
mv $(DIST)libQtXml.so.4 $(DIST)libQtXml.so.4.orig
mv $(DIST)bitmask $(DIST)bitmask-app
cp pkg/linux/bitmask-launcher $(DIST)bitmask
- cp pkg/PixelatedWebmail.README $(DIST)
-
-pyinst-dist:
+pyinst-cleanup:
rm -rf $(DIST)config
- cd dist/ && tar cvzf Bitmask.0.9.2.alpha2.tar.gz bitmask
+ mkdir -p $(DIST_VERSION)
+ mv $(DIST) $(DIST_VERSION)libs
+ cd pkg/launcher && make
+ mv pkg/launcher/bitmask $(DIST_VERSION)
+
+pyinst-distribution-data:
+ cp release-notes.rst $(DIST_VERSION)
+ cp pkg/PixelatedWebmail.README $(DIST_VERSION)
+ cp LICENSE $(DIST_VERSION)
+
+pyinst-tar:
+ cd dist/ && tar cvzf Bitmask.$(NEXT_VERSION).tar.gz bitmask-$(NEXT_VERSION)
+
+pyinst-sign:
+ # TODO ---- get LEAP_MAINTAINER from environment
+
+pyinst-linux: pyinst pyinst-hacks pyinst-trim pyinst-wrapper pyinst-cleanup pyinst-distribution-data pyinst-tar
clean_pkg:
rm -rf build dist