Skip to content

Commit

Permalink
fixed broken merge with develop
Browse files Browse the repository at this point in the history
  • Loading branch information
oxy86 committed Sep 12, 2016
2 parents f727d4f + 5153f18 commit ea8c9b7
Show file tree
Hide file tree
Showing 109 changed files with 13,527 additions and 6,701 deletions.
63 changes: 58 additions & 5 deletions INSTALL
@@ -1,13 +1,67 @@
Installation
============

To install SocNetV 1.x you need Qt5 development libraries. Qt is a C++ toolkit published under GPL. Most modern Linux distros, especially those providing KDE as their default desktop environment, include Qt. So if you have one of openSUSE, Mandriva, Fedora, Kubuntu, Slackware, etc, you dont need to download Qt. It should be already installed.
Binaries

If you have Qt5 installed, all you have to do is to type in the following commands in order to decompress the SocNetV tarball and build it. Replace 1.X with the versionyou downloaded...
SocNetV binary packages are available for Windows, Mac OS X and Linux distros.

1) untar zxfv SocNetV-1.X.tar.gz
You can download a binary package for your Operating System from the project
webpage at: http://socnetv.sourceforge.net/downloads

2) cd socnetv-1.X
If there is no package for your OS, please download and compile the source code.

Windows

To run SocNetV in Windows, download the latest SocNetV zip for Windows from the
Downloads page, unzip it, and double-click on the socnetv executable.
The program will run immediately.

Mac OS X

If you are a Mac user, you can download and run SocNetV from a disk image (dmg file).
From the Downloads page, download the Mac OS .dmg file.
Once downloaded, double click on it and a new window will appear.
To run the application, double click on the SocNetV icon holding down the META key.
To install SocNetV, drag the SocNetV icon to your Applications.

Linux

SocNetV is available in most Linux distributions, although not the latest version.

To install the latest and greatest SocNetV version, users of openSUSE, Fedora and
Ubuntu/Debian are advised to add our own repositories to their systems.

In Debian and Ubuntu, install SocNetV from our repos with these commands:

sudo add-apt-repository ppa:dimitris-kalamaras/ppa
sudo apt-get update
sudo apt-get install socnetv

In Fedora and openSUSE, choose and add the correct repository from here:
http://download.opensuse.org/repositories/home:/oxy86/

Once you add the repo, install SocNetV using the command (Fedora):
sudo yum install socnetv

or (openSUSE):
sudo zypper in socnetv


Compile from source code

To compile and install SocNetV from source you need the Qt5 toolkit
development libraries. Qt is an open source C++ toolkit published under the GPL.
Qt5 is preinstalled in most Linux distributions and it is available for
Windows and Mac OS X. If you do not have Qt5 installed, please download and
install it from https://www.qt.io/developers

Once you have Qt5 installed in your OS, you are ready to compile SocNetV from source.
All you have to do is to type in the following commands in order to decompress the
SocNetV tarball and build it. Replace 2.X with the version you downloaded.

1) untar zxfv SocNetV-2.X.tar.gz

2) cd socnetv-2.X

3) qmake

Expand All @@ -16,7 +70,6 @@ If you have Qt5 installed, all you have to do is to type in the following comman
5) sudo make install

Probably you have already done the first 2 steps, so just type in 'qmake' or 'qmake-qt5'.
If Qt5 is not installed, the script will let you know...

When you finish compiling and installing, run the application typing:

Expand Down
13 changes: 8 additions & 5 deletions NEWS
Expand Up @@ -4,11 +4,14 @@ Social Networks Visualiser (SocNetV)
SocNetV News
-==========-

July 2015
=========
- Version 2.0 development starts.
- New doxygen source documentation
- New Windows Installer
Sep 2016
========
- Version 2.0 released with major code overhaul, new GUI layout and lots of bugfixes and improvements.
The new version brings stability, great performance boost, and nice new features such as separate modes
for graphs and digraphs, permanent settings/preferences functionality, edge labeling, recent files,
keyboard shortcuts, etc. Also there are improvements in Force-Directed layouts, i.e. Fructherman-Reingold.
See ChangeLog for a complete overview of the new features.
- The SocNetV Manual is now build with Doxygen and it is available at http://socnetv.sf.net/documentation

