Package Details: treesheets-git r854.11ce76f-2

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: FabioLolix
Votes: 36
Popularity: 1.44
First Submitted: 2013-06-14 04:57 (UTC)
Last Updated: 2025-01-10 18:57 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 9 Next › Last »

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!

SanskritFritz commented on 2022-07-21 13:12 (UTC)

Love the new desc btw

SanskritFritz commented on 2022-07-21 10:15 (UTC)

hawath this is wonderful, thank you! I will update the package with your changes. One question: is it ok if I change the dependency to wxwidgets-gtk3 or should we leave as is since it provides wxgtk3?

W47MPUSv commented on 2022-07-20 19:03 (UTC)

Hi, as I said in my previous comment:

As said in the "Building" section of README.md, wxWidgets 3.1 or newer is preferred. So perhaps wxgtk3-dev is a better choice for wxWidget backend since it is 3.1.5 and depends on gtk3. I have tested current PKGBUILD with wxgtk3(wxgtk3-dev) as depend on 5.15.3-arch1-1.

Btw, no need to build static version of wxgtk though suggested in the README.md.

Below is my PKGBUILD:

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

_pkgname=treesheets
pkgname=$_pkgname-git
pkgver=r347.981e0a5
pkgrel=1
pkgdesc="A \"hierarchical spreadsheet\" that is a great replacement for spreadsheets, mind mappers, outliners, PIMs, text editors and small databases."
url="http://treesheets.com"
license=('ZLIB')
depends=('wxgtk3')
makedepends=('cmake' 'git')
arch=('any')
provides=('treesheets')
conflicts=('treesheets')

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

sha512sums=(
  'SKIP'
  '7ea8b6947c334adebba774bcdd4db27670206a216de0c023c2b69aa3ad3b621165733a36f03f2e23bab1e7721982a24c29c4446754ba79c11c5735961ad04816'
)

pkgver() {
  cd $_pkgname

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

prepare() {
  cd $_pkgname

  patch -p1 < ../myframe.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"
}

SanskritFritz commented on 2022-07-19 10:22 (UTC)

There are two packages that provide wxgtk2. Have you guys tried that?