Package Details: treesheets-git r550.18847fc-1

Git Clone URL: (read-only, click to copy)
Package Base: treesheets-git
Description: A "hierarchical spreadsheet" as a replacement for spreadsheets, mind mappers, outliners, PIMs, text editors and small databases.
Upstream URL:
Keywords: mindmapper outliner pim spreadsheet
Licenses: zlib
Conflicts: treesheets
Provides: treesheets
Submitter: prurigro
Maintainer: SanskritFritz (prurigro)
Last Packager: SanskritFritz
Votes: 32
Popularity: 0.000003
First Submitted: 2013-06-14 04:57 (UTC)
Last Updated: 2023-08-14 14:14 (UTC)

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

MarsSeed commented on 2023-06-14 15:35 (UTC)

Seems you have to declare -DCMAKE_PROGRAM_PATH=wx-config-qt, otherwise the build will be configured for wxwidgets-gtk3 which carries the default wx-config executable.

tobias.predel commented on 2023-05-05 06:46 (UTC) (edited on 2023-05-05 06:46 (UTC) by tobias.predel)

Please adjust the myframe.patch to the recent changes. Thanks in advance!

diff --git a/src/myframe.h b/src/myframe.h
index 6a7ba9a..afc452a 100755
--- a/src/myframe.h
+++ b/src/myframe.h
@@ -94,7 +94,7 @@ struct MyFrame : wxFrame {
           zenmode(false) {
         sys->frame = this;
-        exepath_ = wxFileName(exename).GetPath();
+        exepath_ = "/usr/share/treesheets";
         #ifdef __WXMAC__
         int cut = exepath_.Find("/MacOS");
         if (cut > 0) { exepath_ = exepath_.SubString(0, cut) + "/Resources"; }

urbenlegend commented on 2022-12-06 18:49 (UTC)

Build seems to fail due to not being able to find the wxwidgets libraries:

Building treesheets-git...
==> Making package: treesheets-git r369.a962f73-1 (Tue 06 Dec 2022 10:34:42 AM PST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning treesheets git repo...
Cloning into bare repository '/var/tmp/pamac-build/treesheets-git/treesheets'...
  -> Found myframe.patch
==> Validating source files with sha512sums...
    treesheets ... Skipped
    myframe.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of treesheets git repo...
Cloning into 'treesheets'...
==> Starting prepare()...
patching file src/myframe.h
Hunk #1 succeeded at 94 with fuzz 1 (offset 15 lines).
==> Starting pkgver()...
==> Updated version: treesheets-git r393.760a64f-1
==> Starting build()...
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindwxWidgets.cmake:977 (find_package_handle_standard_args)
  CMakeLists.txt:37 (find_package)

Installing wxwidgets-gtk3 seems to make it work but as I am on KDE, I would prefer the Qt version.

SanskritFritz commented on 2022-09-27 11:07 (UTC)

DeathBringsLife why was this necessary?

DeathBringsLife commented on 2022-09-26 23:25 (UTC)

I had luck with this modified PKGBUILD + little custom patch

# Maintainer: Kevin MacMartin <prurigro at gmail dot com>  
# Maintainer: SanskritFritz (gmail)  
# Contributor: Hawath <hawath at 163 dot com>  

pkgdesc='A "hierarchical spreadsheet" as a replacement for spreadsheets, mind mappers, outliners, PIMs, text editors and small databases.'  
makedepends=('cmake' 'git')  
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h')  



pkgver() {  
cd $_pkgname  

printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"  

prepare() {  
cd $_pkgname  

patch -p1 < ../myframe.patch  
patch -p1 < ../cmake.patch  
find TS/images -type f ! -iname '*.png' -a ! -iname '*.svg' -delete  

build() {  
cd $_pkgname  

cmake -S . -B _build \  

make -C _build  

package() {  
cd $_pkgname  

# install using default configuration  
make -C _build DESTDIR="${pkgdir}/" install  

# install license  
install -Dm644 ZLIB_LICENSE.txt "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"  


diff --git a/CMakeLists.txt b/CMakeLists.txt  
index addb357..02a6369 100644  
--- a/CMakeLists.txt  
+++ b/CMakeLists.txt  
@@ -57,7 +57,7 @@ add_library(lobster STATIC ${lobster_sources})  
target_include_directories(lobster PUBLIC lobster/include lobster/src lobster/external/libtcc)  

add_library(lobster-impl STATIC src/lobster_impl.cpp)  
-target_link_libraries(lobster-impl PRIVATE lobster)  
+target_link_libraries(lobster-impl PRIVATE lobster ${CMAKE_DL_LIBS})  


gissf1 commented on 2022-09-15 06:33 (UTC) (edited on 2022-09-15 06:33 (UTC) by gissf1)

My system pulled in wxwidgets-qt5, but not wxwidgets-gtk3, which causes the build to fail for me. Manually installing wxwidgets-gtk3 allowed the build to proceed normally to completion.

SanskritFritz commented on 2022-09-12 18:34 (UTC)

You're right, thanks for the heads up!

plg commented on 2022-09-11 15:50 (UTC)

You should change the upstream-URL to either or ; because at this moment has nothing to with this software.

SanskritFritz commented on 2022-07-21 14:14 (UTC)

Nah I like it the way you did it, so thanks again!

W47MPUSv commented on 2022-07-21 13:54 (UTC)


Yeah, the new gtk3 outlook is great!

Seems that there are both gtk3 backend (wxwidgets-gtk3) and qt5 backend (wxwidgets-qt5) in the official repo, but the default linking library still points to the gtk3 backend. So maybe either wxwidgets-gtk3 or wxgtk3 is okay. IDK whether wxgtk3 will give more compatibility, since there is only one package in the official repo that provides it.

The 38 line of the PKGBUILD will delete some credit file and file under TS/image folder. I checked that this comes with the initial commit, so up to u to decided whether to keep or not.

Thanks for your work!