8
0
forked from pool/tuxguitar

upgrade to 2.0.1 #1

Merged
fstrba merged 1 commits from guiv42/tuxguitar:upgrade201 into main 2025-12-30 03:46:55 +01:00
5 changed files with 19 additions and 23 deletions

View File

@@ -1,14 +1,5 @@
From a5c036eeddba8d956431f2b537fa7aba10ead8aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fridrich=20=C5=A0trba?= <fridrich.strba@bluewin.ch>
Date: Fri, 21 Feb 2025 15:17:53 +0100
Subject: [PATCH 4/4] startscript
---
.../common-linux/tuxguitar.sh | 151 +++++++++++++++++-
1 file changed, 144 insertions(+), 7 deletions(-)
diff --git a/desktop/build-scripts/common-resources/common-linux/tuxguitar.sh b/desktop/build-scripts/common-resources/common-linux/tuxguitar.sh
index a213786ad..f059e32fb 100755
index 65fcdf07b..a8887b2d6 100755
--- a/desktop/build-scripts/common-resources/common-linux/tuxguitar.sh
+++ b/desktop/build-scripts/common-resources/common-linux/tuxguitar.sh
@@ -1,20 +1,157 @@
@@ -165,17 +156,14 @@ index a213786ad..f059e32fb 100755
+t="/usr/share/java/commons-io.jar"
+[ -r "$t" ] && CLASSPATH=${CLASSPATH}:$t
##MAINCLASS
MAINCLASS=org.herac.tuxguitar.app.TGMainSingleton
##JVM ARGUMENTS
VM_ARGS="-Xmx512m"
MAINCLASS=app.tuxguitar.app.TGMainSingleton
+## SHAREPATH
+SHAREPATH=/usr/share/tuxguitar
##EXPORT VARS
export CLASSPATH
export LD_LIBRARY_PATH
##Avoid problems with Accelerated Compositing mode in SWT/WebKitGTK
export WEBKIT_DISABLE_COMPOSITING_MODE=1
##LAUNCH
-${JAVA} ${VM_ARGS} -cp :${CLASSPATH} -Dtuxguitar.home.path="${TG_DIR}" -Dtuxguitar.share.path="share/" -Djava.library.path="${LD_LIBRARY_PATH}" ${MAINCLASS} "$@"
+${JAVA} ${VM_ARGS} -cp :${CLASSPATH} -Dtuxguitar.share.path="${SHAREPATH}/" -Djava.library.path="${LD_LIBRARY_PATH}" ${MAINCLASS} "$@"
--
2.48.1
-${JAVA} -cp :${CLASSPATH} -Dtuxguitar.home.path="${TG_DIR}" -Dtuxguitar.share.path="share/" -Djava.library.path="${LD_LIBRARY_PATH}" ${MAINCLASS} "$@"
+${JAVA} -cp :${CLASSPATH} -Dtuxguitar.share.path="${SHAREPATH}/" -Djava.library.path="${LD_LIBRARY_PATH}" ${MAINCLASS} "$@"

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:44f84f0fa35d24cbe0f8380a793503c25ddc2b79bc0c69a38aa7bc134ea7b219
size 98266835

BIN
2.0.1.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sun Dec 28 11:12:54 UTC 2025 - guiv42 <guiv42@tuta.io>
- Updated to new upstream release 2.0.1
* new file format
* new free edition mode
* new configurable main toolbar
-------------------------------------------------------------------
Fri Nov 14 13:31:50 UTC 2025 - Fridrich Strba <fstrba@suse.com>

View File

@@ -26,7 +26,7 @@
%global with_lv2 0
%endif
Name: tuxguitar
Version: 1.6.6
Version: 2.0.1
Release: 0
Summary: A multitrack tablature editor and player written in Java-SWT
License: LGPL-2.1-or-later
@@ -85,7 +85,7 @@ find . -name "*.so" -print -delete
find . \( -name "*.xml" -or -name "*.gradle" -or -name "*.properties" -or -name "*.html" -or -name control -or -name Info.plist -or -name CHANGES \) -and -not -path "./website/*" -and -type f -exec sed -i "s/9.99-SNAPSHOT/%{version}/" '{}' \;
# Also set the version in the "Help - About" dialog
sed -i "s/static final String RELEASE_NAME =.*/static final String RELEASE_NAME = (TGApplication.NAME + \" %{version}\");/" desktop/TuxGuitar/src/org/herac/tuxguitar/app/view/dialog/about/TGAboutDialog.java
sed -i "s/static final String RELEASE_NAME =.*/static final String RELEASE_NAME = (TGApplication.NAME + \" %{version}\");/" desktop/TuxGuitar/src/app/tuxguitar/app/view/dialog/about/TGAboutDialog.java
%if !%{with_lv2}
%patch -P 1 -p1