Package Details: treesheets-git r663.4e91999-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, FabioLolix)
Last Packager: SanskritFritz
Votes: 34
Popularity: 0.29
First Submitted: 2013-06-14 04:57 (UTC)
Last Updated: 2024-04-25 17:40 (UTC)

Latest Comments

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

SanskritFritz commented on 2024-11-01 22:24 (UTC)

Hope you dont mind adding you to the maintainers

FabioLolix commented on 2024-11-01 21:43 (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.

thanks guys, I fixed the package

The package wasn't fixed, it still use wxwidgets-gtk3, you can see from

-- Detecting CXX compile features - done
-- Found wxWidgets: -lwx_gtk3u_aui-3.2;-lwx_gtk3u_core-3.2;-lwx_baseu_xml-3.2;-lwx_baseu_net-3.2;-lwx_baseu-3.2 (found version "3.2.6")
-- Configuring done (0.6s)

and by analyzing the package with namcap and by building in clean chroot with devtools

See https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot extra-x86_64-build


This build by default with gtk3 and should be the default here too, a different pkgbuild should be updated for building with Qt

Need to correct license typing and location

treesheets-git E: The SPDX license statement 'ZLIB' should be formatted as 'Zlib' instead
treesheets-git E: Uncommon license identifiers such as 'Zlib' require license files below /usr/share/licenses/treesheets-git/ or switching to common license identifiers. Found 0/1 required license files.

CMAKE_BUILD_TYPE should be None by default and update to current cmake guidelines

This have another avoidable inconvenient; it download the wxwidgets github repo as submodule, can be avoided with cmake flags

All is fixed here:

SanskritFritz commented on 2024-04-25 17:43 (UTC)

thanks guys, I fixed the package

pescepalla commented on 2024-04-25 11:30 (UTC) (edited on 2024-04-25 11:31 (UTC) by pescepalla)

Builds for me only after installing wxwidgets-gtk3

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.