Skip to content

Commit

Permalink
Adding AUTHORS and INSTALL, moving some related files around
Browse files Browse the repository at this point in the history
  • Loading branch information
LubosD committed Apr 7, 2009
1 parent 236be62 commit 5d614f4
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 8 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Luboš Doležel <lubos at dolezel.info>
13 changes: 10 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -407,9 +407,16 @@ set(fatrat_DEV_HEADERS_ENGINES
)

install(FILES
${CMAKE_CURRENT_SOURCE_DIR}/data/LICENSE.txt
${CMAKE_CURRENT_SOURCE_DIR}/data/TRANSLATIONS.txt
${CMAKE_CURRENT_SOURCE_DIR}/data/3RDPARTIES.txt
${CMAKE_CURRENT_SOURCE_DIR}/LICENSE
${CMAKE_CURRENT_SOURCE_DIR}/TRANSLATIONS
${CMAKE_CURRENT_SOURCE_DIR}/README
${CMAKE_CURRENT_SOURCE_DIR}/AUTHORS
${CMAKE_CURRENT_SOURCE_DIR}/INSTALL
${CMAKE_CURRENT_SOURCE_DIR}/data/defaults.conf
DESTINATION share/fatrat
)

install(FILES
${CMAKE_CURRENT_SOURCE_DIR}/data/defaults.conf
DESTINATION share/fatrat/data
)
Expand Down
24 changes: 24 additions & 0 deletions INSTALL
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
FatRat uses the CMake build system, just like KDE 4.

An example compilation procedure:

cmake . -DWITH_BITTORRENT=ON -DWITH_SFTP=ON
make
make install

The prefix can be changed to /usr using -DCMAKE_INSTALL_PREFIX=/usr.

*** FEATURES ***

+-------------------------------+-----------------------+----------------------------------------------+
| Feature name | Switch | Dependencies |
+-------------------------------+-----------------------+----------------------------------------------+
| Translations | WITH_NLS | --- |
| HTTP(S)/FTP(S)/SFTP* support | WITH_CURL | libcurl 7.18.2, Linux 2.6.2 or newer |
| BitTorrent support | WITH_BITTORRENT | Rasterbar libtorrent 0.14.*, ASIO, QtWebKit |
| Jabber remote control | WITH_JABBER | gloox 0.9 |
| Documentation | WITH_DOCUMENTATION | QtHelp |
| Web interface | WITH_WEBINTERFACE | QtScript, Linux 2.5.66 or newer |
| All of above | WITH_EVERYTHING | |
+-------------------------------+-----------------------+----------------------------------------------+

File renamed without changes.
6 changes: 5 additions & 1 deletion data/3RDPARTIES.txt → README
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
FatRat is an open source download manager for Linux written in C++ and built on top of the Trolltech Qt 4 library.

Copyright © 2006-2009 Luboš Doležel <lubos at dolezel.info>

=== GRAPHICS ===

* Original FatRat photo
Expand Down Expand Up @@ -27,7 +31,7 @@
GNU GPL version 2.

* Trolltech Qt 4
Copyright © 2000-2008 Trolltech ASA <http://www.trolltech.com>
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). <http://www.qtsoftware.com>
GNU GPL version 2 or 3.

* cURL
Expand Down
File renamed without changes.
8 changes: 4 additions & 4 deletions src/AboutDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ AboutDlg::AboutDlg(QWidget* parent) : QDialog(parent)

labelVersion->setText(tr("Version %1").arg(VERSION));

loadFile(textLicense, "LICENSE.txt");
loadFile(textTranslators, "TRANSLATIONS.txt");
loadFile(text3rdParties, "3RDPARTIES.txt");
loadFile(textLicense, "LICENSE");
loadFile(textTranslators, "TRANSLATIONS");
loadFile(text3rdParties, "README");

#ifdef WITH_NLS
checkFeatureNLS->setChecked(true);
Expand Down Expand Up @@ -85,7 +85,7 @@ void AboutDlg::loadFile(QTextEdit* edit, QString filename)
QFile file;
QString name;

name = DATA_LOCATION "/data/";
name = DATA_LOCATION "/";
name += filename;

file.setFileName(name);
Expand Down

0 comments on commit 5d614f4

Please sign in to comment.