added deb deployment

This commit is contained in:
jeena 2013-03-27 00:00:55 +01:00
parent 746f3f4a89
commit 5e306e0dd8
13 changed files with 11636 additions and 15 deletions

View file

@ -1,14 +0,0 @@
#!/bin/bash
mkdir -p build
mkdir -p build/bin
mkdir -p build/bungloo
touch build/bungloo/__init__.py
cp Bungloo.py build/bin/bungloo
cp Helper.py Windows.py build/bungloo
cp setup.py build/
cp -r ../WebKit build/bungloo/
cp -r ../images build/bungloo/
# eof

38
Linux/deploy/Makefile Normal file
View file

@ -0,0 +1,38 @@
# $Id: Makefile,v 1.6 2008/10/29 01:01:35 ghantoos Exp $
#
PYTHON=`which python2`
DESTDIR=/
BUILDIR=$(CURDIR)/debian/bungloo
PROJECT=bungloo
VERSION={VERSION}
all:
@echo "make source - Create source package"
@echo "make install - Install on local system"
@echo "make buildrpm - Generate a rpm package"
@echo "make builddeb - Generate a deb package"
@echo "make clean - Get rid of scratch and byte files"
source:
$(PYTHON) setup.py sdist $(COMPILE)
install:
$(PYTHON) setup.py install --root $(DESTDIR) $(COMPILE)
buildrpm:
$(PYTHON) setup.py bdist_rpm --post-install=rpm/postinstall --pre-uninstall=rpm/preuninstall
builddeb:
# build the source package in the parent directory
# then rename it to project_version.orig.tar.gz
$(PYTHON) setup.py sdist $(COMPILE) --dist-dir=../ --prune
rename -f 's/$(PROJECT)-(.*)\.tar\.gz/$(PROJECT)_$$1\.orig\.tar\.gz/' ../*
# build the package
dpkg-buildpackage -i -I -rfakeroot
clean:
$(PYTHON) setup.py clean
$(MAKE) -f $(CURDIR)/debian/rules clean
rm -rf build/ MANIFEST
find . -name '*.pyc' -delete

View file

@ -0,0 +1,12 @@
[Desktop Entry]
Version=1.0
Comment=Tent is a distributed social network protocol and Bungloo is one of the clients using it.
Exec=/usr/bin/bungloo
GenericName=Tent Client
Icon=/usr/share/pixmaps/bungloo.xpm
Name=Bungloo
NoDisplay=false
StartupNotify=true
Terminal=false
Type=Application
Categories=Network;Qt

View file

@ -0,0 +1,15 @@
bungloo (2.0.0) quantal; urgency=low
[ Jeena Paradies ]
* Changed to one window
* Added search (skate.io)
* Added log out
-- Jeena <spam@jeenaparadies.net> Tue, 26 Mar 2013 21:50:00 +0100
bungloo (1.2.0) quantal; urgency=low
[ Jeena Paradies ]
* Initial release.
-- Jeena <spam@jeenaparadies.net> Tue, 05 Mar 2013 17:57:47 +0100

View file

@ -0,0 +1 @@
9

View file

@ -0,0 +1,15 @@
Source: bungloo
Section: Miscellaneous
Priority: optional
Maintainer: Jeena Paradies <spam@jeenaparadies.net>
Build-Depends: debhelper (>=7.0.50~), python-support (>= 0.6), cdbs (>= 0.4.49), python-all-dev
Standards-Version: 3.9.4
Package: bungloo
Architecture: all
Homepage: http://jabs.nu/bungloo
Depends: ${misc:Depends}, ${python:Depends}, python-qt4
Provides: tent
Description: A desktop Tent client
This desktop Tent client makes it possible to use the Tent protocol. More
information about this protocol can be found at https://tent.io

View file

@ -0,0 +1,17 @@
This package was debianized by Jeena Paradies (jeena) on Tue, 5 Mar 2013 18:38
License: BSD
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
- Neither the name of Bungloo nor the names of its contributors may
be used to endorse or promote products derived from this software without
specific prior written permission.
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/BSD'.

17
Linux/deploy/debian/rules Executable file
View file

@ -0,0 +1,17 @@
#!/usr/bin/make -f
# -*- makefile -*-
DEB_PYTHON_SYSTEM := pysupport
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk
install/bungloo::
mkdir -p debian/bungloo/usr/share/applications/
cp bungloo.desktop debian/bungloo/usr/share/applications/
mkdir -p debian/bungloo/usr/share/pixmaps/
cp bungloo/images/bungloo.xpm debian/bungloo/usr/share/pixmaps/
clean::
rm -rf build build-stamp configure-stamp build/ MANIFEST
dh_clean

29
Linux/deploy/deploy_deb.sh Executable file
View file

@ -0,0 +1,29 @@
#!/bin/bash
VERSION="2.0.0"
DEPLOYPATH="bungloo-$VERSION"
LINUXPATH=".."
SHAREDPATH="../.."
rm -rf $DEPLOYPATH
mkdir -p $DEPLOYPATH
mkdir -p $DEPLOYPATH/bin
mkdir -p $DEPLOYPATH/bungloo
touch $DEPLOYPATH/bungloo/__init__.py
cp $LINUXPATH/Bungloo.py $DEPLOYPATH/bin/bungloo
cp $LINUXPATH/Helper.py $LINUXPATH/Windows.py $DEPLOYPATH/bungloo
cat setup.py | sed -e "s/{VERSION}/$VERSION/g" > $DEPLOYPATH/setup.py
cat Makefile | sed -e "s/{VERSION}/$VERSION/g" > $DEPLOYPATH/Makefile
cp -r $SHAREDPATH/WebKit $DEPLOYPATH/bungloo/
cp -r $SHAREDPATH/images $DEPLOYPATH/bungloo/
cp $SHAREDPATH/readme.md $DEPLOYPATH/README
cp $SHAREDPATH/LICENCE.txt $DEPLOYPATH/COPYING
cp -r debian $DEPLOYPATH/
cp bungloo.desktop $DEPLOYPATH/
cd $DEPLOYPATH
make builddeb
# eof

View file

@ -14,7 +14,7 @@ for dirname, dirnames, filenames in os.walk('bungloo/images'):
setup(
name = "bungloo",
version = "1.2.0",
version = "{VERSION}",
author = "Jeena Paradies",
author_email = "spam@jeenaparadies.net",
url = "http://jabs.nu/bungloo",

Binary file not shown.

Binary file not shown.

11491
images/bungloo.xpm Normal file

File diff suppressed because it is too large Load diff