mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
commit
34f1ebba22
12
.gitignore
vendored
Normal file
12
.gitignore
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
/RetroShare.pro.user
|
||||
*.o
|
||||
*.sw?
|
||||
*.so
|
||||
*.so.*
|
||||
moc_*.cpp
|
||||
qrc_*.cpp
|
||||
ui_*.h
|
||||
Makefile*
|
||||
*.sw?
|
||||
*~
|
||||
Thumbs.db
|
63
.travis.yml
Normal file
63
.travis.yml
Normal file
@ -0,0 +1,63 @@
|
||||
sudo: required
|
||||
dist: trusty
|
||||
language: cpp
|
||||
|
||||
compiler:
|
||||
- gcc
|
||||
|
||||
before_install:
|
||||
- sudo apt-get update
|
||||
- sudo apt-get install -y build-essential checkinstall cmake libavutil-dev libavcodec-dev libavformat-dev libbz2-dev libcurl4-openssl-dev libcv-dev libopencv-highgui-dev libhighgui-dev libgnome-keyring-dev libgstreamer-plugins-base0.10-dev libgstreamer0.10-dev libjasper-dev libjpeg-dev libmicrohttpd-dev libopencv-dev libprotobuf-dev libqt4-dev libspeex-dev libspeexdsp-dev libsqlite3-dev libssl-dev libswscale-dev libtbb-dev libtiff4-dev libupnp-dev libv4l-dev libxine-dev libxslt1-dev libxss-dev pkg-config protobuf-compiler python-dev qtmobility-dev
|
||||
# - if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get update && sudo apt-get install -y llvm-3.4 llvm-3.4-dev; fi
|
||||
# - rvm use $RVM --install --binary --fuzzy
|
||||
# - gem update --system
|
||||
# - gem --version
|
||||
|
||||
env:
|
||||
global:
|
||||
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
|
||||
# via the "travis encrypt" command using the project repo's public key
|
||||
- secure: "auwuhxelaMriNaXzT8I03xrh1s+STicNyNToOWFCAYKxkWWQ4WeaCO6kRDmQrejhizMUILGU+s4FrWTEhDsviftGAF86EgzxxbSBfsHHAP4t2C0pcXX8/WxEoh1IrUs7iGCIpl7O2cvWqGidc20ROeptSEd1uQgkHnn14D9A2YmXf8g52PzqivKkb6HKfkVTPdmNJkMBT5eDtEw6DIk+DvnvRo6b6uanvVAKS9CBwXOdA3rLzaD9bz0LrdL9X1CNoTkGROyez0Lsc4zTr70id2Xfp1MMmJAV6hgQy+iwE37wRyrxJf3dkh5SUAAMUC9Xnvh/iBKNQKdQGhj2WGcV7GZV9k6u9DA1w2H0kcrwt9KHUXdhEQ67yr6Boa9ZFwdDb5VIOtC6iHAoDZXharHhiuxi0K/bCtwNAajrMjBCm9mWhEKvtoxUUYxAJajhJkkO3ERaOU3zHE+06esDzGozd2YOEH8a74HhYy4xvhR05Yj00hAWLS2kIaUITiqmBf6Yuh5XwH7KCDcapxF59ROWqyicdwtbfWpvN8IvFuGKyxYuEfoT8WxZ4lZpo4Q9CrTB7gedJYJxYNfZE/okWoFBb4cpPI94PHo3DZPR7lVyQ60RNyeR0nOeqf8NW8cBT1G4jw3u1LEyAdyvup+54aALw0DCVyoDojSXB8s+AlQG2JE="
|
||||
|
||||
addons:
|
||||
coverity_scan:
|
||||
project:
|
||||
name: "RetroShare/RetroShare"
|
||||
description: "RetroShare Build submitted via Travis CI"
|
||||
build_command_prepend: "qmake CONFIG+=NO_SQLCIPHER; make clean"
|
||||
build_command: "make -j 4"
|
||||
branch_pattern: coverity_scan
|
||||
|
||||
before_script:
|
||||
- qmake QMAKE_CC=$CC QMAKE_CXX=$CXX CONFIG+=NO_SQLCIPHER CONFIG+=tests
|
||||
|
||||
#script: make
|
||||
script: if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then make && tests/unittests/unittests >/dev/null 2>&1 ; fi
|
||||
|
||||
|
||||
#after_success:
|
||||
# - if [ $TRAVIS_BRANCH == $TRAVIS_TAG ]; then rake deploy; fi
|
||||
|
||||
#branches:
|
||||
# only:
|
||||
# - master
|
||||
# - travis
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
irc:
|
||||
channels:
|
||||
- "chat.freenode.net#retroshare"
|
||||
template:
|
||||
- "%{repository}/%{branch} (%{commit} - %{author}): %{build_url}: %{message}"
|
||||
- "Message: %{commit_message}"
|
||||
- "Commit details: %{compare_url}"
|
||||
# webhooks:
|
||||
# urls:
|
||||
# - https://webhooks.gitter.im/e/9502afd22ca6c8e85fb3
|
||||
# on_success: change
|
||||
# on_failure: always
|
||||
# on_start: always
|
||||
|
||||
#env:
|
||||
# - RVM=2.0.0 LANG="en_US.UTF-8"
|
339
LICENSE.txt
Normal file
339
LICENSE.txt
Normal file
@ -0,0 +1,339 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/>
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Lesser General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
{description}
|
||||
Copyright (C) {year} {fullname}
|
||||
|
||||
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 2 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, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
{signature of Ty Coon}, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License.
|
66
MacOS_X_InstallGuide.txt
Normal file
66
MacOS_X_InstallGuide.txt
Normal file
@ -0,0 +1,66 @@
|
||||
#############################
|
||||
###--- QT INSTALLATION ---###
|
||||
#############################
|
||||
|
||||
###Install Qt via:
|
||||
http://www.qt.io/download/
|
||||
|
||||
###Use default options.
|
||||
###Add to the PATH environment variable with this temporary solution.
|
||||
export PATH=/users/$USER/Qt/5.5/clang_64/bin:$PATH
|
||||
###Depends on wich version of Qt you use.
|
||||
|
||||
##################################
|
||||
###--- MACPORT INSTALLATION ---###
|
||||
##################################
|
||||
|
||||
###Install MacPort and XCode following this guide:
|
||||
http://guide.macports.org/#installing.xcode
|
||||
|
||||
###Start XCode to get it updated and to able C compiler to create executables.
|
||||
|
||||
###Install libraries
|
||||
$sudo port -v selfupdate
|
||||
$sudo port install openssl
|
||||
$sudo port install miniupnpc
|
||||
###For VOIP Plugin:
|
||||
$sudo port install speex-devel
|
||||
$sudo port install opencv
|
||||
|
||||
###Get Your OSX SDK if missing:
|
||||
https://github.com/phracker/MacOSX-SDKs
|
||||
|
||||
###########################
|
||||
###--- LAST SETTINGS ---###
|
||||
###########################
|
||||
|
||||
###In QtCreator Option Git add its path:
|
||||
C:\Program Files\Git\bin
|
||||
### and select "Pull" with "Rebase"
|
||||
|
||||
###Compil missing libraries
|
||||
###SQLCipher
|
||||
cd <your development directory>
|
||||
git clone https://github.com/sqlcipher/sqlcipher.git
|
||||
cd sqlcipher
|
||||
./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto"
|
||||
make
|
||||
sudo make install
|
||||
#NOTE, might be necessary to chmod 000 /usr/local/ssl temporarily during ./configure if
|
||||
#homebrew uses newer, non-stock ssl dependencies found there. configure might get confused.
|
||||
|
||||
### libMicroHTTPD: The one with port don't have good support.
|
||||
cd <your development directory>
|
||||
wget http://ftpmirror.gnu.org/libmicrohttpd/libmicrohttpd-0.9.46.tar.gz
|
||||
tar zxvf libmicrohttpd-0.9.46.tar.gz
|
||||
cd libmicrohttpd-0.9.46
|
||||
bash ./configure
|
||||
sudo make install
|
||||
|
||||
###You can now compile RS into Qt Creator or with terminal
|
||||
cd <your development directory>
|
||||
git clone https://github.com/RetroShare/RetroShare.git retroshare
|
||||
cd retroshare
|
||||
qmake;make
|
||||
|
||||
###You can find compiled application on ./retroshare/retroshare-gui/src/RetroShare06.app
|
142
README.md
Normal file
142
README.md
Normal file
@ -0,0 +1,142 @@
|
||||
RetroShare
|
||||
==============================
|
||||
RetroShare is a decentralized, private and secure commmunication and sharing platform. RetroShare provides filesharing, chat, messages, forums and channels.
|
||||
|
||||
Build Status
|
||||
------------
|
||||
|
||||
| Platform | Build Status |
|
||||
| :------------- | :------------- |
|
||||
| GNU/Linux, MacOS, (via travis-ci) | [![Build Status](https://travis-ci.org/RetroShare/RetroShare.svg?branch=master)](https://travis-ci.org/RetroShare/RetroShare) |
|
||||
| Windows, `MSys2` (via appveyor) | [![Build status](https://ci.appveyor.com/api/projects/status/fu7q0ye6pge53579?svg=true)](https://ci.appveyor.com/project/PhenomRetroShare/retroshare-59qxh) |
|
||||
|
||||
Compilation on Windows
|
||||
----------------------------
|
||||
Follow this file : [WindowsMSys2_InstallGuide.txt](https://github.com/RetroShare/RetroShare/blob/master/WindowsMSys2_InstallGuide.txt)
|
||||
|
||||
Compilation on MacOSX
|
||||
----------------------------
|
||||
Follow this file : [MacOS_X_InstallGuide.txt](https://github.com/RetroShare/RetroShare/blob/master/MacOS_X_InstallGuide.txt)
|
||||
|
||||
Compilation on Linux
|
||||
----------------------------
|
||||
|
||||
1. Install package dependencies:
|
||||
* Debian/Ubuntu
|
||||
```bash
|
||||
sudo apt-get install libglib2.0-dev libupnp-dev qt4-dev-tools \
|
||||
libqt4-dev libssl-dev libxss-dev libgnome-keyring-dev libbz2-dev \
|
||||
libqt4-opengl-dev libqtmultimediakit1 qtmobility-dev libsqlcipher-dev \
|
||||
libspeex-dev libspeexdsp-dev libxslt1-dev libcurl4-openssl-dev \
|
||||
libopencv-dev tcl8.5 libmicrohttpd-dev
|
||||
```
|
||||
* openSUSE
|
||||
```bash
|
||||
sudo zypper install gcc-c++ libqt4-devel libgnome-keyring-devel \
|
||||
glib2-devel speex-devel libssh-devel protobuf-devel libcurl-devel \
|
||||
libxml2-devel libxslt-devel sqlcipher-devel libmicrohttpd-devel \
|
||||
opencv-devel speexdsp-devel libupnp-devel libavcodec-devel
|
||||
```
|
||||
* Arch Linux
|
||||
```bash
|
||||
pacman -S base-devel libgnome-keyring libmicrohttpd libupnp libxslt \
|
||||
libxss opencv qt4 speex sqlcipher
|
||||
```
|
||||
|
||||
2. Checkout the source code
|
||||
```bash
|
||||
mkdir ~/retroshare
|
||||
cd ~/retroshare
|
||||
git clone https://github.com/RetroShare/RetroShare.git trunk
|
||||
```
|
||||
|
||||
3. Compile
|
||||
```bash
|
||||
cd trunk
|
||||
qmake CONFIG+=debug
|
||||
make
|
||||
```
|
||||
|
||||
4. Install
|
||||
```bash
|
||||
sudo make install
|
||||
```
|
||||
|
||||
The executables produced will be:
|
||||
|
||||
/usr/bin/RetroShare06
|
||||
/usr/bin/RetroShare06-nogui
|
||||
|
||||
Compile only retroshare-nogui
|
||||
-----------------------------
|
||||
If you want to run RetroShare on a server and don’t need the gui and plugins,
|
||||
you can run the following commands to only compile/install the nogui version:
|
||||
|
||||
```bash
|
||||
qmake
|
||||
make retroshare-nogui
|
||||
sudo make retroshare-nogui-install_subtargets
|
||||
```
|
||||
|
||||
For packagers
|
||||
-------------
|
||||
Packagers can use PREFIX and LIB\_DIR to customize the installation paths:
|
||||
```bash
|
||||
qmake PREFIX=/usr LIB_DIR=/usr/lib64 "CONFIG-=debug" "CONFIG+=release"
|
||||
make
|
||||
make INSTALL_ROOT=${PKGDIR} install
|
||||
```
|
||||
|
||||
If libsqlcipher is not available as a package
|
||||
---------------------------------------------
|
||||
|
||||
You need to place sqlcipher so that the hierarchy is:
|
||||
|
||||
retroshare
|
||||
|
|
||||
+--- trunk
|
||||
|
|
||||
+--- lib
|
||||
|
|
||||
+---- sqlcipher
|
||||
```bash
|
||||
mkdir lib
|
||||
cd lib
|
||||
git clone git://github.com/sqlcipher/sqlcipher.git
|
||||
cd sqlcipher
|
||||
./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto"
|
||||
make
|
||||
cd ..
|
||||
```
|
||||
|
||||
Using retroshare-nogui & webUI
|
||||
------------------------------
|
||||
|
||||
The webUI needs to be enabled as a parameter option in retroshare-nogui:
|
||||
|
||||
```bash
|
||||
./retroshare-nogui --webinterface 9090 --docroot /usr/share/RetroShare06/webui/
|
||||
```
|
||||
|
||||
The webUI is only accessible on localhost:9090. It is advised to keep it that way so that your RS
|
||||
cannot be controlled using an untrusted connection.
|
||||
|
||||
To access your web UI from a distance, just open a SSH tunnel on it:
|
||||
|
||||
```bash
|
||||
distant_machine:~/ > ssh rs_host -L 9090:localhost:9090 -N
|
||||
```
|
||||
|
||||
"rs_host" is the machine running retroshare-nogui. Then on the distant machine, access your webUI on
|
||||
|
||||
|
||||
http://localhost:9090
|
||||
|
||||
That also works with a retroshare GUI of course.
|
||||
|
||||
Compile and run tests
|
||||
---------------------
|
||||
|
||||
qmake CONFIG+=tests
|
||||
make
|
||||
tests/unittests/unittests
|
85
README.txt
85
README.txt
@ -1,85 +0,0 @@
|
||||
To compile:
|
||||
|
||||
- install the package dependencies. On ubuntu:
|
||||
# sudo apt-get install libglib2.0-dev libupnp-dev qt4-dev-tools libqt4-dev libssl-dev libxss-dev \
|
||||
libgnome-keyring-dev libbz2-dev libqt4-opengl-dev libqtmultimediakit1 qtmobility-dev \
|
||||
libspeex-dev libspeexdsp-dev libxslt1-dev libprotobuf-dev protobuf-compiler cmake \
|
||||
libcurl4-openssl-dev
|
||||
|
||||
- create project directory (e.g. ~/retroshare) and check out the source code
|
||||
# mkdir ~/retroshare
|
||||
# cd ~/retroshare && svn co svn://svn.code.sf.net/p/retroshare/code/trunk trunk
|
||||
|
||||
- create a new directory named lib
|
||||
# mkdir lib
|
||||
|
||||
- get source code for libssh-0.5.4, unzip it, and create build directory (if needed)
|
||||
|
||||
# cd lib
|
||||
# wget https://red.libssh.org/attachments/download/41/libssh-0.5.4.tar.gz
|
||||
# tar zxvf libssh-0.5.4.tar.gz
|
||||
# cd libssh-0.5.4
|
||||
# mkdir build
|
||||
# cd build
|
||||
# cmake -DWITH_STATIC_LIB=ON ..
|
||||
# make
|
||||
# cd ../../..
|
||||
|
||||
NB: There is a new libssh-0.6.0rc1 which fixes some bugs from v0.5.4,
|
||||
The procedure is the same as above, except for the following line.
|
||||
# cmake -DWITH_STATIC_LIB=ON -DWITH_GSSAPI=OFF ..
|
||||
|
||||
- get source code for sqlcipher, and build it (only needed for GXS)
|
||||
|
||||
# cd lib
|
||||
# git clone git://github.com/sqlcipher/sqlcipher.git
|
||||
# cd sqlcipher
|
||||
# ./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" \
|
||||
LDFLAGS="-lcrypto"
|
||||
# make
|
||||
# cd ..
|
||||
|
||||
- go to your svn base directory
|
||||
# cd trunk
|
||||
|
||||
- go to libbitdht and compile it
|
||||
# cd libbitdht/src && qmake && make clean && make -j 4
|
||||
|
||||
- go to openpgpsdk and compile it
|
||||
# cd ../../openpgpsdk/src && qmake && make clean && make -j 4
|
||||
|
||||
- go to supportlibs and compile it
|
||||
# cd ../../supportlibs/pegmarkdown && qmake && make clean && make -j 4
|
||||
|
||||
- go to libretroshare and compile it
|
||||
# cd ../../libretroshare/src && qmake && make clean && make -j 4
|
||||
|
||||
- go to rsctrl and compile it
|
||||
# cd ../../rsctrl/src && make &&
|
||||
|
||||
- go to retroshare-nogui, and compile it
|
||||
# cd ../../retroshare-nogui/src && qmake && make clean && make -j 4
|
||||
|
||||
- go to retroshare gui and compile it
|
||||
# cd ../../retroshare-gui/src && qmake && make clean && make -j 4
|
||||
|
||||
- to use the SSH RS server (nogui):
|
||||
|
||||
# ssh-keygen -t rsa -f rs_ssh_host_rsa_key # this makes a RSA
|
||||
# ./retroshare-nogui -G # generates a login+passwd hash for the RSA key used.
|
||||
# ./retroshare-nogui -S 7022 -U[SSLid] -P [Passwd hash]
|
||||
|
||||
- to connect from a remote place to the server by SSH:
|
||||
|
||||
# ssh -T -p 7022 [user]@[host]
|
||||
|
||||
and use the command line interface to control your RS instance.
|
||||
|
||||
List of non backward compatible changes for V0.6:
|
||||
================================================
|
||||
|
||||
- in rscertificate.cc, enable V_06_USE_CHECKSUM
|
||||
- in p3charservice, remove all usage of _deprecated items
|
||||
- turn file transfer into a service. Will break item IDs, but cleanup and
|
||||
simplify lots of code.
|
||||
|
@ -1,10 +1,51 @@
|
||||
TEMPLATE = subdirs
|
||||
|
||||
SUBDIRS += \
|
||||
openpgpsdk/src/openpgpsdk.pro \
|
||||
supportlibs/pegmarkdown/pegmarkdown.pro \
|
||||
libbitdht/src/libbitdht.pro \
|
||||
libretroshare/src/libretroshare.pro \
|
||||
retroshare-gui/src/retroshare-gui.pro \
|
||||
retroshare-nogui/src/retroshare-nogui.pro \
|
||||
plugins/plugins.pro
|
||||
!include("retroshare.pri"): error("Could not include file retroshare.pri")
|
||||
|
||||
TEMPLATE = subdirs
|
||||
#CONFIG += tests
|
||||
|
||||
SUBDIRS += \
|
||||
openpgpsdk \
|
||||
libbitdht \
|
||||
libretroshare \
|
||||
libresapi \
|
||||
retroshare_gui \
|
||||
retroshare_nogui \
|
||||
plugins
|
||||
|
||||
openpgpsdk.file = openpgpsdk/src/openpgpsdk.pro
|
||||
|
||||
libbitdht.file = libbitdht/src/libbitdht.pro
|
||||
|
||||
libretroshare.file = libretroshare/src/libretroshare.pro
|
||||
libretroshare.depends = openpgpsdk libbitdht
|
||||
|
||||
libresapi.file = libresapi/src/libresapi.pro
|
||||
libresapi.depends = libretroshare
|
||||
|
||||
retroshare_gui.file = retroshare-gui/src/retroshare-gui.pro
|
||||
retroshare_gui.depends = libretroshare libresapi
|
||||
retroshare_gui.target = retroshare-gui
|
||||
|
||||
retroshare_nogui.file = retroshare-nogui/src/retroshare-nogui.pro
|
||||
retroshare_nogui.depends = libretroshare libresapi
|
||||
retroshare_nogui.target = retroshare-nogui
|
||||
|
||||
plugins.file = plugins/plugins.pro
|
||||
plugins.depends = retroshare_gui
|
||||
plugins.target = plugins
|
||||
|
||||
wikipoos {
|
||||
SUBDIRS += pegmarkdown
|
||||
pegmarkdown.file = supportlibs/pegmarkdown/pegmarkdown.pro
|
||||
retroshare_gui.depends += pegmarkdown
|
||||
}
|
||||
|
||||
tests {
|
||||
SUBDIRS += librssimulator
|
||||
librssimulator.file = tests/librssimulator/librssimulator.pro
|
||||
|
||||
SUBDIRS += unittests
|
||||
unittests.file = tests/unittests/unittests.pro
|
||||
unittests.depends = libretroshare librssimulator
|
||||
unittests.target = unittests
|
||||
}
|
||||
|
11
Start_RetroShare-Gui_Debug.bat
Executable file
11
Start_RetroShare-Gui_Debug.bat
Executable file
@ -0,0 +1,11 @@
|
||||
set QTDIR=C:\Qt\5.5\mingw492_32
|
||||
set LIBS=..\libs
|
||||
set RSPATH=.\retroshare-gui\src\debug
|
||||
|
||||
set PATH=%QTDIR%\bin;%LIBS%\bin;%PATH%
|
||||
|
||||
If not exist %RSPATH%\RetroShare06.exe (
|
||||
build-all-mingw32make.bat
|
||||
)
|
||||
|
||||
%RSPATH%\RetroShare06.exe
|
47
TODO.circles.txt
Normal file
47
TODO.circles.txt
Normal file
@ -0,0 +1,47 @@
|
||||
Legend:
|
||||
[X]: done, [ ]: pending, [-]: Cancelled, [/]: ongoing
|
||||
|
||||
GUI
|
||||
[X] disable edit circles or make it work
|
||||
[X] make GUI update when creating a circle
|
||||
[ ] handle the display of encrypted forums/channels/etc when we do not have the keys
|
||||
[ ] disable posting to circles for which we do not have the rights
|
||||
[ ] warn about creating a circle without one of your ids in it
|
||||
[X] group "show details" should be made up to date for restrinction options
|
||||
[ ] allow to share circles publish rights
|
||||
[X] allow non admin to see circles details but not edit
|
||||
|
||||
[ ] update TS of groups linked to a modified circle, so as to cause updates when a new member is addded to the group
|
||||
[X] forums GUI should show correct restriction options for restricted forums
|
||||
[X] changing a circle's name should update the GUI
|
||||
[ ] make sure we cannot post in forums using IDs that are not in the circle
|
||||
[ ] make sure unauthorised ids are rejected when validating posts from a circle restricted group
|
||||
[ ] add GUI for local circles in circle GUI
|
||||
[ ] share publish rights between circles
|
||||
[ ] clean GUI (hide IDs)
|
||||
|
||||
|
||||
Tests
|
||||
[X] create a safe testing environment: 2 peers with no other contacts, 2 IDs each, and some forums
|
||||
[X] test #001: transactions should encrypt and decrypt ok on both sides
|
||||
[X] test #002: peers inside a circles should see the data
|
||||
[X] test #003: peers outside of a circles shouldn't see the data
|
||||
[-] test #004: peers subscribed to encrypted circles shouldn't keep asking for the data if they cannot decrypt
|
||||
[X] test #005: peers can be added/removed from circles, and the circles update between friends
|
||||
[ ] test #006: peers subscribed to encrypted circles who recently got added to the circle should get the data
|
||||
[ ] test #007: peers outside a circle shouldn't be able to post (or posts shouldn't propagate)
|
||||
|
||||
Backend
|
||||
[X] add debug output later RS_NXS_DEBUG_7 in rsgxsnetservice.cc for the crypto layer
|
||||
|
||||
Bugs
|
||||
[X] Peers cannot be removed from a circle
|
||||
[X] Context menu should not allow to edit non admin circles
|
||||
[X] Editing circles make them subscribed, even non admin ones.
|
||||
[X] Disable autosync for circles (in rsinit.cc)
|
||||
[-] Add explicit circle sync request for all grps restricted to a circle (same as IDs)
|
||||
[X] when a peer receives a circle, there is no way to view its details, only the id is available
|
||||
[X] if a peer has circles available in "Circles (others)"... if you click on
|
||||
"Create Circle" on the gui, then all circles are automatically subscribed
|
||||
|
||||
|
135
TODO.txt
Normal file
135
TODO.txt
Normal file
@ -0,0 +1,135 @@
|
||||
Legend:
|
||||
E: easy. Just GUI stuff, no algorithmics involved. That does not mean it's easy to come up with.
|
||||
M: medium, either because it's a big task, or because it needs to understand a lot of code.
|
||||
H: hard. Needs digging deep into libretroshare, possibly involving some crypto.
|
||||
|
||||
[ ] pending
|
||||
[/] half-done, someone's on it
|
||||
[-] cancelled
|
||||
[?] needs discussion. Not sure we need this.
|
||||
[X] done
|
||||
|
||||
PS: no tabs in this file,thx ;-)
|
||||
|
||||
---------------------------------------- TODO for RC ---------------------------------------------
|
||||
|
||||
E [ ] Implement creation of a default (signed) gxs id in startup wizard. Needs to show to the user a proper separation between nodes (network layer) and GXS ids (service layer).
|
||||
E [ ] add tooltips in in permission matrix when hovering over the top most button/service name explain what the service does and the dependencies
|
||||
E [ ] finish pass of GXS network service
|
||||
|
||||
----------------------------------------- TODO list ----------------------------------------------
|
||||
|
||||
GUI
|
||||
E [X] add a "Contact" list to help selecting peers in People/FriendChooser/messages/etc.
|
||||
E [ ] fix posted GUI. Needs to be more handy and more appealing.
|
||||
E [ ] add RS links for GXS identities, so that they can be transferred easily between nodes in forums, etc
|
||||
E [ ] enable people dialog
|
||||
M [ ] Personal Page (Profile Page for GXS ID Users,view latest Posts, public forum/channels,posted posts, comments in all areas, Reputation Infos, Popularity and more)
|
||||
E [ ] fix RSButtonOnText::eventFilter, and fix all places where RSButtonOnText gets deleted
|
||||
E [ ] find all places where the deprecated(in Qt5) Q_WS_WIN and other Q_WS* macros are used, and replace with something else
|
||||
E [ ] Make RS fully compatible with High DPI screens.
|
||||
M [ ] improve comments in channels. Comments should be more available, more visible, and easier to handle.
|
||||
E [ ] make GRouter statistics less CPU greedy
|
||||
M [ ] Merge the various help systems. there's 3 of them now. Lots of duplicate code, etc.
|
||||
M [ ] New and consistent icon set (Purplehaze420 said he would provide a consistent set of icons. Is that still alive?)
|
||||
M [ ] add in options->Network a way to select which network interface is used to talk (choice between "auto" or selected from a list)
|
||||
M [?] add a RS link for encrypted messages (encrypt for multiple GXS ids at once). Messages will appear as a link when encrypted and
|
||||
be automatically decrypted when a suitable GXS id is available for it. Could be a way to securely post something in a public place.
|
||||
|
||||
File transfer (all 3 tasks are related)
|
||||
E [ ] Add a limit of the total number of files simultaneously asked to the same peer using direct transfer.
|
||||
H [ ] implement a new file list management, with new info such as access time,total upload, popularity, etc
|
||||
H [ ] implement a new file list sharing service based on auto-sync system
|
||||
M [ ] get rid of the old cache system (remove CacheStrapper, CacheSource,etc)
|
||||
M [ ] implement end-to-end encryption using chacha20 and H(F), requesting file on H(H(F)). Make this optional and backward compatible.
|
||||
|
||||
DHT
|
||||
H [-] improve DHT lookups to find masquerading peers using fake peers. First experiments (by cyril) do not prove very efficient.
|
||||
|
||||
GXS
|
||||
M [X] create a tunnel service from distant chat code to make it (1) more generic (2) resistant to packet loss.
|
||||
M [X] optimise GXS sync BW. For the moment too much is sent between nodes.
|
||||
H [/] add the ability to use anonymous identities into circles. Needs new distribution model using items encrypted for multiple GXS keys.
|
||||
H [ ] use different and incompatible classes for public and private keys in GxsSecurity
|
||||
|
||||
VOIP
|
||||
H [ ] use proper video encoding. What we have now is decent for video, but sound should be prioritized. Experiments
|
||||
with QtAV seem to work nicely. Finish and integrate!
|
||||
M [ ] Deactivate Voip Buttons, when Friend has no Voip plugin enabled.
|
||||
M [ ] Implement Voice for Video Chat
|
||||
M [ ] Improve Voice and Video Quality
|
||||
M [ ] Video Quality/Resolution Settings (High, Medium, Low) HD, HQ, SD )
|
||||
M [ ] Video Device: WebCam(s) or Desktop Selection
|
||||
M [ ] Audio Input Device Selection (Microphone)
|
||||
M [ ] Audio Output Device Selection (Speaker)
|
||||
M [ ] Video Snapshots https://support.skype.com/en/faq/FA1222/what-is-video-snapshot
|
||||
M [ ] Voice Messaging (record and send a voice message)
|
||||
M [ ] Video Messages (send a video greeting to multiple friends/coworkers/developers at once.)
|
||||
M [ ] Add Call status (when im on the phone changes my status with phone icon)
|
||||
H [ ] Audio Conference
|
||||
H [ ] Video Conference
|
||||
|
||||
Messages
|
||||
H [X] make the mail system re-send failed emails notified by the global router. This is hard because it needs a proper management of duplicate messages
|
||||
E [X] add flags to allow distant messaging from contact list only / everyone / noone / only signed ids.
|
||||
M [ ] add Signature feature to messages
|
||||
M [ ] add vacation responser for messages (automatic replies)
|
||||
|
||||
Chat
|
||||
E [X] add flags to allow distant chat from contact list only / everyone / noone / only signed ids.
|
||||
|
||||
Libretroshare
|
||||
E [X] groups small packets in pqistreamer::handleoutgoing_locked(), and see if that removes some padding overhead
|
||||
E [ ] make sure at least one location is kept when removing old locations as it avoids lots of connection problems.
|
||||
M [ ] improve serialisation system. Lots of serialisation tasks (header, verifications, serialiser=>template, can be factored)
|
||||
M [ ] separate chat stuff from rsmsgs.h into rschat.h
|
||||
M [ ] crash at shutdown due to memory management already cleared while new objects keep being requested.
|
||||
|
||||
#0 0x0000000000da52eb in RsMemoryManagement:¿mallObject:¿mallObject() ()
|
||||
#1 0x0000000000da3694 in RsItem::RsItem(unsigned int) ()
|
||||
#2 0x0000000000dcb365 in RsRawItem::RsRawItem (this=0x0, t=33559555, size=38) at ./serialiser/rsserial.h
|
||||
#3 0x0000000000fc1643 in RsServiceSerialiser::deserialise(void*, unsigned int*) ()
|
||||
#4 0x0000000000da4451 in RsSerialiser::deserialise(void*, unsigned int*) ()
|
||||
#5 0x0000000000fb5b4b in pqistreamer::handleincoming_locked() ()
|
||||
#6 0x0000000000fb4b3e in pqistreamer::tick_recv(unsigned int) ()
|
||||
#7 0x0000000000fb744a in pqithreadstreamer::data_tick() ()
|
||||
#8 0x0000000000e19b27 in RsTickingThread::runloop (this=0x7fffb004e7e8) at util/rsthreads.cc:196
|
||||
#9 0x0000000000e19748 in RsThread::rsthread_init (p=0x7fffb004e7e8) at util/rsthreads.cc:63
|
||||
#10 0x00007ffff4006f6b in start_thread () from /lib64/libpthread.so.0
|
||||
#11 0x00007ffff351c7ed in clone () from /lib64/libc.so.6
|
||||
|
||||
Channels
|
||||
E [ ] allow to set a download directory per channel
|
||||
M [ ] Thumbnail View for Channels
|
||||
M [ ] Count commments on Comments Button
|
||||
M [ ] Notify Channel comments/replies
|
||||
|
||||
Posted
|
||||
E [ ] Show an info page for unsubscribed posted threads (same as forums)
|
||||
E [ ] Make the GUI of Posted more sexy: more compact items, remove unecessary text, use consistent icons,...
|
||||
|
||||
Forums
|
||||
E [ ] do we keep "Getting Started" ? the look needs to be improved. Any help doing this is welcome!
|
||||
E [ ] some widgets in the GUI do not follow the system style => GUI looks bad on these systems
|
||||
|
||||
Bugs
|
||||
E [ ] find the bug that shows some peers online in Network although they are not.
|
||||
M [X] Selecting different options in messages composer -> contact list then come back,
|
||||
shows disappearing / re-appearing people. What causes this???
|
||||
|
||||
Sounds
|
||||
E [ ] add default sounds for Friend go online, New Chat Message, Message arrived, Download complete
|
||||
M [ ] make sure sound is working for users on linux. We also need a "test sound" button in config->sound.
|
||||
|
||||
Packaging
|
||||
E [ ] Sound files should be part of the install package at least on ubuntu (put them in /usr/share)
|
||||
|
||||
List of pending non backward compatible changes
|
||||
===============================================
|
||||
|
||||
* RsGxsGrpMetaData::deserialis should use a proper TLV_STR_TYPE_NAME instead of 0 for
|
||||
mGroupName and mMsgName, in rsgxsdata.cc
|
||||
* p3IdService::service_CreateGroup() should convert the mPgpSign member to radix64!! For now
|
||||
it is hard-coded in binary in a string.
|
||||
|
||||
|
89
WindowsMSys2_InstallGuide.txt
Normal file
89
WindowsMSys2_InstallGuide.txt
Normal file
@ -0,0 +1,89 @@
|
||||
#############################
|
||||
###--- QT INSTALLATION ---###
|
||||
#############################
|
||||
|
||||
###Install Qt via:
|
||||
http://www.qt.io/download/
|
||||
|
||||
###Use default options.
|
||||
###Add to the PATH environment variable.
|
||||
;C:\Qt\5.5\mingw492_32\bin;C:\Qt\Tools\mingw492_32\bin;C:\Qt\Tools\mingw492_32\opt\bin
|
||||
|
||||
###Depends on wich version of Qt you use.
|
||||
|
||||
###Change build-all-mingw32make.bat with these values too if you don't use MSys2.
|
||||
|
||||
|
||||
###############################
|
||||
###---MSYS2 INSTALLATION ---###
|
||||
###############################
|
||||
|
||||
###Choose your MSYS2 installer here:
|
||||
http://msys2.github.io/
|
||||
|
||||
###Follow install procedure.
|
||||
###Don't forget to sync & Update pacman.
|
||||
pacman --needed -Sy bash pacman pacman-mirrors msys2-runtime
|
||||
|
||||
###Restart console
|
||||
pacman -Su
|
||||
|
||||
###Install all default programms
|
||||
pacman -S base-devel git mercurial cvs wget p7zip gcc perl ruby python2
|
||||
|
||||
###Choose only w64-i686 if you want only compilation in 32b architecture.
|
||||
pacman -S mingw-w64-i686-toolchain mingw-w64-x86_64-toolchain
|
||||
|
||||
###Install other binutils:
|
||||
pacman -S mingw-w64-i686-miniupnpc mingw-w64-x86_64-miniupnpc
|
||||
pacman -S mingw-w64-i686-sqlite3 mingw-w64-x86_64-sqlite3
|
||||
pacman -S mingw-w64-i686-speex mingw-w64-x86_64-speex
|
||||
pacman -S mingw-w64-i686-opencv mingw-w64-x86_64-opencv
|
||||
pacman -S mingw-w64-i686-ffmpeg mingw-w64-x86_64-ffmpeg
|
||||
pacman -S mingw-w64-i686-libmicrohttpd mingw-w64-x86_64-libmicrohttpd
|
||||
pacman -S mingw-w64-i686-libxslt mingw-w64-x86_64-libxslt
|
||||
|
||||
### Add MSYS2 to PATH environment variable depends your windows
|
||||
;C:\msys64\mingw32\bin
|
||||
;C:\msys32\mingw32\bin
|
||||
|
||||
|
||||
##############################
|
||||
###--- GIT INSTALLATION ---###
|
||||
##############################
|
||||
|
||||
###Install Git Gui or other client:
|
||||
https://git-scm.com/download/win
|
||||
|
||||
###Create a new directory named:
|
||||
C:\Development\GIT
|
||||
|
||||
###Right-click on it and choose:
|
||||
Git Bash Here
|
||||
|
||||
###Paste this text on git console:
|
||||
git clone https://github.com/RetroShare/RetroShare.git
|
||||
|
||||
|
||||
###########################
|
||||
###--- LAST SETTINGS ---###
|
||||
###########################
|
||||
|
||||
###In QtCreator Option Git add its path:
|
||||
C:\Program Files\Git\bin
|
||||
### and select "Pull" with "Rebase"
|
||||
|
||||
|
||||
###Open an MSys2 32|64 shell
|
||||
###Move to build_scripts:
|
||||
cd /c/Development/GIT/RetroShare/msys2_build_libs/
|
||||
|
||||
###Compil missing library
|
||||
make
|
||||
|
||||
###You can now compile RS into Qt Creator
|
||||
|
||||
###For using, and debugging Plugins, you can use SymLinker (http://amd989.github.io/Symlinker/) to link
|
||||
### the files in \build-RetroShare-Desktop_Qt_X_Y_Z_MinGW_32bit-Debug\plugins\PluginName\debug\*.dll
|
||||
### to %appdata%\RetroShare\extensions6
|
||||
|
210
appveyor.yml
Normal file
210
appveyor.yml
Normal file
@ -0,0 +1,210 @@
|
||||
# Notes:
|
||||
# - Minimal appveyor.yml file is an empty file. All sections are optional.
|
||||
# - Indent each level of configuration with 2 spaces. Do not use tabs!
|
||||
# - All section names are case-sensitive.
|
||||
# - Section names should be unique on each level.
|
||||
# from example:
|
||||
# https://github.com/Phonations/Joker/blob/master/appveyor.yml
|
||||
# https://github.com/unicorn-engine/autobuild/blob/master/.appveyor.yml
|
||||
|
||||
#---------------------------------#
|
||||
# general configuration #
|
||||
#---------------------------------#
|
||||
|
||||
# version format
|
||||
version: RetroShare 0.6.0.{build}-{branch}
|
||||
|
||||
# you can use {branch} name in version format too
|
||||
# version: 1.0.{build}-{branch}
|
||||
|
||||
# branches to build
|
||||
branches:
|
||||
# whitelist
|
||||
#only:
|
||||
# - master
|
||||
|
||||
# blacklist
|
||||
except:
|
||||
- /^skipthisbranch$/
|
||||
|
||||
# Do not build on tags (GitHub only)
|
||||
skip_tags: true
|
||||
|
||||
# Skipping commits with particular message or from user
|
||||
skip_commits:
|
||||
message: /Created.*\.(png|jpg|jpeg|bmp|gif)/ # Regex for matching commit message
|
||||
#author: Anonymous # Commit author's username, name, email or regexp maching one of these.
|
||||
|
||||
#---------------------------------#
|
||||
# environment configuration #
|
||||
#---------------------------------#
|
||||
|
||||
# Operating system (build VM template)
|
||||
#os: Windows Server 2012
|
||||
|
||||
# scripts that are called at very beginning, before repo cloning
|
||||
init:
|
||||
- git config --global core.autocrlf input
|
||||
#To get RDP while compiling
|
||||
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
||||
on_finish:
|
||||
#To get RDP running after compiling
|
||||
#- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
||||
|
||||
# clone directory
|
||||
clone_folder: c:\projects\RetroShare
|
||||
|
||||
# fetch repository as zip archive
|
||||
#shallow_clone: true # default is "false"
|
||||
|
||||
# set clone depth
|
||||
clone_depth: 1 # clone entire repository history if not defined
|
||||
|
||||
environment:
|
||||
global:
|
||||
#Qt: https://www.appveyor.com/docs/installed-software#qt
|
||||
QTDIR: C:\Qt\5.4\mingw491_32
|
||||
MSYS2_ARCH: i686
|
||||
TARGET: i686_32-pc-msys
|
||||
|
||||
|
||||
# build cache to preserve files/folders between builds
|
||||
cache:
|
||||
- c:\projects\libs
|
||||
# - packages -> **\packages.config # preserve "packages" directory in the root of build folder but will reset it if packages.config is modified
|
||||
# - projectA\libs
|
||||
# - node_modules # local npm modules
|
||||
# - %APPDATA%\npm-cache # npm cache
|
||||
|
||||
# scripts that run after cloning repository
|
||||
#install:
|
||||
# # by default, all script lines are interpreted as batch
|
||||
# - echo This is batch
|
||||
# # to run script as a PowerShell command prepend it with ps:
|
||||
# - ps: Write-Host 'This is PowerShell'
|
||||
# # batch commands start from cmd:
|
||||
# - cmd: echo This is batch again
|
||||
# - cmd: set MY_VAR=12345
|
||||
install:
|
||||
# Configuring MSys2
|
||||
- set PATH=C:\msys64\usr\bin;%PATH%
|
||||
- set PATH=C:\msys64\mingw32\bin;%PATH%
|
||||
# Configuring Qt
|
||||
- set PATH=%QTDIR%\bin;C:\Qt\Tools\mingw491_32\bin;%PATH%
|
||||
# Install all default programms
|
||||
#- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Sy base-devel git mercurial cvs wget p7zip gcc perl ruby python2" #Already installed
|
||||
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Sy openssl-devel"
|
||||
# Install toolchain
|
||||
#- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S mingw-w64-i686-toolchain mingw-w64-x86_64-toolchain" #Already installed
|
||||
# Install other binutils
|
||||
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S mingw-w64-i686-miniupnpc mingw-w64-x86_64-miniupnpc"
|
||||
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S mingw-w64-i686-sqlite3 mingw-w64-x86_64-sqlite3"
|
||||
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S mingw-w64-i686-speex mingw-w64-x86_64-speex"
|
||||
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S mingw-w64-i686-opencv mingw-w64-x86_64-opencv"
|
||||
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S mingw-w64-i686-ffmpeg mingw-w64-x86_64-ffmpeg"
|
||||
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S mingw-w64-i686-libmicrohttpd mingw-w64-x86_64-libmicrohttpd"
|
||||
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S mingw-w64-i686-libxslt mingw-w64-x86_64-libxslt"
|
||||
|
||||
# Hack for new MSys2
|
||||
- copy C:\msys64\mingw32\i686-w64-mingw32\bin\ar.exe C:\msys64\mingw32\bin\i686-w64-mingw32-ar.exe
|
||||
- copy C:\msys64\mingw32\i686-w64-mingw32\bin\ranlib.exe C:\msys64\mingw32\bin\i686-w64-mingw32-ranlib.exe
|
||||
- copy C:\msys64\mingw32\bin\windres.exe C:\msys64\mingw32\bin\i686-w64-mingw32-windres.exe
|
||||
- copy C:\msys64\mingw64\x86_64-w64-mingw32\bin\ar.exe C:\msys64\mingw64\bin\x86_64-w64-mingw32-ar.exe
|
||||
- copy C:\msys64\mingw64\x86_64-w64-mingw32\bin\ranlib.exe C:\msys64\mingw64\bin\x86_64-w64-mingw32-ranlib.exe
|
||||
- copy C:\msys64\mingw64\bin\windres.exe C:\msys64\mingw64\bin\x86_64-w64-mingw32-windres.exe
|
||||
# Build missing Libs
|
||||
- C:\msys64\mingw32_shell.bat -lc "cd /c/projects/RetroShare/msys2_build_libs/ && make"
|
||||
# Clone RetroShare
|
||||
#- git clone -q --branch={branch} https://github.com/RetroShare/RetroShare.git C:\projects\RetroShare
|
||||
|
||||
|
||||
#---------------------------------#
|
||||
# build configuration #
|
||||
#---------------------------------#
|
||||
|
||||
# build platform, i.e. x86, x64, Any CPU. This setting is optional.
|
||||
platform: x86
|
||||
|
||||
# to add several platforms to build matrix:
|
||||
#platform:
|
||||
# - x86
|
||||
# - Any CPU
|
||||
|
||||
# build Configuration, i.e. Debug, Release, etc.
|
||||
configuration: Release
|
||||
|
||||
# to add several configurations to build matrix:
|
||||
#configuration:
|
||||
# - Debug
|
||||
# - Release
|
||||
|
||||
# scripts to run before build
|
||||
before_build:
|
||||
|
||||
# scripts to run *after* solution is built and *before* automatic packaging occurs (web apps, NuGet packages, Azure Cloud Services)
|
||||
before_package:
|
||||
|
||||
# scripts to run after build
|
||||
after_build:
|
||||
|
||||
# to run your custom scripts instead of automatic MSBuild
|
||||
build_script:
|
||||
- cd C:\projects\RetroShare
|
||||
- qmake
|
||||
- make
|
||||
|
||||
# to disable automatic builds
|
||||
#build: off
|
||||
|
||||
#---------------------------------#
|
||||
# artifacts configuration #
|
||||
#---------------------------------#
|
||||
|
||||
#artifacts:
|
||||
#
|
||||
# # pushing a single file
|
||||
# - path: test.zip
|
||||
#
|
||||
# # pushing a single file with environment variable in path and "Deployment name" specified
|
||||
# - path: MyProject\bin\$(configuration)
|
||||
# name: myapp
|
||||
#
|
||||
# # pushing entire folder as a zip archive
|
||||
# - path: logs
|
||||
|
||||
|
||||
#---------------------------------#
|
||||
# deployment configuration #
|
||||
#---------------------------------#
|
||||
#No deployment under unknown computer!!!
|
||||
|
||||
#---------------------------------#
|
||||
# global handlers #
|
||||
#---------------------------------#
|
||||
|
||||
# on successful build
|
||||
#on_success:
|
||||
# - do something
|
||||
|
||||
# on build failure
|
||||
#on_failure:
|
||||
# - do something
|
||||
|
||||
# after build failure or success
|
||||
#on_finish:
|
||||
# - do something
|
||||
|
||||
|
||||
#---------------------------------#
|
||||
# notifications #
|
||||
#---------------------------------#
|
||||
|
||||
notifications:
|
||||
|
||||
# Email
|
||||
- provider: Email
|
||||
to:
|
||||
- retrosharephenom@gmail.com
|
||||
subject: 'Build {{status}}' # optional
|
||||
message: "{{message}}, {{commitId}}, ..." # optional
|
||||
on_build_status_changed: true
|
145
build-all-mingw32make.bat
Normal file → Executable file
145
build-all-mingw32make.bat
Normal file → Executable file
@ -1,17 +1,14 @@
|
||||
set QTDIR=C:\Qt\4.8.5
|
||||
set MINGW=C:\MinGW
|
||||
set QTDIR=C:\Qt\5.5\mingw492_32\
|
||||
set MINGW=C:\Qt\Tools\mingw492_32
|
||||
|
||||
set PATH=%QTDIR%\bin;%MINGW%\bin;%PATH%
|
||||
|
||||
"C:\Program Files\TortoiseSVN\bin\SubWCRev" . libretroshare\src\util\rsversion.in libretroshare\src\util\rsversion.h
|
||||
"C:\Program Files\TortoiseSVN\bin\SubWCRev" . retroshare-gui\src\util\rsguiversion.in retroshare-gui\src\util\rsguiversion.h
|
||||
"C:\Program Files\TortoiseSVN\bin\SubWCRev" . retroshare-gui\src\retroshare.in retroshare-gui\src\retroshare.nsi
|
||||
|
||||
set DEBUG=1
|
||||
|
||||
@echo off
|
||||
rem emptying used variables in case the script was aborted and tempfile
|
||||
set pack=
|
||||
set clean=
|
||||
set errorlevel=
|
||||
if exist tmp.txt del tmp.txt
|
||||
|
||||
|
||||
@ -22,12 +19,12 @@ if %1x == x (
|
||||
)
|
||||
if /i %1==clean (
|
||||
set clean=clean
|
||||
shift
|
||||
shift
|
||||
goto :loop1
|
||||
)
|
||||
if /i %1==pack (
|
||||
set pack=pack
|
||||
shift
|
||||
shift
|
||||
goto :loop1
|
||||
)
|
||||
echo.%1>>tmp.txt
|
||||
@ -47,70 +44,174 @@ if not exist tmp.txt (
|
||||
)
|
||||
|
||||
for /f %%a in (tmp.txt) do (
|
||||
@echo on
|
||||
if ECHO==1 @echo on
|
||||
|
||||
|
||||
|
||||
|
||||
rem TODO: Remove these lines
|
||||
rem GOTO :retroshare-gui
|
||||
|
||||
|
||||
|
||||
|
||||
:libbitdht
|
||||
rem ###################################
|
||||
rem ### libbitdht #####################
|
||||
rem ###################################
|
||||
cd libbitdht\src
|
||||
|
||||
if not %clean%x==x mingw32-make clean
|
||||
|
||||
qmake libbitdht.pro
|
||||
CALL :TEST_ERROR
|
||||
|
||||
mingw32-make %%a
|
||||
CALL :TEST_ERROR
|
||||
echo ###################################
|
||||
echo ### libbitdht done ################
|
||||
echo ###################################
|
||||
cd ..\..
|
||||
|
||||
|
||||
cd ..\..\openpgpsdk\src
|
||||
:openpgpsdk
|
||||
rem ###################################
|
||||
rem ### openpgpsdk ####################
|
||||
rem ###################################
|
||||
cd openpgpsdk\src
|
||||
|
||||
if not %clean%x==x mingw32-make clean
|
||||
|
||||
qmake openpgpsdk.pro
|
||||
CALL :TEST_ERROR
|
||||
|
||||
mingw32-make
|
||||
CALL :TEST_ERROR
|
||||
echo ###################################
|
||||
echo ### openpgpsdk done ###############
|
||||
echo ###################################
|
||||
cd ..\..
|
||||
|
||||
|
||||
cd ..\..\libretroshare\src
|
||||
:libresapi
|
||||
rem ###################################
|
||||
rem ### libresapi #####################
|
||||
rem ###################################
|
||||
cd libresapi\src
|
||||
|
||||
if not %clean%x==x mingw32-make clean
|
||||
|
||||
qmake libretroshare.pro
|
||||
qmake libresapi.pro
|
||||
CALL :TEST_ERROR
|
||||
|
||||
mingw32-make %%a
|
||||
CALL :TEST_ERROR
|
||||
echo ###################################
|
||||
echo ### libresapi done ################
|
||||
echo ###################################
|
||||
cd ..\..
|
||||
|
||||
:libretroshare
|
||||
rem ###################################
|
||||
rem ### libretroshare #################
|
||||
rem ###################################
|
||||
cd libretroshare\src
|
||||
|
||||
cd ..\..\supportlibs\pegmarkdown
|
||||
if not %clean%x==x mingw32-make clean
|
||||
|
||||
qmake libretroshare.pro "CONFIG+=version_detail_bash_script"
|
||||
CALL :TEST_ERROR
|
||||
|
||||
mingw32-make %%a
|
||||
CALL :TEST_ERROR
|
||||
echo ###################################
|
||||
echo ### libretroshare done ############
|
||||
echo ###################################
|
||||
cd ..\..
|
||||
|
||||
:pegmarkdown
|
||||
rem ###################################
|
||||
rem ### pegmarkdown ###################
|
||||
rem ###################################
|
||||
cd supportlibs\pegmarkdown
|
||||
|
||||
if not %clean%x==x mingw32-make clean
|
||||
|
||||
qmake pegmarkdown.pro
|
||||
CALL :TEST_ERROR
|
||||
|
||||
mingw32-make %%a
|
||||
CALL :TEST_ERROR
|
||||
echo ###################################
|
||||
echo ### pegmarkdown done ##############
|
||||
echo ###################################
|
||||
cd ..\..
|
||||
|
||||
|
||||
cd ..\..\retroshare-nogui\src
|
||||
:retroshare-nogui
|
||||
rem ###################################
|
||||
rem ### retroshare-nogui ##############
|
||||
rem ###################################
|
||||
cd retroshare-nogui\src
|
||||
|
||||
if not %clean%x==x mingw32-make clean
|
||||
|
||||
qmake retroshare-nogui.pro
|
||||
CALL :TEST_ERROR
|
||||
|
||||
mingw32-make %%a
|
||||
CALL :TEST_ERROR
|
||||
echo ###################################
|
||||
echo ### retroshare-nogui done #########
|
||||
echo ###################################
|
||||
cd ..\..
|
||||
|
||||
|
||||
cd ..\..\retroshare-gui\src
|
||||
:retroshare-gui
|
||||
rem ###################################
|
||||
rem ### retroshare-gui ################
|
||||
rem ###################################
|
||||
cd retroshare-gui\src
|
||||
|
||||
if not %clean%x==x mingw32-make clean
|
||||
|
||||
qmake retroshare-gui.pro
|
||||
rem qmake -r -spec ..\mkspecs\win32-g++ "CONFIG+=version_detail_bash_script" retroshare-gui.pro
|
||||
qmake retroshare-gui.pro "CONFIG+=version_detail_bash_script"
|
||||
CALL :TEST_ERROR
|
||||
|
||||
mingw32-make %%a
|
||||
CALL :TEST_ERROR
|
||||
echo ###################################
|
||||
echo ### retroshare-gui done ###########
|
||||
echo ###################################
|
||||
|
||||
cd ..\..
|
||||
@echo off
|
||||
)
|
||||
|
||||
|
||||
@echo off
|
||||
if %pack%x==packx call packaging.bat
|
||||
rem clean up
|
||||
rem ###################################
|
||||
rem ### clean up ######################
|
||||
rem ###################################
|
||||
set clean=
|
||||
del tmp.txt
|
||||
set pack=
|
||||
pause
|
||||
|
||||
rem ###################################
|
||||
rem ### END ###########################
|
||||
rem ###################################
|
||||
GOTO :EOF
|
||||
|
||||
|
||||
:TEST_ERROR
|
||||
@echo off
|
||||
if errorlevel 1 (
|
||||
pause
|
||||
set clean=
|
||||
del tmp.txt
|
||||
set pack=
|
||||
EXIT
|
||||
)
|
||||
if ECHO==1 @echo on
|
||||
EXIT /B
|
||||
|
||||
:EOF
|
77
build_scripts/Debian+Ubuntu/README.txt
Normal file
77
build_scripts/Debian+Ubuntu/README.txt
Normal file
@ -0,0 +1,77 @@
|
||||
This directory contains the material for building a debian/ubuntu source package from
|
||||
the svn repository of RetroShare. The various files here are:
|
||||
|
||||
BaseRetroShareDirs.tgz: basic directory structure. Does not contain any source file.
|
||||
makeSourcePackage.sh : main script. Produces source binary debian package (.dsc+.tgz files)
|
||||
from the base directory structure and the sources in the svn repository.
|
||||
clean.sh : compiles the source package. Produce a binary pkg for a given ubuntu distribution
|
||||
make_tgz.sh : rebuilds the basic directory structure if some config/debian files where modified
|
||||
in the retroshare-0.5 directory
|
||||
|
||||
The pipeline is the following:
|
||||
|
||||
[This directory] => [Create a source package] => [Compile the package for various ubuntu/debian and various arch]
|
||||
|
||||
How do I create a source package?
|
||||
=================================
|
||||
|
||||
Use the script!
|
||||
|
||||
> ./makeSourcePackage.sh [-h for options]
|
||||
|
||||
The script gets the svn number, grabs the sources from the svn
|
||||
repository, removed .svn files from it, and calls debuild to create a
|
||||
source package.
|
||||
|
||||
You might:
|
||||
- specify a given svn revision (usually not needed)
|
||||
- specify a list of distribs to build for
|
||||
|
||||
Example:
|
||||
|
||||
> ./makeSourcePackage.sh -distribution "precise wheezy trusty"
|
||||
|
||||
You should get as many source packages as wanted distributions. For each
|
||||
of them you get (example here for wheezy):
|
||||
|
||||
retroshare06_0.6.0-0.7829~wheezy.dsc
|
||||
retroshare06_0.6.0-0.7829~wheezy_source.build
|
||||
retroshare06_0.6.0-0.7829~wheezy_source.changes
|
||||
retroshare06_0.6.0-0.7829~wheezy.tar.gz
|
||||
|
||||
How do I create a binary package?
|
||||
=================================
|
||||
|
||||
*Initial steps*
|
||||
|
||||
1 - You need to use/install pbuilder-dist:
|
||||
|
||||
> sudo apt-get install ubuntu-dev-tools
|
||||
|
||||
2 - To do once: Init the building environment for each distribution you need:
|
||||
|
||||
> pbuilder-dist wheezy amd64 create
|
||||
|
||||
Then, when needed, keep t up to date (this solved almost all compiling
|
||||
issues you might have:
|
||||
|
||||
> pbuilder-dist wheezy amd64 update
|
||||
|
||||
3 - For ubuntu distribs, add a ppa dependency for sqlcipher:
|
||||
|
||||
* add this line to ~/.pbuilderrc: OTHERMIRROR="deb http://ppa.launchpad.net/guardianproject/ppa/ubuntu precise main"
|
||||
* add the ppa to the build environment:
|
||||
|
||||
> pbuilder-dist precise login --save-after-login
|
||||
# apt-key adv --keyserver pgp.mit.edu --recv-keys 2234F563
|
||||
# exit
|
||||
> pbuilder-dist precise update --release-only # the --release-only is really required!
|
||||
|
||||
*Package compilation*
|
||||
|
||||
> pbuilder-dist wheezy build retroshare06_0.6.0~7856~wheezy.dsc
|
||||
|
||||
The generated compiled binary packages (including all package plugins etc)
|
||||
will be in ~/pbuilder/wheezy_result/
|
||||
|
||||
|
4812
build_scripts/Debian+Ubuntu/changelog
Normal file
4812
build_scripts/Debian+Ubuntu/changelog
Normal file
File diff suppressed because it is too large
Load Diff
13
build_scripts/Debian+Ubuntu/clean.sh
Executable file
13
build_scripts/Debian+Ubuntu/clean.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
rm -f ./libssh-0.5.4.tar.gz.*
|
||||
rm -f ./retroshare06_0.6.0-1.*_source.build
|
||||
rm -f ./retroshare06_0.6.0-1.*_source.changes
|
||||
rm -f ./retroshare06_0.6.0-1.*.tar.gz
|
||||
rm -f ./retroshare06_0.6.0-1.*.diff.gz
|
||||
rm -f ./retroshare06_0.6.0-1.*.dsc
|
||||
rm -f *.upload
|
||||
|
||||
rm -f *~
|
||||
find . -name "*~" -exec rm {} \;
|
||||
|
44
build_scripts/Debian+Ubuntu/control.jessie
Normal file
44
build_scripts/Debian+Ubuntu/control.jessie
Normal file
@ -0,0 +1,44 @@
|
||||
Source: retroshare06
|
||||
Section: devel
|
||||
Priority: standard
|
||||
Maintainer: Cyril Soler <csoler@users.sourceforge.net>
|
||||
Build-Depends: debhelper (>= 7), libglib2.0-dev, libupnp-dev, libssl-dev, libxss-dev, libgnome-keyring-dev, libbz2-dev, libspeex-dev, libspeexdsp-dev, libxslt1-dev, cmake, libcurl4-openssl-dev, libopencv-dev, tcl8.6, libsqlcipher-dev, libmicrohttpd-dev, libavcodec-dev, qtmultimedia5-dev, qttools5-dev, libqt5x11extras5-dev, qt5-default
|
||||
Standards-Version: 3.9.6
|
||||
Homepage: http://retroshare.sourceforge.net
|
||||
|
||||
Package: retroshare06-voip-plugin
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, retroshare06, libspeex1, libspeexdsp1, libqt5multimedia5
|
||||
Description: RetroShare VOIP plugin
|
||||
This package provides a plugin for RetroShare, a secured Friend-to-Friend communication
|
||||
plateform. The plugin adds voice-over-IP functionality to the private chat window. Both
|
||||
friends chatting together need the plugin installed to be able to talk together.
|
||||
|
||||
Package: retroshare06-feedreader-plugin
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, retroshare06
|
||||
Description: RetroShare FeedReader plugin
|
||||
This package provides a plugin for RetroShare, a secured Friend-to-Friend communication
|
||||
plateform. The plugin adds a RSS feed reader tab to retroshare.
|
||||
|
||||
Package: retroshare06-nogui
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, gnome-keyring
|
||||
Conflicts: retroshare06
|
||||
Description: Secure communication with friends
|
||||
This is the command-line client for RetroShare network. This client
|
||||
can be contacted and talked-to using SSL. Clients exist for portable
|
||||
devices running e.g. Android.
|
||||
|
||||
Package: retroshare06
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, gnome-keyring
|
||||
Conflicts: retroshare06-nogui
|
||||
Description: Secure communication with friends
|
||||
RetroShare is a Open Source cross-platform, private and secure decentralised
|
||||
commmunication platform. It lets you to securely chat and share files with your
|
||||
friends and family, using a web-of-trust to authenticate peers and OpenSSL to
|
||||
encrypt all communication. RetroShare provides filesharing, chat, messages,
|
||||
forums and channels.
|
||||
|
||||
|
44
build_scripts/Debian+Ubuntu/control.precise
Normal file
44
build_scripts/Debian+Ubuntu/control.precise
Normal file
@ -0,0 +1,44 @@
|
||||
Source: retroshare06
|
||||
Section: devel
|
||||
Priority: standard
|
||||
Maintainer: Cyril Soler <csoler@users.sourceforge.net>
|
||||
Build-Depends: debhelper (>= 7), libglib2.0-dev, libupnp-dev, qt4-dev-tools, libqt4-dev, libssl-dev, libxss-dev, libgnome-keyring-dev, libbz2-dev, libqt4-opengl-dev, libqtmultimediakit1, qtmobility-dev, libspeex-dev, libspeexdsp-dev, libxslt1-dev, cmake, libcurl4-openssl-dev, libcv-dev, libopencv-core-dev, libopencv-contrib-dev, libhighgui-dev, tcl8.5, libsqlcipher-dev, libmicrohttpd-dev, libavcodec-dev
|
||||
Standards-Version: 3.9.3
|
||||
Homepage: http://retroshare.sourceforge.net
|
||||
|
||||
Package: retroshare06-voip-plugin
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, retroshare06, libspeex1, libspeexdsp1, libqtmultimediakit1
|
||||
Description: RetroShare VOIP plugin
|
||||
This package provides a plugin for RetroShare, a secured Friend-to-Friend communication
|
||||
plateform. The plugin adds voice-over-IP functionality to the private chat window. Both
|
||||
friends chatting together need the plugin installed to be able to talk together.
|
||||
|
||||
Package: retroshare06-feedreader-plugin
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, retroshare06
|
||||
Description: RetroShare FeedReader plugin
|
||||
This package provides a plugin for RetroShare, a secured Friend-to-Friend communication
|
||||
plateform. The plugin adds a RSS feed reader tab to retroshare.
|
||||
|
||||
Package: retroshare06-nogui
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, gnome-keyring
|
||||
Conflicts: retroshare06
|
||||
Description: Secure communication with friends
|
||||
This is the command-line client for RetroShare network. This client
|
||||
can be contacted and talked-to using SSL. Clients exist for portable
|
||||
devices running e.g. Android.
|
||||
|
||||
Package: retroshare06
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, gnome-keyring
|
||||
Conflicts: retroshare06-nogui
|
||||
Description: Secure communication with friends
|
||||
RetroShare is a Open Source cross-platform, private and secure decentralised
|
||||
commmunication platform. It lets you to securely chat and share files with your
|
||||
friends and family, using a web-of-trust to authenticate peers and OpenSSL to
|
||||
encrypt all communication. RetroShare provides filesharing, chat, messages,
|
||||
forums and channels.
|
||||
|
||||
|
@ -1,47 +1,39 @@
|
||||
Source: retroshare
|
||||
Source: retroshare06
|
||||
Section: devel
|
||||
Priority: standard
|
||||
Maintainer: Cyril Soler <csoler@users.sourceforge.net>
|
||||
Build-Depends: debhelper (>= 7), libglib2.0-dev, libupnp-dev, qt4-dev-tools, libqt4-dev, libssl-dev, libxss-dev, libgnome-keyring-dev, libbz2-dev, libqt4-opengl-dev, libqt4-multimedia, libspeex-dev, libspeexdsp-dev, libxslt1-dev, libprotobuf-dev, protobuf-compiler, cmake, libcurl4-openssl-dev
|
||||
Standards-Version: 3.9.1
|
||||
Build-Depends: debhelper (>= 7), libglib2.0-dev, libupnp-dev, qt4-dev-tools, libqt4-dev, libssl-dev, libxss-dev, libgnome-keyring-dev, libbz2-dev, libqt4-opengl-dev, libqt4-multimedia, libspeex-dev, libspeexdsp-dev, libxslt1-dev, cmake, libcurl4-openssl-dev, libcv-dev, libcvaux-dev, libhighgui-dev, tcl8.5, libmicrohttpd-dev, libsqlite3-dev, libavcodec-dev
|
||||
Standards-Version: 3.9.3
|
||||
Homepage: http://retroshare.sourceforge.net
|
||||
|
||||
Package: retroshare-voip-plugin
|
||||
Package: retroshare06-voip-plugin
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, retroshare, libspeex1, libspeexdsp1, libqtmultimediakit1
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, retroshare06, libspeex1, libspeexdsp1, libqtmultimediakit1
|
||||
Description: RetroShare VOIP plugin
|
||||
This package provides a plugin for RetroShare, a secured Friend-to-Friend communication
|
||||
plateform. The plugin adds voice-over-IP functionality to the private chat window. Both
|
||||
friends chatting together need the plugin installed to be able to talk together.
|
||||
|
||||
Package: retroshare-linkscloud-plugin
|
||||
Package: retroshare06-feedreader-plugin
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, retroshare
|
||||
Description: RetroShare LinksCloud plugin
|
||||
This package provides a plugin for RetroShare, a secured Friend-to-Friend communication
|
||||
plateform. The plugin adds a pool of html links that friends can share, and includes a
|
||||
voting system to promote links.
|
||||
|
||||
Package: retroshare-feedreader-plugin
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, retroshare
|
||||
Description: RetroShare LinksCloud plugin
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, retroshare06
|
||||
Description: RetroShare FeedReader plugin
|
||||
This package provides a plugin for RetroShare, a secured Friend-to-Friend communication
|
||||
plateform. The plugin adds a RSS feed reader tab to retroshare.
|
||||
|
||||
Package: retroshare-nogui
|
||||
Package: retroshare06-nogui
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, gnome-keyring
|
||||
Conflicts: retroshare
|
||||
Conflicts: retroshare06
|
||||
Description: Secure communication with friends
|
||||
This is the command-line client for RetroShare network. This client
|
||||
can be contacted and talked-to using SSL. Clients exist for portable
|
||||
devices running e.g. Android.
|
||||
|
||||
Package: retroshare
|
||||
Package: retroshare06
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, gnome-keyring
|
||||
Conflicts: retroshare-nogui
|
||||
Conflicts: retroshare06-nogui
|
||||
Description: Secure communication with friends
|
||||
RetroShare is a Open Source cross-platform, private and secure decentralised
|
||||
commmunication platform. It lets you to securely chat and share files with your
|
44
build_scripts/Debian+Ubuntu/control.stretch
Normal file
44
build_scripts/Debian+Ubuntu/control.stretch
Normal file
@ -0,0 +1,44 @@
|
||||
Source: retroshare06
|
||||
Section: devel
|
||||
Priority: standard
|
||||
Maintainer: Cyril Soler <csoler@users.sourceforge.net>
|
||||
Build-Depends: debhelper (>= 7), libglib2.0-dev, libupnp-dev, libssl-dev, libxss-dev, libgnome-keyring-dev, libbz2-dev, libspeex-dev, libspeexdsp-dev, libxslt1-dev, cmake, libcurl4-openssl-dev, libopencv-dev, tcl8.6, libsqlcipher-dev, libmicrohttpd-dev, libavcodec-dev, qtmultimedia5-dev, qttools5-dev, libqt5x11extras5-dev, qt5-default
|
||||
Standards-Version: 3.9.6
|
||||
Homepage: http://retroshare.sourceforge.net
|
||||
|
||||
Package: retroshare06-voip-plugin
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, retroshare06, libspeex1, libspeexdsp1, libqt5multimedia5
|
||||
Description: RetroShare VOIP plugin
|
||||
This package provides a plugin for RetroShare, a secured Friend-to-Friend communication
|
||||
plateform. The plugin adds voice-over-IP functionality to the private chat window. Both
|
||||
friends chatting together need the plugin installed to be able to talk together.
|
||||
|
||||
Package: retroshare06-feedreader-plugin
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, retroshare06
|
||||
Description: RetroShare FeedReader plugin
|
||||
This package provides a plugin for RetroShare, a secured Friend-to-Friend communication
|
||||
plateform. The plugin adds a RSS feed reader tab to retroshare.
|
||||
|
||||
Package: retroshare06-nogui
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, gnome-keyring
|
||||
Conflicts: retroshare06
|
||||
Description: Secure communication with friends
|
||||
This is the command-line client for RetroShare network. This client
|
||||
can be contacted and talked-to using SSL. Clients exist for portable
|
||||
devices running e.g. Android.
|
||||
|
||||
Package: retroshare06
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, gnome-keyring
|
||||
Conflicts: retroshare06-nogui
|
||||
Description: Secure communication with friends
|
||||
RetroShare is a Open Source cross-platform, private and secure decentralised
|
||||
commmunication platform. It lets you to securely chat and share files with your
|
||||
friends and family, using a web-of-trust to authenticate peers and OpenSSL to
|
||||
encrypt all communication. RetroShare provides filesharing, chat, messages,
|
||||
forums and channels.
|
||||
|
||||
|
@ -2,7 +2,7 @@ Source: retroshare
|
||||
Section: devel
|
||||
Priority: standard
|
||||
Maintainer: Cyril Soler <csoler@users.sourceforge.net>
|
||||
Build-Depends: debhelper (>= 7), libglib2.0-dev, libupnp-dev, qt4-dev-tools, libqt4-dev, libssl-dev, libxss-dev, libgnome-keyring-dev, libbz2-dev, libqt4-opengl-dev, libspeex-dev, libspeexdsp-dev, libxslt1-dev, libprotobuf-dev, protobuf-compiler, cmake, libcurl4-openssl-dev
|
||||
Build-Depends: debhelper (>= 7), libglib2.0-dev, libupnp-dev, qt4-dev-tools, libqt4-dev, libssl-dev, libxss-dev, libgnome-keyring-dev, libbz2-dev, libqt4-opengl-dev, libspeex-dev, libspeexdsp-dev, libxslt1-dev, libprotobuf-dev, protobuf-compiler, cmake, libcurl4-openssl-dev, libavcodec-dev
|
||||
Standards-Version: 3.9.1
|
||||
Homepage: http://retroshare.sourceforge.net
|
||||
|
32
build_scripts/Debian+Ubuntu/convert_dos_files_to_unix.sh
Executable file
32
build_scripts/Debian+Ubuntu/convert_dos_files_to_unix.sh
Executable file
@ -0,0 +1,32 @@
|
||||
#!/bin/sh
|
||||
|
||||
# This script search for files with [dos] line endings down the current directory and converts them to unix format
|
||||
|
||||
if test "$*" = ""; then
|
||||
echo No files supplied. Searching for files down the current directory...
|
||||
files=""
|
||||
files=$files" "`find . -name "*.cpp" | xargs file /tmp | grep CRLF | cut -d: -f1`
|
||||
files=$files" "`find . -name "*.h" | xargs file /tmp | grep CRLF | cut -d: -f1`
|
||||
files=$files" "`find . -name "*.ui" | xargs file /tmp | grep CRLF | cut -d: -f1`
|
||||
files=$files" "`find . -name "*.pro" | xargs file /tmp | grep CRLF | cut -d: -f1`
|
||||
else
|
||||
files="$*"
|
||||
fi
|
||||
|
||||
echo About to convert the following files to unix format:
|
||||
for i in $files; do
|
||||
echo " "$i
|
||||
done
|
||||
echo Please press [ENTER] when ready
|
||||
|
||||
read tmp
|
||||
|
||||
for i in $files; do
|
||||
echo " "converting $i...
|
||||
cat $i | sed -e s/
//g > $i.tmp0000
|
||||
mv -f $i.tmp0000 $i
|
||||
done
|
||||
|
||||
echo Done.
|
||||
|
||||
|
@ -1,47 +1,39 @@
|
||||
Source: retroshare
|
||||
Source: retroshare06
|
||||
Section: devel
|
||||
Priority: standard
|
||||
Maintainer: Cyril Soler <csoler@users.sourceforge.net>
|
||||
Build-Depends: debhelper (>= 7), libglib2.0-dev, libupnp-dev, qt4-dev-tools, libqt4-dev, libssl-dev, libxss-dev, libgnome-keyring-dev, libbz2-dev, libqt4-opengl-dev, libqtmultimediakit1, qtmobility-dev, libspeex-dev, libspeexdsp-dev, libxslt1-dev, libprotobuf-dev, protobuf-compiler, cmake, libcurl4-openssl-dev
|
||||
Standards-Version: 3.9.1
|
||||
Build-Depends: debhelper (>= 7), libglib2.0-dev, libupnp-dev, qt4-dev-tools, libqt4-dev, libssl-dev, libxss-dev, libgnome-keyring-dev, libbz2-dev, libqt4-opengl-dev, libqtmultimediakit1, qtmobility-dev, libspeex-dev, libspeexdsp-dev, libxslt1-dev, cmake, libcurl4-openssl-dev, libopencv-dev, tcl8.5, libsqlcipher-dev, libmicrohttpd-dev, libavcodec-dev
|
||||
Standards-Version: 3.9.3
|
||||
Homepage: http://retroshare.sourceforge.net
|
||||
|
||||
Package: retroshare-voip-plugin
|
||||
Package: retroshare06-voip-plugin
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, retroshare, libspeex1, libspeexdsp1, libqtmultimediakit1
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, retroshare06, libspeex1, libspeexdsp1, libqtmultimediakit1
|
||||
Description: RetroShare VOIP plugin
|
||||
This package provides a plugin for RetroShare, a secured Friend-to-Friend communication
|
||||
plateform. The plugin adds voice-over-IP functionality to the private chat window. Both
|
||||
friends chatting together need the plugin installed to be able to talk together.
|
||||
|
||||
Package: retroshare-linkscloud-plugin
|
||||
Package: retroshare06-feedreader-plugin
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, retroshare
|
||||
Description: RetroShare LinksCloud plugin
|
||||
This package provides a plugin for RetroShare, a secured Friend-to-Friend communication
|
||||
plateform. The plugin adds a pool of html links that friends can share, and includes a
|
||||
voting system to promote links.
|
||||
|
||||
Package: retroshare-feedreader-plugin
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, retroshare
|
||||
Description: RetroShare LinksCloud plugin
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, retroshare06
|
||||
Description: RetroShare FeedReader plugin
|
||||
This package provides a plugin for RetroShare, a secured Friend-to-Friend communication
|
||||
plateform. The plugin adds a RSS feed reader tab to retroshare.
|
||||
|
||||
Package: retroshare-nogui
|
||||
Package: retroshare06-nogui
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, gnome-keyring
|
||||
Conflicts: retroshare
|
||||
Conflicts: retroshare06
|
||||
Description: Secure communication with friends
|
||||
This is the command-line client for RetroShare network. This client
|
||||
can be contacted and talked-to using SSL. Clients exist for portable
|
||||
devices running e.g. Android.
|
||||
|
||||
Package: retroshare
|
||||
Package: retroshare06
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, gnome-keyring
|
||||
Conflicts: retroshare-nogui
|
||||
Conflicts: retroshare06-nogui
|
||||
Description: Secure communication with friends
|
||||
RetroShare is a Open Source cross-platform, private and secure decentralised
|
||||
commmunication platform. It lets you to securely chat and share files with your
|
@ -0,0 +1 @@
|
||||
debian/tmp/usr/lib/retroshare/extensions6/libFeedReader.so*
|
@ -0,0 +1,3 @@
|
||||
debian/tmp/usr/bin/RetroShare06-nogui
|
||||
debian/tmp/usr/share/RetroShare06/bdboot.txt
|
||||
debian/tmp/usr/share/RetroShare06/webui/*
|
@ -0,0 +1 @@
|
||||
debian/tmp/usr/lib/retroshare/extensions6/libVOIP.so*
|
6
build_scripts/Debian+Ubuntu/debian/retroshare06.install
Normal file
6
build_scripts/Debian+Ubuntu/debian/retroshare06.install
Normal file
@ -0,0 +1,6 @@
|
||||
debian/tmp/usr/bin/RetroShare06
|
||||
debian/tmp/usr/bin/RetroShare06-nogui
|
||||
debian/tmp/usr/share/applications/retroshare06.desktop
|
||||
debian/tmp/usr/share/icons/hicolor/*
|
||||
debian/tmp/usr/share/pixmaps/retroshare06.xpm
|
||||
debian/tmp/usr/share/RetroShare06/*
|
61
build_scripts/Debian+Ubuntu/debian/rules
Executable file
61
build_scripts/Debian+Ubuntu/debian/rules
Executable file
@ -0,0 +1,61 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
configure: configure-stamp
|
||||
configure-stamp:
|
||||
dh_testdir
|
||||
cd src && qmake "CONFIG-=debug" "CONFIG+=release" PREFIX=/usr LIB_DIR=/usr/lib RetroShare.pro
|
||||
touch $@
|
||||
|
||||
|
||||
build: build-stamp
|
||||
build-stamp: configure-stamp
|
||||
dh_testdir
|
||||
# Add here commands to compile the package.
|
||||
# cd libssh-0.6.4 && mkdir -p build && cd build && cmake -DWITH_STATIC_LIB=ON .. && make
|
||||
# cd sqlcipher && ./configure --disable-shared --enable-static --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto" && make
|
||||
# mkdir lib
|
||||
# cp -r libssh-0.6.4 lib/
|
||||
#cp -r sqlcipher lib/
|
||||
#cd src/rsctrl/src && make
|
||||
cd src && $(MAKE)
|
||||
touch $@
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f configure-stamp build-stamp
|
||||
# Add here commands to clean up after the build process.
|
||||
[ ! -f src/Makefile ] || (cd src && $(MAKE) distclean)
|
||||
dh_clean
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
#dh_installdirs
|
||||
cd src && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/tmp install
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build install
|
||||
# We have nothing to do by default.
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_install --list-missing
|
||||
#dh_installdocs
|
||||
#dh_installexamples
|
||||
#dh_installman
|
||||
dh_link
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_installdeb
|
||||
dh_shlibdeps
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install configure
|
150
build_scripts/Debian+Ubuntu/makeSourcePackage.sh
Executable file
150
build_scripts/Debian+Ubuntu/makeSourcePackage.sh
Executable file
@ -0,0 +1,150 @@
|
||||
#!/bin/sh
|
||||
|
||||
###################### PARAMETERS ####################
|
||||
version="0.6.1"
|
||||
gitpath="https://github.com/RetroShare/RetroShare.git"
|
||||
workdir=retroshare06-${version}
|
||||
#bubba3="Y" # comment out to compile for bubba3
|
||||
######################################################
|
||||
|
||||
echo This script is going to build the debian source package for RetroShare, from the Git repository.
|
||||
|
||||
if test -d "${workdir}" ; then
|
||||
echo Removing the ${workdir} directory...
|
||||
rm -rf ${workdir}
|
||||
fi
|
||||
|
||||
# Parse options
|
||||
rev=""
|
||||
dist=""
|
||||
# This is the key for "Cyril Soler <csoler@sourceforge.net>"
|
||||
gpgkey="0932399B"
|
||||
|
||||
date=`git log --pretty=format:"%ai" | head -1 | cut -d\ -f1 | sed -e s/-//g`
|
||||
time=`git log --pretty=format:"%aD" | head -1 | cut -d\ -f5 | sed -e s/://g`
|
||||
hhsh=`git log --pretty=format:"%H" | head -1 | cut -c1-8`
|
||||
|
||||
rev=${date}.${hhsh}
|
||||
|
||||
while [ ${#} -gt 0 ]; do
|
||||
case ${1} in
|
||||
"-rev") shift
|
||||
rev=${1}
|
||||
shift
|
||||
;;
|
||||
"-distribution") shift
|
||||
dist=${1}
|
||||
shift
|
||||
;;
|
||||
"-key") shift
|
||||
gpgkey=${1}
|
||||
shift
|
||||
;;
|
||||
"-h") shift
|
||||
echo Package building script for debian/ubuntu distributions
|
||||
echo Usage:
|
||||
echo " "${0} '-key [PGP key id] -rev [svn revision number] -distribution [distrib name list with quotes, in (wheezy, sid, precise, saucy, etc)]'
|
||||
exit 1
|
||||
;;
|
||||
"*") echo "Unknown option"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
if test "${dist}" = "" ; then
|
||||
dist="precise trusty vivid wily xenial wheezy squeeze jessie stretch"
|
||||
fi
|
||||
|
||||
echo Attempting to get revision number...
|
||||
ccount=`git rev-list --count --all`
|
||||
ccount=`expr $ccount + 8613 - 8267`
|
||||
|
||||
echo " "Using PGP key id : ${gpgkey}
|
||||
echo " "Using distributions: ${dist}
|
||||
echo " "Commit count : ${ccount}
|
||||
echo " "Date : ${date}
|
||||
echo " "Time : ${time}
|
||||
echo " "Hash : ${hhsh}
|
||||
echo " "Using revision : ${rev}
|
||||
|
||||
echo Done.
|
||||
version="${version}"."${rev}"
|
||||
echo Got version number ${version}.
|
||||
echo Please check that the changelog is up to date.
|
||||
echo Hit ENTER if this is correct. Otherwise hit Ctrl+C
|
||||
read tmp
|
||||
|
||||
echo Extracting base archive...
|
||||
|
||||
mkdir -p ${workdir}/src
|
||||
echo Checking out latest snapshot...
|
||||
cd ${workdir}/src
|
||||
git clone --depth 1 https://github.com/RetroShare/RetroShare.git .
|
||||
cd -
|
||||
|
||||
if ! test -d ${workdir}/src/libretroshare/; then
|
||||
echo Git clone failed.
|
||||
exit
|
||||
fi
|
||||
|
||||
#cp -r data ${workdir}/src/
|
||||
cp -r debian ${workdir}/debian
|
||||
|
||||
#svn co -r${rev} ${svnpath}/trunk/ .
|
||||
|
||||
# VOIP tweak
|
||||
cp ${workdir}/src/retroshare-gui/src/gui/chat/PopupChatDialog.ui ${workdir}/src/plugins/VOIP/gui/PopupChatDialog.ui
|
||||
|
||||
# # handling of libssh
|
||||
# LIBSSH_VERSION=0.6.4
|
||||
# LIBSSH_LOCATION=https://git.libssh.org/projects/libssh.git/snapshot/libssh-${LIBSSH_VERSION}.tar.gz
|
||||
#
|
||||
# [ -f libssh-${LIBSSH_VERSION}.tar.gz ] || wget --no-check-certificate -O libssh-${LIBSSH_VERSION}.tar.gz $LIBSSH_LOCATION
|
||||
# tar zxvf ../libssh-${LIBSSH_VERSION}.tar.gz
|
||||
|
||||
# Cloning sqlcipher
|
||||
# git clone https://github.com/sqlcipher/sqlcipher.git
|
||||
|
||||
# cleaning up protobof generated files
|
||||
# rm -f src/retroshare-nogui/src/rpc/proto/gencc/*.pb.h
|
||||
# rm -f src/retroshare-nogui/src/rpc/proto/gencc/*.pb.cc
|
||||
|
||||
cd ${workdir}
|
||||
echo Setting version numbers...
|
||||
|
||||
# setup version numbers
|
||||
sed -e "s%RS_REVISION_NUMBER.*%RS_REVISION_NUMBER 0x${hhsh}%" src/libretroshare/src/retroshare/rsversion.in > src/libretroshare/src/retroshare/rsversion.h
|
||||
|
||||
# Various cleaning
|
||||
echo Cleaning...
|
||||
|
||||
\rm -rf src/.git
|
||||
#find . -depth -name ".svn" -a -type d -exec rm -rf {} \; # remove all svn repositories
|
||||
|
||||
echo Calling debuild...
|
||||
for i in ${dist}; do
|
||||
echo copying changelog for ${i}
|
||||
sed -e s/XXXXXX/"${rev}"/g -e s/YYYYYY/"${i}"/g ../changelog > debian/changelog
|
||||
|
||||
if test "${i}" = "lucid" ; then
|
||||
cp ../control.ubuntu_lucid debian/control
|
||||
elif test "${i}" = "squeeze" ; then
|
||||
cp ../control.squeeze_bubba3 debian/control
|
||||
elif test "${i}" = "precise" ; then
|
||||
cp ../control.precise debian/control
|
||||
elif test "${i}" = "xenial" ; then
|
||||
cp ../control.xenial debian/control
|
||||
elif test "${i}" = "stretch" ; then
|
||||
cp ../control.${i} debian/control
|
||||
elif test "${i}" = "jessie" ; then
|
||||
cp ../control.${i} debian/control
|
||||
else
|
||||
cp ../debian/control debian/control
|
||||
fi
|
||||
|
||||
debuild -S -k${gpgkey}
|
||||
done
|
||||
cd -
|
||||
|
||||
exit 0
|
4
build_scripts/Debian+Ubuntu/ppa_upload.sh
Normal file
4
build_scripts/Debian+Ubuntu/ppa_upload.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
for i in `ls retroshare06_0.6.1-1.*.changes` ; do
|
||||
dput ppa:retroshare/unstable $i
|
||||
done
|
61
build_scripts/Debian+Ubuntu/rules.stretch
Executable file
61
build_scripts/Debian+Ubuntu/rules.stretch
Executable file
@ -0,0 +1,61 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
configure: configure-stamp
|
||||
configure-stamp:
|
||||
dh_testdir
|
||||
cd src && qmake "CONFIG-=debug" "CONFIG+=release" PREFIX=/usr LIB_DIR=/usr/lib RetroShare.pro
|
||||
touch $@
|
||||
|
||||
|
||||
build: build-stamp
|
||||
build-stamp: configure-stamp
|
||||
dh_testdir
|
||||
# Add here commands to compile the package.
|
||||
# cd libssh-0.6.4 && mkdir -p build && cd build && cmake -DWITH_STATIC_LIB=ON .. && make
|
||||
# cd sqlcipher && ./configure --disable-shared --enable-static --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto" && make
|
||||
# mkdir lib
|
||||
# cp -r libssh-0.6.4 lib/
|
||||
#cp -r sqlcipher lib/
|
||||
#cd src/rsctrl/src && make
|
||||
cd src && $(MAKE)
|
||||
touch $@
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f configure-stamp build-stamp
|
||||
# Add here commands to clean up after the build process.
|
||||
[ ! -f src/Makefile ] || (cd src && $(MAKE) distclean)
|
||||
dh_clean
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
#dh_installdirs
|
||||
cd src && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/tmp install
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build install
|
||||
# We have nothing to do by default.
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_install --list-missing
|
||||
#dh_installdocs
|
||||
#dh_installexamples
|
||||
#dh_installman
|
||||
dh_link
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_installdeb
|
||||
dh_shlibdeps
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install configure
|
@ -1,5 +0,0 @@
|
||||
Packing building for Ubuntu 32bits and 64bits
|
||||
=============================================
|
||||
|
||||
Just type 'sudo ./make.sh', and follow the instructions from the script .
|
||||
|
@ -1,81 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# @author Cyril Soler, Thomas Eimers
|
||||
|
||||
###################### PARAMETERS ####################
|
||||
version="0.5.4"
|
||||
arch=`dpkg --print-architecture`
|
||||
packager="Thomas Eimers <retroshare@notdefine.de>"
|
||||
######################################################
|
||||
|
||||
echo attempting to get svn revision number...
|
||||
svn=`svn info | grep 'Revision:' | cut -d\ -f2`
|
||||
echo done.
|
||||
version="$version"."$svn"
|
||||
pkgname=RetroShare_"$version"_debian_"$arch".deb
|
||||
|
||||
echo Building retroshare debian package version $version for Debian $arch.
|
||||
echo Please check that:
|
||||
echo " "- you have sudo access and that root has right to write in this directory and the subdirectories.
|
||||
echo " "- you have compiled libretroshare and retroshare-gui in ../../libretroshare/src/
|
||||
echo " "and ../../retroshare-gui/src/
|
||||
echo " "- you have updated version numbers in ../../retroshare-gui/src/util/rsversion.cpp
|
||||
echo " "and ../../retroshare-gui/src/retroshare.nsi
|
||||
echo " "- version and name will be: $pkgname
|
||||
|
||||
if ! test `whoami` = "root" ; then
|
||||
echo Please run this script as root.
|
||||
echo
|
||||
exit ;
|
||||
fi
|
||||
|
||||
echo
|
||||
echo Press [ENTER] when ok, else quit with Ctrl+C.
|
||||
read tmp
|
||||
|
||||
echo
|
||||
echo Unzipping...
|
||||
tar zxvf retroshare.tgz
|
||||
echo Changing ownership...
|
||||
chown -R root.root retroshare
|
||||
|
||||
# setup version numbers and arch in DEBIAN/control
|
||||
|
||||
echo Setting up version numbers...
|
||||
cat retroshare/DEBIAN/control | sed -e s/XXXXXX/"$version"/g | sed -e s/YYYYYY/"$arch"/g | sed -e s/ZZZZZZ/"$packager"/g > retroshare/DEBIAN/control.tmp
|
||||
mv retroshare/DEBIAN/control.tmp retroshare/DEBIAN/control
|
||||
|
||||
# clean
|
||||
find retroshare -name "*~" -exec \rm -f {} \;
|
||||
|
||||
# copy executables at the right place
|
||||
if ! test -f ../../retroshare-gui/src/RetroShare; then
|
||||
echo Can not find executable ../../retroshare-gui/src/RetroShare. Please fix this.
|
||||
echo
|
||||
exit ;
|
||||
fi
|
||||
#if ! test -f ../../retroshare-nogui/src/retroshare-nogui; then
|
||||
# echo Can not find executable ../../retroshare-nogui/src/retroshare-nogui. Please fix this.
|
||||
# echo
|
||||
# exit ;
|
||||
#fi
|
||||
|
||||
echo Stripping executables...
|
||||
cp ../../retroshare-gui/src/RetroShare retroshare/usr/bin/
|
||||
strip retroshare/usr/bin/RetroShare
|
||||
#cp ../../retroshare-nogui/src/retroshare-nogui retroshare/usr/bin/
|
||||
#strip retroshare/usr/bin/retroshare-nogui
|
||||
|
||||
# compute md5 sums
|
||||
echo Computing/setting md5 sums...
|
||||
cd retroshare
|
||||
find usr -type f -exec md5sum {} \; > DEBIAN/md5sums
|
||||
cd ..
|
||||
echo Creating package $pkgname
|
||||
dpkg-deb -b retroshare $pkgname
|
||||
|
||||
# cleaning
|
||||
echo Cleaning up...
|
||||
\rm -rf retroshare
|
||||
|
||||
echo Done.
|
Binary file not shown.
14
build_scripts/RedHat+Fedora/00Readme
Normal file
14
build_scripts/RedHat+Fedora/00Readme
Normal file
@ -0,0 +1,14 @@
|
||||
This is the build directory for RPM based Linux distributions like RedHat
|
||||
Enterprise Linux and compatible distributions (CentOS, Oracle Linux, ...) or
|
||||
Fedora.
|
||||
|
||||
To create an RPM package (as well as Source RPM) for your distribution, just
|
||||
run the makePackages.sh script found in this directory, like so:
|
||||
|
||||
./makepackages.sh
|
||||
|
||||
The script needs the rpmbuild command, which is part of the rpm-build package.
|
||||
|
||||
In case any build dependency is missing, the rpmbuild command will fail. Just
|
||||
install the missing package(s) and restart the script (Hint: all needed
|
||||
packages are listed in the provided retroshare06.spec file.)
|
10
build_scripts/RedHat+Fedora/data/retroshare.desktop
Normal file
10
build_scripts/RedHat+Fedora/data/retroshare.desktop
Normal file
@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=RetroShare06
|
||||
Comment=Securely share files with your friends
|
||||
Exec=/usr/bin/RetroShare06 %U
|
||||
Icon=/usr/share/pixmaps/retroshare06.xpm
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Network;P2P;
|
||||
MimeType=x-scheme-handler/retroshare;
|
85
build_scripts/RedHat+Fedora/makePackages.sh
Executable file
85
build_scripts/RedHat+Fedora/makePackages.sh
Executable file
@ -0,0 +1,85 @@
|
||||
#!/bin/bash
|
||||
|
||||
###################### PARAMETERS ####################
|
||||
VERSION="0.6.0"
|
||||
######################################################
|
||||
dirs -c
|
||||
|
||||
echo "This script is going to build the RedHat family source package for RetroShare, from a clone of the GitHub repository."
|
||||
|
||||
# Parse options
|
||||
while [[ ${#} > 0 ]]
|
||||
do
|
||||
case ${1} in
|
||||
"-h") shift
|
||||
echo "Package building script for RedHat family distributions"
|
||||
echo "Usage:"
|
||||
echo " ${0}"
|
||||
exit 1
|
||||
;;
|
||||
"*") echo "Unknown option"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
GITROOT=$(git rev-parse --show-toplevel)
|
||||
DATE=$(git log --pretty=format:"%ai" | head -1 | cut -d\ -f1 | sed -e s/-//g)
|
||||
HASH=$(git log --pretty=format:"%H" | head -1 | cut -c1-8)
|
||||
REV=${DATE}.${HASH}
|
||||
FULL_VERSION=${VERSION}.${REV}
|
||||
|
||||
echo "Using version number: ${VERSION}"
|
||||
echo "Using revision: ${REV}"
|
||||
echo "Hit ENTER if this is correct. Otherwise hit Ctrl+C"
|
||||
read tmp
|
||||
|
||||
WORKDIR="retroshare06-${FULL_VERSION}"
|
||||
|
||||
if [[ -d ${WORKDIR} ]]
|
||||
then
|
||||
echo "Removing the directory ${WORKDIR}..."
|
||||
rm -rf ${WORKDIR}
|
||||
fi
|
||||
mkdir -p ${WORKDIR}/src
|
||||
|
||||
echo "Copying sources into workdir..."
|
||||
rsync -rc --exclude build_scripts ${GITROOT}/* ${WORKDIR}/src
|
||||
rsync -rc --copy-links data ${WORKDIR}/src
|
||||
pushd ${WORKDIR} >/dev/null
|
||||
|
||||
# Cloning sqlcipher
|
||||
echo "Cloning sqlcipher repository..."
|
||||
mkdir lib
|
||||
pushd lib >/dev/null
|
||||
git clone https://github.com/sqlcipher/sqlcipher.git
|
||||
pushd sqlcipher >/dev/null
|
||||
git checkout v3.3.1
|
||||
rm -rf .git
|
||||
popd >/dev/null
|
||||
popd >/dev/null
|
||||
|
||||
# VOIP tweak
|
||||
cp src/retroshare-gui/src/gui/chat/PopupChatDialog.ui src/plugins/VOIP/gui/PopupChatDialog.ui
|
||||
|
||||
# cleaning up protobof generated files
|
||||
rm -f src/retroshare-nogui/src/rpc/proto/gencc/*.pb.h
|
||||
rm -f src/retroshare-nogui/src/rpc/proto/gencc/*.pb.cc
|
||||
|
||||
# setup version numbers
|
||||
echo "Setting version numbers..."
|
||||
sed -e "s%RS_REVISION_NUMBER.*%RS_REVISION_NUMBER 0x${HASH}%" src/libretroshare/src/retroshare/rsversion.in >src/libretroshare/src/retroshare/rsversion.h
|
||||
popd >/dev/null
|
||||
|
||||
echo "Creating RPMs..."
|
||||
[[ -d rpm-build/rpm ]] || mkdir -p rpm-build/rpm
|
||||
pushd rpm-build/rpm >/dev/null
|
||||
for DIR in BUILD RPMS SOURCES SPECS SRPMS
|
||||
do
|
||||
[[ -d ${DIR} ]] || mkdir ${DIR}
|
||||
done
|
||||
popd >/dev/null
|
||||
tar -zcf rpm-build/rpm/SOURCES/${WORKDIR}.tar.gz ${WORKDIR}
|
||||
rpmbuild --define="%rev ${REV}" --define="%_usrsrc $PWD/rpm-build" --define="%_topdir %{_usrsrc}/rpm" -ba retroshare06.spec
|
||||
rm -rf ${WORKDIR}
|
||||
exit 0
|
99
build_scripts/RedHat+Fedora/retroshare06.spec
Normal file
99
build_scripts/RedHat+Fedora/retroshare06.spec
Normal file
@ -0,0 +1,99 @@
|
||||
Summary: Secure communication with friends
|
||||
Name: retroshare06
|
||||
Version: 0.6.0.%{rev}
|
||||
Release: 1%{?dist}
|
||||
License: GPLv3
|
||||
Group: Productivity/Networking/Other
|
||||
URL: http://retroshare.sourceforge.net/
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
Requires: qt5-qtbase-gui qt5-qtmultimedia qt5-qtx11extras qt5-qtbase
|
||||
BuildRequires: gcc-c++ desktop-file-utils libgnome-keyring-devel glib2-devel libssh-devel protobuf-devel libcurl-devel libxml2-devel libxslt-devel openssl-devel libXScrnSaver-devel libupnp-devel bzip2-devel libmicrohttpd-devel qt5-qtx11extras-devel qt5-qttools-devel qt5-qtmultimedia-devel qt5-qttools-static
|
||||
# This is because of sqlcipher:
|
||||
BuildRequires: tcl
|
||||
|
||||
%description
|
||||
RetroShare is a decentralized, private and secure commmunication and sharing platform. RetroShare provides filesharing, chat, messages, forums and channels.
|
||||
|
||||
Authors:
|
||||
see http://retroshare.sourceforge.net/team.html
|
||||
|
||||
%package nogui
|
||||
Summary: RetroShare cli client
|
||||
Group: Productivity/Network/Other
|
||||
Requires: openssl
|
||||
Conflicts: %name = %{version}
|
||||
|
||||
%description nogui
|
||||
This is the command-line client for RetroShare network. This client can be contacted and talked-to using SSL. Clients exist for portable devices running e.g. Android.
|
||||
|
||||
%package voip-plugin
|
||||
Summary: RetroShare VOIP plugin
|
||||
Group: Productivity/Networking/Other
|
||||
Requires: %name = %{version}
|
||||
BuildRequires: opencv-devel speex-devel
|
||||
%if 0%{?fedora} >= 22
|
||||
BuildRequires: speexdsp-devel
|
||||
%endif
|
||||
|
||||
%description voip-plugin
|
||||
This package provides a plugin for RetroShare, a secured Friend-to-Friend communication platform. The plugin adds voice-over-IP functionality to the private chat window. Both friends chatting together need the plugin installed to be able to talk together.
|
||||
|
||||
%package feedreader-plugin
|
||||
Summary: RetroShare FeedReader plugin
|
||||
Group: Productivity/Networking/Other
|
||||
Requires: %name = %{version}
|
||||
|
||||
%description feedreader-plugin
|
||||
This package provides a plugin for RetroShare, a secured Friend-to-Friend communication platform. The plugin adds a RSS feed reader tab to retroshare.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
cd lib/sqlcipher
|
||||
./configure --disable-shared --enable-static --enable-tempstore=yes CFLAGS="-fPIC -DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto"
|
||||
make
|
||||
cd -
|
||||
cd src
|
||||
qmake-qt5 "CONFIG-=debug" "CONFIG+=release" PREFIX=%{_prefix} LIB_DIR=%{_libdir} RetroShare.pro
|
||||
make
|
||||
cd -
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
cd src
|
||||
make INSTALL_ROOT=$RPM_BUILD_ROOT install
|
||||
#menu
|
||||
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/retroshare06.desktop
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/RetroShare06
|
||||
%defattr(644, root, root)
|
||||
%{_datadir}/pixmaps/%{name}.xpm
|
||||
%{_datadir}/icons/hicolor
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/RetroShare06
|
||||
|
||||
%files nogui
|
||||
%defattr(-, root, root)
|
||||
%{_bindir}/RetroShare06-nogui
|
||||
%defattr(644, root, root)
|
||||
%{_datadir}/RetroShare06
|
||||
|
||||
%files voip-plugin
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/retroshare/extensions6/libVOIP.so*
|
||||
|
||||
%files feedreader-plugin
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/retroshare/extensions6/libFeedReader.so*
|
||||
|
||||
%changelog
|
||||
* Sat Apr 4 2015 Heini <noreply@nowhere.net> -
|
||||
- Initial build.
|
||||
|
@ -1,5 +0,0 @@
|
||||
Packing building for Ubuntu 32bits and 64bits
|
||||
=============================================
|
||||
|
||||
Just type 'sudo ./make.sh', and follow the instructions from the script .
|
||||
|
@ -1,79 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
###################### PARAMETERS ####################
|
||||
version="0.4.12"
|
||||
arch=`dpkg --print-architecture`
|
||||
packager="Cyril Soler <csoler@users.sourceforge.net>"
|
||||
######################################################
|
||||
|
||||
echo attempting to get svn revision number...
|
||||
svn=`svn info | grep 'Revision:' | cut -d\ -f2`
|
||||
echo done.
|
||||
version="$version"."$svn"
|
||||
pkgname=RetroShare_"$version"_ubuntu_"$arch".deb
|
||||
|
||||
echo Building retroshare debian package version $version for Ubuntu $arch.
|
||||
echo Please check that:
|
||||
echo " "- you have sudo access and that root has right to write in this directory and the subdirectories.
|
||||
echo " "- you have compiled libretroshare and retroshare-gui in ../../libretroshare/src/
|
||||
echo " "and ../../retroshare-gui/src/
|
||||
echo " "- you have updated version numbers in ../../retroshare-gui/src/util/rsversion.cpp
|
||||
echo " "and ../../retroshare-gui/src/retroshare.nsi
|
||||
echo " "- version and name will be: $pkgname
|
||||
|
||||
if ! test `whoami` = "root" ; then
|
||||
echo Please run this script as root.
|
||||
echo
|
||||
exit ;
|
||||
fi
|
||||
|
||||
echo
|
||||
echo Press [ENTER] when ok, else quit with Ctrl+C.
|
||||
read tmp
|
||||
|
||||
echo
|
||||
echo Unzipping...
|
||||
tar zxvf retroshare.tgz
|
||||
echo Changing ownership...
|
||||
chown -R root.root retroshare
|
||||
|
||||
# setup version numbers and arch in DEBIAN/control
|
||||
|
||||
echo Setting up version numbers...
|
||||
cat retroshare/DEBIAN/control | sed -e s/XXXXXX/"$version"/g | sed -e s/YYYYYY/"$arch"/g | sed -e s/ZZZZZZ/"$packager"/g > retroshare/DEBIAN/control.tmp
|
||||
mv retroshare/DEBIAN/control.tmp retroshare/DEBIAN/control
|
||||
|
||||
# clean
|
||||
find retroshare -name "*~" -exec \rm -f {} \;
|
||||
|
||||
# copy executables at the right place
|
||||
if ! test -f ../../retroshare-gui/src/RetroShare; then
|
||||
echo Can not find executable ../../retroshare-gui/src/RetroShare. Please fix this.
|
||||
echo
|
||||
exit ;
|
||||
fi
|
||||
if ! test -f ../../retroshare-nogui/src/retroshare-nogui; then
|
||||
echo Can not find executable ../../retroshare-nogui/src/retroshare-nogui. Please fix this.
|
||||
echo
|
||||
exit ;
|
||||
fi
|
||||
|
||||
echo Stripping executables...
|
||||
cp ../../retroshare-gui/src/RetroShare retroshare/usr/bin/
|
||||
strip retroshare/usr/bin/RetroShare
|
||||
cp ../../retroshare-nogui/src/retroshare-nogui retroshare/usr/bin/
|
||||
strip retroshare/usr/bin/retroshare-nogui
|
||||
|
||||
# compute md5 sums
|
||||
echo Computing/setting md5 sums...
|
||||
cd retroshare
|
||||
find usr -type f -exec md5sum {} \; > DEBIAN/md5sums
|
||||
cd ..
|
||||
echo Creating package $pkgname
|
||||
dpkg-deb -b retroshare $pkgname
|
||||
|
||||
# cleaning
|
||||
echo Cleaning up...
|
||||
\rm -rf retroshare
|
||||
|
||||
echo Done.
|
Binary file not shown.
@ -1,9 +0,0 @@
|
||||
This directory contains the material for buildign a debian/ubuntu source package from
|
||||
the svn repository of RetroShare. The various files here are:
|
||||
|
||||
BaseRetroShareDirs.tgz: basic directory structure. Does not contain any source file.
|
||||
makeSourcePackage.sh : main script. Produces source binary debian package (.dsc+.tgz files)
|
||||
from the base directory structure and the sources in the svn repository.
|
||||
clean.sh : compiles the source package. Produce a binary pkg for a given ubuntu distribution
|
||||
make_tgz.sh : rebuilds the basic directory structure if some config/debian files where modified
|
||||
in the retroshare-0.5 directory
|
File diff suppressed because it is too large
Load Diff
@ -1,13 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
rm -f ./libssh-0.5.4.tar.gz.*
|
||||
rm -f ./retroshare_0.5.5-0.*_source.build
|
||||
rm -f ./retroshare_0.5.5-0.*_source.changes
|
||||
rm -f ./retroshare_0.5.5-0.*.tar.gz
|
||||
rm -f ./retroshare_0.5.5-0.*.diff.gz
|
||||
rm -f ./retroshare_0.5.5-0.*.dsc
|
||||
rm -f *.upload
|
||||
|
||||
rm -f *~
|
||||
find . -name "*~" -exec rm {} \;
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 2.0 KiB |
Binary file not shown.
Before Width: | Height: | Size: 5.3 KiB |
Binary file not shown.
Before Width: | Height: | Size: 8.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 20 KiB |
@ -1,310 +0,0 @@
|
||||
/* XPM */
|
||||
static char *toto[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"48 48 256 2 ",
|
||||
" c #151514",
|
||||
". c #0D1119",
|
||||
"X c #162930",
|
||||
"o c #292928",
|
||||
"O c #2A363B",
|
||||
"+ c #373939",
|
||||
"@ c #2A3C44",
|
||||
"# c #3B3F44",
|
||||
"$ c #173273",
|
||||
"% c #3B484C",
|
||||
"& c #1F4C61",
|
||||
"* c #3B5B67",
|
||||
"= c #396B7D",
|
||||
"- c #4E4E4E",
|
||||
"; c #434545",
|
||||
": c #465948",
|
||||
"> c #474E51",
|
||||
", c #4A5559",
|
||||
"< c #545454",
|
||||
"1 c #5C5C5C",
|
||||
"2 c #565758",
|
||||
"3 c #605F5F",
|
||||
"4 c #457A45",
|
||||
"5 c #565E62",
|
||||
"6 c #405F6B",
|
||||
"7 c #586468",
|
||||
"8 c #436D7D",
|
||||
"9 c #596C73",
|
||||
"0 c #5D727A",
|
||||
"q c #636363",
|
||||
"w c #6B6C6C",
|
||||
"e c #64686A",
|
||||
"r c #677478",
|
||||
"t c #747374",
|
||||
"y c #737A7C",
|
||||
"u c #7B7B7B",
|
||||
"i c #767777",
|
||||
"p c #6E6F6F",
|
||||
"a c #9A5215",
|
||||
"s c #B66C2F",
|
||||
"d c #FF7401",
|
||||
"f c #FF7909",
|
||||
"g c #F17C18",
|
||||
"h c #C97E37",
|
||||
"j c #9A785D",
|
||||
"k c #AB7A4C",
|
||||
"l c #1A971A",
|
||||
"z c #04AE04",
|
||||
"x c #02B002",
|
||||
"c c #0EB50E",
|
||||
"v c #18AB19",
|
||||
"b c #11B611",
|
||||
"n c #3A8B3A",
|
||||
"m c #24BB24",
|
||||
"M c #36BA37",
|
||||
"N c #40B93F",
|
||||
"B c #449344",
|
||||
"V c #569E56",
|
||||
"C c #46B84A",
|
||||
"Z c #558D62",
|
||||
"A c #58A474",
|
||||
"S c #69B871",
|
||||
"D c #4DC94D",
|
||||
"F c #77CB77",
|
||||
"G c #FE821A",
|
||||
"H c #FF8017",
|
||||
"J c #FF953B",
|
||||
"K c #958E75",
|
||||
"L c #AB9574",
|
||||
"P c #EF9C56",
|
||||
"I c #EE9449",
|
||||
"U c #FFA75D",
|
||||
"Y c #CF9660",
|
||||
"T c #FEB375",
|
||||
"R c #FFAD65",
|
||||
"E c #3D788F",
|
||||
"W c #4E798A",
|
||||
"Q c #6C7D83",
|
||||
"! c #787F82",
|
||||
"~ c #4B71BF",
|
||||
"^ c #1F62D8",
|
||||
"/ c #3671D5",
|
||||
"( c #024CFF",
|
||||
") c #0349F1",
|
||||
"_ c #0D55FF",
|
||||
"` c #0F51EC",
|
||||
"' c #1D60FF",
|
||||
"] c #2767FB",
|
||||
"[ c #3872F7",
|
||||
"{ c #4B7EF7",
|
||||
"} c #598A9C",
|
||||
"| c #538293",
|
||||
" . c #6A8C99",
|
||||
".. c #7B8D94",
|
||||
"X. c #7D929A",
|
||||
"o. c #788986",
|
||||
"O. c #70B186",
|
||||
"+. c #5793A8",
|
||||
"@. c #4D99B6",
|
||||
"#. c #549DB8",
|
||||
"$. c #5090A8",
|
||||
"%. c #6694A6",
|
||||
"&. c #7C99A4",
|
||||
"*. c #719AA5",
|
||||
"=. c #6D9FB2",
|
||||
"-. c #4BA0BF",
|
||||
";. c #59A2BC",
|
||||
":. c #63A3BB",
|
||||
">. c #6EA6BB",
|
||||
",. c #6FA6BB",
|
||||
"<. c #77A7B8",
|
||||
"1. c #6CA0AA",
|
||||
"2. c #449BCB",
|
||||
"3. c #4497D2",
|
||||
"4. c #5B9BD2",
|
||||
"5. c #508CD5",
|
||||
"6. c #6396D4",
|
||||
"7. c #7790CA",
|
||||
"8. c #47A4C7",
|
||||
"9. c #55AAC6",
|
||||
"0. c #4EB2D9",
|
||||
"q. c #54B6DA",
|
||||
"w. c #45ADD5",
|
||||
"e. c #6DACC4",
|
||||
"r. c #62A7C1",
|
||||
"t. c #73AEC4",
|
||||
"y. c #64B0CC",
|
||||
"u. c #77B1C6",
|
||||
"i. c #75ACD7",
|
||||
"p. c #6DB8D3",
|
||||
"a. c #78BAD5",
|
||||
"s. c #598BFF",
|
||||
"d. c #5384F5",
|
||||
"f. c #6894FD",
|
||||
"g. c #7099FC",
|
||||
"h. c #4BBCE6",
|
||||
"j. c #4DBFEA",
|
||||
"k. c #50BFE9",
|
||||
"l. c #7DC0D9",
|
||||
"z. c #4EC0EB",
|
||||
"x. c #53C1EB",
|
||||
"c. c #5CC5EC",
|
||||
"v. c #62C6EC",
|
||||
"b. c #66C9EE",
|
||||
"n. c #6CCAEE",
|
||||
"m. c #6BC4E6",
|
||||
"M. c #73CCEE",
|
||||
"N. c #79CFEF",
|
||||
"B. c #78C7E5",
|
||||
"V. c #6CCCF0",
|
||||
"C. c #74CEF0",
|
||||
"Z. c #7DD1F0",
|
||||
"A. c #7CD0EF",
|
||||
"S. c #838383",
|
||||
"D. c #8C8C8C",
|
||||
"F. c #879598",
|
||||
"G. c #939393",
|
||||
"H. c #9B9C9C",
|
||||
"J. c #939A9C",
|
||||
"K. c #839489",
|
||||
"L. c #8CA29D",
|
||||
"P. c #949FA4",
|
||||
"I. c #8DA3AB",
|
||||
"U. c #9BA6AA",
|
||||
"Y. c #98A6AB",
|
||||
"T. c #85AEBD",
|
||||
"R. c #87AAB7",
|
||||
"E. c #9BACB3",
|
||||
"W. c #98B1BB",
|
||||
"Q. c #A4A4A5",
|
||||
"!. c #AAAAAB",
|
||||
"~. c #A8A7A6",
|
||||
"^. c #ADB4B7",
|
||||
"/. c #B5B5B5",
|
||||
"(. c #BBBBBA",
|
||||
"). c #AEAFB0",
|
||||
"_. c #D3B393",
|
||||
"`. c #DDBCA1",
|
||||
"'. c #8ECD90",
|
||||
"]. c #9CE09B",
|
||||
"[. c #8DC2AA",
|
||||
"{. c #96C3A5",
|
||||
"}. c #8EC7BD",
|
||||
"|. c #B4E6B4",
|
||||
" X c #F9C293",
|
||||
".X c #FFD8B7",
|
||||
"XX c #82B2C4",
|
||||
"oX c #87B7C9",
|
||||
"OX c #95B7C4",
|
||||
"+X c #80BDD4",
|
||||
"@X c #8BA3D4",
|
||||
"#X c #A5BCC5",
|
||||
"$X c #B7BFC2",
|
||||
"%X c #87AAFC",
|
||||
"&X c #A0BCFF",
|
||||
"*X c #8BC5DA",
|
||||
"=X c #87C1D7",
|
||||
"-X c #97C7D9",
|
||||
";X c #9ED4DB",
|
||||
":X c #A8CAD7",
|
||||
">X c #B7CACC",
|
||||
",X c #83C9E4",
|
||||
"<X c #8DCBE3",
|
||||
"1X c #82CFEB",
|
||||
"2X c #94CCE2",
|
||||
"3X c #9BCEE1",
|
||||
"4X c #94D3EB",
|
||||
"5X c #9BD6EC",
|
||||
"6X c #9DD8EE",
|
||||
"7X c #96D0E6",
|
||||
"8X c #83D3F1",
|
||||
"9X c #8CD6F2",
|
||||
"0X c #91D7F2",
|
||||
"qX c #94D9F3",
|
||||
"wX c #9BDBF3",
|
||||
"eX c #8CD3EE",
|
||||
"rX c #A4D2E4",
|
||||
"tX c #A6D8EC",
|
||||
"yX c #B5DBEA",
|
||||
"uX c #A4DEF4",
|
||||
"iX c #ABDEF2",
|
||||
"pX c #A7E0F5",
|
||||
"aX c #ABE1F5",
|
||||
"sX c #AFE4F8",
|
||||
"dX c #B3E3F6",
|
||||
"fX c #BAE6F7",
|
||||
"gX c #BFE8F7",
|
||||
"hX c #BAE7F8",
|
||||
"jX c #BCE8F9",
|
||||
"kX c #B3E4F9",
|
||||
"lX c #C7C6C6",
|
||||
"zX c #C4DACC",
|
||||
"xX c #C6D9D8",
|
||||
"cX c #D4D4D4",
|
||||
"vX c #DDDDDD",
|
||||
"bX c #C2EBC2",
|
||||
"nX c #FFEAD7",
|
||||
"mX c #C8D7F1",
|
||||
"MX c #C0E7F5",
|
||||
"NX c #C3EAF8",
|
||||
"BX c #CBECF9",
|
||||
"VX c #CDE9F2",
|
||||
"CX c #D1EFFA",
|
||||
"ZX c #D7ECF4",
|
||||
"AX c #D6F0FB",
|
||||
"SX c #DBF2FB",
|
||||
"DX c #C9E2E8",
|
||||
"FX c #E4E4E3",
|
||||
"GX c #EAECEB",
|
||||
"HX c #E3F5FC",
|
||||
"JX c #E9F7FC",
|
||||
"KX c #EDF9FD",
|
||||
"LX c #F3FBFE",
|
||||
"PX c #FAFDFE",
|
||||
"IX c #E3F6E3",
|
||||
"UX c None",
|
||||
/* pixels */
|
||||
"UXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUX, UXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUX",
|
||||
"UXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXj E.Q.D.p UXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUX",
|
||||
"UXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXy cXvXG.3 q 1 UXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUX",
|
||||
"UXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUX;.p.e.P.vXlX5 - < 5 +.8.UXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUX",
|
||||
"UXUXUXUXUXUXUXUXUXUXUXUXUXUXUX,.-XtXkXfX-XS.G.w , 7 e p :XsX6Xa.#.UXUXUXUXUXUXUXUXUXUXUXUXUXUXUX",
|
||||
"UXUXUXUXUXUXUXUXUXUXUXUXUXOXrXfXgXdXkXkX3Xr 3 - 5 j G.y -XpXsXjXdX3X,.UXUXUXUXUXUXUXUXUXUXUXUXUX",
|
||||
"UXUXUXUXUXUXUXUXUXUXUXUXrXdXhXhXhXhXdXdXfX>Xy u J.H.H.:XqXwXuXpXaXhXhX:XUXUXUXUXUXUXUXUXUXUXUXUX",
|
||||
"UXUXUXUXUXUXUXUXUXUXrXtXfXMXgXNXNXgXNXhXBXMXOX..F...T.iXkXwXwXuXaXaXkXhXyX:XUXUXUXUXUXUXUXUXUXUX",
|
||||
"UXUXUXUXUXUXi D.t X.5XhXBXBXBXBXBXBXNXBXBXgXhXiXtXtXuXuXkXiXwXuXuXaXdXfXfXiXrXUXUXUXUXUXUXUXUXUX",
|
||||
"UXUXUXUXUXu cXQ.q e :XBXBXCXCXCXBXCXCXSXBXMXhXhXkXiXaXuXuXhXwXwXuXaXkXfXjXMX-X>X$Xj e UXUXUXUXUX",
|
||||
"UXUXUXUXUXD./.w 1 q E.SXZXSXSXSXSXZXHXAXBXNXgXhXkXaXiXuXwXsXsXwXuXaXkXdXjXMXE.cXQ., 2 UXUXUXUXUX",
|
||||
"UXUXUXUXUX< u D.D.y >XSXHXSXHXHXSXSXHXAXBXNXNXgXfXkXiXuXuXwXhXuXuXaXkXfXjXMXF.S.e i e UXUXUXUXUX",
|
||||
"UXUXUXUXUXUXF.P.).#XSXHXJXJXJXJXHXJXHXAXBXBXNXgXfXkXsXaXwX9XwX8Xb.V.Z.0XsXNX#Xe G.H.t UXUXUXUXUX",
|
||||
"UXUXUXUXUXrXB.yXZXJXJXJXKXLXLXKXKXKXSXAXAXBXNXNXfXkXaXqXn.x.v.N.j.j.j.z.c.Z.iXxX>XI.R.UXUXUXUXUX",
|
||||
"UXUXUXUXUX,XuXSXHXJXKXLXLXPXPXLXKXLXHXAXZXBXNXMXdXdXqXc.x.h.x.8Xz.z.j.j.j.x.9XaXCXZXtXUXUXUXUXUX",
|
||||
"UXUXUXUXUX1XNXSXHXJXLXLXPXPXGXzX>XDXSXSXCXBXNXhXfXuXv.j.j.h.9.L.F.1.0.x.C.9Xb.j.9XSXhXrXUXUXUXUX",
|
||||
"UXUXUXUX+XqXAXSXHXHXKXKXPXzX'.F F F {.DXCXBXMXhXkXZ.z.h.h.*._. XT P L a.V.x.z.j.j.0XAXyXUXUXUXUX",
|
||||
"UXUXUXUX=XsXAXAXSXHXJXJXxX'.bX|.D m M [.BXNXgXhXaXv.z.h.;.`.nX.XJ f G K h.j.z.z.j.x.kXVXUXUXUXUX",
|
||||
"UXUXUXUX4XNXCXAXSXSXHXHX{.|.IXF z z l Z Y.W.OXOXoX#.@.$.r `.nXT d d d h 9.z.z.z.z.h.n.ZXW.UXUXUX",
|
||||
"UXUXUXE XX:XmXCXZXSXSXZXF ].'.m z z 4 t w w e 5 5 3 1 1 2 j U H f f G g <.V.x.z.z.z.j.dXOXUXUXUX",
|
||||
"UXUXi G.J.G.J.>XCXSXSXSXS m z x b M B % , : ; # O O O @ O a H d f I J h p.Z.8X8Xn.-.} F...UXUXUX",
|
||||
"UXS.lXcX!.t i P.DXCXCXCX[.v c v n B N A 3X;X-XoX:.-.w.w.-.s s s I U I K.k.k.k.v.T.^./.!.G.u UXUX",
|
||||
"UX/.GXvXp < S.i P.NXNXNXfXO.C V t < V ;XkXiXuXwXC.z.z.z.z.$.y p L Y K.q.c.c.c.9.U.GXvXG.1 1 e UX",
|
||||
"1 (.lXH.< < 1 < Q dXjXjXhXkXW.O.u 1 .pXuXuXwXqXx.z.z.z.z.+.i 7 +.y.c.c.v.c.v.+.lXFX(.1 - - 1 - ",
|
||||
"; i r 2 < 7 9 q Q iXdXdXdXkXsXiXF.e 5 7XuXwXwXN.z.z.z.z.0.r 3 W v.v.b.b.v.v.b.} ~.~.t - < 3 1 ; ",
|
||||
"UX- , , 5 j S.w &.aXaXkXaXaXaXaXXXr ; *.wXqX9Xx.z.z.z.z.$.3 : ;.b.b.b.b.b.b.v.} 3 1 - 1 t i e + ",
|
||||
"UX; e j !.H.D.Q 2XuXuXuXuXuXuXuX2XQ - % <XqXc.j.z.z.z.0.9 - * m.n.n.n.b.n.n.n.y.7 1 p D.D.D.3 UX",
|
||||
"UXUXUXy Q.P.%.+XwXwXuXwXqXwXqXqXwX<.1 o W c.j.h.z.z.z.| > + +.V.n.M.M.M.M.M.M.n.#.y !.~.G.w UXUX",
|
||||
"UXUXUX| i.,Xn.C.9XqXqXqXwXqXwXqXuX7X0 + X 2.h.h.k.x.8., + * m.M.C.M.M.M.M.M.N.M.N.-XXX*.9 UXUXUX",
|
||||
"UXUXUXUX,Xb.8XN.v.n.8X0XqXqXqX9XZ.V.@.# . & 3.5.3.2.8 + O :.Z.A.N.N.N.N.Z.N.N.8XuX0XV.,XUXUXUXUX",
|
||||
"UXUXUXUXoXb.x.C.8Xn.x.x.x.c.x.z.j.j.h.= . 7.%Xf.~ % o = A.Z.A.Z.Z.Z.8XZ.8XwXuX9XM.N.+XUXUXUXUX",
|
||||
"UXUXUXUX=.1Xc.k.c.M.8Xn.c.h.j.j.j.h.j.2.O 5 mX%X' ` $ @ p.8X8XZ.Z.8X8X8XwXiXwX8XZ.N.4X<.UXUXUXUX",
|
||||
"UXUXUXUXUX=XC.c.x.j.x.C.8X8XV.c.k.j.j.3.@XVXmX] ( ( ) / 1X8X8X8X0XwXuXsXwX9X8X8X8X8X*XUXUXUXUXUX",
|
||||
"UXUXUXUXUX=.4Xb.c.x.x.h.h.c.M.Z.8X8X8X4.%X&Xs.( ( _ _ / 7XuXiXsXiXuXqX9X9X8X9X8X8XqX>.UXUXUXUXUX",
|
||||
"UXUXUXUXUXUX+X9Xb.c.x.x.z.z.j.h.k.c.c.3.] ' ( ( ' [ ] / wXwXwX0X9X9X9X0X9X0X0X8XqX+XUXUXUXUXUXUX",
|
||||
"UXUXUXUXUXUXUX2X9Xn.b.c.x.x.x.x.k.k.k.0.^ _ _ ] d.s.[ 6.0X0X0X0XqXqXqXqXqX0X9XqX7XUXUXUXUXUXUXUX",
|
||||
"UXUXUXUXUXUXUX>.5X9XC.C.V.b.v.v.k.b.b.Z.i./ { f.g.d.4.tXqXqXqXwXwX4X4XqXwX9XqXwXr.UXUXUXUXUXUXUX",
|
||||
"UXUXUXUXUXUXUXUXe.wXwX,Xe.%.%.e.N.Z.0XiXqXa.6.4.6.i.5XdXiXwXwX5XXXX...<.4XwXuXe.UXUXUXUXUXUXUXUX",
|
||||
"UXUXUXUXUXUXUXUXUXe.6XR.!.).S.Q XXuXkXwXwXwXwX5X6XuXwXpXhXkXuXT.).(.S.t &.6Xt.UXUXUXUXUXUXUXUXUX",
|
||||
"UXUXUXUXUXUXUXUXUXUX+.Q.FXQ.< w Y.dXuXuXuXuXuXuXpXuXpXuXuXfXyX^.FX!.< < 9 %.UXUXUXUXUXUXUXUXUXUX",
|
||||
"UXUXUXUXUXUXUXUXUXUXUXG.Q.q < 3 r 3XpXaXuXaXaXiXaXuXpXiXaXpXrXJ.H.q < q 2 UXUXUXUXUXUXUXUXUXUXUX",
|
||||
"UXUXUXUXUXUXUXUXUXUXUX< 2 2 t i Q iXpXuXuXaXaXaXaXaXaXaXuXuXtXQ 2 2 i S.3 UXUXUXUXUXUXUXUXUXUXUX",
|
||||
"UXUXUXUXUXUXUXUXUXUXUXUXw S.G.y <.uXkXdXkXaXaXaXaXaXaXaXsXkXaX<.e S.G.u UXUXUXUXUXUXUXUXUXUXUXUX",
|
||||
"UXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXt.a.<X5XuXiXiXiXiXuX6X2X=Xt.UXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUX",
|
||||
"UXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUX>.t.u.t.t.>.UXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUX",
|
||||
"UXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUX",
|
||||
"UXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUX",
|
||||
"UXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUX"
|
||||
};
|
@ -1,8 +0,0 @@
|
||||
usr/bin
|
||||
usr/sbin
|
||||
usr/share/pixmaps
|
||||
usr/share/applications/
|
||||
usr/share/RetroShare/
|
||||
usr/share/icons/hicolor/24x24/apps/
|
||||
usr/share/icons/hicolor/48x48/apps/
|
||||
usr/share/icons/hicolor/64x64/apps/
|
@ -1,2 +0,0 @@
|
||||
usr/lib/retroshare/extensions/libFeedReader.so
|
||||
|
@ -1,2 +0,0 @@
|
||||
usr/lib/retroshare/extensions/libLinksCloud.so
|
||||
|
@ -1,6 +0,0 @@
|
||||
usr/bin
|
||||
usr/bin/RetroShare-nogui
|
||||
usr/share
|
||||
usr/share/RetroShare
|
||||
usr/share/RetroShare/bdboot.txt
|
||||
|
@ -1,2 +0,0 @@
|
||||
usr/lib/retroshare/extensions/libVOIP.so
|
||||
|
@ -1,10 +0,0 @@
|
||||
usr/share/applications/retroshare.desktop
|
||||
usr/share/pixmaps/retroshare.xpm
|
||||
usr/share/RetroShare/bdboot.txt
|
||||
usr/share/icons/hicolor/48x48/apps/retroshare.png
|
||||
usr/share/icons/hicolor/24x24/apps/retroshare.png
|
||||
usr/share/icons/hicolor/64x64/apps/retroshare.png
|
||||
usr/bin
|
||||
usr/bin/RetroShare
|
||||
usr/bin/RetroShare-nogui
|
||||
|
@ -1,73 +0,0 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
builddir:
|
||||
mkdir -p builddir
|
||||
|
||||
builddir/Makefile: builddir
|
||||
touch $@
|
||||
|
||||
build: build-stamp
|
||||
|
||||
build-stamp: builddir/Makefile
|
||||
dh_testdir
|
||||
# Add here commands to compile the package.
|
||||
cd libssh-0.5.4 && mkdir build && cd build && cmake -DWITH_STATIC_LIB=ON .. && make
|
||||
mkdir lib
|
||||
cp -r libssh-0.5.4 lib
|
||||
#cd src/rsctrl/src && make
|
||||
cd src && qmake-qt4 CONFIG=release RetroShare.pro && make
|
||||
touch $@
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-stamp
|
||||
# Add here commands to clean up after the build process.
|
||||
rm -rf builddir
|
||||
dh_clean
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
dh_installdirs
|
||||
install -D -m 644 src/data/retroshare.desktop $(CURDIR)/debian/retroshare/usr/share/applications/retroshare.desktop
|
||||
install -D -m 644 src/data/24x24/retroshare.png $(CURDIR)/debian/retroshare/usr/share/icons/hicolor/24x24/apps/retroshare.png
|
||||
install -D -m 644 src/data/48x48/retroshare.png $(CURDIR)/debian/retroshare/usr/share/icons/hicolor/48x48/apps/retroshare.png
|
||||
install -D -m 644 src/data/64x64/retroshare.png $(CURDIR)/debian/retroshare/usr/share/icons/hicolor/64x64/apps/retroshare.png
|
||||
install -D -m 644 src/data/retroshare.xpm $(CURDIR)/debian/retroshare/usr/share/pixmaps/retroshare.xpm
|
||||
install -D -m 644 src/plugins/VOIP/libVOIP.so.1.0.0 $(CURDIR)/debian/retroshare-voip-plugin/usr/lib/retroshare/extensions/libVOIP.so
|
||||
install -D -m 644 src/plugins/LinksCloud/libLinksCloud.so.1.0.0 $(CURDIR)/debian/retroshare-linkscloud-plugin/usr/lib/retroshare/extensions/libLinksCloud.so
|
||||
install -D -m 644 src/plugins/FeedReader/libFeedReader.so.1.0.0 $(CURDIR)/debian/retroshare-feedreader-plugin/usr/lib/retroshare/extensions/libFeedReader.so
|
||||
install -D -m 644 src/libbitdht/src/bitdht/bdboot.txt $(CURDIR)/debian/retroshare-nogui/usr/share/RetroShare/bdboot.txt
|
||||
install -D -m 644 src/libbitdht/src/bitdht/bdboot.txt $(CURDIR)/debian/retroshare/usr/share/RetroShare/bdboot.txt
|
||||
install -D -m 755 src/retroshare-nogui/src/retroshare-nogui $(CURDIR)/debian/retroshare-nogui/usr/bin/RetroShare-nogui
|
||||
install -D -m 755 src/retroshare-nogui/src/retroshare-nogui $(CURDIR)/debian/retroshare/usr/bin/RetroShare-nogui
|
||||
install -D -m 755 src/retroshare-gui/src/RetroShare $(CURDIR)/debian/retroshare/usr/bin/RetroShare
|
||||
|
||||
# Add here commands to install the package into debian/your_appname
|
||||
# cd builddir && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/$(APPNAME) install
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build install
|
||||
# We have nothing to do by default.
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installdocs
|
||||
dh_installexamples
|
||||
dh_installman
|
||||
dh_link
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_installdeb
|
||||
dh_shlibdeps
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install configure
|
||||
|
@ -1,123 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
###################### PARAMETERS ####################
|
||||
version="0.5.5"
|
||||
svnpath="svn://csoler@svn.code.sf.net/p/retroshare/code/"
|
||||
workdir=retroshare-$version
|
||||
#use_gxs="Y" # comment out to compile without gxs
|
||||
#bubba3="Y" # comment out to compile for bubba3
|
||||
######################################################
|
||||
|
||||
echo This script is going to build the debian source package for RetroShare, from the svn.
|
||||
|
||||
if test -d "$workdir" ; then
|
||||
echo Please remove the $workdir directory first.
|
||||
exit
|
||||
fi
|
||||
|
||||
svn update
|
||||
|
||||
if test "$1" = "" ; then
|
||||
echo attempting to get svn revision number...
|
||||
svn=`svn info | grep 'Revision:' | cut -d\ -f2`
|
||||
else
|
||||
echo svn number has been provided. Forcing update.
|
||||
svn="$1"
|
||||
fi
|
||||
|
||||
echo done.
|
||||
version="$version"."$svn"
|
||||
echo got version number $version.
|
||||
echo Please check that the changelog is up to date.
|
||||
echo Hit ENTER is this is this correct. Otherwise hit Ctrl+C
|
||||
read tmp
|
||||
|
||||
packages="."
|
||||
|
||||
echo SVN number is $svn
|
||||
echo version is $version
|
||||
|
||||
echo Extracting base archive...
|
||||
|
||||
mkdir -p $workdir/src
|
||||
|
||||
if test "$use_gxs" = "Y" ; then
|
||||
cp -r debian.gxs $workdir/debian
|
||||
else
|
||||
cp -r debian $workdir/debian
|
||||
fi
|
||||
cp -r data $workdir/src/
|
||||
|
||||
echo Checking out latest snapshot in libbitdht...
|
||||
cd $workdir/src/
|
||||
svn co -r$svn $svnpath/trunk/ .
|
||||
cd ../..
|
||||
|
||||
# VOIP tweak
|
||||
cp $workdir/src/retroshare-gui/src/gui/chat/PopupChatDialog.ui $workdir/src/plugins/VOIP/gui/PopupChatDialog.ui
|
||||
|
||||
# handling of libssh-0.5.4
|
||||
|
||||
wget https://red.libssh.org/attachments/download/41/libssh-0.5.4.tar.gz
|
||||
cd $workdir
|
||||
tar zxvf ../libssh-0.5.4.tar.gz
|
||||
cd ..
|
||||
|
||||
if ! test "$specific" = "" ; then
|
||||
cd $workdir
|
||||
git clone https://github.com/sqlcipher/sqlcipher.git
|
||||
cd ..
|
||||
fi
|
||||
|
||||
# cleaning up protobof generated files
|
||||
|
||||
\rm -f $workdir/src/retroshare-nogui/src/rpc/proto/gencc/*.pb.h
|
||||
\rm -f $workdir/src/retroshare-nogui/src/rpc/proto/gencc/*.pb.cc
|
||||
|
||||
echo Setting version numbers...
|
||||
|
||||
# setup version numbers
|
||||
cat $workdir/src/libretroshare/src/util/rsversion.h | grep -v SVN_REVISION | grep -v SVN_REVISION_NUMBER > /tmp/toto2342
|
||||
echo \#define SVN_REVISION \"Revision: "$version" date : `date`\" >> /tmp/toto2342
|
||||
echo \#define SVN_REVISION_NUMBER $svn >> /tmp/toto2342
|
||||
cp /tmp/toto2342 $workdir/src/libretroshare/src/util/rsversion.h
|
||||
|
||||
cat $workdir/src/retroshare-gui/src/util/rsguiversion.h | grep -v GUI_REVISION | grep -v GUI_VERSION > /tmp/toto4463
|
||||
echo \#define GUI_REVISION \"Revision: "$version" date : `date`\" >> /tmp/toto4463
|
||||
echo \#define GUI_VERSION \"Revision: "$svn"\" >> /tmp/toto4463
|
||||
cp /tmp/toto4463 $workdir/src/retroshare-gui/src/util/rsguiversion.h
|
||||
|
||||
# Various cleaning
|
||||
|
||||
echo Cleaning...
|
||||
find $workdir -name ".svn" -exec rm -rf {} \; # remove all svn repositories
|
||||
|
||||
#echo Calling debuild...
|
||||
#cat $workdir/debian/control | sed -e s/XXXXXX/"$version"/g > $workdir/debian/control.tmp
|
||||
#mv -f $workdir/debian/control.tmp $workdir/debian/control
|
||||
|
||||
cd $workdir
|
||||
|
||||
#for i in wheezy; do
|
||||
#for i in sid ; do
|
||||
#for i in precise; do
|
||||
#for i in lucid precise quantal raring; do
|
||||
for i in wheezy squeeze lucid precise quantal raring saucy; do
|
||||
#for i in sid squeeze; do
|
||||
echo copying changelog for $i
|
||||
cat ../changelog | sed -e s/XXXXXX/"$svn"/g | sed -e s/YYYYYY/"$i"/g > debian/changelog
|
||||
|
||||
if test "$i" = "lucid" ; then
|
||||
cp ../control.ubuntu_lucid debian/control
|
||||
elif test "$i" = "squeeze" ; then
|
||||
cp ../control.squeeze_bubba3 debian/control
|
||||
else
|
||||
cp ../debian/control debian/control
|
||||
fi
|
||||
|
||||
# This is the key for "Cyril Soler <csoler@sourceforge.net>"
|
||||
debuild -S -kC737CA98
|
||||
done
|
||||
|
||||
|
||||
|
@ -1,2 +0,0 @@
|
||||
#!/bin/sh
|
||||
Apply dput ppa:csoler-users/retroshare-snapshots retroshare_0.5.5#.changes
|
43
build_scripts/Windows/GetRsVersion.bat
Normal file
43
build_scripts/Windows/GetRsVersion.bat
Normal file
@ -0,0 +1,43 @@
|
||||
@:: Usage:
|
||||
@:: call GetRsVersion.bat Define Variable
|
||||
|
||||
@setlocal
|
||||
@echo off
|
||||
|
||||
set Define=%~1
|
||||
if "%Define%"=="" (
|
||||
echo.
|
||||
echo Parameter error
|
||||
endlocal
|
||||
exit /B1
|
||||
)
|
||||
|
||||
set Variable=%~2
|
||||
if "%Variable%"=="" (
|
||||
echo.
|
||||
echo Parameter error
|
||||
endlocal
|
||||
exit /B1
|
||||
)
|
||||
|
||||
set Result=
|
||||
set VersionFile="%~dp0..\..\libretroshare\src\retroshare\rsversion.h"
|
||||
|
||||
if not exist "%VersionFile%" (
|
||||
echo.
|
||||
echo Version file doesn't exist.
|
||||
echo %VersionFile%
|
||||
endlocal
|
||||
exit /B1
|
||||
)
|
||||
|
||||
for /F "usebackq tokens=1,2,3" %%A in (%VersionFile%) do (
|
||||
if "%%A"=="#define" (
|
||||
if "%%B"=="%Define%" (
|
||||
set Result=%%~C
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
endlocal & set %Variable%=%Result%
|
||||
exit /B 0
|
BIN
build_scripts/Windows/HeaderImage.bmp
Normal file
BIN
build_scripts/Windows/HeaderImage.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
BIN
build_scripts/Windows/HeaderImageEmpty.bmp
Normal file
BIN
build_scripts/Windows/HeaderImageEmpty.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
6
build_scripts/Windows/build_libs/.gitignore
vendored
Normal file
6
build_scripts/Windows/build_libs/.gitignore
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
/download
|
||||
/msys
|
||||
/libs
|
||||
/tools/7z.dll
|
||||
/tools/7z.exe
|
||||
/tools/curl.exe
|
43
build_scripts/Windows/build_libs/1-prepare.bat
Normal file
43
build_scripts/Windows/build_libs/1-prepare.bat
Normal file
@ -0,0 +1,43 @@
|
||||
@setlocal
|
||||
|
||||
@echo off
|
||||
|
||||
:: Initialize environment
|
||||
call "%~dp0_env.bat"
|
||||
|
||||
set SevenZipUrl=http://7-zip.org/a/7z1602.msi
|
||||
set SevenZipInstall=7z1602.msi
|
||||
set CurlUrl=https://bintray.com/artifact/download/vszakats/generic/curl-7.50.1-win32-mingw.7z
|
||||
set CurlInstall=curl-7.50.1-win32-mingw.7z
|
||||
|
||||
if not exist "%DownloadPath%" mkdir "%DownloadPath%"
|
||||
|
||||
call :remove_dir "%TempPath%"
|
||||
|
||||
echo Download installation files
|
||||
if not exist "%DownloadPath%\%SevenZipInstall%" call "%ToolsPath%\winhttpjs.bat" %SevenZipUrl% -saveTo "%DownloadPath%\%SevenZipInstall%"
|
||||
if not exist "%DownloadPath%\%SevenZipInstall%" echo Cannot download 7z& goto :exit
|
||||
|
||||
if not exist "%DownloadPath%\%CurlInstall%" call "%ToolsPath%\winhttpjs.bat" %CurlUrl% -saveTo "%DownloadPath%\%CurlInstall%"
|
||||
if not exist "%DownloadPath%\%CurlInstall%" echo Cannot download Curl& goto :exit
|
||||
|
||||
echo Unpack 7z
|
||||
msiexec /a "%DownloadPath%\%SevenZipInstall%" /qb TARGETDIR="%TempPath%"
|
||||
copy "%TempPath%\Files\7-Zip\7z.dll" "%ToolsPath%"
|
||||
copy "%TempPath%\Files\7-Zip\7z.exe" "%ToolsPath%"
|
||||
call :remove_dir "%TempPath%"
|
||||
|
||||
echo Unpack Curl
|
||||
"%SevenZipExe%" x -o"%TempPath%" "%DownloadPath%\%CurlInstall%"
|
||||
copy "%TempPath%\curl-7.50.1-win32-mingw\bin\curl.exe" "%ToolsPath%"
|
||||
call :remove_dir "%TempPath%"
|
||||
|
||||
:exit
|
||||
endlocal
|
||||
exit /B 0
|
||||
|
||||
:remove_dir
|
||||
if not exist %1 goto :EOF
|
||||
del /s /f /q %1 >nul
|
||||
rmdir /s /q %1
|
||||
goto :EOF
|
70
build_scripts/Windows/build_libs/2-install-msys.bat
Normal file
70
build_scripts/Windows/build_libs/2-install-msys.bat
Normal file
@ -0,0 +1,70 @@
|
||||
@setlocal
|
||||
|
||||
@echo off
|
||||
|
||||
:: Initialize environment
|
||||
call "%~dp0_env.bat"
|
||||
|
||||
set MSYSInstall=mingw-get-0.6.2-mingw32-beta-20131004-1-bin.zip
|
||||
set CMakeInstall=cmake-3.1.0-win32-x86.zip
|
||||
set CMakeUnpackPath=%MSYSPath%\msys\1.0
|
||||
|
||||
if not exist "%DownloadPath%" mkdir "%DownloadPath%"
|
||||
|
||||
echo Check existing installation
|
||||
if not exist "%MSYSPath%\bin\mingw-get.exe" goto proceed
|
||||
choice /M "Found existing MSYS version. Do you want to proceed?"
|
||||
if %ERRORLEVEL%==2 goto exit
|
||||
|
||||
:proceed
|
||||
echo Remove previous MSYS version
|
||||
call :remove_dir "%MSYSPath%"
|
||||
|
||||
echo Download installation files
|
||||
if not exist "%DownloadPath%\%MSYSInstall%" "%CurlExe%" -L -k http://sourceforge.net/projects/mingw/files/Installer/mingw-get/mingw-get-0.6.2-beta-20131004-1/%MSYSInstall%/download -o "%DownloadPath%\%MSYSInstall%"
|
||||
if not exist "%DownloadPath%%\MSYSInstall%" echo Cannot download MSYS& goto :exit
|
||||
|
||||
if not exist "%DownloadPath%\%CMakeInstall%" "%CurlExe%" -L -k http://www.cmake.org/files/v3.1/cmake-3.1.0-win32-x86.zip -o "%DownloadPath%\%CMakeInstall%"
|
||||
if not exist "%DownloadPath%\%CMakeInstall%" echo Cannot download CMake& goto :exit
|
||||
|
||||
echo Unpack MSYS
|
||||
"%SevenZipExe%" x -o"%MSYSPath%" "%DownloadPath%\%MSYSInstall%"
|
||||
|
||||
echo Install MSYS
|
||||
if not exist "%MSYSPath%\var\lib\mingw-get\data\profile.xml" copy "%MSYSPath%\var\lib\mingw-get\data\defaults.xml" "%MSYSPath%\var\lib\mingw-get\data\profile.xml"
|
||||
pushd "%MSYSPath%\bin"
|
||||
mingw-get.exe install mingw32-mingw-get
|
||||
mingw-get.exe install msys-coreutils
|
||||
mingw-get.exe install msys-base
|
||||
mingw-get.exe install msys-autoconf
|
||||
mingw-get.exe install msys-automake
|
||||
mingw-get.exe install msys-autogen
|
||||
mingw-get.exe install msys-mktemp
|
||||
mingw-get.exe install msys-wget
|
||||
popd
|
||||
|
||||
echo Unpack CMake
|
||||
"%SevenZipExe%" x -o"%CMakeUnpackPath%" "%DownloadPath%\%CMakeInstall%"
|
||||
|
||||
echo Install CMake
|
||||
set CMakeVersion=
|
||||
for /D %%F in (%CMakeUnpackPath%\cmake*) do set CMakeVersion=%%~nxF
|
||||
if "%CMakeVersion%"=="" echo CMake version not found.& goto :exit
|
||||
echo Found CMake version %CMakeVersion%
|
||||
|
||||
set FoundProfile=
|
||||
for /f "tokens=3" %%F in ('find /c /i "%CMakeVersion%" "%MSYSPath%\msys\1.0\etc\profile"') do set FoundProfile=%%F
|
||||
|
||||
if "%FoundProfile%"=="0" (
|
||||
echo export PATH="${PATH}:/%CMakeVersion%/bin">>"%MSYSPath%\msys\1.0\etc\profile"
|
||||
)
|
||||
|
||||
:exit
|
||||
endlocal
|
||||
exit /B 0
|
||||
|
||||
:remove_dir
|
||||
if not exist %1 goto :EOF
|
||||
del /s /f /q %1 >nul
|
||||
rmdir /s /q %1
|
||||
goto :EOF
|
29
build_scripts/Windows/build_libs/3-build-libs.bat
Normal file
29
build_scripts/Windows/build_libs/3-build-libs.bat
Normal file
@ -0,0 +1,29 @@
|
||||
@setlocal
|
||||
|
||||
@echo off
|
||||
|
||||
:: Initialize environment
|
||||
call "%~dp0_env.bat"
|
||||
|
||||
set MSYSSH=%MSYSPath%\msys\1.0\bin\sh.exe
|
||||
set MSYSCurPath=/%CurPath:~0,1%/%CurPath:~3%
|
||||
set MSYSCurPath=%MSYSCurPath:\=/%
|
||||
|
||||
if not exist "%MSYSSH%" echo Please install MSYS first.&& exit /B 1
|
||||
|
||||
set GCCPath=
|
||||
call :FIND_IN_PATH g++.exe GCCPath
|
||||
if "%GCCPath%"=="" echo Please run %~nx0 in the Qt Command Prompt or add the path to MinGW bin folder to PATH variable.&& exit /B 1
|
||||
|
||||
"%MSYSSH%" --login -i -c "cd "%MSYSCurPath%" && make -f makefile %*"
|
||||
|
||||
exit /B %ERRORLEVEL%
|
||||
|
||||
:FIND_IN_PATH
|
||||
SET PathTemp="%Path:;=";"%"
|
||||
FOR %%P IN (%PathTemp%) DO (
|
||||
IF EXIST "%%~P.\%~1" (
|
||||
set %2=%%~P
|
||||
goto :EOF
|
||||
)
|
||||
)
|
226
build_scripts/Windows/build_libs/Makefile
Executable file
226
build_scripts/Windows/build_libs/Makefile
Executable file
@ -0,0 +1,226 @@
|
||||
ZLIB_VERSION=1.2.3
|
||||
BZIP2_VERSION=1.0.6
|
||||
MINIUPNPC_VERSION=2.0
|
||||
OPENSSL_VERSION=1.0.2h
|
||||
SPEEX_VERSION=1.2rc2
|
||||
SPEEXDSP_VERSION=1.2rc3
|
||||
OPENCV_VERSION=2.4.13
|
||||
LIBXML2_VERSION=2.9.3
|
||||
LIBXSLT_VERSION=1.1.28
|
||||
CURL_VERSION=7.46.0
|
||||
TCL_VERSION=8.6.2
|
||||
SQLCIPHER_VERSION=2.2.1
|
||||
LIBMICROHTTPD_VERSION=0.9.46
|
||||
FFMPEG_VERSION=3.1.2
|
||||
|
||||
all: dirs zlib bzip2 miniupnpc openssl speex speexdsp opencv libxml2 libxslt curl sqlcipher libmicrohttpd ffmpeg copylibs
|
||||
|
||||
download: \
|
||||
download/zlib-$(ZLIB_VERSION).tar.gz \
|
||||
download/bzip2-$(BZIP2_VERSION).tar.gz \
|
||||
download/miniupnpc-$(MINIUPNPC_VERSION).tar.gz \
|
||||
download/openssl-$(OPENSSL_VERSION).tar.gz \
|
||||
download/speex-$(SPEEX_VERSION).tar.gz \
|
||||
download/speexdsp-$(SPEEXDSP_VERSION).tar.gz \
|
||||
download/opencv-$(OPENCV_VERSION).tar.gz \
|
||||
download/libxml2-$(LIBXML2_VERSION).tar.gz \
|
||||
download/libxslt-$(LIBXSLT_VERSION).tar.gz \
|
||||
download/curl-$(CURL_VERSION).tar.gz \
|
||||
download/tcl$(TCL_VERSION)-src.tar.gz \
|
||||
download/sqlcipher-$(SQLCIPHER_VERSION).tar.gz \
|
||||
download/libmicrohttpd-$(LIBMICROHTTPD_VERSION).tar.gz \
|
||||
download/ffmpeg-$(FFMPEG_VERSION).tar.gz
|
||||
|
||||
dirs:
|
||||
mkdir -p download
|
||||
mkdir -p libs/include
|
||||
mkdir -p libs/lib
|
||||
mkdir -p libs/bin
|
||||
|
||||
download/zlib-$(ZLIB_VERSION).tar.gz:
|
||||
wget --no-check-certificate http://sourceforge.net/projects/libpng/files/zlib/$(ZLIB_VERSION)/zlib-$(ZLIB_VERSION).tar.gz/download -O download/zlib-$(ZLIB_VERSION).tar.gz
|
||||
|
||||
zlib: download/zlib-$(ZLIB_VERSION).tar.gz
|
||||
tar xvf download/zlib-$(ZLIB_VERSION).tar.gz
|
||||
cd zlib-$(ZLIB_VERSION) && ./configure
|
||||
#cd zlib-$(ZLIB_VERSION) && make install prefix="`pwd`/../libs"
|
||||
cd zlib-$(ZLIB_VERSION) && make
|
||||
cp zlib-$(ZLIB_VERSION)/zlib.h libs/include/
|
||||
cp zlib-$(ZLIB_VERSION)/zconf.h libs/include/
|
||||
cp zlib-$(ZLIB_VERSION)/libz.a libs/lib/
|
||||
rm -r -f zlib-$(ZLIB_VERSION)
|
||||
touch zlib
|
||||
|
||||
download/bzip2-$(BZIP2_VERSION).tar.gz:
|
||||
wget http://bzip.org/$(BZIP2_VERSION)/bzip2-$(BZIP2_VERSION).tar.gz -O download/bzip2-$(BZIP2_VERSION).tar.gz
|
||||
|
||||
bzip2: download/bzip2-$(BZIP2_VERSION).tar.gz
|
||||
tar xvf download/bzip2-$(BZIP2_VERSION).tar.gz
|
||||
#cd bzip2-$(BZIP2_VERSION) && make install PREFIX="`pwd`/../libs"
|
||||
cd bzip2-$(BZIP2_VERSION) && make
|
||||
cp bzip2-$(BZIP2_VERSION)/bzlib.h libs/include/
|
||||
cp bzip2-$(BZIP2_VERSION)/libbz2.a libs/lib/
|
||||
rm -r -f bzip2-$(BZIP2_VERSION)
|
||||
touch bzip2
|
||||
|
||||
download/miniupnpc-$(MINIUPNPC_VERSION).tar.gz:
|
||||
wget http://miniupnp.free.fr/files/download.php?file=miniupnpc-$(MINIUPNPC_VERSION).tar.gz -O download/miniupnpc-$(MINIUPNPC_VERSION).tar.gz
|
||||
|
||||
miniupnpc: download/miniupnpc-$(MINIUPNPC_VERSION).tar.gz
|
||||
tar xvf download/miniupnpc-$(MINIUPNPC_VERSION).tar.gz
|
||||
cd miniupnpc-$(MINIUPNPC_VERSION) && CC=gcc && export CC && make -f Makefile.mingw init libminiupnpc.a miniupnpc.dll
|
||||
mkdir -p libs/include/miniupnpc && cp miniupnpc-$(MINIUPNPC_VERSION)/*.h libs/include/miniupnpc/
|
||||
cp miniupnpc-$(MINIUPNPC_VERSION)/miniupnpc.lib libs/lib/
|
||||
cp miniupnpc-$(MINIUPNPC_VERSION)/miniupnpc.dll libs/bin/
|
||||
rm -r -f miniupnpc-$(MINIUPNPC_VERSION)
|
||||
touch miniupnpc
|
||||
|
||||
download/openssl-$(OPENSSL_VERSION).tar.gz:
|
||||
wget --no-check-certificate https://www.openssl.org/source/openssl-$(OPENSSL_VERSION).tar.gz -O download/openssl-$(OPENSSL_VERSION).tar.gz
|
||||
|
||||
openssl: download/openssl-$(OPENSSL_VERSION).tar.gz
|
||||
tar xvf download/openssl-$(OPENSSL_VERSION).tar.gz
|
||||
#cd openssl-$(OPENSSL_VERSION) && ./config --prefix="`pwd`/../libs"
|
||||
#cd openssl-$(OPENSSL_VERSION) && make install
|
||||
cd openssl-$(OPENSSL_VERSION) && ./config shared
|
||||
cd openssl-$(OPENSSL_VERSION) && make
|
||||
mkdir -p libs/include/openssl && cp openssl-$(OPENSSL_VERSION)/include/openssl/*.h libs/include/openssl/
|
||||
cp openssl-$(OPENSSL_VERSION)/libeay32.dll libs/bin/
|
||||
cp openssl-$(OPENSSL_VERSION)/ssleay32.dll libs/bin/
|
||||
cp openssl-$(OPENSSL_VERSION)/libcrypto.dll.a libs/lib/
|
||||
cp openssl-$(OPENSSL_VERSION)/libssl.dll.a libs/lib/
|
||||
rm -r -f openssl-$(OPENSSL_VERSION)
|
||||
touch openssl
|
||||
|
||||
download/speex-$(SPEEX_VERSION).tar.gz:
|
||||
wget http://downloads.xiph.org/releases/speex/speex-$(SPEEX_VERSION).tar.gz -O download/speex-$(SPEEX_VERSION).tar.gz
|
||||
|
||||
speex: download/speex-$(SPEEX_VERSION).tar.gz
|
||||
tar xvf download/speex-$(SPEEX_VERSION).tar.gz
|
||||
cd speex-$(SPEEX_VERSION) && ./configure
|
||||
#cd speex-$(SPEEX_VERSION) && make install exec_prefix="`pwd`/../libs"
|
||||
cd speex-$(SPEEX_VERSION) && make
|
||||
mkdir -p libs/include/speex && cp speex-$(SPEEX_VERSION)/include/speex/*.h libs/include/speex/
|
||||
cp speex-$(SPEEX_VERSION)/libspeex/.libs/libspeex.a libs/lib
|
||||
rm -r -f speex-$(SPEEX_VERSION)
|
||||
touch speex
|
||||
|
||||
download/speexdsp-$(SPEEXDSP_VERSION).tar.gz:
|
||||
wget http://downloads.xiph.org/releases/speex/speexdsp-$(SPEEXDSP_VERSION).tar.gz -O download/speexdsp-$(SPEEXDSP_VERSION).tar.gz
|
||||
|
||||
speexdsp: download/speexdsp-$(SPEEXDSP_VERSION).tar.gz
|
||||
tar xvf download/speexdsp-$(SPEEXDSP_VERSION).tar.gz
|
||||
cd speexdsp-$(SPEEXDSP_VERSION) && ./configure
|
||||
cd speexdsp-$(SPEEXDSP_VERSION) && make
|
||||
mkdir -p libs/include/speex && cp speexdsp-$(SPEEXDSP_VERSION)/include/speex/*.h libs/include/speex/
|
||||
cp speexdsp-$(SPEEXDSP_VERSION)/libspeexdsp/.libs/libspeexdsp.a libs/lib
|
||||
rm -r -f speexdsp-$(SPEEXDSP_VERSION)
|
||||
touch speexdsp
|
||||
|
||||
download/opencv-$(OPENCV_VERSION).tar.gz:
|
||||
wget --no-check-certificate https://github.com/Itseez/opencv/archive/$(OPENCV_VERSION).tar.gz -O download/opencv-$(OPENCV_VERSION).tar.gz
|
||||
|
||||
opencv: download/opencv-$(OPENCV_VERSION).tar.gz
|
||||
tar xvf download/opencv-$(OPENCV_VERSION).tar.gz
|
||||
mkdir -p opencv-$(OPENCV_VERSION)/build
|
||||
#cd opencv-$(OPENCV_VERSION)/build && cmake .. -G"MSYS Makefiles" -DCMAKE_BUILD_TYPE=Release -DBUILD_PERF_TESTS=OFF -DBUILD_TESTS=OFF -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX="`pwd`/../../libs"
|
||||
cd opencv-$(OPENCV_VERSION)/build && cmake .. -G"MSYS Makefiles" -DCMAKE_BUILD_TYPE=Release -DBUILD_PERF_TESTS=OFF -DBUILD_TESTS=OFF -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX="`pwd`/install"
|
||||
cd opencv-$(OPENCV_VERSION)/build && make install
|
||||
cp -r opencv-$(OPENCV_VERSION)/build/install/include/* libs/include/
|
||||
mkdir -p libs/lib/opencv && cp -r opencv-$(OPENCV_VERSION)/build/install/x86/mingw/staticlib/* libs/lib/opencv/
|
||||
rm -r -f opencv-$(OPENCV_VERSION)
|
||||
touch opencv
|
||||
|
||||
download/libxml2-$(LIBXML2_VERSION).tar.gz:
|
||||
wget ftp://xmlsoft.org/libxml2/libxml2-$(LIBXML2_VERSION).tar.gz -O download/libxml2-$(LIBXML2_VERSION).tar.gz
|
||||
|
||||
libxml2: download/libxml2-$(LIBXML2_VERSION).tar.gz
|
||||
tar xvf download/libxml2-$(LIBXML2_VERSION).tar.gz
|
||||
cd libxml2-$(LIBXML2_VERSION) && ./configure --without-iconv -enable-shared=no
|
||||
#cd libxml2-$(LIBXML2_VERSION) && make install exec_prefix="`pwd`/../libs"
|
||||
cd libxml2-$(LIBXML2_VERSION) && make
|
||||
mkdir -p libs/include/libxml && cp libxml2-$(LIBXML2_VERSION)/include/libxml/*.h libs/include/libxml/
|
||||
cp libxml2-$(LIBXML2_VERSION)/.libs/libxml2.a libs/lib/
|
||||
touch libxml2
|
||||
|
||||
download/libxslt-$(LIBXSLT_VERSION).tar.gz:
|
||||
wget ftp://xmlsoft.org/libxml2/libxslt-$(LIBXSLT_VERSION).tar.gz -O download/libxslt-$(LIBXSLT_VERSION).tar.gz
|
||||
|
||||
libxslt: download/libxml2-$(LIBXML2_VERSION).tar.gz download/libxslt-$(LIBXSLT_VERSION).tar.gz
|
||||
tar xvf download/libxml2-$(LIBXML2_VERSION).tar.gz
|
||||
tar xvf download/libxslt-$(LIBXSLT_VERSION).tar.gz
|
||||
tar xvf libxslt-$(LIBXSLT_VERSION)-fix.tar.gz
|
||||
cd libxslt-$(LIBXSLT_VERSION) && ./configure --with-libxml-src=../libxml2-$(LIBXML2_VERSION) -enable-shared=no CFLAGS=-DLIBXML_STATIC
|
||||
cd libxslt-$(LIBXSLT_VERSION) && make
|
||||
mkdir -p libs/include/libxslt && cp libxslt-$(LIBXSLT_VERSION)/libxslt/*.h libs/include/libxslt/
|
||||
cp libxslt-$(LIBXSLT_VERSION)/libxslt/.libs/libxslt.a libs/lib/
|
||||
cp libxslt-$(LIBXSLT_VERSION)/libexslt/.libs/libexslt.a libs/lib/
|
||||
rm -r -f libxml2-$(LIBXML2_VERSION)
|
||||
rm -r -f libxslt-$(LIBXSLT_VERSION)
|
||||
touch libxslt
|
||||
|
||||
download/curl-$(CURL_VERSION).tar.gz:
|
||||
wget --no-check-certificate http://curl.haxx.se/download/curl-$(CURL_VERSION).tar.gz -O download/curl-$(CURL_VERSION).tar.gz
|
||||
|
||||
curl: download/curl-$(CURL_VERSION).tar.gz
|
||||
tar xvf download/curl-$(CURL_VERSION).tar.gz
|
||||
cd curl-$(CURL_VERSION) && ./configure --disable-shared --with-ssl="`pwd`/../libs"
|
||||
#cd curl-$(CURL_VERSION) && make install exec_prefix="`pwd`/../libs"
|
||||
cd curl-$(CURL_VERSION) && make
|
||||
mkdir -p libs/include/curl && cp curl-$(CURL_VERSION)/include/curl/*.h libs/include/curl/
|
||||
cp curl-$(CURL_VERSION)/lib/.libs/libcurl.a libs/lib/
|
||||
rm -r -f curl-$(CURL_VERSION)
|
||||
touch curl
|
||||
|
||||
download/tcl$(TCL_VERSION)-src.tar.gz:
|
||||
wget http://prdownloads.sourceforge.net/tcl/tcl$(TCL_VERSION)-src.tar.gz -O download/tcl$(TCL_VERSION)-src.tar.gz
|
||||
|
||||
download/sqlcipher-$(SQLCIPHER_VERSION).tar.gz:
|
||||
wget --no-check-certificate https://github.com/sqlcipher/sqlcipher/archive/v$(SQLCIPHER_VERSION).tar.gz -O download/sqlcipher-$(SQLCIPHER_VERSION).tar.gz
|
||||
|
||||
sqlcipher: download/tcl$(TCL_VERSION)-src.tar.gz download/sqlcipher-$(SQLCIPHER_VERSION).tar.gz
|
||||
# tcl
|
||||
tar xvf download/tcl$(TCL_VERSION)-src.tar.gz
|
||||
mkdir -p tcl$(TCL_VERSION)/build
|
||||
cd tcl$(TCL_VERSION)/build && ../win/configure
|
||||
cd tcl$(TCL_VERSION)/build && make
|
||||
#sqlcipher
|
||||
tar xvf download/sqlcipher-$(SQLCIPHER_VERSION).tar.gz
|
||||
cd sqlcipher-$(SQLCIPHER_VERSION) && ln -s ../tcl$(TCL_VERSION)/build/tclsh86.exe tclsh
|
||||
mkdir -p tcl$(TCL_VERSION)/lib
|
||||
ln -s `pwd`/tcl$(TCL_VERSION)/library `pwd`/tcl$(TCL_VERSION)/lib/tcl8.6
|
||||
cd sqlcipher-$(SQLCIPHER_VERSION) && PATH=.:$$PATH:`pwd`/../tcl$(TCL_VERSION)/build && LIBS="-L`pwd`/../libs/lib -lgdi32 $$LIBS" && export LIBS && ./configure --disable-shared --enable-static --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC -I`pwd`/../libs/include -I`pwd`/../tcl$(TCL_VERSION)/generic" LDFLAGS="-L`pwd`/../libs/lib -lcrypto -lgdi32" --with-tcl="`pwd`/../tcl$(TCL_VERSION)/build" && make install prefix="`pwd`/install"
|
||||
cp -r sqlcipher-$(SQLCIPHER_VERSION)/install/include/* libs/include/
|
||||
cp sqlcipher-$(SQLCIPHER_VERSION)/install/lib/libsqlcipher.a libs/lib/
|
||||
cp sqlcipher-$(SQLCIPHER_VERSION)/install/bin/sqlcipher.exe libs/bin/
|
||||
rm -r -f sqlcipher-$(SQLCIPHER_VERSION)
|
||||
rm -r -f tcl$(TCL_VERSION)
|
||||
touch sqlcipher
|
||||
|
||||
download/libmicrohttpd-$(LIBMICROHTTPD_VERSION).tar.gz:
|
||||
wget --no-check-certificate http://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-$(LIBMICROHTTPD_VERSION).tar.gz -O download/libmicrohttpd-$(LIBMICROHTTPD_VERSION).tar.gz
|
||||
|
||||
libmicrohttpd: download/libmicrohttpd-$(LIBMICROHTTPD_VERSION).tar.gz
|
||||
tar xvf download/libmicrohttpd-$(LIBMICROHTTPD_VERSION).tar.gz
|
||||
cd libmicrohttpd-$(LIBMICROHTTPD_VERSION) && ./configure --disable-shared --enable-static --prefix="`pwd`/../libs"
|
||||
cd libmicrohttpd-$(LIBMICROHTTPD_VERSION) && make install
|
||||
rm -r -f libmicrohttpd-$(LIBMICROHTTPD_VERSION)
|
||||
touch libmicrohttpd
|
||||
|
||||
download/ffmpeg-$(FFMPEG_VERSION).tar.gz:
|
||||
wget --no-check-certificate https://ffmpeg.org/releases/ffmpeg-$(FFMPEG_VERSION).tar.gz -O download/ffmpeg-$(FFMPEG_VERSION).tar.gz
|
||||
|
||||
ffmpeg: download/ffmpeg-$(FFMPEG_VERSION).tar.gz
|
||||
tar xvf download/ffmpeg-$(FFMPEG_VERSION).tar.gz
|
||||
cd ffmpeg-$(FFMPEG_VERSION) && ./configure --disable-shared --enable-static --disable-programs --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-yasm --disable-everything --enable-encoder=mpeg4 --enable-decoder=mpeg4 --prefix="`pwd`/../libs"
|
||||
cd ffmpeg-$(FFMPEG_VERSION) && make install
|
||||
rm -r -f ffmpeg-$(FFMPEG_VERSION)
|
||||
touch ffmpeg
|
||||
|
||||
|
||||
copylibs:
|
||||
read -p "Do you want to copy libs to retroshare? (yes|no)" answer; \
|
||||
if [ "$$answer" = "yes" ] ; then \
|
||||
cp -r libs ../../../../ ; \
|
||||
fi
|
||||
|
584
build_scripts/Windows/build_libs/Tools/winhttpjs.bat
Normal file
584
build_scripts/Windows/build_libs/Tools/winhttpjs.bat
Normal file
@ -0,0 +1,584 @@
|
||||
@if (@X) == (@Y) @end /* JScript comment
|
||||
@echo off
|
||||
|
||||
rem :: the first argument is the script name as it will be used for proper help message
|
||||
cscript //E:JScript //nologo "%~f0" "%~nx0" %*
|
||||
|
||||
exit /b %errorlevel%
|
||||
|
||||
@if (@X)==(@Y) @end JScript comment */
|
||||
|
||||
// used resources
|
||||
|
||||
// update 12.10.15
|
||||
// osvikvi(https://github.com/osvikvi) has nodited that the -password option is not set , so this is fixed
|
||||
|
||||
//https://msdn.microsoft.com/en-us/library/windows/desktop/aa384058(v=vs.85).aspx
|
||||
//https://msdn.microsoft.com/en-us/library/windows/desktop/aa384055(v=vs.85).aspx
|
||||
//https://msdn.microsoft.com/en-us/library/windows/desktop/aa384059(v=vs.85).aspx
|
||||
|
||||
// global variables and constants
|
||||
|
||||
|
||||
// ----------------------------------
|
||||
// -- asynch requests not included --
|
||||
// ----------------------------------
|
||||
|
||||
|
||||
//todo - save responceStream instead of responceBody !!
|
||||
//todo - set all winthttp options ->//https://msdn.microsoft.com/en-us/library/windows/desktop/aa384108(v=vs.85).aspx
|
||||
//todo - log all options
|
||||
//todo - improve help message . eventual verbose option
|
||||
|
||||
|
||||
var ARGS = WScript.Arguments;
|
||||
var scriptName = ARGS.Item(0);
|
||||
|
||||
var url = "";
|
||||
var saveTo = "";
|
||||
|
||||
var user = 0;
|
||||
var pass = 0;
|
||||
|
||||
var proxy = 0;
|
||||
var bypass = 0;
|
||||
var proxy_user = 0;
|
||||
var proxy_pass = 0;
|
||||
|
||||
var certificate = 0;
|
||||
|
||||
var force = true;
|
||||
|
||||
var body = "";
|
||||
|
||||
//ActiveX objects
|
||||
var WinHTTPObj = new ActiveXObject("WinHttp.WinHttpRequest.5.1");
|
||||
var FileSystemObj = new ActiveXObject("Scripting.FileSystemObject");
|
||||
var AdoDBObj = new ActiveXObject("ADODB.Stream");
|
||||
|
||||
// HttpRequest SetCredentials flags.
|
||||
var proxy_settings = 0;
|
||||
|
||||
//
|
||||
HTTPREQUEST_SETCREDENTIALS_FOR_SERVER = 0;
|
||||
HTTPREQUEST_SETCREDENTIALS_FOR_PROXY = 1;
|
||||
|
||||
//timeouts and their default values
|
||||
var RESOLVE_TIMEOUT = 0;
|
||||
var CONNECT_TIMEOUT = 90000;
|
||||
var SEND_TIMEOUT = 90000;
|
||||
var RECEIVE_TIMEOUT = 90000;
|
||||
|
||||
//HttpRequestMethod
|
||||
var http_method = 'GET';
|
||||
|
||||
//header
|
||||
var header_file = "";
|
||||
|
||||
//report
|
||||
var reportfile = "";
|
||||
|
||||
//test-this:
|
||||
var use_stream = false;
|
||||
|
||||
//autologon policy
|
||||
var autologon_policy = 1; //0,1,2
|
||||
|
||||
|
||||
//headers will be stored as multi-dimensional array
|
||||
var headers = [];
|
||||
|
||||
//user-agent
|
||||
var ua = "";
|
||||
|
||||
//escape URL
|
||||
var escape = false;
|
||||
|
||||
function printHelp() {
|
||||
WScript.Echo(scriptName + " - sends HTTP request and saves the request body as a file and/or a report of the sent request");
|
||||
WScript.Echo(scriptName + " url [-force yes|no] [-user username -password password] [-proxy proxyserver:port] [-bypass bypass_list]");
|
||||
WScript.Echo(" [-proxyuser proxy_username -proxypassword proxy_password] [-certificate certificateString]");
|
||||
WScript.Echo(" [-method GET|POST|PATCH|DELETE|HEAD|OPTIONS|CONNECT]");
|
||||
WScript.Echo(" [-saveTo file] - to print response to console use con");
|
||||
|
||||
WScript.Echo(" [-sendTimeout int(milliseconds)]");
|
||||
WScript.Echo(" [-resolveTimeout int(milliseconds)]");
|
||||
WScript.Echo(" [-connectTimeout int(milliseconds)]");
|
||||
WScript.Echo(" [-receiveTimeout int(milliseconds)]");
|
||||
|
||||
WScript.Echo(" [-autologonPolicy 1|2|3]");
|
||||
WScript.Echo(" [-proxySettings 1|2|3] (https://msdn.microsoft.com/en-us/library/windows/desktop/aa384059(v=vs.85).aspx)");
|
||||
|
||||
//header
|
||||
WScript.Echo(" [-headers-file header_file]");
|
||||
//reportfile
|
||||
WScript.Echo(" [-reportfile reportfile]");
|
||||
WScript.Echo(" [-ua user-agent]");
|
||||
WScript.Echo(" [-ua-file user-agent-file]");
|
||||
|
||||
WScript.Echo(" [-escape yes|no]");
|
||||
|
||||
WScript.Echo(" [-body body-string]");
|
||||
WScript.Echo(" [-body-file body-file]");
|
||||
|
||||
WScript.Echo("-force - decide to not or to overwrite if the local files exists");
|
||||
|
||||
WScript.Echo("proxyserver:port - the proxy server");
|
||||
WScript.Echo("bypass- bypass list");
|
||||
WScript.Echo("proxy_user , proxy_password - credentials for proxy server");
|
||||
WScript.Echo("user , password - credentials for the server");
|
||||
WScript.Echo("certificate - location of SSL certificate");
|
||||
WScript.Echo("method - what HTTP method will be used.Default is GET");
|
||||
WScript.Echo("saveTo - save the responce as binary file");
|
||||
WScript.Echo(" ");
|
||||
WScript.Echo("Header file should contain key:value pairs.Lines starting with \"#\" will be ignored.");
|
||||
WScript.Echo("value should NOT be enclosed with quotes");
|
||||
WScript.Echo(" ");
|
||||
WScript.Echo("Examples:");
|
||||
|
||||
WScript.Echo(scriptName + " http://somelink.com/somefile.zip -saveTo c:\\somefile.zip -certificate \"LOCAL_MACHINE\\Personal\\My Middle-Tier Certificate\"");
|
||||
WScript.Echo(scriptName + " http://somelink.com/something.html -method POST -certificate \"LOCAL_MACHINE\\Personal\\My Middle-Tier Certificate\" -header c:\\header_file -reportfile c:\\reportfile.txt");
|
||||
WScript.Echo(scriptName + "\"http://somelink\" -method POST -header hdrs.txt -reportfile reportfile2.txt -saveTo responsefile2 -ua \"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36\" -body-file some.json");
|
||||
|
||||
}
|
||||
|
||||
function parseArgs() {
|
||||
//
|
||||
if (ARGS.Length < 2) {
|
||||
WScript.Echo("insufficient arguments");
|
||||
printHelp();
|
||||
WScript.Quit(43);
|
||||
}
|
||||
// !!!
|
||||
url = ARGS.Item(1);
|
||||
// !!!
|
||||
if (ARGS.Length % 2 != 0) {
|
||||
WScript.Echo("illegal arguments");
|
||||
printHelp();
|
||||
WScript.Quit(44);
|
||||
}
|
||||
|
||||
for (var i = 2; i < ARGS.Length - 1; i = i + 2) {
|
||||
var arg = ARGS.Item(i).toLowerCase();
|
||||
var next = ARGS.Item(i + 1);
|
||||
|
||||
|
||||
try {
|
||||
switch (arg) { // the try-catch is set mainly because of the parseInts
|
||||
case "-force":
|
||||
if (next == "no") {
|
||||
force = false;
|
||||
}
|
||||
break;
|
||||
case "-escape":
|
||||
if (next == "yes") {
|
||||
escape = true;
|
||||
}
|
||||
break;
|
||||
case "-saveto":
|
||||
saveTo = next;
|
||||
break;
|
||||
case "-user":
|
||||
case "-u":
|
||||
user = next;
|
||||
break;
|
||||
case "-pass":
|
||||
case "-password":
|
||||
case "-p":
|
||||
pass = next;
|
||||
break;
|
||||
case "-proxy":
|
||||
proxy = next;
|
||||
break;
|
||||
case "-bypass":
|
||||
bypass = next;
|
||||
break;
|
||||
case "-proxyuser":
|
||||
case "-pu":
|
||||
proxy_user = next;
|
||||
break;
|
||||
case "-proxypassword":
|
||||
case "-pp":
|
||||
proxy_pass = next;
|
||||
break;
|
||||
case "-ua":
|
||||
ua = next;
|
||||
break;
|
||||
case "-ua-file":
|
||||
ua = readFile(next);
|
||||
break;
|
||||
case "-body":
|
||||
body = next;
|
||||
break;
|
||||
case "-usestream":
|
||||
//WScript.Echo("~~");
|
||||
if (next.toLowerCase() === "yes") {
|
||||
use_stream = true
|
||||
};
|
||||
break;
|
||||
case "-body-file":
|
||||
body = readFile(next);
|
||||
break;
|
||||
case "-certificate":
|
||||
certificate = next;
|
||||
break;
|
||||
case "-method":
|
||||
switch (next.toLowerCase()) {
|
||||
case "post":
|
||||
http_method = 'POST';
|
||||
break;
|
||||
case "get":
|
||||
http_method = 'GET';
|
||||
break;
|
||||
case "head":
|
||||
http_method = 'HEAD';
|
||||
break;
|
||||
case "put":
|
||||
http_method = 'PUT';
|
||||
break;
|
||||
case "options":
|
||||
http_method = 'OPTIONS';
|
||||
break;
|
||||
case "connect":
|
||||
http_method = 'CONNECT';
|
||||
break;
|
||||
case "patch":
|
||||
http_method = 'PATCH';
|
||||
break;
|
||||
case "delete":
|
||||
http_method = 'DELETE';
|
||||
break;
|
||||
default:
|
||||
WScript.Echo("Invalid http method passed " + next);
|
||||
WScript.Echo("possible values are GET,POST,DELETE,PUT,CONNECT,PATCH,HEAD,OPTIONS");
|
||||
WScript.Quit(1326);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case "-headers-file":
|
||||
case "-header":
|
||||
headers = readPropFile(next);
|
||||
break;
|
||||
case "-reportfile":
|
||||
reportfile = next;
|
||||
break;
|
||||
//timeouts
|
||||
case "-sendtimeout":
|
||||
SEND_TIMEOUT = parseInt(next);
|
||||
break;
|
||||
case "-connecttimeout":
|
||||
CONNECT_TIMEOUT = parseint(next);
|
||||
break;
|
||||
case "-resolvetimeout":
|
||||
RESOLVE_TIMEOUT = parseInt(next);
|
||||
break;
|
||||
case "-receivetimeout":
|
||||
RECEIVE_TIMEOUT = parseInt(next);
|
||||
break;
|
||||
|
||||
case "-autologonpolicy":
|
||||
autologon_policy = parseInt(next);
|
||||
if (autologon_policy > 2 || autologon_policy < 0) {
|
||||
WScript.Echo("out of autologon policy range");
|
||||
WScript.Quit(87);
|
||||
};
|
||||
break;
|
||||
case "-proxysettings":
|
||||
proxy_settings = parseInt(next);
|
||||
if (proxy_settings > 2 || proxy_settings < 0) {
|
||||
WScript.Echo("out of proxy settings range");
|
||||
WScript.Quit(87);
|
||||
};
|
||||
break;
|
||||
default:
|
||||
WScript.Echo("Invalid command line switch: " + arg);
|
||||
WScript.Quit(1405);
|
||||
break;
|
||||
}
|
||||
} catch (err) {
|
||||
WScript.Echo(err.message);
|
||||
WScript.Quit(1348);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stripTrailingSlash = function(path) {
|
||||
while (path.substr(path.length - 1, path.length) == '\\') {
|
||||
path = path.substr(0, path.length - 1);
|
||||
}
|
||||
return path;
|
||||
}
|
||||
|
||||
function existsItem(path) {
|
||||
return FileSystemObj.FolderExists(path) || FileSystemObj.FileExists(path);
|
||||
}
|
||||
|
||||
function deleteItem(path) {
|
||||
if (FileSystemObj.FileExists(path)) {
|
||||
FileSystemObj.DeleteFile(path);
|
||||
return true;
|
||||
} else if (FileSystemObj.FolderExists(path)) {
|
||||
FileSystemObj.DeleteFolder(stripTrailingSlash(path));
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
//-------------------------------
|
||||
//----------------------
|
||||
//----------
|
||||
//-----
|
||||
//--
|
||||
function request(url) {
|
||||
|
||||
try {
|
||||
|
||||
WinHTTPObj.Open(http_method, url, false);
|
||||
if (proxy != 0 && bypass != 0) {
|
||||
WinHTTPObj.SetProxy(proxy_settings, proxy, bypass);
|
||||
}
|
||||
|
||||
if (proxy != 0) {
|
||||
WinHTTPObj.SetProxy(proxy_settings, proxy);
|
||||
}
|
||||
|
||||
if (user != 0 && pass != 0) {
|
||||
WinHTTPObj.SetCredentials(user, pass, HTTPREQUEST_SETCREDENTIALS_FOR_SERVER);
|
||||
}
|
||||
|
||||
if (proxy_user != 0 && proxy_pass != 0) {
|
||||
WinHTTPObj.SetCredentials(proxy_user, proxy_pass, HTTPREQUEST_SETCREDENTIALS_FOR_PROXY);
|
||||
}
|
||||
|
||||
if (certificate != 0) {
|
||||
WinHTTPObj.SetClientCertificate(certificate);
|
||||
}
|
||||
|
||||
//set autologin policy
|
||||
WinHTTPObj.SetAutoLogonPolicy(autologon_policy);
|
||||
//set timeouts
|
||||
WinHTTPObj.SetTimeouts(RESOLVE_TIMEOUT, CONNECT_TIMEOUT, SEND_TIMEOUT, RECEIVE_TIMEOUT);
|
||||
|
||||
if (headers.length !== 0) {
|
||||
WScript.Echo("Sending with headers:");
|
||||
for (var i = 0; i < headers.length; i++) {
|
||||
WinHTTPObj.SetRequestHeader(headers[i][0], headers[i][1]);
|
||||
WScript.Echo(headers[i][0] + ":" + headers[i][1]);
|
||||
}
|
||||
WScript.Echo("");
|
||||
}
|
||||
|
||||
if (ua !== "") {
|
||||
//user-agent option from:
|
||||
//WinHttpRequestOption enumeration
|
||||
// other options can be added like bellow
|
||||
//https://msdn.microsoft.com/en-us/library/windows/desktop/aa384108(v=vs.85).aspx
|
||||
WinHTTPObj.Option(0) = ua;
|
||||
}
|
||||
if (escape) {
|
||||
WinHTTPObj.Option(3) = true;
|
||||
}
|
||||
if (trim(body) === "") {
|
||||
WinHTTPObj.Send();
|
||||
} else {
|
||||
WinHTTPObj.Send(body);
|
||||
}
|
||||
|
||||
var status = WinHTTPObj.Status
|
||||
} catch (err) {
|
||||
WScript.Echo(err.message);
|
||||
WScript.Quit(666);
|
||||
}
|
||||
|
||||
////////////////////////
|
||||
// report //
|
||||
////////////////////////
|
||||
|
||||
if (reportfile != "") {
|
||||
|
||||
//var report_string="";
|
||||
var n = "\r\n";
|
||||
var report_string = "Status:" + n;
|
||||
report_string = report_string + " " + WinHTTPObj.Status;
|
||||
report_string = report_string + " " + WinHTTPObj.StatusText + n;
|
||||
report_string = report_string + " " + n;
|
||||
report_string = report_string + "Response:" + n;
|
||||
report_string = report_string + WinHTTPObj.ResponseText + n;
|
||||
report_string = report_string + " " + n;
|
||||
report_string = report_string + "Headers:" + n;
|
||||
report_string = report_string + WinHTTPObj.GetAllResponseHeaders() + n;
|
||||
|
||||
WinHttpRequestOption_UserAgentString = 0; // Name of the user agent
|
||||
WinHttpRequestOption_URL = 1; // Current URL
|
||||
WinHttpRequestOption_URLCodePage = 2; // Code page
|
||||
WinHttpRequestOption_EscapePercentInURL = 3; // Convert percents
|
||||
// in the URL
|
||||
// rest of the options can be seen and eventually added using this as reference
|
||||
// https://msdn.microsoft.com/en-us/library/windows/desktop/aa384108(v=vs.85).aspx
|
||||
|
||||
report_string = report_string + "URL:" + n;
|
||||
report_string = report_string + WinHTTPObj.Option(WinHttpRequestOption_URL) + n;
|
||||
|
||||
report_string = report_string + "URL Code Page:" + n;
|
||||
report_string = report_string + WinHTTPObj.Option(WinHttpRequestOption_URLCodePage) + n;
|
||||
|
||||
report_string = report_string + "User Agent:" + n;
|
||||
report_string = report_string + WinHTTPObj.Option(WinHttpRequestOption_UserAgentString) + n;
|
||||
|
||||
report_string = report_string + "Escapped URL:" + n;
|
||||
report_string = report_string + WinHTTPObj.Option(WinHttpRequestOption_EscapePercentInURL) + n;
|
||||
|
||||
prepareateFile(force, reportfile);
|
||||
|
||||
WScript.Echo("Writing report to " + reportfile);
|
||||
|
||||
writeFile(reportfile, report_string);
|
||||
|
||||
}
|
||||
|
||||
switch (status) {
|
||||
case 200:
|
||||
WScript.Echo("Status: 200 OK");
|
||||
break;
|
||||
default:
|
||||
WScript.Echo("Status: " + status);
|
||||
WScript.Echo("Status was not OK. More info -> https://en.wikipedia.org/wiki/List_of_HTTP_status_codes");
|
||||
}
|
||||
|
||||
//if as binary
|
||||
if (saveTo.toLowerCase() === "con") {
|
||||
WScript.Echo(WinHTTPObj.ResponseText);
|
||||
}
|
||||
if (saveTo !== "" && saveTo.toLowerCase() !== "con") {
|
||||
prepareateFile(force, saveTo);
|
||||
try {
|
||||
|
||||
if (use_stream) {
|
||||
writeBinFile(saveTo, WinHTTPObj.ResponseStream);
|
||||
} else {
|
||||
writeBinFile(saveTo, WinHTTPObj.ResponseBody);
|
||||
}
|
||||
|
||||
} catch (err) {
|
||||
WScript.Echo("Failed to save the file as binary.Attempt to save it as text");
|
||||
AdoDBObj.Close();
|
||||
prepareateFile(true, saveTo);
|
||||
writeFile(saveTo, WinHTTPObj.ResponseText);
|
||||
}
|
||||
}
|
||||
WScript.Quit(status);
|
||||
}
|
||||
|
||||
//--
|
||||
//-----
|
||||
//----------
|
||||
//----------------------
|
||||
//-------------------------------
|
||||
|
||||
function prepareateFile(force, file) {
|
||||
if (force && existsItem(file)) {
|
||||
if (!deleteItem(file)) {
|
||||
WScript.Echo("Unable to delete " + file);
|
||||
WScript.Quit(8);
|
||||
}
|
||||
} else if (existsItem(file)) {
|
||||
WScript.Echo("Item " + file + " already exist");
|
||||
WScript.Quit(9);
|
||||
}
|
||||
}
|
||||
|
||||
function writeBinFile(fileName, data) {
|
||||
AdoDBObj.Type = 1;
|
||||
AdoDBObj.Open();
|
||||
AdoDBObj.Position = 0;
|
||||
AdoDBObj.Write(data);
|
||||
AdoDBObj.SaveToFile(fileName, 2);
|
||||
AdoDBObj.Close();
|
||||
}
|
||||
|
||||
function writeFile(fileName, data) {
|
||||
AdoDBObj.Type = 2;
|
||||
AdoDBObj.CharSet = "iso-8859-1";
|
||||
AdoDBObj.Open();
|
||||
AdoDBObj.Position = 0;
|
||||
AdoDBObj.WriteText(data);
|
||||
AdoDBObj.SaveToFile(fileName, 2);
|
||||
AdoDBObj.Close();
|
||||
}
|
||||
|
||||
|
||||
function readFile(fileName) {
|
||||
//check existence
|
||||
try {
|
||||
if (!FileSystemObj.FileExists(fileName)) {
|
||||
WScript.Echo("file " + fileName + " does not exist!");
|
||||
WScript.Quit(13);
|
||||
}
|
||||
if (FileSystemObj.GetFile(fileName).Size === 0) {
|
||||
return "";
|
||||
}
|
||||
var fileR = FileSystemObj.OpenTextFile(fileName, 1);
|
||||
var content = fileR.ReadAll();
|
||||
fileR.Close();
|
||||
return content;
|
||||
} catch (err) {
|
||||
WScript.Echo("Error while reading file: " + fileName);
|
||||
WScript.Echo(err.message);
|
||||
WScript.Echo("Will return empty string");
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
function readPropFile(fileName) {
|
||||
//check existence
|
||||
resultArray = [];
|
||||
if (!FileSystemObj.FileExists(fileName)) {
|
||||
WScript.Echo("(headers)file " + fileName + " does not exist!");
|
||||
WScript.Quit(15);
|
||||
}
|
||||
if (FileSystemObj.GetFile(fileName).Size === 0) {
|
||||
return resultArray;
|
||||
}
|
||||
var fileR = FileSystemObj.OpenTextFile(fileName, 1);
|
||||
var line = "";
|
||||
var k = "";
|
||||
var v = "";
|
||||
var lineN = 0;
|
||||
var index = 0;
|
||||
try {
|
||||
WScript.Echo("parsing headers form " + fileName + " property file ");
|
||||
while (!fileR.AtEndOfStream) {
|
||||
line = fileR.ReadLine();
|
||||
lineN++;
|
||||
index = line.indexOf(":");
|
||||
if (line.indexOf("#") === 0 || trim(line) === "") {
|
||||
continue;
|
||||
}
|
||||
if (index === -1 || index === line.length - 1 || index === 0) {
|
||||
WScript.Echo("Invalid line " + lineN);
|
||||
WScript.Quit(93);
|
||||
}
|
||||
k = trim(line.substring(0, index));
|
||||
v = trim(line.substring(index + 1, line.length));
|
||||
resultArray.push([k, v]);
|
||||
}
|
||||
fileR.Close();
|
||||
return resultArray;
|
||||
} catch (err) {
|
||||
WScript.Echo("Error while reading headers file: " + fileName);
|
||||
WScript.Echo(err.message);
|
||||
WScript.Echo("Will return empty array");
|
||||
return resultArray;
|
||||
}
|
||||
}
|
||||
|
||||
function trim(str) {
|
||||
return str.replace(/^\s+/, '').replace(/\s+$/, '');
|
||||
}
|
||||
|
||||
function main() {
|
||||
parseArgs();
|
||||
request(url);
|
||||
}
|
||||
main();
|
9
build_scripts/Windows/build_libs/_env.bat
Normal file
9
build_scripts/Windows/build_libs/_env.bat
Normal file
@ -0,0 +1,9 @@
|
||||
set CurPath=%~dp0
|
||||
set DownloadPath=%CurPath%download
|
||||
set ToolsPath=%CurPath%tools
|
||||
set TempPath=%CurPath%tmp
|
||||
set MSYSPath=%CurPath%msys
|
||||
set LibsPath=%CurPath%libs
|
||||
|
||||
set CurlExe=%ToolsPath%\curl.exe
|
||||
set SevenZipExe=%ToolsPath%\7z.exe
|
30
build_scripts/Windows/build_libs/clean-all.bat
Normal file
30
build_scripts/Windows/build_libs/clean-all.bat
Normal file
@ -0,0 +1,30 @@
|
||||
@setlocal
|
||||
|
||||
@echo off
|
||||
|
||||
:: Initialize environment
|
||||
call "%~dp0_env.bat"
|
||||
|
||||
::call :remove_dir "%DownloadPath%"
|
||||
call :remove_dir "%MSYSPath%"
|
||||
call :remove_dir "%TempPath%"
|
||||
|
||||
call :remove_file "%ToolsPath%\7z.exe"
|
||||
call :remove_file "%ToolsPath%\7z.dll"
|
||||
call :remove_file "%ToolsPath%\curl.exe"
|
||||
|
||||
call "%~dp0clean.bat"
|
||||
|
||||
endlocal
|
||||
exit /B 0
|
||||
|
||||
:remove_dir
|
||||
if not exist %1 goto :EOF
|
||||
del /s /f /q %1 >nul
|
||||
rmdir /s /q %1
|
||||
goto :EOF
|
||||
|
||||
:remove_file
|
||||
if not exist %1 goto :EOF
|
||||
del /q %1 >nul
|
||||
goto :EOF
|
36
build_scripts/Windows/build_libs/clean.bat
Normal file
36
build_scripts/Windows/build_libs/clean.bat
Normal file
@ -0,0 +1,36 @@
|
||||
@setlocal
|
||||
|
||||
@echo off
|
||||
|
||||
:: Initialize environment
|
||||
call "%~dp0_env.bat"
|
||||
|
||||
call :remove_dir "%LibsPath%"
|
||||
|
||||
call :remove_file "%CurPath%bzip2"
|
||||
call :remove_file "%CurPath%curl"
|
||||
call :remove_file "%CurPath%ffmpeg"
|
||||
call :remove_file "%CurPath%libmicrohttpd"
|
||||
call :remove_file "%CurPath%libxml2"
|
||||
call :remove_file "%CurPath%libxslt"
|
||||
call :remove_file "%CurPath%miniupnpc"
|
||||
call :remove_file "%CurPath%opencv"
|
||||
call :remove_file "%CurPath%openssl"
|
||||
call :remove_file "%CurPath%speex"
|
||||
call :remove_file "%CurPath%speexdsp"
|
||||
call :remove_file "%CurPath%sqlcipher"
|
||||
call :remove_file "%CurPath%zlib"
|
||||
|
||||
endlocal
|
||||
exit /B 0
|
||||
|
||||
:remove_dir
|
||||
if not exist %1 goto :EOF
|
||||
del /s /f /q %1 >nul
|
||||
rmdir /s /q %1
|
||||
goto :EOF
|
||||
|
||||
:remove_file
|
||||
if not exist %1 goto :EOF
|
||||
del /q %1 >nul
|
||||
goto :EOF
|
BIN
build_scripts/Windows/build_libs/libxslt-1.1.28-fix.tar.gz
Executable file
BIN
build_scripts/Windows/build_libs/libxslt-1.1.28-fix.tar.gz
Executable file
Binary file not shown.
16
build_scripts/Windows/build_libs/update-msys.bat
Normal file
16
build_scripts/Windows/build_libs/update-msys.bat
Normal file
@ -0,0 +1,16 @@
|
||||
@setlocal
|
||||
|
||||
@echo off
|
||||
|
||||
:: Initialize environment
|
||||
call "%~dp0_env.bat"
|
||||
|
||||
if not exist "%MSYSPath%\bin\mingw-get.exe" exit /B 0
|
||||
|
||||
echo Update MSYS
|
||||
pushd "%MSYSPath%\bin"
|
||||
mingw-get.exe update
|
||||
mingw-get.exe upgrade
|
||||
popd
|
||||
|
||||
exit /B %ERRORLEVEL%
|
29
build_scripts/Windows/lang/ca_ES.nsh
Normal file
29
build_scripts/Windows/lang/ca_ES.nsh
Normal file
@ -0,0 +1,29 @@
|
||||
!insertmacro LANG_STRING Section_Main "${APPNAME}"
|
||||
!insertmacro LANG_STRING Section_Main_Desc "Instal·la ${APPNAME} i els components necessaris."
|
||||
!insertmacro LANG_STRING Section_Data "Pells"
|
||||
!insertmacro LANG_STRING Section_Data_Desc "Instal·la pells."
|
||||
!insertmacro LANG_STRING Section_Shortcuts "Icones d'accés directe"
|
||||
!insertmacro LANG_STRING Section_Shortcuts_Desc "Afegir icones d'accés directe."
|
||||
!insertmacro LANG_STRING Section_StartMenu "Icona del menú d'inici"
|
||||
!insertmacro LANG_STRING Section_StartMenu_Desc "Afegir icona en el menú d'inici"
|
||||
!insertmacro LANG_STRING Section_Desktop "Icona d'escriptori"
|
||||
!insertmacro LANG_STRING Section_Desktop_Desc "Afegir icona a l'escriptori"
|
||||
!insertmacro LANG_STRING Section_QuickLaunch "Icona de la barra ràpida d'accés"
|
||||
!insertmacro LANG_STRING Section_QuickLaunch_Desc "Afegir icona a la barra ràpida d'accés"
|
||||
!insertmacro LANG_STRING Section_Plugins "Complements opcionals"
|
||||
!insertmacro LANG_STRING Section_Plugins_Desc "Components opcionals per afegir funcionalitat."
|
||||
!insertmacro LANG_STRING Section_Plugin_FeedReader "LectorFonts"
|
||||
!insertmacro LANG_STRING Section_Plugin_FeedReader_Desc "Instal·lar complement LectorFonts."
|
||||
!insertmacro LANG_STRING Section_Plugin_LinksCloud "NúvolEnllaços"
|
||||
!insertmacro LANG_STRING Section_Plugin_LinksCloud_Desc "Instal·lar complement NúvolEnllaços."
|
||||
!insertmacro LANG_STRING Section_Plugin_VOIP "VeuIP"
|
||||
!insertmacro LANG_STRING Section_Plugin_VOIP_Desc "Instal·lar complement VeuIP."
|
||||
!insertmacro LANG_STRING Section_AutoStart "Posada en marxa automàtica"
|
||||
!insertmacro LANG_STRING Section_AutoStart_Desc "Autoengegar al arrencar."
|
||||
!insertmacro LANG_STRING Page_InstallMode "Mode instal·lació"
|
||||
!insertmacro LANG_STRING Page_InstallMode_Desc "Escull com vols instal·lar ${APPNAME}."
|
||||
!insertmacro LANG_STRING Page_InstallMode_Standard "Instal·lació e&stàndard"
|
||||
!insertmacro LANG_STRING Page_InstallMode_Standard_Desc "Instal·la ${APPNAME} per la sessió d'usuari actual."
|
||||
!insertmacro LANG_STRING Page_InstallMode_Portable "Instal·lació &portable."
|
||||
!insertmacro LANG_STRING Page_InstallMode_Portable_Desc "En mode portable les dades de configuració s'emmagatzemen a la carpeta d'aplicació i no s'escriu informació al registre del sistema."
|
||||
!insertmacro LANG_STRING Link_Uninstall "Desinstal·lar."
|
29
build_scripts/Windows/lang/de.nsh
Normal file
29
build_scripts/Windows/lang/de.nsh
Normal file
@ -0,0 +1,29 @@
|
||||
!insertmacro LANG_STRING Section_Main "${APPNAME}"
|
||||
!insertmacro LANG_STRING Section_Main_Desc "Installiert ${APPNAME} und die benötigten Komponenten."
|
||||
!insertmacro LANG_STRING Section_Data "Skins"
|
||||
!insertmacro LANG_STRING Section_Data_Desc "Skins installieren."
|
||||
!insertmacro LANG_STRING Section_Shortcuts "Verknüpfungssymbole"
|
||||
!insertmacro LANG_STRING Section_Shortcuts_Desc "Verküpfungssymbole hinzufügen."
|
||||
!insertmacro LANG_STRING Section_StartMenu "Startmenüsymbol"
|
||||
!insertmacro LANG_STRING Section_StartMenu_Desc "Fügt Symbol zum Startmenü hinzu."
|
||||
!insertmacro LANG_STRING Section_Desktop "Desktopsymbol"
|
||||
!insertmacro LANG_STRING Section_Desktop_Desc "Fügt Symbol zum Desktop hinzu."
|
||||
!insertmacro LANG_STRING Section_QuickLaunch "Schnellstartsymbol"
|
||||
!insertmacro LANG_STRING Section_QuickLaunch_Desc "Fügt Symbol zur Schnellstartleiste hinzu."
|
||||
!insertmacro LANG_STRING Section_Plugins "Optionale Plug-ins"
|
||||
!insertmacro LANG_STRING Section_Plugins_Desc "Optionale Plug-ins zum Erweitern der Funktionalität."
|
||||
!insertmacro LANG_STRING Section_Plugin_FeedReader "FeedReader"
|
||||
!insertmacro LANG_STRING Section_Plugin_FeedReader_Desc "Installiert das Plug-in Feedreader."
|
||||
!insertmacro LANG_STRING Section_Plugin_LinksCloud "Verknüpfungswolke"
|
||||
!insertmacro LANG_STRING Section_Plugin_LinksCloud_Desc "Installiert das Plug-in Verknüpfungswolke."
|
||||
!insertmacro LANG_STRING Section_Plugin_VOIP "VOIP"
|
||||
!insertmacro LANG_STRING Section_Plugin_VOIP_Desc "Installiert das Plug-in VOIP"
|
||||
!insertmacro LANG_STRING Section_AutoStart "Automatischer Programmstart"
|
||||
!insertmacro LANG_STRING Section_AutoStart_Desc "Beim Start automatisch ausführen."
|
||||
!insertmacro LANG_STRING Page_InstallMode "Installationsmodus"
|
||||
!insertmacro LANG_STRING Page_InstallMode_Desc "Wähle wie du ${APPNAME} installieren willst."
|
||||
!insertmacro LANG_STRING Page_InstallMode_Standard "&Standardinstallation"
|
||||
!insertmacro LANG_STRING Page_InstallMode_Standard_Desc "Installiere ${APPNAME} für den derzeitigen Benutzer dieses Geräts."
|
||||
!insertmacro LANG_STRING Page_InstallMode_Portable "&Portable Installation"
|
||||
!insertmacro LANG_STRING Page_InstallMode_Portable_Desc "Im portablen Modus werden alle Konfigurationsdaten im Verzeichnis der Anwendung gespeichert und keine Informationen in der Registry abgelegt."
|
||||
!insertmacro LANG_STRING Link_Uninstall "Deinstallieren"
|
29
build_scripts/Windows/lang/en.nsh
Normal file
29
build_scripts/Windows/lang/en.nsh
Normal file
@ -0,0 +1,29 @@
|
||||
!insertmacro LANG_STRING Section_Main "${APPNAME}"
|
||||
!insertmacro LANG_STRING Section_Main_Desc "Installs ${APPNAME} and required components."
|
||||
!insertmacro LANG_STRING Section_Data "Skins"
|
||||
!insertmacro LANG_STRING Section_Data_Desc "Installs skins."
|
||||
!insertmacro LANG_STRING Section_Shortcuts "Shortcut icons"
|
||||
!insertmacro LANG_STRING Section_Shortcuts_Desc "Adds shortcut icons."
|
||||
!insertmacro LANG_STRING Section_StartMenu "Start Menu icon"
|
||||
!insertmacro LANG_STRING Section_StartMenu_Desc "Adds icon to start menu."
|
||||
!insertmacro LANG_STRING Section_Desktop "Desktop icon"
|
||||
!insertmacro LANG_STRING Section_Desktop_Desc "Adds icon to desktop."
|
||||
!insertmacro LANG_STRING Section_QuickLaunch "Quick Launch icon"
|
||||
!insertmacro LANG_STRING Section_QuickLaunch_Desc "Adds icon to Quick Launch toolbar."
|
||||
!insertmacro LANG_STRING Section_Plugins "Optional plugins"
|
||||
!insertmacro LANG_STRING Section_Plugins_Desc "Optional plugins to extend functionality."
|
||||
!insertmacro LANG_STRING Section_Plugin_FeedReader "FeedReader"
|
||||
!insertmacro LANG_STRING Section_Plugin_FeedReader_Desc "Installs plugin FeedReader."
|
||||
!insertmacro LANG_STRING Section_Plugin_VOIP "VOIP"
|
||||
!insertmacro LANG_STRING Section_Plugin_VOIP_Desc "Installs plugin VOIP."
|
||||
;!insertmacro LANG_STRING Section_Link "File Association"
|
||||
;!insertmacro LANG_STRING Section_Link_Desc "Associate ${APPNAME} with .pqi file extension."
|
||||
!insertmacro LANG_STRING Section_AutoStart "Auto Startup"
|
||||
!insertmacro LANG_STRING Section_AutoStart_Desc "Auto-Run at startup."
|
||||
!insertmacro LANG_STRING Page_InstallMode "Installation Mode"
|
||||
!insertmacro LANG_STRING Page_InstallMode_Desc "Choose how you want to install ${APPNAME}."
|
||||
!insertmacro LANG_STRING Page_InstallMode_Standard "&Standard installation"
|
||||
!insertmacro LANG_STRING Page_InstallMode_Standard_Desc "Install ${APPNAME} for the current user of this machine."
|
||||
!insertmacro LANG_STRING Page_InstallMode_Portable "&Portable installation"
|
||||
!insertmacro LANG_STRING Page_InstallMode_Portable_Desc "In portable mode all configuration data is stored in the application folder and no information is written to the registry."
|
||||
!insertmacro LANG_STRING Link_Uninstall "Uninstall"
|
29
build_scripts/Windows/lang/es.nsh
Normal file
29
build_scripts/Windows/lang/es.nsh
Normal file
@ -0,0 +1,29 @@
|
||||
!insertmacro LANG_STRING Section_Main "${APPNAME}"
|
||||
!insertmacro LANG_STRING Section_Main_Desc "Instala ${APPNAME} y los componentes requeridos."
|
||||
!insertmacro LANG_STRING Section_Data "Coberturas (skins)"
|
||||
!insertmacro LANG_STRING Section_Data_Desc "Instalar coberturas"
|
||||
!insertmacro LANG_STRING Section_Shortcuts "Iconos de accesos directos"
|
||||
!insertmacro LANG_STRING Section_Shortcuts_Desc "Añade iconos de accesos directos."
|
||||
!insertmacro LANG_STRING Section_StartMenu "Icono de menú de inicio"
|
||||
!insertmacro LANG_STRING Section_StartMenu_Desc "Añade icono al menú de inicio."
|
||||
!insertmacro LANG_STRING Section_Desktop "Icono del escritorio"
|
||||
!insertmacro LANG_STRING Section_Desktop_Desc "Añade icono al escritorio"
|
||||
!insertmacro LANG_STRING Section_QuickLaunch "Icono de inicio rápido"
|
||||
!insertmacro LANG_STRING Section_QuickLaunch_Desc "Añade icono a la Barra de Inicio Rápido"
|
||||
!insertmacro LANG_STRING Section_Plugins "Complementos opcionales"
|
||||
!insertmacro LANG_STRING Section_Plugins_Desc "Complementos opcionales para expandir la funcionalidad."
|
||||
!insertmacro LANG_STRING Section_Plugin_FeedReader "FeedReader"
|
||||
!insertmacro LANG_STRING Section_Plugin_FeedReader_Desc "Instala el complemento FeedReader."
|
||||
!insertmacro LANG_STRING Section_Plugin_LinksCloud "LinksCloud"
|
||||
!insertmacro LANG_STRING Section_Plugin_LinksCloud_Desc "Instala el complemento LinksCloud."
|
||||
!insertmacro LANG_STRING Section_Plugin_VOIP "VOIP"
|
||||
!insertmacro LANG_STRING Section_Plugin_VOIP_Desc "Instala el complemento VOIP"
|
||||
!insertmacro LANG_STRING Section_AutoStart "Auto iniciar"
|
||||
!insertmacro LANG_STRING Section_AutoStart_Desc "Auto-ejecutar al incio."
|
||||
!insertmacro LANG_STRING Page_InstallMode "Modo de instalación"
|
||||
!insertmacro LANG_STRING Page_InstallMode_Desc "Elija cómo quiere instalar ${APPNAME}."
|
||||
!insertmacro LANG_STRING Page_InstallMode_Standard "Instalación &Estándar"
|
||||
!insertmacro LANG_STRING Page_InstallMode_Standard_Desc "Instalar ${APPNAME} para el usuario actual de esta máquina."
|
||||
!insertmacro LANG_STRING Page_InstallMode_Portable "Instalación &Portable"
|
||||
!insertmacro LANG_STRING Page_InstallMode_Portable_Desc "En modo portable, todos los datos de configuración se almacenan en la carpeta de la aplicación y no se escribe ninguna información en el registro."
|
||||
!insertmacro LANG_STRING Link_Uninstall "Desinstalar"
|
29
build_scripts/Windows/lang/fr.nsh
Normal file
29
build_scripts/Windows/lang/fr.nsh
Normal file
@ -0,0 +1,29 @@
|
||||
!insertmacro LANG_STRING Section_Main "${APPNAME}"
|
||||
!insertmacro LANG_STRING Section_Main_Desc "Installe ${APPNAME} et les composants requis."
|
||||
!insertmacro LANG_STRING Section_Data "Habillages"
|
||||
!insertmacro LANG_STRING Section_Data_Desc "Installe des habillages."
|
||||
!insertmacro LANG_STRING Section_Shortcuts "Icônes de raccourci"
|
||||
!insertmacro LANG_STRING Section_Shortcuts_Desc "Ajoute les icônes de raccourci."
|
||||
!insertmacro LANG_STRING Section_StartMenu "Icône de menu démarrage"
|
||||
!insertmacro LANG_STRING Section_StartMenu_Desc "Ajoute l'icône au menu démarrer."
|
||||
!insertmacro LANG_STRING Section_Desktop "Icônes de bureau"
|
||||
!insertmacro LANG_STRING Section_Desktop_Desc "Ajoute l'icône sur le bureau."
|
||||
!insertmacro LANG_STRING Section_QuickLaunch "Icône de lancement rapide"
|
||||
!insertmacro LANG_STRING Section_QuickLaunch_Desc "Ajoute une icône à la barre d'outils de lancement rapide."
|
||||
!insertmacro LANG_STRING Section_Plugins "Plug-ins optionnels"
|
||||
!insertmacro LANG_STRING Section_Plugins_Desc "Plug-ins optionnels destinés à étendre les fonctionnalités."
|
||||
!insertmacro LANG_STRING Section_Plugin_FeedReader "FeedReader"
|
||||
!insertmacro LANG_STRING Section_Plugin_FeedReader_Desc "Installe le plug-in FeedReader."
|
||||
!insertmacro LANG_STRING Section_Plugin_LinksCloud "LinksCloud"
|
||||
!insertmacro LANG_STRING Section_Plugin_LinksCloud_Desc "Installe le plug-in LinksCloud."
|
||||
!insertmacro LANG_STRING Section_Plugin_VOIP "VOIP"
|
||||
!insertmacro LANG_STRING Section_Plugin_VOIP_Desc "Installe le plug-in VOIP."
|
||||
!insertmacro LANG_STRING Section_AutoStart "Démarrage automatique"
|
||||
!insertmacro LANG_STRING Section_AutoStart_Desc "Démarrage automatique au démarrage."
|
||||
!insertmacro LANG_STRING Page_InstallMode "Mode d'installation"
|
||||
!insertmacro LANG_STRING Page_InstallMode_Desc "Choisissez comment vous voulez installer ${APPNAME}."
|
||||
!insertmacro LANG_STRING Page_InstallMode_Standard "&Installation standard"
|
||||
!insertmacro LANG_STRING Page_InstallMode_Standard_Desc "Installer ${APPNAME} pour l'utilisateur actuel de cette machine."
|
||||
!insertmacro LANG_STRING Page_InstallMode_Portable "&Installation portable"
|
||||
!insertmacro LANG_STRING Page_InstallMode_Portable_Desc "En mode portable toutes les données de configuration sont stockées dans le dossier de l'application et aucune information n'est écrite dans la base de registre."
|
||||
!insertmacro LANG_STRING Link_Uninstall "Désinstaller"
|
29
build_scripts/Windows/lang/pl.nsh
Normal file
29
build_scripts/Windows/lang/pl.nsh
Normal file
@ -0,0 +1,29 @@
|
||||
!insertmacro LANG_STRING Section_Main "${APPNAME}"
|
||||
!insertmacro LANG_STRING Section_Main_Desc "Instaluje ${APPNAME} oraz wymagane komponenty."
|
||||
!insertmacro LANG_STRING Section_Data "Skórki"
|
||||
!insertmacro LANG_STRING Section_Data_Desc "Instaluje skórki."
|
||||
!insertmacro LANG_STRING Section_Shortcuts "Ikony skrótów"
|
||||
!insertmacro LANG_STRING Section_Shortcuts_Desc "Dodaje skróty ikon."
|
||||
!insertmacro LANG_STRING Section_StartMenu "Start Menu icon"
|
||||
!insertmacro LANG_STRING Section_StartMenu_Desc "Dodaje ikonę do menu start."
|
||||
!insertmacro LANG_STRING Section_Desktop "Ikona na pulpicie"
|
||||
!insertmacro LANG_STRING Section_Desktop_Desc "Dodawanie ikony na pulpicie"
|
||||
!insertmacro LANG_STRING Section_QuickLaunch "Ikona szybkiego uruchamiania"
|
||||
!insertmacro LANG_STRING Section_QuickLaunch_Desc "Dodaje ikonę do paska Szybkiego Uruchamiania."
|
||||
!insertmacro LANG_STRING Section_Plugins "Wtyczki opcjonalne"
|
||||
!insertmacro LANG_STRING Section_Plugins_Desc "Wtyczki opcjonalne rozszerzające funkcjonalność."
|
||||
!insertmacro LANG_STRING Section_Plugin_FeedReader "FeedReader"
|
||||
!insertmacro LANG_STRING Section_Plugin_FeedReader_Desc "Instaluje wtyczki FeedReader"
|
||||
!insertmacro LANG_STRING Section_Plugin_LinksCloud "LinksCloud"
|
||||
!insertmacro LANG_STRING Section_Plugin_LinksCloud_Desc "Instaluje wtyczki LinksCloud."
|
||||
!insertmacro LANG_STRING Section_Plugin_VOIP "VOIP"
|
||||
!insertmacro LANG_STRING Section_Plugin_VOIP_Desc "Instaluje wtyczki VOIP."
|
||||
!insertmacro LANG_STRING Section_AutoStart "Auto Startup"
|
||||
!insertmacro LANG_STRING Section_AutoStart_Desc "Automatyczne uruchamianie przy starcie."
|
||||
!insertmacro LANG_STRING Page_InstallMode "Tryb instalacji"
|
||||
!insertmacro LANG_STRING Page_InstallMode_Desc "Wybierz jak chcesz zainstalować ${APPNAME}."
|
||||
!insertmacro LANG_STRING Page_InstallMode_Standard "&Standardowa instalacja"
|
||||
!insertmacro LANG_STRING Page_InstallMode_Standard_Desc "Zainstaluj ${APPNAME} dla bieżącego użytkownika tej maszyny."
|
||||
!insertmacro LANG_STRING Page_InstallMode_Portable "&Portable installation"
|
||||
!insertmacro LANG_STRING Page_InstallMode_Portable_Desc "W trybie przenośnym wszystkie dane konfiguracyjne są przechowywane w folderze aplikacji i nie są zapisywane w rejestrze."
|
||||
!insertmacro LANG_STRING Link_Uninstall "Odinstaluj"
|
29
build_scripts/Windows/lang/ru.nsh
Normal file
29
build_scripts/Windows/lang/ru.nsh
Normal file
@ -0,0 +1,29 @@
|
||||
!insertmacro LANG_STRING Section_Main "${APPNAME}"
|
||||
!insertmacro LANG_STRING Section_Main_Desc "Установка ${APPNAME} и необходимых компонентов."
|
||||
!insertmacro LANG_STRING Section_Data "Оболочки"
|
||||
!insertmacro LANG_STRING Section_Data_Desc "Установка оболочек."
|
||||
!insertmacro LANG_STRING Section_Shortcuts "Ярлыки"
|
||||
!insertmacro LANG_STRING Section_Shortcuts_Desc "Добавление ярлыков."
|
||||
!insertmacro LANG_STRING Section_StartMenu "Ярлык в меню Пуск"
|
||||
!insertmacro LANG_STRING Section_StartMenu_Desc "Добавление ярлыка в меню Пуск."
|
||||
!insertmacro LANG_STRING Section_Desktop "Ярлык на рабочем столе"
|
||||
!insertmacro LANG_STRING Section_Desktop_Desc "Добавление ярлыка на рабочий стол."
|
||||
!insertmacro LANG_STRING Section_QuickLaunch "Ярлык в панели быстрого запуска"
|
||||
!insertmacro LANG_STRING Section_QuickLaunch_Desc "Добавление ярлыка на панель быстрого запуска."
|
||||
!insertmacro LANG_STRING Section_Plugins "Дополнительные плагины"
|
||||
!insertmacro LANG_STRING Section_Plugins_Desc "Дополнительные плагины для расширения функциональности."
|
||||
!insertmacro LANG_STRING Section_Plugin_FeedReader "FeedReader – RSS-агрегатор"
|
||||
!insertmacro LANG_STRING Section_Plugin_FeedReader_Desc "Установка плагина FeedReader."
|
||||
!insertmacro LANG_STRING Section_Plugin_LinksCloud "LinksCloud – Облако ссылок"
|
||||
!insertmacro LANG_STRING Section_Plugin_LinksCloud_Desc "Установка плагина LinksCloud."
|
||||
!insertmacro LANG_STRING Section_Plugin_VOIP "VoIP"
|
||||
!insertmacro LANG_STRING Section_Plugin_VOIP_Desc "Установка плагина VoIP."
|
||||
!insertmacro LANG_STRING Section_AutoStart "Автозапуск"
|
||||
!insertmacro LANG_STRING Section_AutoStart_Desc "Автозапуск при загрузке системы."
|
||||
!insertmacro LANG_STRING Page_InstallMode "Режим установки"
|
||||
!insertmacro LANG_STRING Page_InstallMode_Desc "Выберите метод установки ${APPNAME}."
|
||||
!insertmacro LANG_STRING Page_InstallMode_Standard "Стандартная установка"
|
||||
!insertmacro LANG_STRING Page_InstallMode_Standard_Desc "Установка ${APPNAME} для текущего пользователя компьютера."
|
||||
!insertmacro LANG_STRING Page_InstallMode_Portable "Портативная установка"
|
||||
!insertmacro LANG_STRING Page_InstallMode_Portable_Desc "В режиме портативной установки все конфигурационные файлы сохраняются в папку приложения и в системный реестр не записывается никакой информации."
|
||||
!insertmacro LANG_STRING Link_Uninstall "Удаление программы"
|
29
build_scripts/Windows/lang/tr.nsh
Normal file
29
build_scripts/Windows/lang/tr.nsh
Normal file
@ -0,0 +1,29 @@
|
||||
!insertmacro LANG_STRING Section_Main "${APPNAME}"
|
||||
!insertmacro LANG_STRING Section_Main_Desc "${APPNAME} ve gerekli bileşenleri kurar."
|
||||
!insertmacro LANG_STRING Section_Data "Temalar"
|
||||
!insertmacro LANG_STRING Section_Data_Desc "Tema yükleyin."
|
||||
!insertmacro LANG_STRING Section_Shortcuts "Kısayol simgeleri"
|
||||
!insertmacro LANG_STRING Section_Shortcuts_Desc "Kısayol simgesi ekleyin."
|
||||
!insertmacro LANG_STRING Section_StartMenu "Başlat Menüsü simgesi"
|
||||
!insertmacro LANG_STRING Section_StartMenu_Desc "Başlat menüsüne simge ekleyin."
|
||||
!insertmacro LANG_STRING Section_Desktop "Masaüstü simgesi"
|
||||
!insertmacro LANG_STRING Section_Desktop_Desc "Masaüstüne simge ekleyin."
|
||||
!insertmacro LANG_STRING Section_QuickLaunch "Hızlı Başlat simgesi"
|
||||
!insertmacro LANG_STRING Section_QuickLaunch_Desc "Hızlı Başlat araç çubuğuna simge ekleyin."
|
||||
!insertmacro LANG_STRING Section_Plugins "İsteğe bağlı eklentiler"
|
||||
!insertmacro LANG_STRING Section_Plugins_Desc "İşlevselliği artırmak için isteğe bağlı eklentiler."
|
||||
!insertmacro LANG_STRING Section_Plugin_FeedReader "AkışOkuyucu"
|
||||
!insertmacro LANG_STRING Section_Plugin_FeedReader_Desc "AkışOkuyucu eklentisini yükleyin."
|
||||
!insertmacro LANG_STRING Section_Plugin_LinksCloud "BağlantıBulutu"
|
||||
!insertmacro LANG_STRING Section_Plugin_LinksCloud_Desc "BağlantıBulutu eklentisini yükleyin."
|
||||
!insertmacro LANG_STRING Section_Plugin_VOIP "VOIP"
|
||||
!insertmacro LANG_STRING Section_Plugin_VOIP_Desc "VOIP eklentisini yükleyin."
|
||||
!insertmacro LANG_STRING Section_AutoStart "Otomatik Başlat"
|
||||
!insertmacro LANG_STRING Section_AutoStart_Desc "Açılışta otomatik başlatın."
|
||||
!insertmacro LANG_STRING Page_InstallMode "Kurulum Yöntemi"
|
||||
!insertmacro LANG_STRING Page_InstallMode_Desc "${APPNAME} kurulum şeklini seçin"
|
||||
!insertmacro LANG_STRING Page_InstallMode_Standard "&Normal kurulum"
|
||||
!insertmacro LANG_STRING Page_InstallMode_Standard_Desc "${APPNAME} yalnızca şimdiki kullanıcı için kurulsun."
|
||||
!insertmacro LANG_STRING Page_InstallMode_Portable "&Taşınabilir kurulum"
|
||||
!insertmacro LANG_STRING Page_InstallMode_Portable_Desc "Taşınabilir kipte tüm ayarlar uygulama klasörüne depolanır ve kayıt defterine hiçbir bilgi yazılmaz."
|
||||
!insertmacro LANG_STRING Link_Uninstall "Kaldırın"
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user