mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-27 03:39:39 +03:00
- Removed useless copyright files
- Added libtorrent-rasterbar qcm for configure
This commit is contained in:
parent
44c86053ca
commit
de334d32b1
6 changed files with 70 additions and 133 deletions
70
qcm/libtorrent-rasterbar.qcm
Normal file
70
qcm/libtorrent-rasterbar.qcm
Normal file
|
@ -0,0 +1,70 @@
|
||||||
|
/*
|
||||||
|
-----BEGIN QCMOD-----
|
||||||
|
name: libtorrent-rasterbar
|
||||||
|
arg: with-libtorrent-inc=[path], Path to libtorrent-rasterbar include files
|
||||||
|
arg: with-libtorrent-lib=[path], Path to libtorrent-rasterbar library files
|
||||||
|
arg: with-libtorrent-static-lib=[path], Path to libtorrent-rasterbar .a file
|
||||||
|
-----END QCMOD-----
|
||||||
|
*/
|
||||||
|
class qc_libtorrent_rasterbar : public ConfObj
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
qc_libtorrent_rasterbar(Conf *c) : ConfObj(c) {}
|
||||||
|
QString name() const { return "libtorrent-rasterbar >= 0.13"; }
|
||||||
|
QString shortname() const { return "libtorrent-rasterbar"; }
|
||||||
|
bool exec(){
|
||||||
|
QString s;
|
||||||
|
s = conf->getenv("QC_WITH_LIBTORRENT_INC");
|
||||||
|
if(!s.isEmpty()) {
|
||||||
|
if(!conf->checkHeader(s, "libtorrent/lsd.hpp")) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
QStringList sl;
|
||||||
|
sl << "/usr/include";
|
||||||
|
sl << "/usr/local/include";
|
||||||
|
bool found = false;
|
||||||
|
foreach(s, sl){
|
||||||
|
if(conf->checkHeader(s, "libtorrent/lsd.hpp")){
|
||||||
|
found = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(!found) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conf->addIncludePath(s);
|
||||||
|
conf->addIncludePath(s+QDir::separator()+"libtorrent");
|
||||||
|
|
||||||
|
s = conf->getenv("QC_WITH_LIBTORRENT_STATIC_LIB");
|
||||||
|
if(!s.isEmpty() && QFile::exists(s) && s.endsWith(".a")){
|
||||||
|
conf->addLib(s);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
s = conf->getenv("QC_WITH_LIBTORRENT_LIB");
|
||||||
|
if(!s.isEmpty()) {
|
||||||
|
if(!conf->checkLibrary(s, "torrent-rasterbar")) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
conf->addLib(QString("-L") + s);
|
||||||
|
}else{
|
||||||
|
QStringList sl;
|
||||||
|
sl << "/usr/lib/";
|
||||||
|
sl << "/usr/lib64/";
|
||||||
|
sl << "/usr/local/lib/";
|
||||||
|
sl << "/usr/local/lib64/";
|
||||||
|
bool found = false;
|
||||||
|
foreach(s, sl){
|
||||||
|
if(conf->checkLibrary(s, "torrent-rasterbar")){
|
||||||
|
found = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(!found) return false;
|
||||||
|
conf->addLib(QString("-L") + s);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
};
|
|
@ -1,26 +0,0 @@
|
||||||
This package was debianized by Takuo KITAME <kitame@debian.org> on
|
|
||||||
Fri, 17 Jan 2003 14:57:28 +0900.
|
|
||||||
|
|
||||||
It was downloaded from <http://ftp.acc.umu.se/pub/GNOME/sources/gnome-icon-theme/>
|
|
||||||
|
|
||||||
Upstream Authors: see ChangeLog.gz
|
|
||||||
|
|
||||||
Copyright:
|
|
||||||
|
|
||||||
This package 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; version 2 dated June, 1991.
|
|
||||||
|
|
||||||
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 package; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
|
|
||||||
USA.
|
|
||||||
|
|
||||||
On Debian GNU/Linux systems, the complete text of the GNU General
|
|
||||||
Public License can be found in `/usr/share/common-licenses/GPL'.
|
|
||||||
|
|
|
@ -1,40 +0,0 @@
|
||||||
It was downloaded from http://www.openclipart.org
|
|
||||||
|
|
||||||
Upstream Authors:
|
|
||||||
Each image has an associated .txt file giving information about
|
|
||||||
the image, including the author.
|
|
||||||
|
|
||||||
Copyright:
|
|
||||||
|
|
||||||
creative commons Public Domain Dedication
|
|
||||||
|
|
||||||
Copyright-Only Dedication (based on United States law) or Public Domain
|
|
||||||
Certification
|
|
||||||
|
|
||||||
The person or persons who have associated work with this document (the
|
|
||||||
"Dedicator" or "Certifier") hereby either (a) certifies that, to the best
|
|
||||||
of his knowledge, the work of authorship identified is in the public
|
|
||||||
domain of the country from which the work is published, or (b) hereby
|
|
||||||
dedicates whatever copyright the dedicators holds in the work of authorship
|
|
||||||
identified below (the "Work") to the public domain. A certifier, morever,
|
|
||||||
dedicates any copyright interest he may have in the associated work, and
|
|
||||||
for these purposes, is described as a "dedicator" below.
|
|
||||||
|
|
||||||
A certifier has taken reasonable steps to verify the copyright status of
|
|
||||||
this work. Certifier recognizes that his good faith efforts may not shield
|
|
||||||
him from liability if in fact the work certified is not in the public domain.
|
|
||||||
|
|
||||||
A dedicator makes this dedication for the benefit of the public at large and
|
|
||||||
to the detriment of the Dedicator's heirs and successors. Dedicators intend
|
|
||||||
this dedication to be an overt act of relinquishment in perpetuity of all
|
|
||||||
present and future rights under copyright law, whether vested or contingent,
|
|
||||||
in the Work. Dedicator understand that such relinquishment of all rights
|
|
||||||
includes the relinquishment of all rights to enforce (by lawsuit or otherwise)
|
|
||||||
those copyrights in the Work.
|
|
||||||
|
|
||||||
Dedicator recognizes that, once placed in the public domain, the Work may be
|
|
||||||
freely reproduced, distributed, transmitted, used, modified, built upon, or
|
|
||||||
otherwise exploited by anyone for any purpose, commercial or non-commercial,
|
|
||||||
and in any way, including by methods that have not yet been invented or
|
|
||||||
conceived.
|
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
Author: Mateusz Tobola <tobejodok@qbittorrent.org>
|
|
||||||
|
|
||||||
Copyright:
|
|
||||||
|
|
||||||
This package 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; version 2 dated June, 1991.
|
|
||||||
|
|
||||||
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 package; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
|
|
||||||
USA.
|
|
||||||
|
|
||||||
On Debian GNU/Linux systems, the complete text of the GNU General
|
|
||||||
Public License can be found in `/usr/share/common-licenses/GPL'.
|
|
||||||
|
|
|
@ -1,46 +0,0 @@
|
||||||
Translators:
|
|
||||||
- Brazilian: Nick Marinho (nickmarinho@gmail.com)
|
|
||||||
- Bulgarian: Tsvetan & Boiko Bankov (emerge_life@users.sourceforge.net)
|
|
||||||
- Catalan: Gekko Dam Beer (gekko04@users.sourceforge.net)
|
|
||||||
- Chinese (Simplified): Guo Yue (guoyue0418@hotmail.com)
|
|
||||||
- Danish: Mathias Nielsen (comoneo@gmail.com)
|
|
||||||
- Dutch: Joost Schipper (heavyjoost@users.sourceforge.net)
|
|
||||||
- English: Christophe Dumez (chris@qbittorrent.org)
|
|
||||||
- Finnish: Niklas Laxström (nikerabbit@users.sourceforge.net)
|
|
||||||
- French: Christophe Dumez (chris@qbittorrent.org)
|
|
||||||
- German: Niels Hoffmann (zentralmaschine@users.sourceforge.net)
|
|
||||||
- Greek: Tsvetan Bankov (emerge_life@users.sourceforge.net)
|
|
||||||
- Hungarian: Majoros Péter (majoros.j.p@t-online.hu)
|
|
||||||
- Italian: Mirko Ferrari (mirkoferrari@gmail.com) and Ferraro Luciano (luciano.ferraro@gmail.com)
|
|
||||||
- Japanese: Nardog (nardog@e2umail.com)
|
|
||||||
- Korean: Jin Woo Sin (jin828sin@users.sourceforge.net)
|
|
||||||
- Norwegian: Lars-Erik Labori (hamil@users.sourceforge.net)
|
|
||||||
- Polish: Jarek Smieja (ajep9691@wp.pl)
|
|
||||||
- Portuguese: Nick Marinho (nickmarinho@gmail.com)
|
|
||||||
- Romanian: Obada Denis (obadadenis@users.sourceforge.net)
|
|
||||||
- Russian: Nick Khazov (m2k3d0n at users.sourceforge.net)
|
|
||||||
- Slovak: helix84
|
|
||||||
- Spanish: Vicente Raul Plata Fonseca (silverxnt@users.sourceforge.net)
|
|
||||||
- Swedish: Daniel Nylander (po@danielnylander.se)
|
|
||||||
- Turkish: Erdem Bingöl (erdem84@gmail.com)
|
|
||||||
- Ukrainian: Andrey Shpachenko (masterfix@users.sourceforge.net)
|
|
||||||
|
|
||||||
Copyright:
|
|
||||||
|
|
||||||
This package 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; version 2 dated June, 1991.
|
|
||||||
|
|
||||||
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 package; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
|
|
||||||
USA.
|
|
||||||
|
|
||||||
On Debian GNU/Linux systems, the complete text of the GNU General
|
|
||||||
Public License can be found in `/usr/share/common-licenses/GPL'.
|
|
||||||
|
|
Loading…
Reference in a new issue