This commit is contained in:
coco
2026-07-03 15:56:07 +08:00
commit caef23209c
5767 changed files with 1004268 additions and 0 deletions
@@ -0,0 +1,19 @@
# Maintainer: Jérémie Roquet <jroquet@arkanosis.net>
pkgname=binjr-bin
pkgver=${version}
pkgrel=1
provides=("binjr")
pkgdesc="Time Series Data Browser"
arch=("x86_64")
url="https://binjr.eu/"
license=("Apache")
source=("https://github.com/binjr/binjr/releases/download/v\${pkgver}/binjr-\${pkgver}_linux-amd64.tar.gz" "https://github.com/binjr/binjr/releases/download/v\${pkgver}/binjr-\${pkgver}_linux-amd64.tar.gz.asc")
sha512sums=('SKIP' 'SKIP')
validpgpkeys=("20CAEC83151CCC7CE12DF29EAF45EEEFB23702CB")
package() {
install -d \$pkgdir/{opt/binjr,usr/bin,usr/share/doc/binjr}
mv \$srcdir/\$pkgver \$pkgdir/opt/binjr
ln -s /opt/binjr/\$pkgver/binjr \$pkgdir/usr/bin/binjr
ln -s /opt/binjr/\$pkgver/README.html \$pkgdir/usr/share/doc/binjr/README.html
}
@@ -0,0 +1,28 @@
#! /bin/sh
BASEDIR="$(dirname "$(readlink -f "$0")")"
JAVACMD="$BASEDIR/runtime/bin/java"
exec "$JAVACMD" \
-splash:"$BASEDIR/resources/images/splashscreen.png" \
-cp "$BASEDIR/libs/*" \
-Xmx4096M \
-XX:+UnlockExperimentalVMOptions \
-XX:+UseShenandoahGC \
-XX:ShenandoahGCHeuristics=compact \
-XX:ShenandoahAllocationThreshold=20 \
--add-exports=javafx.base/com.sun.javafx.event=ALL-UNNAMED \
--add-exports=javafx.controls/com.sun.javafx.charts=ALL-UNNAMED \
--add-opens=javafx.graphics/javafx.geometry=ALL-UNNAMED \
--add-opens=javafx.graphics/com.sun.javafx.scene=ALL-UNNAMED \
--add-opens=javafx.graphics/com.sun.javafx.scene.traversal=ALL-UNNAMED \
-Dapp.name="binjr" \
-Dapp.pid="$$" \
-Dapp.home="$BASEDIR" \
-Dbasedir="$BASEDIR" \
-Dbinjr.portable=true \
"eu.binjr.core.Bootstrap" \
--system-plugins-path="$BASEDIR/plugins" \
--packaging="LINUX_AUR" \
"$@"
Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

