Add pkgbuilds for several applications. Add pkgbuild for polkit-tqt library. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>pull/117/head
parent
b98d331a51
commit
4627271715
@ -0,0 +1,60 @@
|
|||||||
|
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||||
|
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||||
|
|
||||||
|
_mod=polkit-agent-tde
|
||||||
|
_cat=applications/system/
|
||||||
|
_kdemod="${_mod/tde/kde}"
|
||||||
|
|
||||||
|
pkgname="tde-${_mod}"
|
||||||
|
pkgver=14.0.12
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="TDE dialogs for PolicyKit"
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||||
|
license=('GPL')
|
||||||
|
provides=("${_mod}")
|
||||||
|
groups=('tde-base')
|
||||||
|
depends=(
|
||||||
|
'tde-tdelibs'
|
||||||
|
'tde-polkit-tqt'
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
'tde-cmake-trinity'
|
||||||
|
)
|
||||||
|
optdepends=()
|
||||||
|
conflicts=("trinity-${_mod}" "kdemod3-${_kdemod}")
|
||||||
|
replaces=("trinity-${_mod}")
|
||||||
|
options=('staticlibs' 'libtool' '!strip')
|
||||||
|
install=
|
||||||
|
|
||||||
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||||
|
md5sums=('3d3987adfcac0d9bd9e342d58fd063a8')
|
||||||
|
|
||||||
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||||
|
[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
|
||||||
|
|
||||||
|
build() {
|
||||||
|
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||||
|
mkdir -p "$srcdir/build"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
|
||||||
|
export PKG_CONFIG_PATH=${TDEDIR}/lib/pkgconfig:${PKG_CONFIG_PATH}
|
||||||
|
|
||||||
|
msg "Starting cmake..."
|
||||||
|
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
|
||||||
|
-GNinja \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||||
|
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
|
||||||
|
-DBUILD_ALL=ON \
|
||||||
|
-DWITH_ALL_OPTIONS=ON
|
||||||
|
|
||||||
|
msg "Building - ${pkgname}..."
|
||||||
|
ninja $NUMJOBS
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
msg "Packaging - ${pkgname}-${pkgver}"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
DESTDIR="$pkgdir" ninja -j1 install
|
||||||
|
}
|
@ -1,60 +0,0 @@
|
|||||||
commit 9cde144216b331f0eef2ce2c3800d8356109ccc7
|
|
||||||
Author: Slávek Banko <slavek.banko@axis.cz>
|
|
||||||
Date: Wed Dec 15 17:30:53 2021 +0100
|
|
||||||
|
|
||||||
Add support for Poppler >= 21.11.
|
|
||||||
This resolves issue #36.
|
|
||||||
|
|
||||||
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
||||||
|
|
||||||
diff --git a/config.h.cmake b/config.h.cmake
|
|
||||||
index b3b6d1ec..fa71d600 100644
|
|
||||||
--- a/config.h.cmake
|
|
||||||
+++ b/config.h.cmake
|
|
||||||
@@ -1,6 +1,7 @@
|
|
||||||
#cmakedefine VERSION "@VERSION@"
|
|
||||||
|
|
||||||
// poppler-tqt
|
|
||||||
+#cmakedefine HAVE_POPPLER_2111
|
|
||||||
#cmakedefine HAVE_POPPLER_2108
|
|
||||||
#cmakedefine HAVE_POPPLER_086
|
|
||||||
#cmakedefine HAVE_POPPLER_083
|
|
||||||
diff --git a/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake b/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
|
|
||||||
index 9c15e64f..78f6ffbc 100644
|
|
||||||
--- a/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
|
|
||||||
+++ b/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
|
|
||||||
@@ -24,7 +24,7 @@ check_cxx_source_compiles("
|
|
||||||
HAVE_POPPLER_030 )
|
|
||||||
tde_restore( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
|
|
||||||
|
|
||||||
-foreach( _poppler_ver 0.58 0.64 0.70 0.71 0.72 0.76 0.82 0.83 0.86 21.08 )
|
|
||||||
+foreach( _poppler_ver 0.58 0.64 0.70 0.71 0.72 0.76 0.82 0.83 0.86 21.08 21.11 )
|
|
||||||
string( REPLACE "." "" _poppler_str "${_poppler_ver}" )
|
|
||||||
if( NOT DEFINED HAVE_POPPLER_${_poppler_str} )
|
|
||||||
message( STATUS "Performing Test HAVE_POPPLER_${_poppler_str}" )
|
|
||||||
diff --git a/tdefile-plugins/dependencies/poppler-tqt/poppler-page.cpp b/tdefile-plugins/dependencies/poppler-tqt/poppler-page.cpp
|
|
||||||
index 426b750f..9b4f6208 100644
|
|
||||||
--- a/tdefile-plugins/dependencies/poppler-tqt/poppler-page.cpp
|
|
||||||
+++ b/tdefile-plugins/dependencies/poppler-tqt/poppler-page.cpp
|
|
||||||
@@ -173,7 +173,11 @@ TQValueList<TextBox*> Page::textList() const
|
|
||||||
data->doc->data->doc.displayPageSlice(output_dev, data->index + 1, 72, 72,
|
|
||||||
0, false, false, false, -1, -1, -1, -1);
|
|
||||||
|
|
||||||
+# if defined(HAVE_POPPLER_2111)
|
|
||||||
+ std::unique_ptr<TextWordList> word_list = output_dev->makeWordList();
|
|
||||||
+# else
|
|
||||||
TextWordList *word_list = output_dev->makeWordList();
|
|
||||||
+# endif
|
|
||||||
|
|
||||||
if (!word_list) {
|
|
||||||
delete output_dev;
|
|
||||||
@@ -193,7 +197,9 @@ TQValueList<TextBox*> Page::textList() const
|
|
||||||
output_list.append(text_box);
|
|
||||||
}
|
|
||||||
|
|
||||||
+# if !defined(HAVE_POPPLER_2111)
|
|
||||||
delete word_list;
|
|
||||||
+# endif
|
|
||||||
delete output_dev;
|
|
||||||
|
|
||||||
return output_list;
|
|
@ -0,0 +1,81 @@
|
|||||||
|
commit 9adc0f647c04e84792be63d913274633cc2ecd65
|
||||||
|
Author: Slávek Banko <slavek.banko@axis.cz>
|
||||||
|
Date: Sat Apr 30 01:48:37 2022 +0200
|
||||||
|
|
||||||
|
Add support for Poppler >= 22.03.
|
||||||
|
|
||||||
|
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
||||||
|
|
||||||
|
diff --git a/config.h.cmake b/config.h.cmake
|
||||||
|
index 7c1ab17a..fea46aaf 100644
|
||||||
|
--- a/config.h.cmake
|
||||||
|
+++ b/config.h.cmake
|
||||||
|
@@ -1,6 +1,7 @@
|
||||||
|
#cmakedefine VERSION "@VERSION@"
|
||||||
|
|
||||||
|
// poppler-tqt
|
||||||
|
+#cmakedefine HAVE_POPPLER_2203
|
||||||
|
#cmakedefine HAVE_POPPLER_2112
|
||||||
|
#cmakedefine HAVE_POPPLER_2111
|
||||||
|
#cmakedefine HAVE_POPPLER_2108
|
||||||
|
diff --git a/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake b/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
|
||||||
|
index fa82dd3c..def19529 100644
|
||||||
|
--- a/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
|
||||||
|
+++ b/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
|
||||||
|
@@ -24,7 +24,7 @@ check_cxx_source_compiles("
|
||||||
|
HAVE_POPPLER_030 )
|
||||||
|
tde_restore( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
|
||||||
|
|
||||||
|
-foreach( _poppler_ver 0.58 0.64 0.70 0.71 0.72 0.76 0.82 0.83 0.86 21.08 21.11 21.12 )
|
||||||
|
+foreach( _poppler_ver 0.58 0.64 0.70 0.71 0.72 0.76 0.82 0.83 0.86 21.08 21.11 21.12 22.03 )
|
||||||
|
string( REPLACE "." "" _poppler_str "${_poppler_ver}" )
|
||||||
|
if( NOT DEFINED HAVE_POPPLER_${_poppler_str} )
|
||||||
|
message( STATUS "Performing Test HAVE_POPPLER_${_poppler_str}" )
|
||||||
|
diff --git a/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cpp b/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cpp
|
||||||
|
index 78e8befe..86e831ee 100644
|
||||||
|
--- a/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cpp
|
||||||
|
+++ b/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cpp
|
||||||
|
@@ -50,7 +50,11 @@ Document *Document::load(const TQString &filePath)
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
+# if defined(HAVE_POPPLER_2203)
|
||||||
|
+ DocumentData *doc = new DocumentData(std::make_unique<GooString>(TQFile::encodeName(filePath)), {});
|
||||||
|
+# else
|
||||||
|
DocumentData *doc = new DocumentData(new GooString(TQFile::encodeName(filePath)), NULL);
|
||||||
|
+# endif
|
||||||
|
Document *pdoc;
|
||||||
|
if (doc->doc.isOk() || doc->doc.getErrorCode() == errEncrypted) {
|
||||||
|
pdoc = new Document(doc);
|
||||||
|
@@ -84,10 +88,15 @@ bool Document::unlock(const TQCString &password)
|
||||||
|
{
|
||||||
|
if (data->locked) {
|
||||||
|
/* racier then it needs to be */
|
||||||
|
+# if defined(HAVE_POPPLER_2203)
|
||||||
|
+ DocumentData *doc2 = new DocumentData(std::make_unique<GooString>(data->doc.getFileName()),
|
||||||
|
+ GooString(password.data()));
|
||||||
|
+# else
|
||||||
|
GooString *filename = new GooString(data->doc.getFileName());
|
||||||
|
GooString *pwd = new GooString(password.data());
|
||||||
|
DocumentData *doc2 = new DocumentData(filename, pwd);
|
||||||
|
delete pwd;
|
||||||
|
+# endif
|
||||||
|
if (!doc2->doc.isOk()) {
|
||||||
|
delete doc2;
|
||||||
|
} else {
|
||||||
|
diff --git a/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h b/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h
|
||||||
|
index c98d02b8..f1096ceb 100644
|
||||||
|
--- a/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h
|
||||||
|
+++ b/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h
|
||||||
|
@@ -104,7 +104,11 @@ class LinkDestinationData {
|
||||||
|
|
||||||
|
class DocumentData {
|
||||||
|
public:
|
||||||
|
+# if defined(HAVE_POPPLER_2203)
|
||||||
|
+ DocumentData(std::unique_ptr<GooString> &&filePath, const std::optional<GooString> &password) : doc(std::move(filePath), password), m_fontInfoScanner(0), m_outputDev(0) {}
|
||||||
|
+# else
|
||||||
|
DocumentData(GooString *filePath, GooString *password) : doc(filePath,password), m_fontInfoScanner(0), m_outputDev(0) {}
|
||||||
|
+# endif
|
||||||
|
|
||||||
|
~DocumentData()
|
||||||
|
{
|
@ -0,0 +1,49 @@
|
|||||||
|
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||||
|
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||||
|
|
||||||
|
_mod=polkit-tqt
|
||||||
|
_cat=dependencies/
|
||||||
|
_kdemod="${_mod/tde/kde}"
|
||||||
|
|
||||||
|
pkgname="tde-${_mod}"
|
||||||
|
pkgver=14.0.12
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Trinity PolicyKit-tqt library"
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||||
|
license=('GPL')
|
||||||
|
groups=('tde-core' 'tde-base')
|
||||||
|
depends=('tde-tqtinterface' 'tde-dbus-1-tqt' 'polkit')
|
||||||
|
makedepends=('tde-cmake-trinity')
|
||||||
|
provides=("${_mod}")
|
||||||
|
conflicts=("trinity-${_mod}")
|
||||||
|
replaces=("trinity-${_mod}")
|
||||||
|
options=('staticlibs' 'libtool' '!strip')
|
||||||
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||||
|
md5sums=('4cfc24c4c4c4adc7e589aa4f2c27be4e')
|
||||||
|
install="trinity-${_mod}.install"
|
||||||
|
|
||||||
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||||
|
|
||||||
|
build() {
|
||||||
|
msg "Creating out-of-source build directory: ${srcdir}/${_builddir}"
|
||||||
|
mkdir -p ${srcdir}/build
|
||||||
|
cd ${srcdir}/build
|
||||||
|
|
||||||
|
export PKG_CONFIG_PATH=${TDEDIR}/lib/pkgconfig
|
||||||
|
|
||||||
|
msg "Starting cmake..."
|
||||||
|
cmake ${srcdir}/${pkgname#*-}-trinity-${pkgver}/ \
|
||||||
|
-GNinja \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||||
|
-DWITH_ALL_OPTIONS=ON
|
||||||
|
|
||||||
|
msg "Building - $pkgname..."
|
||||||
|
ninja $NUMJOBS
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
msg "Packaging - $pkgname-$pkgver"
|
||||||
|
cd ${srcdir}/build
|
||||||
|
DESTDIR="${pkgdir}" ninja -j1 install
|
||||||
|
}
|
@ -0,0 +1,12 @@
|
|||||||
|
post_install() {
|
||||||
|
ldconfig &> /dev/null
|
||||||
|
}
|
||||||
|
|
||||||
|
post_upgrade() {
|
||||||
|
post_install
|
||||||
|
}
|
||||||
|
|
||||||
|
post_remove() {
|
||||||
|
post_install
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,28 @@
|
|||||||
|
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
|
||||||
|
index f1b7246b..bab3b80d 100644
|
||||||
|
--- a/ConfigureChecks.cmake
|
||||||
|
+++ b/ConfigureChecks.cmake
|
||||||
|
@@ -197,7 +197,10 @@ find_package( OpenGL )
|
||||||
|
|
||||||
|
tde_save( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
|
||||||
|
set( CMAKE_REQUIRED_INCLUDES ${TQT_INCLUDE_DIRS} )
|
||||||
|
-set( CMAKE_REQUIRED_LIBRARIES -L${TQT_LIBRARY_DIRS} ${TQT_LIBRARIES} )
|
||||||
|
+foreach( _dirs ${TQT_LIBRARY_DIRS} )
|
||||||
|
+ list( APPEND CMAKE_REQUIRED_LIBRARIES "-L${_dirs}" )
|
||||||
|
+endforeach()
|
||||||
|
+list( APPEND CMAKE_REQUIRED_LIBRARIES ${TQT_LIBRARIES} )
|
||||||
|
|
||||||
|
check_cxx_source_compiles("
|
||||||
|
#include <cstdlib>
|
||||||
|
@@ -219,7 +222,10 @@ if( WITH_KONQSIDEBAR )
|
||||||
|
set( CMAKE_REQUIRED_DEFINITIONS ${TQT_CFLAGS_OTHER} )
|
||||||
|
set( CMAKE_REQUIRED_INCLUDES ${TDE_INCLUDE_DIR};${TQT_INCLUDE_DIRS};${CMAKE_INCLUDE_PATH} )
|
||||||
|
set( CMAKE_REQUIRED_FLAGS "-include tqt.h" )
|
||||||
|
- set( CMAKE_REQUIRED_LIBRARIES -L${TQT_LIBRARY_DIRS} -L${QT_LIBRARY_DIRS} ${TQT_LIBRARIES} )
|
||||||
|
+ foreach( _dirs ${TQT_LIBRARY_DIRS} )
|
||||||
|
+ list( APPEND CMAKE_REQUIRED_LIBRARIES "-L${_dirs}" )
|
||||||
|
+ endforeach()
|
||||||
|
+ list( APPEND CMAKE_REQUIRED_LIBRARIES ${TQT_LIBRARIES} )
|
||||||
|
check_cxx_source_compiles("
|
||||||
|
#include <konqsidebarplugin.h>
|
||||||
|
int main(int, char**) { return 0; } "
|
@ -1,60 +0,0 @@
|
|||||||
commit 6ccb5528ecff0cf0db5fe2f81b26a79959e87902
|
|
||||||
Author: Slávek Banko <slavek.banko@axis.cz>
|
|
||||||
Date: Fri Oct 29 03:47:53 2021 +0200
|
|
||||||
|
|
||||||
Prevent null pointer deference in methods for selection.
|
|
||||||
This resolves the crash when exporting the Basket archive.
|
|
||||||
|
|
||||||
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
||||||
(cherry picked from commit a08c6ac9e3c8ac162ce08b730fd6108e2f71213c)
|
|
||||||
|
|
||||||
diff --git a/src/archive.cpp b/src/archive.cpp
|
|
||||||
index 3f3377c..aec789f 100644
|
|
||||||
--- a/src/archive.cpp
|
|
||||||
+++ b/src/archive.cpp
|
|
||||||
@@ -228,7 +228,8 @@ void Archive::saveBasketToArchive(Basket *basket, bool recursive, KTar *tar, TQS
|
|
||||||
|
|
||||||
// Recursively save child baskets:
|
|
||||||
BasketListViewItem *item = Global::bnpView->listViewItemForBasket(basket);
|
|
||||||
- if (recursive && item->firstChild()) {
|
|
||||||
+ if (recursive && item && item->firstChild())
|
|
||||||
+ {
|
|
||||||
for (BasketListViewItem *child = (BasketListViewItem*) item->firstChild(); child; child = (BasketListViewItem*) child->nextSibling()) {
|
|
||||||
saveBasketToArchive(child->basket(), recursive, tar, backgrounds, tempFolder, progress);
|
|
||||||
}
|
|
||||||
diff --git a/src/basket.cpp b/src/basket.cpp
|
|
||||||
index a4edb31..67107d2 100644
|
|
||||||
--- a/src/basket.cpp
|
|
||||||
+++ b/src/basket.cpp
|
|
||||||
@@ -4469,12 +4469,20 @@ void Basket::noteUngroup()
|
|
||||||
|
|
||||||
void Basket::unplugSelection(NoteSelection *selection)
|
|
||||||
{
|
|
||||||
+ if (!selection)
|
|
||||||
+ {
|
|
||||||
+ return;
|
|
||||||
+ }
|
|
||||||
for (NoteSelection *toUnplug = selection->firstStacked(); toUnplug; toUnplug = toUnplug->nextStacked())
|
|
||||||
unplugNote(toUnplug->note);
|
|
||||||
}
|
|
||||||
|
|
||||||
void Basket::insertSelection(NoteSelection *selection, Note *after)
|
|
||||||
{
|
|
||||||
+ if (!selection)
|
|
||||||
+ {
|
|
||||||
+ return;
|
|
||||||
+ }
|
|
||||||
for (NoteSelection *toUnplug = selection->firstStacked(); toUnplug; toUnplug = toUnplug->nextStacked()) {
|
|
||||||
if (toUnplug->note->isGroup()) {
|
|
||||||
Note *group = new Note(this);
|
|
||||||
@@ -4496,6 +4504,10 @@ void Basket::insertSelection(NoteSelection *selection, Note *after)
|
|
||||||
|
|
||||||
void Basket::selectSelection(NoteSelection *selection)
|
|
||||||
{
|
|
||||||
+ if (!selection)
|
|
||||||
+ {
|
|
||||||
+ return;
|
|
||||||
+ }
|
|
||||||
for (NoteSelection *toUnplug = selection->firstStacked(); toUnplug; toUnplug = toUnplug->nextStacked()) {
|
|
||||||
if (toUnplug->note->isGroup())
|
|
||||||
selectSelection(toUnplug);
|
|
@ -0,0 +1,61 @@
|
|||||||
|
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||||
|
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||||
|
|
||||||
|
_mod=kile
|
||||||
|
_cat=applications/office/
|
||||||
|
_kdemod="${_mod/tde/kde}"
|
||||||
|
|
||||||
|
pkgname="tde-${_mod}"
|
||||||
|
pkgver=14.0.12
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="TDE Integrated LaTeX Environment"
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||||
|
license=('GPL')
|
||||||
|
provides=("${_mod}")
|
||||||
|
groups=('tde-complete')
|
||||||
|
depends=(
|
||||||
|
'tde-tdelibs'
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
'tde-cmake-trinity'
|
||||||
|
)
|
||||||
|
optdepends=()
|
||||||
|
conflicts=("trinity-${_mod}" "kdemod3-${_kdemod}")
|
||||||
|
replaces=("trinity-${_mod}")
|
||||||
|
options=('staticlibs' 'libtool' '!strip')
|
||||||
|
install=
|
||||||
|
|
||||||
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||||
|
md5sums=('03b36fb00b27ce2df4f4ef8b91abed8f')
|
||||||
|
|
||||||
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||||
|
[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
|
||||||
|
|
||||||
|
build() {
|
||||||
|
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||||
|
mkdir -p "$srcdir/build"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
|
||||||
|
export PKG_CONFIG_PATH=${TDEDIR}/lib/pkgconfig:${PKG_CONFIG_PATH}
|
||||||
|
|
||||||
|
msg "Starting cmake..."
|
||||||
|
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
|
||||||
|
-GNinja \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||||
|
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
|
||||||
|
-DBUILD_ALL=ON \
|
||||||
|
-DWITH_ALL_OPTIONS=ON
|
||||||
|
|
||||||
|
msg "Building - ${pkgname}..."
|
||||||
|
ninja $NUMJOBS
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
msg "Packaging - ${pkgname}-${pkgver}"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
DESTDIR="$pkgdir" ninja -j1 install
|
||||||
|
msg "Removing conflicting syntax files"
|
||||||
|
rm -rf ${pkgdir}/opt/trinity/share/apps/katepart
|
||||||
|
}
|
@ -0,0 +1,61 @@
|
|||||||
|
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||||
|
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||||
|
|
||||||
|
_mod=kmymoney
|
||||||
|
_cat=applications/office/
|
||||||
|
_kdemod="${_mod/tde/kde}"
|
||||||
|
|
||||||
|
pkgname="tde-${_mod}"
|
||||||
|
pkgver=14.0.12
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Personal finance manager for TDE"
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||||
|
license=('GPL')
|
||||||
|
provides=("${_mod}")
|
||||||
|
groups=('tde-complete')
|
||||||
|
depends=(
|
||||||
|
'tde-tdelibs'
|
||||||
|
'libofx'
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
'tde-cmake-trinity'
|
||||||
|
)
|
||||||
|
optdepends=()
|
||||||
|
conflicts=("trinity-${_mod}" "kdemod3-${_kdemod}")
|
||||||
|
replaces=("trinity-${_mod}")
|
||||||
|
options=('staticlibs' 'libtool' '!strip')
|
||||||
|
install=
|
||||||
|
|
||||||
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||||
|
md5sums=('ce63a58983e8e5400861f0b3d782e6c9')
|
||||||
|
|
||||||
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||||
|
[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
|
||||||
|
|
||||||
|
build() {
|
||||||
|
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||||
|
mkdir -p "$srcdir/build"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
|
||||||
|
export PKG_CONFIG_PATH=${TDEDIR}/lib/pkgconfig:${PKG_CONFIG_PATH}
|
||||||
|
|
||||||
|
msg "Starting cmake..."
|
||||||
|
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
|
||||||
|
-GNinja \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||||
|
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
|
||||||
|
-DBUILD_ALL=ON \
|
||||||
|
-DWITH_ALL_OPTIONS=ON \
|
||||||
|
-DBUILD_DEVELOPER_DOCS="OFF"
|
||||||
|
|
||||||
|
msg "Building - ${pkgname}..."
|
||||||
|
ninja $NUMJOBS
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
msg "Packaging - ${pkgname}-${pkgver}"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
DESTDIR="$pkgdir" ninja -j1 install
|
||||||
|
}
|
@ -0,0 +1,59 @@
|
|||||||
|
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
||||||
|
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
||||||
|
|
||||||
|
_mod=tde-style-domino
|
||||||
|
_cat=applications/themes/
|
||||||
|
_kdemod="${_mod/tde/kde}"
|
||||||
|
|
||||||
|
pkgname="tde-${_mod}"
|
||||||
|
pkgver=14.0.12
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Domino widget style and twin decoration for TDE"
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="https://scm.trinitydesktop.org/scm/git/${_mod}"
|
||||||
|
license=('GPL')
|
||||||
|
provides=("${_mod}")
|
||||||
|
groups=('tde-complete')
|
||||||
|
depends=(
|
||||||
|
'tde-tdebase'
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
'tde-cmake-trinity'
|
||||||
|
)
|
||||||
|
optdepends=()
|
||||||
|
conflicts=("trinity-${_mod}" "kdemod3-${_kdemod}")
|
||||||
|
replaces=("trinity-${_mod}")
|
||||||
|
options=('staticlibs' 'libtool' '!strip')
|
||||||
|
install=
|
||||||
|
|
||||||
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz")
|
||||||
|
md5sums=('8253c84df5f816b5e031ba3f13554386')
|
||||||
|
|
||||||
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
||||||
|
[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
|
||||||
|
|
||||||
|
build() {
|
||||||
|
msg "Creating out-of-source build directory: ${srcdir}/build"
|
||||||
|
mkdir -p "$srcdir/build"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
|
||||||
|
export PKG_CONFIG_PATH=${TDEDIR}/lib/pkgconfig:${PKG_CONFIG_PATH}
|
||||||
|
|
||||||
|
msg "Starting cmake..."
|
||||||
|
cmake ${srcdir}/${_mod}-trinity-${pkgver} \
|
||||||
|
-GNinja \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
|
||||||
|
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
|
||||||
|
-DBUILD_ALL=ON \
|
||||||
|
-DWITH_ALL_OPTIONS=ON
|
||||||
|
|
||||||
|
msg "Building - ${pkgname}..."
|
||||||
|
ninja $NUMJOBS
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
msg "Packaging - ${pkgname}-${pkgver}"
|
||||||
|
cd "$srcdir/build"
|
||||||
|
DESTDIR="$pkgdir" ninja -j1 install
|
||||||
|
}
|
Loading…
Reference in new issue