Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
First version as fork from Kaidan Project
Browse files Browse the repository at this point in the history
  • Loading branch information
geobra committed Nov 29, 2016
1 parent a30ec0e commit 317256a
Show file tree
Hide file tree
Showing 35 changed files with 2,458 additions and 2 deletions.
72 changes: 72 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
################### Kaidan ####################
shmoose

###################### C++ ####################
# Prerequisites
*.d

# # Compiled Object files
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod
*.smod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app

# Log Files
*.log

################### Qt ########################
# Qt-es

.qmake.cache
.qmake.stash
*.pro.user
*.pro.user.*
*.qbs.user
*.qbs.user.*
*.moc
moc_*.cpp
qrc_*.cpp
ui_*.h
Makefile*
*build-*

# QtCreator

*.autosave

# QtCtreator Qml
*.qmlproject.user
*.qmlproject.user.*

# QtCtreator CMake
CMakeLists.txt.user*


################# Other #######################

*.swp

21 changes: 21 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Shmoose - XMPP Client for Sailfish OS
=====================================

License of source code:
-----------------------
Copyright (C) 2016 geobra and contributors (see source file
comments and the version control log)

This comment has been minimized.

Copy link
@lnjX

lnjX Dec 5, 2016

You can't just change the copyright, if you're NOT the copyright holder!
Because you removed the whole history, there are NO other contributors in the version control log, than you.

Because we [@LNJ2, @jbbgameich, @MRZA-MRZA] have done a smaller part, I am not so angry, but that is NOT OK.

PS: I really don't understand why you're forking, but if you do so, respect the copyright, even for small things!

This comment has been minimized.

Copy link
@geobra

geobra via email Dec 6, 2016

Author Owner

This comment has been minimized.

Copy link
@lnjX

lnjX Dec 6, 2016

Nevertheless this is not clean. I wanted to notice that! But it's ok if you leave it so.

And I'm sure I don't want to rejoin your fork and Kaidan, but let us see what we and you achieve until March :D (we'll also support SFOS :P).

This comment has been minimized.

Copy link
@geobra

geobra Dec 6, 2016

Author Owner

For me it's not a battle. I think we have different expectations about the scope of the software. Wish you all the best for your kaidan project.

This comment has been minimized.

Copy link
@lnjX

lnjX Dec 7, 2016

Thanks, but I'm a bit pissed on, because you've just left the team without a reason. (But we won't give it up!)

I think we have different expectations about the scope of the software.

What expectations do you think we have / you have?

(I know I didn't came to do much on the repo...)


This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

77 changes: 75 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,75 @@
# harbour-shmoose
XMPP Client fos Sailfish OS
# Shmoose - XMPP Client for Sailfish OS

## Installation

On Linux do the following:

Create a working directory

* `mkdir src`
* `cd src`

Fetch swift source

* `wget https://swift.im/downloads/releases/swift-3.0/swift-3.0.tar.gz`
* `tar -xzvf swift-3.0.tar.gz`
* `cd swift-3.0/`

Install all dependencies to build swiften

* `./BuildTools/InstallSwiftDependencies.sh`
* `./scons Swiften -j<Number of threads>`

Install dependencies to build Shmoose (example for Debian)

* `sudo apt-get install zlib1g-dev libssl-dev libxml2-dev libstdc++-5-dev libqt5quick5 libqt5quickparticles5 libqt5quickwidgets5 libqt5qml5 libqt5network5 libqt5gui5 libqt5core5a qt5-default libglib2.0-dev libpthread-stubs0-dev`

Get Shmoose source code

* `cd ..`
* `git clone https://github.com/geobra/harbour-shmoose`

Either

* open pro file within qtreator

or use command line

* `cd harbour-shmoose`
* `qmake`
* `make -j<Number of threads>`

Do cross compile for Sailfish OS, do the following:

Get and install Sailfish OS mersdk (tested with version 1608)

Ssh into mersdk and do the following in a newly created directory:

Fetch swift source

* `wget https://swift.im/downloads/releases/swift-3.0/swift-3.0.tar.gz`
* `tar -xzvf swift-3.0.tar.gz`
* `cd swift-3.0/`

Install all dependencies to build swiften

* `sb2 -t SailfishOS-armv7hl -m sdk-install -R zypper in openssl-devel`

Patch SConstruct file to do a PIC build of the library archive

Add
* `env.Append(CCFLAGS='-fPIC')`
under the line 'env.SConscript = SConscript' on line 14

Build Swiften Library

* `sb2 -t SailfishOS-armv7hl /bin/bash ./scons Swiften`

Get Smooshe source code

* `cd ..`
* `git clone https://github.com/geobra/harbour-shmoose`
* `cd harbour-shmoose`
* `mb2 -t SailfishOS-armv7hl build`


Loading

0 comments on commit 317256a

Please sign in to comment.