Compare commits

..

4 Commits

Author SHA1 Message Date
469d378f9a Update version to 0.8.7 2025-02-16 21:32:51 +01:00
Philipp Pagel
98b531a232 Fix setup.sh
fix path for updfparser
2025-02-11 18:12:36 +01:00
956bad3068 Update README.md 2024-12-31 13:21:14 +01:00
d9a920b062 Use $HOME variable if it exists
Signed-off-by: Ismail Dönmez <ismail@i10z.com>
2024-09-22 10:55:54 +02:00
5 changed files with 17 additions and 19 deletions

View File

@ -164,3 +164,4 @@ Donators
* _Berwyn H_
* _bwitt_
* _Ismail_
* _Radon_

View File

@ -37,7 +37,7 @@
#define ACS_SERVER "http://adeactivate.adobe.com/adept"
#endif
#define LIBGOUROU_VERSION "0.8.6"
#define LIBGOUROU_VERSION "0.8.7"
namespace gourou
{

View File

@ -2,17 +2,8 @@
# uPDFParser
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
make BUILD_STATIC=1 BUILD_SHARED=0
popd
fi
# OpenSSL legacy
if [ ! -d lib/openssl ] ; then
git clone --branch openssl-3.3 https://github.com/openssl/openssl.git lib/openssl
pushd lib/openssl
./Configure disable-apps disable-shared enable-legacy
make -j4
popd
fi

View File

@ -859,14 +859,21 @@ namespace gourou
std::string DRMProcessor::getDefaultAdeptDir(void)
{
#ifndef DEFAULT_ADEPT_DIR
const char* user = getenv("USER");
const char* home = getenv("HOME");
if (home)
return home + std::string("/.config/adept/");
else
{
const char* user = getenv("USER");
if (user && user[0])
{
return std::string("/home/") + user + std::string("/.config/adept/");
}
else
return LOCAL_ADEPT_DIR;
if (user && user[0])
{
return std::string("/home/") + user + std::string("/.config/adept/");
}
else
return LOCAL_ADEPT_DIR;
}
#else
return DEFAULT_ADEPT_DIR "/";
#endif

View File

@ -10,7 +10,6 @@ CXXFLAGS=-Wall -fPIC -I$(ROOT)/include
STATIC_DEP=
LDFLAGS += -L$(ROOT) -lcrypto -lzip -lz -lcurl -lpugixml
LDFLAGS += -L$(ROOT) $(ROOT)/lib/openssl/libcrypto.a -lzip -lz -lcurl -lpugixml
ifneq ($(STATIC_UTILS),)
STATIC_DEP = $(ROOT)/libgourou.a