Your message dated Thu, 05 Mar 2020 09:19:37 +0000
with message-id <[email protected]>
and subject line Bug#952942: fixed in biglybt 2.3.0.0-1
has caused the Debian Bug report #952942,
regarding biglybt: package ignores ~/.biglybt/java.vmoptions
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
952942: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=952942
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: biglybt
Version: 2.2.0.2-2


Upstream version of BiglyBT uses options specified in 
`~/.biglybt/java.vmoptions` (one per line) to apply them to the JVM.

It's useful, since it allows to allocate more memory than the default, or run 
with some nonstandard options. In my case, without allocating more memory than 
the default for JVM is in Debian, I'm running into performance issues.

Example content of `java.vmoptions` file:

```
-Xmx1024m
-Xms256m
-XX:+PerfDisableSharedMem
-XX:+UnlockExperimentalVMOptions
-XX:+UseZGC
```

Additionally, upstream version of BBT provides information about the file and 
what options are specified in it in its options (Tools > Options > Startup & 
Shutdown), and it also has GUI for setting how much memory is JVM allowed to 
use.

Currently I worked around this issue by putting together content of 
`/usr/bin/biglybt` and options from the ignored file in a custom script.

By the way, `$@` in `/usr/bin/biglybt` should be enclosed in double quotes, 
otherwise the wrapper is going to treat spaces in torrent filenames as arg 
separator, preventing it from being able to open torrents with spaces in 
filename.

Feel free to use the patch:


>From ea85fc1ca864c956d1605a539f5f27cd3c4e1df8 Mon Sep 17 00:00:00 2001
From: Elde Etnor <[email protected]>
Date: Mon, 2 Mar 2020 03:41:13 +0000
Subject: [PATCH] Fix missing quotes around `$@` in debian/biglybt.sh

---
 debian/biglybt.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/biglybt.sh b/debian/biglybt.sh
index fb1363f..427c673 100755
--- a/debian/biglybt.sh
+++ b/debian/biglybt.sh
@@ -2,4 +2,4 @@
 
 java -cp 
/usr/share/java/biglybt-core.jar:/usr/share/java/biglybt-ui.jar:/usr/share/java/commons-cli.jar:/usr/share/java/swt4.jar:/usr/share/java/bcprov.jar
 \
      -Dazureus.install.path=/usr/share/biglybt \
-     com.biglybt.ui.Main $@
+     com.biglybt.ui.Main "$@"
-- 
2.24.1

--- End Message ---
--- Begin Message ---
Source: biglybt
Source-Version: 2.3.0.0-1
Done: Emmanuel Bourg <[email protected]>

We believe that the bug you reported is fixed in the latest version of
biglybt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emmanuel Bourg <[email protected]> (supplier of updated biglybt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 05 Mar 2020 09:22:42 +0100
Source: biglybt
Architecture: source
Version: 2.3.0.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<[email protected]>
Changed-By: Emmanuel Bourg <[email protected]>
Closes: 952942
Changes:
 biglybt (2.3.0.0-1) unstable; urgency=medium
 .
   * New upstream release
     - Refreshed the patches
   * Support setting VM options in ~/.biglybt/java.vmoptions (Closes: #952942)
 .
   [ Elde Etnor ]
   * Support opening torrents from the command line with spaces in the path
Checksums-Sha1:
 b28ddff21ce707bfa2c60c57bf96434ef9ad254c 2040 biglybt_2.3.0.0-1.dsc
 158e2ce76c11dda47ab957ede9c508d7116df9d2 5188312 biglybt_2.3.0.0.orig.tar.xz
 7ebc9b8b365f1832be5b597164d664bca9bedda7 15704 biglybt_2.3.0.0-1.debian.tar.xz
 dcd713ea680c7570850bab5a2171417a2f94b090 14947 
biglybt_2.3.0.0-1_source.buildinfo
Checksums-Sha256:
 964ba73d02f75ccf5cf8faf4999c9e406c04434cffc7120d0fa1a52924b9abd1 2040 
biglybt_2.3.0.0-1.dsc
 af2f3e940dfbea26df20bf921cc7266fe6a53e904400853388c132b98035a1e5 5188312 
biglybt_2.3.0.0.orig.tar.xz
 61cf2674772e079bc147e04b28b68a5cfb0711913757d41c7306d4d27464bdca 15704 
biglybt_2.3.0.0-1.debian.tar.xz
 2cdde1c6ac00c312d5781c678d587a1f7ba2240215eea53b0d3466f72f1c77b8 14947 
biglybt_2.3.0.0-1_source.buildinfo
Files:
 f610528f00ee2c2ea66095acb4e28177 2040 java optional biglybt_2.3.0.0-1.dsc
 0951727226b91690b9756f8122605050 5188312 java optional 
biglybt_2.3.0.0.orig.tar.xz
 caef1a936f51e7dfd5c3fcb9b0de8199 15704 java optional 
biglybt_2.3.0.0-1.debian.tar.xz
 801049220d776b7e304b50ed5f491eb8 14947 java optional 
biglybt_2.3.0.0-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEuM5N4hCA3PkD4WxA9RPEGeS50KwFAl5gvosSHGVib3VyZ0Bh
cGFjaGUub3JnAAoJEPUTxBnkudCs0JEQAKW7jDJirNFsnioMF7RyvirmT7Ut+6zX
jx1Tf4gdcaKOL5zMgOxW58RjJw6kKoC8vryi59N0ULDMcckwCOqDG5+gQpkW/Yb1
iQ6Tffj/fxTcV7F6XRQp13LUly4NxX/hxC9QmQE9hnrMREhBSwy/+267WG0ccLMu
HSPE+FiZJGcXJwWqnCzeHKpREmNniTaFlz6qrhm4bByx9KwiMj2K+JR3MiXTP7k/
kL0fJ1CQpT4ypNqh/hAv5SdB7t4VnEB1TYxyB3Ylhe8PtwDRc40CsCLnZ3mY6NSI
iX0c1KzQqL1rLTKOaX0GQbAX8kZvcNJjmxZGgptQRI2sXhBhErz2QVKNFhqhYYda
YhGlt9f5666RRgQA6OXlpASdkWl44So6s8M+IZN/uLR3chsGhrb0TTKBvGP6+Rwv
8pgEJ9pjI2cv2oQg+b3S2aB3kyQs0zGF6hfkVUPHJ1AbjmvXTa+weaDxKr3+5wRc
4Xmy4P08yC4MmGwG+S2zRvLdC0GXkOAjHfw/4JJ8XGWfBnhy4giSmcmh8gUXC/zP
QfIlO47bgWRRJHlnZpH97wpYvd2BtViU1hqqAU+I4GKEharE8T02xiOzjB/zBwic
iiPMygk1UgiY2/cEkVa5FdN2ddVynXVI/IoU8betS5TsokVo1s5OMGc7k3bdQayW
enNLRctlfEGR
=yZaZ
-----END PGP SIGNATURE-----

--- End Message ---
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
[email protected] for discussions and questions.

Reply via email to