June 2015
=========
Expand Down
122 changes: 66 additions & 56 deletions README.md
Expand Up @@ -59,10 +59,10 @@ The documentation is also Free, licensed under the Free Documentation License (F
Official Website: http://socnetv.sourceforge.net

Author: Dimitris V. Kalamaras <dimitris.kalamaras@gmail.com>
My Blog: http://dimitris.apeiro.gr
Blog: http://dimitris.apeiro.gr

SocNetV is a cross-platform application, developed in C++ language
using the Qt5 multiplatform library and tools.
using the Qt5 cross-platform libraries and tools.

This means you can compile and run SocNetV on Linux, Mac and Windows.

Expand All @@ -79,89 +79,102 @@ See section 6 (bug reporting) below.
3. Installation
---------------

You can install SocNetV by:
You can install SocNetV :

a) compiling it from source or
b) using binary packages.
a) compiling it from source or

In either case, you need Qt 5 for versions 1.x
Most Linux Distros have Qt installed by default.
Windows and OS X users please go to http://qt-project.org to download Qt5 library.


If you cannot install Qt5 you can try the 0.x series of SocNetV which work with Qt4.
Please note that SocNetV uses QtWebKit to display online help.
QtWebKit has been added to Qt from version 4.4, which means you can't compile
SocNetV in distros with older releases of Qt.
## a) Install a binary package or executable (Linux/Mac/Windows)

## a) Compile from Source Code

To compile from source code, download the tarball archive with the source code
of the latest SocNetV version (you probably already have this :P).
Then, untar (decompress) the archive using a command like this:
SocNetV binary packages are available for Windows, Mac OS X and Linux distros.

tar zxfv SocNetV-1.X.tar.gz
You can download a binary package for your Operating System from the project
webpage at: http://socnetv.sourceforge.net/downloads

Then enter the new directory and compile with these commands:
If there is no package for your OS, please download and compile the source code.

cd socnetv-1.XX
qmake (or qmake-qt5)
make
Windows

Now you can install it using:
To run SocNetV in Windows, download the latest SocNetV zip for Windows from the
Downloads page, unzip it, and double-click on the socnetv executable.
The program will run immediately.

su -c 'make install'
Mac OS X

or
If you are a Mac user, you can download and run SocNetV from a disk image (dmg file).
From the Downloads page, download the Mac OS .dmg file.
Once downloaded, double click on it and a new window will appear.
To run the application, double click on the SocNetV icon holding down the META key.
To install SocNetV, drag the SocNetV icon to your Applications.

sudo make install
Linux

If everything is ok, then you can run SocNetV by entering:
SocNetV is available in most Linux distributions, although not the latest version.

socnetv
To install the latest and greatest SocNetV version, users of openSUSE, Fedora and
Ubuntu/Debian are advised to add our own repositories to their systems.

In Debian and Ubuntu, install SocNetV from our repos with these commands:

## b) Install a binary package or executable (Linux/Mac/Windows)
sudo add-apt-repository ppa:dimitris-kalamaras/ppa
sudo apt-get update
sudo apt-get install socnetv

To install SocNetV from a binary package for Linux or an executable for
Windows, check http://socnetv.sourceforge.net/downloads.html and see if
there is a package of the latest version for your operating system.
In Fedora and openSUSE, choose and add the correct repository from here:
http://download.opensuse.org/repositories/home:/oxy86/

Please note that SocNetV is also available in most Linux distributions,
although not always the latest version.
Once you add the repo, install SocNetV using the command (Fedora):
sudo yum install socnetv

In Debian and Ubuntu, install SocNetV from repos with:
or (openSUSE):
sudo zypper in socnetv

sudo apt-get install socnetv

In Fedora, use the command:
sudo yum install socnetv

In openSUSE:
sudo zypper in socnetv
## b) Compile from Source Code

To compile and install SocNetV from source you need the Qt5 toolkit development
libraries. Qt is an open source C++ toolkit published under the GPL.
Qt5 is preinstalled in most Linux distributions and it is available for
Windows and Mac OS X. If you do not have Qt5 installed, please download and
install it from https://www.qt.io/developers

