forked from soutade/libgourou
Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
d3c90f03bb | |||
469d378f9a | |||
|
98b531a232 | ||
956bad3068 | |||
d9a920b062 | |||
204500117d |
@ -46,12 +46,14 @@ _internals_:
|
|||||||
For utils:
|
For utils:
|
||||||
|
|
||||||
* libcurl
|
* libcurl
|
||||||
* OpenSSL
|
* openssl
|
||||||
* libzip
|
* libzip
|
||||||
* libpugixml
|
* libpugixml
|
||||||
|
|
||||||
|
|
||||||
Internal libraries are automatically fetched and statically compiled during the first run.
|
External & utils dependencies has to be installed by your package manager (_apt_ for example).
|
||||||
|
Use _-dev_ flavours to get needed headers.
|
||||||
|
Internal libraries are automatically fetched and statically compiled during the first compilation.
|
||||||
When you update libgourou's repository, **don't forget to update internal libraries** with:
|
When you update libgourou's repository, **don't forget to update internal libraries** with:
|
||||||
|
|
||||||
make update_lib
|
make update_lib
|
||||||
@ -164,3 +166,4 @@ Donators
|
|||||||
* _Berwyn H_
|
* _Berwyn H_
|
||||||
* _bwitt_
|
* _bwitt_
|
||||||
* _Ismail_
|
* _Ismail_
|
||||||
|
* _Radon_
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
#define ACS_SERVER "http://adeactivate.adobe.com/adept"
|
#define ACS_SERVER "http://adeactivate.adobe.com/adept"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define LIBGOUROU_VERSION "0.8.6"
|
#define LIBGOUROU_VERSION "0.8.7"
|
||||||
|
|
||||||
namespace gourou
|
namespace gourou
|
||||||
{
|
{
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# uPDFParser
|
# uPDFParser
|
||||||
if [ ! -d lib/updfparser ] ; then
|
if [ ! -d lib/updfparser ] ; then
|
||||||
git clone git://soutade.fr/updfparser.git lib/updfparser
|
git clone git://soutade.fr/soutade/updfparser.git lib/updfparser
|
||||||
pushd lib/updfparser
|
pushd lib/updfparser
|
||||||
make BUILD_STATIC=1 BUILD_SHARED=0
|
make BUILD_STATIC=1 BUILD_SHARED=0
|
||||||
popd
|
popd
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
if [ ! -d lib/updfparser ] ; then
|
if [ ! -d lib/updfparser ] ; then
|
||||||
echo "Some libraries are missing"
|
echo "Some libraries are missing"
|
||||||
echo "You must run this script at the top of libgourou working direcotry."
|
echo "You must run this script at the top of libgourou working direcotry."
|
||||||
echo "./lib/setup.sh must be called first (make all)"
|
echo "./scripts/setup.sh must be called first (make all)"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -859,6 +859,12 @@ namespace gourou
|
|||||||
std::string DRMProcessor::getDefaultAdeptDir(void)
|
std::string DRMProcessor::getDefaultAdeptDir(void)
|
||||||
{
|
{
|
||||||
#ifndef DEFAULT_ADEPT_DIR
|
#ifndef DEFAULT_ADEPT_DIR
|
||||||
|
const char* home = getenv("HOME");
|
||||||
|
|
||||||
|
if (home)
|
||||||
|
return home + std::string("/.config/adept/");
|
||||||
|
else
|
||||||
|
{
|
||||||
const char* user = getenv("USER");
|
const char* user = getenv("USER");
|
||||||
|
|
||||||
if (user && user[0])
|
if (user && user[0])
|
||||||
@ -867,6 +873,7 @@ namespace gourou
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
return LOCAL_ADEPT_DIR;
|
return LOCAL_ADEPT_DIR;
|
||||||
|
}
|
||||||
#else
|
#else
|
||||||
return DEFAULT_ADEPT_DIR "/";
|
return DEFAULT_ADEPT_DIR "/";
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user