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

Git Clone URL: https://aur.archlinux.org/treesheets-git.git (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: https://strlen.com/treesheets/
Keywords: mindmapper outliner pim spreadsheet
Licenses: zlib
Conflicts: treesheets
Provides: treesheets
Submitter: prurigro
Maintainer: SanskritFritz (prurigro)
Last Packager: SanskritFritz
Votes: 32
Popularity: 0.000005
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 {
           watcher(nullptr),
           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'...
done.
==> 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
  wxWidgets_INCLUDE_DIRS)
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>  

_pkgname=treesheets  
pkgname=$_pkgname-git  
pkgver=r374.4778c34  
pkgrel=1  
pkgdesc='A "hierarchical spreadsheet" as a replacement for spreadsheets, mind mappers, outliners, PIMs, text editors and small databases.'  
url="https://strlen.com/treesheets/"  
license=('ZLIB')  
depends=('wxgtk3-dev')  
makedepends=('cmake' 'git')  
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h')  
provides=('treesheets')  
conflicts=('treesheets')  

source=(  
"git+https://github.com/aardappel/$_pkgname.git"  
'myframe.patch'  
'cmake.patch'  
)  

sha512sums=(  
'SKIP'  
'7ea8b6947c334adebba774bcdd4db27670206a216de0c023c2b69aa3ad3b621165733a36f03f2e23bab1e7721982a24c29c4446754ba79c11c5735961ad04816'  
'9740cee34dfda66b5cc84c2e3112b45a00dac9308a627cfad28dc4032763525ac77a0c5c67d905bdf8a56f7048338b617ce4ba5bf8e8460684d9499f3c83d7d7'  
)  

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 \  
-DCMAKE_BUILD_TYPE=Release \  
-DCMAKE_INSTALL_PREFIX=/usr  

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"  
}

cmake.patch

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})  

add_executable(  
treesheets

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 https://strlen.com/treesheets/ or https://github.com/aardappel/treesheets ; because http://treesheets.com/ 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)

@SanskritFritz

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 README.md 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!