@@ -0,0 +1,17 @@
Package: binjr
Version: APPLICATION_VERSION_WITH_RELEASE
Section: Utility
Maintainer: Frederic Thevenet <binjr@free.fr>
Priority: optional
Architecture: amd64
Provides: binjr
Homepage: https://binjr.eu
Description: A Time Series Data Browser
binjr is a standalone time series browser.
it renders time series data produced by other
applications as dynamically editable charts
and provides advanced features to navigate
the data smoothly and efficiently.
Depends: libasound2, libatk-bridge2.0-0, libatk1.0-0, libatspi2.0-0, libblkid1, libbsd0, libc6, libcairo-gobject2, libcairo2, libdatrie1, libdbus-1-3, libepoxy0, libexpat1, libffi6 | libffi7, libfontconfig1, libfreetype6, libfribidi0, libgcrypt20, libgdk-pixbuf2.0-0, libgl1, libglib2.0-0, libglvnd0, libglx0, libgpg-error0, libgraphite2-3, libgtk-3-0, libgtk2.0-0, libharfbuzz0b, liblz4-1, liblzma5, libmount1, libpango-1.0-0, libpangocairo-1.0-0, libpangoft2-1.0-0, libpcre2-8-0, libpcre3, libpixman-1-0, libpng16-16, libselinux1, libsystemd0, libthai0, libuuid1, libwayland-client0, libwayland-cursor0, libwayland-egl1, libx11-6, libxau6, libxcb-render0, libxcb-shm0, libxcb1, libxcomposite1, libxcursor1, libxdamage1, libxdmcp6, libxext6, libxfixes3, libxi6, libxinerama1, libxkbcommon0, libxrandr2, libxrender1, libxtst6, xdg-utils, zlib1g
Installed-Size: 86400
@@ -0,0 +1,3 @@
Files: *
Copyright: 2016-2020 Frederic Thevenet
License: Apache-2.0
@@ -0,0 +1,20 @@
#
# Copyright 2019 Frederic Thevenet
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
extension=bjr
mime-type=application/x-binjr
icon=../distribution/bundlers/deb/binjr.png
description=binjr workspace
@@ -0,0 +1,37 @@
#!/bin/sh
# postinst script for binjr
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <postinst> `abort-remove'
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see https://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
configure)
xdg-desktop-menu install /opt/binjr/lib/binjr-binjr.desktop || echo "Desktop menu entry could not be installed" >&2
xdg-mime install /opt/binjr/lib/binjr-binjr-MimeInfo.xml || echo "x-binjr Mime type could not be installed" >&2
xdg-icon-resource install --context mimetypes --size 128 /opt/binjr/lib/binjr.png application-x-binjr || echo "Icon resource could not be installed" >&2
ln -sf /opt/binjr/bin/binjr /usr/bin/binjr
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
exit 0
+144
View File
@@ -0,0 +1,144 @@
#!/bin/sh
# prerm script for binjr
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <prerm> `remove'
# * <old-prerm> `upgrade' <new-version>
# * <new-prerm> `failed-upgrade' <old-version>
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
# * <deconfigured's-prerm> `deconfigure' `in-favour'
# <package-being-installed> <version> `removing'
# <conflicting-package> <version>
# for details, see https://www.debian.org/doc/debian-policy/ or
# the debian-policy package
#
# Remove $1 desktop file from the list of default handlers for $2 mime type
# in $3 file dumping output to stdout.
#
_filter_out_default_mime_handler ()
{
local defaults_list="$3"
local desktop_file="$1"
local mime_type="$2"
awk -f- "$defaults_list" <<EOF
BEGIN {
mime_type="$mime_type"
mime_type_regexp="~" mime_type "="
desktop_file="$desktop_file"
}
\$0 ~ mime_type {
\$0 = substr(\$0, length(mime_type) + 2);
split(\$0, desktop_files, ";")
remaining_desktop_files
counter=0
for (idx in desktop_files) {
if (desktop_files[idx] != desktop_file) {
++counter;
}
}
if (counter) {
printf mime_type "="
for (idx in desktop_files) {
if (desktop_files[idx] != desktop_file) {
printf desktop_files[idx]
if (--counter) {
printf ";"
}
}
}
printf "\n"
}
next
}
{ print }
EOF
}
#
# Remove $2 desktop file from the list of default handlers for $@ mime types
# in $1 file.
# Result is saved in $1 file.
#
_uninstall_default_mime_handler ()
{
local defaults_list=$1
shift
[ -f "$defaults_list" ] || return 0
local desktop_file="$1"
shift
tmpfile1=$(mktemp)
tmpfile2=$(mktemp)
cat "$defaults_list" > "$tmpfile1"
local v
local update=
for mime in "$@"; do
_filter_out_default_mime_handler "$desktop_file" "$mime" "$tmpfile1" > "$tmpfile2"
v="$tmpfile2"
tmpfile2="$tmpfile1"
tmpfile1="$v"
if ! diff -q "$tmpfile1" "$tmpfile2" > /dev/null; then
update=yes
trace Remove $desktop_file default handler for $mime mime type from $defaults_list file
fi
done
if [ -n "$update" ]; then
cat "$tmpfile1" > "$defaults_list"
trace "$defaults_list" file updated
fi
rm -f "$tmpfile1" "$tmpfile2"
}
#
# Remove $1 desktop file from the list of default handlers for $@ mime types
# in all known system defaults lists.
#
uninstall_default_mime_handler ()
{
for f in /usr/share/applications/defaults.list /usr/local/share/applications/defaults.list; do
_uninstall_default_mime_handler "$f" "$@"
done
}
trace ()
{
echo "$@"
}
case "$1" in
remove|upgrade|deconfigure)
xdg-desktop-menu uninstall /opt/binjr/lib/binjr-binjr.desktop || echo "Desktop menu entry could not be uninstalled" >&2
xdg-mime uninstall /opt/binjr/lib/binjr-binjr-MimeInfo.xml || echo "x-binjr Mime type could not be uninstalled" >&2
uninstall_default_mime_handler binjr-binjr.desktop application/x-binjr
xdg-icon-resource uninstall application-x-binjr --size 128 || echo "Icon resource could not be uninstalled" >&2
rm -f /usr/bin/binjr
;;
failed-upgrade)
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac
exit 0
Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