Once you have Qt5 installed in your OS, you are ready to compile SocNetV from source.
Download the tarball archive with the source code of the latest SocNetV version
(you probably already have this :P).

All you have to do is to type in the following commands in order to decompress the
SocNetV tarball and build it. Replace 2.X with the version you downloaded.

Mac OS users may download the disk image of the latest version from
http://socnetv.sourceforge.net/downloads.html.
1) untar zxfv SocNetV-2.X.tar.gz

Double click on the .img file, then on the new window click socnetv icon
while pressing down the meta key.
2) cd socnetv-2.X

3) qmake

4) make

5) sudo make install or su -c 'make install'

Probably you have already done the first 2 steps, so just type in 'qmake' or 'qmake-qt5'.

When you finish compiling and installing, run the application typing:

socnetv

or go to Start Menu > Mathematics > SocNetV.

You can also find versions for Mac on the Internet, although these are
not supported. See: http://pdb.finkproject.org/pdb/package.php/socnetv-mac


# 4. Command Line Options

SocNetV is primarily a GUI program. Nevertheless, some command line options
are available. Type:

1) ./socnetv filename.net
to start snv with network named filename.net loaded.
2) ./socnetv -v
to print version of snv and exit.
3) ./socnetv -d
to enable debugging mode, in which snv prints comprehensive messages about
what it is doing.
./socnetv filename.net

to start socnetv with network named filename.net loaded.



Expand All @@ -171,9 +184,6 @@ For usage documentation, see online help.

Or, when running SocNetV, press F1 to display the SocNetV Manual.

There are some example networks inside the /usr/local/doc/socnetv/net folder.
Just press Ctrl+O, go there and choose one file.


# 6. Bug reporting

Expand Down
9 changes: 3 additions & 6 deletions TODO
Expand Up @@ -3,12 +3,9 @@ KNOWN BUGS

1: Negative weights break centralities
2: UCINET (DL) files in nodelist1 format (one-mode) are not supported.
3: isSymmetric() not 100% (check a-symmetry.net)
4: Some Graphviz (dot) files do not load. See test2.dot. Cant read when one line and nodes dont appear...
7: SocNetV cannot load GraphML files with node labels which contain the & character.
8: 2014-02-28: In Reciprocal links with diferrent weight, only the first weight is taken into account
9: closeness reports wrong indices in digraphs, where one actor has only one outLink
10: fix other related indices for digraphs when d(i,j) = inf
3: Some Graphviz (dot) files do not load. See test2.dot. Cant read when one line and nodes dont appear...
4: closeness reports wrong indices in digraphs, where one actor has only one outLink
5: fix other related indices for digraphs when d(i,j) = inf


TODO
Expand Down
Binary file modified changelog.gz
Binary file not shown.
6 changes: 3 additions & 3 deletions debian/changelog
@@ -1,8 +1,8 @@
socnetv (2.0-1-dev) trusty; urgency=medium
socnetv (2.0-1) trusty; urgency=medium

* Development 2.0 snapshots
* New upstream version 1.9. See http://socnetv.sf.net/ChangeLog

-- Dimitris V. Kalamaras <dimitris_kalamaras@yahoo.gr> Thu, 25 Jun 2015 10:13:03 +0300
-- Dimitris V. Kalamaras <dimitris_kalamaras@yahoo.gr> Mon, 12 Sep 2016 10:13:03 +0300

socnetv (1.9-3) trusty; urgency=medium

Expand Down
16 changes: 14 additions & 2 deletions debian/copyright
@@ -1,16 +1,28 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: socnetv
Upstream-Contact: Dimitris Kalamaras <dimitris.kalamaras@gmail.com>
Source: http://socnetv.sf.net

Files: *
Copyright: 2004-2014 Dimitris Kalamaras
Copyright: 2004-2016 Dimitris Kalamaras <dimitris.kalamaras@gmail.com>
License: GPL-3

Files: debian/*
Copyright: 2014-2014 Dimitris Kalamaras <dimitris.kalamaras@gmail.com>
License: GPL-3

License: GPL-3
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 package 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/>.
.
On Debian systems, the complete text of the GNU General Public
License can be found in the file /usr/share/common-licenses/GPL-3.

0 comments on commit ea8c9b7

Please sign in to comment.