@@ -0,0 +1,7 @@
[binjr]
name=binjr
baseurl=https://repos.binjr.eu/rpm/stable
gpgkey=https://binjr.eu/openpgpkey/binjr_dev_pub_keys.asc
enabled=1
gpgcheck=1
repo_gpgcheck=1
@@ -0,0 +1,177 @@
Summary: A Time Series Browser
Name: binjr
Version: APPLICATION_VERSION
Release: APPLICATION_RELEASE
License: Apache-2.0
Vendor: binjr
URL: https://binjr.eu
Prefix: %{dirname:/opt/binjr}
Provides: binjr
%if "xUtility" != "x"
Group: Utility
%endif
Autoprov: 0
Autoreq: 0
%if "xalsa-lib, at-spi2-atk, at-spi2-core, atk, bzip2-libs, cairo, cairo-gobject, dbus-libs, elfutils-libelf, elfutils-libs, expat, fontconfig, freetype, fribidi, gdk-pixbuf2, glib2, glibc, graphite2, gtk3, harfbuzz, libX11, libXau, libXcomposite, libXcursor, libXdamage, libXext, libXfixes, libXi, libXinerama, libXrandr, libXrender, libXtst, libattr, libblkid, libcap, libepoxy, libffi, libgcc, libgcrypt, libglvnd, libglvnd-egl, libglvnd-glx, libgpg-error, libmount, libpng, libselinux, libthai, libuuid, libwayland-client, libwayland-cursor, libwayland-egl, libxcb, libxkbcommon, lz4, pango, pcre, pixman, systemd-libs, xdg-utils, xz-libs, zlib" != "x" || "x" != "x"
Requires: alsa-lib, at-spi2-atk, at-spi2-core, atk, bzip2-libs, cairo, cairo-gobject, dbus-libs, elfutils-libelf, elfutils-libs, expat, fontconfig, freetype, fribidi, gdk-pixbuf2, glib2, glibc, graphite2, gtk3, harfbuzz, libX11, libXau, libXcomposite, libXcursor, libXdamage, libXext, libXfixes, libXi, libXinerama, libXrandr, libXrender, libXtst, libattr, libblkid, libcap, libepoxy, libffi, libgcc, libgcrypt, libglvnd, libglvnd-egl, libglvnd-glx, libgpg-error, libmount, libpng, libselinux, libthai, libuuid, libwayland-client, libwayland-cursor, libwayland-egl, libxcb, libxkbcommon, lz4, pango, pcre, pixman, systemd-libs, xdg-utils, xz-libs, zlib
%endif
#comment line below to enable effective jar compression
#it could easily get your package size from 40 to 15Mb but
#build time will substantially increase and it may require unpack200/system java to install
%define __jar_repack %{nil}
%description
binjr is a standalone time series browser.
it renders time series data produced by other
applications as dynamically editable charts
and provides advanced features to navigate
the data smoothly and efficiently.
%prep
%build
%install
rm -rf %{buildroot}
install -d -m 755 %{buildroot}/opt/binjr
cp -r %{_sourcedir}/opt/binjr/* %{buildroot}/opt/binjr
%if "x%{buildroot}/../../../../../LICENSE.md" != "x"
%define license_install_file %{_defaultlicensedir}/%{name}-%{version}/%{basename:%{buildroot}/../../../../../LICENSE.md}
install -d -m 755 %{buildroot}%{dirname:%{license_install_file}}
install -m 644 %{buildroot}/../../../../../LICENSE.md %{buildroot}%{license_install_file}
%endif
%files
%if "x%{buildroot}/../../../../../LICENSE.md" != "x"
%license %{license_install_file}
%{dirname:%{license_install_file}}
%endif
# If installation directory for the application is /a/b/c, we want only root
# component of the path (/a) in the spec file to make sure all subdirectories
# are owned by the package.
%(echo /opt/binjr | sed -e "s|\(^/[^/]\{1,\}\).*$|\1|")
%post
xdg-desktop-menu install /opt/binjr/lib/binjr-binjr.desktop
xdg-mime install /opt/binjr/lib/binjr-binjr-MimeInfo.xml
xdg-icon-resource install --context mimetypes --size 128 /opt/binjr/lib/binjr.png application-x-binjr
# Symlink bin command to /usr/bin
ln -sf /opt/%{name}/bin/%{name} %{_bindir}/%{name}
%preun
#
# Remove $1 desktop file from the list of default handlers for $2 mime type
# in $3 file dumping output to stdout.
#
_filter_out_default_mime_handler ()
{
local defaults_list="$3"
local desktop_file="$1"
local mime_type="$2"
awk -f- "$defaults_list" <<EOF
BEGIN {
mime_type="$mime_type"
mime_type_regexp="~" mime_type "="
desktop_file="$desktop_file"
}
\$0 ~ mime_type {
\$0 = substr(\$0, length(mime_type) + 2);
split(\$0, desktop_files, ";")
remaining_desktop_files
counter=0
for (idx in desktop_files) {
if (desktop_files[idx] != desktop_file) {
++counter;
}
}
if (counter) {
printf mime_type "="
for (idx in desktop_files) {
if (desktop_files[idx] != desktop_file) {
printf desktop_files[idx]
if (--counter) {
printf ";"
}
}
}
printf "\n"
}
next
}
{ print }
EOF
}
#
# Remove $2 desktop file from the list of default handlers for $@ mime types
# in $1 file.
# Result is saved in $1 file.
#
_uninstall_default_mime_handler ()
{
local defaults_list=$1
shift
[ -f "$defaults_list" ] || return 0
local desktop_file="$1"
shift
tmpfile1=$(mktemp)
tmpfile2=$(mktemp)
cat "$defaults_list" > "$tmpfile1"
local v
local update=
for mime in "$@"; do
_filter_out_default_mime_handler "$desktop_file" "$mime" "$tmpfile1" > "$tmpfile2"
v="$tmpfile2"
tmpfile2="$tmpfile1"
tmpfile1="$v"
if ! diff -q "$tmpfile1" "$tmpfile2" > /dev/null; then
update=yes
trace Remove $desktop_file default handler for $mime mime type from $defaults_list file
fi
done
if [ -n "$update" ]; then
cat "$tmpfile1" > "$defaults_list"
trace "$defaults_list" file updated
fi
rm -f "$tmpfile1" "$tmpfile2"
}
#
# Remove $1 desktop file from the list of default handlers for $@ mime types
# in all known system defaults lists.
#
uninstall_default_mime_handler ()
{
for f in /usr/share/applications/defaults.list /usr/local/share/applications/defaults.list; do
_uninstall_default_mime_handler "$f" "$@"
done
}
trace ()
{
echo "$@"
}
xdg-desktop-menu uninstall /opt/binjr/lib/binjr-binjr.desktop
xdg-mime uninstall /opt/binjr/lib/binjr-binjr-MimeInfo.xml
uninstall_default_mime_handler binjr-binjr.desktop application/x-binjr
xdg-icon-resource uninstall application-x-binjr --size 128
# Remove symlink in bin dir
if [ $1 = 0 ]; then
rm -f %{_bindir}/%{name}
fi
%clean
@@ -0,0 +1,209 @@
Copyright:
Copyright (C) 2017 ${project.organization.name}
License:
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright {yyyy} {name of copyright owner}
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
@@ -0,0 +1,20 @@
#
# Copyright 2019 Frederic Thevenet
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
extension=bjr
mime-type=application/x-binjr
icon=../distribution/bundlers/rpm/binjr.png
description=binjr workspace
@@ -0,0 +1,19 @@
#
# Copyright 2019 Frederic Thevenet
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
extension=bjr
icon=binjr.icns
description=binjr workspace
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

@@ -0,0 +1,16 @@
vm.heapsize.preferred = 4096
; --- Use Shenandoah Garbage Collector ---
vmarg.1 = -XX:+UnlockExperimentalVMOptions
vmarg.2 = -XX:+UseShenandoahGC
vmarg.3 = -XX:ShenandoahGCHeuristics=compact
vmarg.4 = -XX:ShenandoahAllocationThreshold=20
; --- Module exports ---
vmarg.5 = --add-exports=javafx.base/com.sun.javafx.event=ALL-UNNAMED
vmarg.6 = --add-exports=javafx.controls/com.sun.javafx.charts=ALL-UNNAMED
vmarg.7 = --add-opens=javafx.graphics/javafx.geometry=ALL-UNNAMED
vmarg.8 = --add-opens=javafx.graphics/com.sun.javafx.scene=ALL-UNNAMED
vmarg.9 = --add-opens=javafx.graphics/com.sun.javafx.scene.traversal=ALL-UNNAMED
; --- Application Packaging ---
arg.1 = --packaging=WIN_MSI
; --- System Plugins Path (absolute or relative to binjr-core.jar) ---
arg.2 = --system-plugins-path=../plugins
@@ -0,0 +1,181 @@
<!--
~ Copyright 2019 Frederic Thevenet
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<!--
# This comment is generated by WixEdit, the specific commandline
# arguments for the WiX Toolset are stored here.
candleArgs:
lightArgs: "<projectname>.wixobj" -out "<projectname>.msi" -ext WixUIExtension
-->
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<Package Name="binjr" Language="1033" Version="$(var.binjrVersion)" Manufacturer="binjr"
UpgradeCode="6362B9A7-06AA-42CB-8A81-5743B319CE23" InstallerVersion="200" Scope="perUser">
<SummaryInformation Description="binjr - A time Series Browser"/>
<Icon Id="binjr.ico" SourceFile="$(var.resourcesDir)\platforms\windows\resources\icons\binjr.ico"/>
<Property Id="ARPPRODUCTICON" Value="binjr.ico"/>
<Property Id="ARPHELPLINK" Value="https://binjr.eu/documentation/getting-started/"/>
<Property Id="ARPURLINFOABOUT" Value="https://binjr.eu"/>
<Property Id="ARPURLUPDATEINFO" Value="https://binjr.eu/download/latest_release/"/>
<Property Id="PREVIOUSVERSIONSINSTALLED" Secure="yes"/>
<Property Id="LAUNCHREQUESTED" Value="0"/>
<Upgrade Id="6362B9A7-06AA-42CB-8A81-5743B319CE23">
<UpgradeVersion Property="PREVIOUSVERSIONSINSTALLED" IncludeMinimum="yes" IncludeMaximum="yes"
Minimum="2.0.0.0" Maximum="99.99.99.99"/>
</Upgrade>
<InstallExecuteSequence>
<RemoveExistingProducts After="InstallInitialize"/>
<Custom Action="LaunchApplication" After="InstallFinalize"
Condition="(LAUNCHREQUESTED = 1) and (NOT Installed)"/>
</InstallExecuteSequence>
<Media Id="1" Cabinet="simple.cab" EmbedCab="yes"/>
<Property Id="OVERRIDEAPPFOLDER" Value="~"/>
<Property Id="APPLICATIONFOLDER">
<RegistrySearch Key="Software\[Manufacturer]\[ProductName]" Root="HKCU" Type="raw"
Id="APPLICATIONFOLDER_REGSEARCH" Name="Path"/>
</Property>
<DirectoryRef Id="APPLICATIONFOLDER">
<Component Id="CleanupMainApplicationFolder" Bitness="always64">
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Name="Path" Type="string"
Value="[APPLICATIONFOLDER]" KeyPath="yes"/>
</Component>
</DirectoryRef>
<SetProperty Id="APPLICATIONFOLDER" Before="CostFinalize" Sequence="execute" Value="[OVERRIDEAPPFOLDER]"
Condition="OVERRIDEAPPFOLDER&lt;&gt;&quot;~&quot;"/>
<Component Id="comp_env_path" Directory="APPLICATIONFOLDER" Guid="7388eff2-3cb6-4e01-8bcb-9227634ce086"
KeyPath="yes">
<Environment Id="env_path" Name="PATH" Value="[APPLICATIONFOLDER]" Action="set" Part="last" System="no"/>
</Component>
<Feature Id="DefaultFeature" Title="Main Feature" Level="1" ConfigurableDirectory="APPLICATIONFOLDER">
<ComponentRef Id="CleanupMainApplicationFolder"/>
<ComponentRef Id="StartMenuShortcuts"/>
<ComponentRef Id="binjrDir"/>
<ComponentGroupRef Id="binjrFiles"/>
<ComponentRef Id="comp_env_path"/>
</Feature>
<Property Id="WIXUI_INSTALLDIR" Value="APPLICATIONFOLDER"/>
<Property Id="ApplicationFolderName" Value="binjr"/>
<Property Id="WixAppFolder" Value="WixPerUserFolder"/>
<WixVariable Id="WixUISupportPerMachine" Value="0"/>
<WixVariable Id="WixUIBannerBmp" Value="$(var.resourcesDir)\bundlers\win_msi\Install_Banner.jpg"/>
<WixVariable Id="WixUIDialogBmp" Value="$(var.resourcesDir)\bundlers\win_msi\Install_Splash.png"/>
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch binjr"/>
<?foreach WIXUIARCH in X86;X64;A64 ?>
<UI Id="WixUI_InstallDir_$(WIXUIARCH)">
<Publish Dialog="BrowseDlg" Control="OK" Event="DoAction" Value="WixUIValidatePath_$(WIXUIARCH)"
Order="3" Condition="NOT WIXUI_DONTVALIDATEPATH"/>
<Publish Dialog="InstallDirDlg" Control="Next" Event="DoAction" Value="WixUIValidatePath_$(WIXUIARCH)"
Order="2" Condition="NOT WIXUI_DONTVALIDATEPATH"/>
</UI>
<UIRef Id="WixUI_InstallDir"/>
<?endforeach?>
<UI Id="WixUI_InstallDir">
<TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8"/>
<TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12"/>
<TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes"/>
<Property Id="DefaultUIFont" Value="WixUI_Font_Normal"/>
<Property Id="WixUI_Mode" Value="InstallDir"/>
<DialogRef Id="BrowseDlg"/>
<DialogRef Id="DiskCostDlg"/>
<DialogRef Id="ErrorDlg"/>
<DialogRef Id="FatalError"/>
<DialogRef Id="FilesInUse"/>
<DialogRef Id="MsiRMFilesInUse"/>
<DialogRef Id="PrepareDlg"/>
<DialogRef Id="ProgressDlg"/>
<DialogRef Id="ResumeDlg"/>
<DialogRef Id="UserExit"/>
<Publish Dialog="BrowseDlg" Control="OK" Event="SpawnDialog" Value="InvalidDirDlg" Order="4"
Condition="WIXUI_INSTALLDIR_VALID&lt;&gt;&quot;1&quot;"/>
<Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999"/>
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="InstallDirDlg"
Condition="NOT Installed"/>
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg"
Condition="Installed AND PATCH"/>
<Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg"/>
<Publish Dialog="InstallDirDlg" Control="Next" Event="SetTargetPath" Value="[WIXUI_INSTALLDIR]"
Order="1"/>
<Publish Dialog="InstallDirDlg" Control="Next" Event="SpawnDialog" Value="InvalidDirDlg" Order="3"
Condition="NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID&lt;&gt;&quot;1&quot;"/>
<Publish Dialog="InstallDirDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="4"
Condition="WIXUI_DONTVALIDATEPATH OR WIXUI_INSTALLDIR_VALID=&quot;1&quot;"/>
<Publish Dialog="InstallDirDlg" Control="ChangeFolder" Property="_BrowseProperty"
Value="[WIXUI_INSTALLDIR]" Order="1"/>
<Publish Dialog="InstallDirDlg" Control="ChangeFolder" Event="SpawnDialog" Value="BrowseDlg" Order="2"/>
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="InstallDirDlg" Order="1"
Condition="NOT&#xA; Installed"/>
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="2"
Condition="Installed AND NOT PATCH"/>
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="2"
Condition="Installed AND PATCH"/>
<Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg"/>
<Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" Value="VerifyReadyDlg"/>
<Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="VerifyReadyDlg"/>
<Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg"/>
<Property Id="ARPNOMODIFY" Value="1"/>
<Publish Dialog="ExitDialog" Control="Finish" Event="DoAction" Value="LaunchApplication"
Condition="WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed"/>
</UI>
<UIRef Id="WixUI_Common"/>
<Property Id="WixShellExecTarget" Value="[#binjr.exe]"/>
<CustomAction Id="LaunchApplication" DllEntry="WixShellExec" Impersonate="yes" BinaryRef="Wix4UtilCA_X86"/>
<StandardDirectory Id="ProgramMenuFolder">
<Component Id="StartMenuShortcuts" Guid="FEE95032-6C02-4F3A-A3F7-B7C394F8E0EB">
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Type="string" Value=""
KeyPath="yes"/>
<Shortcut Id="ExeShortcut" Directory="ProgramMenuFolder" Name="binjr" Advertise="no" Icon="binjr.ico"
Target="[#binjr.exe]"/>
</Component>
</StandardDirectory>
<StandardDirectory Id="LocalAppDataFolder">
<Directory Id="APPLICATIONFOLDER" Name="binjr">
<Component Id="binjrDir" DiskId="1" Guid="8584B94D-8E65-4D5F-AAD9-C542BFB0CF5A" Bitness="always64">
<CreateFolder/>
<RemoveFolder Id="RemoveDir0" On="uninstall"/>
<RegistryKey Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" ForceCreateOnInstall="yes"
ForceDeleteOnUninstall="yes">
<RegistryValue Name="Version" Value="[Version]" Type="string" KeyPath="yes"/>
</RegistryKey>
<ProgId Id="binjrFile" Description="binjr Workspace Files">
<Extension Id="bjr" Advertise="no" ContentType="bjr">
<MIME ContentType="bjr" Default="yes"/>
<Verb Id="open" Command="Open" TargetFile="binjr.exe" Argument="&quot;%1&quot;"/>
</Extension>
</ProgId>
</Component>
</Directory>
</StandardDirectory>
</Package>
</Wix>
@@ -0,0 +1,5 @@
main.class = eu.binjr.core.Bootstrap
classpath.1 = .\libs\*
vm.sysfirst = false
vm.location = .\runtime\bin\server\jvm.dll
vm.heapsize.preferred = 4096
Binary file not shown.

After

Width:  |  Height:  |  Size: 274 KiB

@@ -0,0 +1,18 @@
vm.heapsize.preferred = 4096
; --- Use Shenandoah Garbage Collector ---
vmarg.1 = -XX:+UnlockExperimentalVMOptions
vmarg.2 = -XX:+UseShenandoahGC
vmarg.3 = -XX:ShenandoahGCHeuristics=compact
vmarg.4 = -XX:ShenandoahAllocationThreshold=20
; --- Module exports ---
vmarg.5 = --add-exports=javafx.base/com.sun.javafx.event=ALL-UNNAMED
vmarg.6 = --add-exports=javafx.controls/com.sun.javafx.charts=ALL-UNNAMED
vmarg.7 = --add-opens=javafx.graphics/javafx.geometry=ALL-UNNAMED
vmarg.8 = --add-opens=javafx.graphics/com.sun.javafx.scene=ALL-UNNAMED
vmarg.9 = --add-opens=javafx.graphics/com.sun.javafx.scene.traversal=ALL-UNNAMED
; --- Use portable preferences ---
vmarg.10 = -Dbinjr.portable=true
; --- Application Packaging ---
arg.1 = --packaging=WIN_ZIP
; --- System Plugins Path (absolute or relative to binjr-core.jar) ---
arg.2 = --system-plugins-path=../plugins