Setup jar configuration. New version number too.

This commit is contained in:
2018-04-05 05:33:09 -05:00
parent b29dfbc6e8
commit 3895b24893
44 changed files with 674 additions and 34 deletions

View File

@@ -4,24 +4,29 @@
function main() {
sudo find . -type f -exec chmod 644 {} +
sudo find . -type d -exec chmod 755 {} +
sudo chown -R root:root ./*/
# Set postrm permissions
for i in `find . -name postrm`; do
sudo chmod 555 "${i}"
for i in `find . -name postrm`; do
sudo chmod 755 "${i}"
done
# Set fxwinwrap permissions
for i in `find . -name fxwinwrap`; do
for i in `find . -name fxwinwrap`; do
sudo chmod 755 "${i}"
done
# Set xwinwrap permissions
for i in `find . -name xwinwrap`; do
for i in `find . -name xwinwrap`; do
sudo chmod 755 "${i}"
done
for in in `find . -name *.FXWinWrap.desktop.swp`; do
sudo rm -rf "${i}"
done;
sudo chmod 755 fxwinwrap*/opt/FXWinWrap/resources/bin/*
sudo chown -R root:root ./*/
builder;
}

View File

@@ -0,0 +1,8 @@
Package: fxwinwrap64
Version: 0.1-5
Section: java
Priority: optional
Architecture: amd64
Depends: openjdk-8-jre (>= 8u45-b14-1), openjfx (>= 8u60-b27-4), ffmpegthumbnailer (>= 2.0.10-0.1), mplayer2 (>=2.0-728-g2c378c7-4), gifsicle (>=1.86-1), nitrogen (>=1.5.2-2)
Maintainer: Maxim Stewart <1itdominator@gmail.com>
Description: FXWinWrap is a GUI to handle setting XWinWrap options.

View File

@@ -0,0 +1,16 @@
#!/bin/bash
#postrm (script executed after uninstalling the package)
#set -e
if [ -f /bin/fxwinwrap ]; then
rm /bin/fxwinwrap
fi
if [ -d /opt/FXWinWrap ]; then
rm -rf /opt/FXWinWrap
fi
if [ -x "`which xdg-desktop-menu 2>/dev/null`" ]; then
xdg-desktop-menu uninstall /usr/share/applications/FXWinWrap.desktop
xdg-desktop-menu forceupdate --mode user
fi

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

@@ -0,0 +1,6 @@
#!/bin/bash
function main() {
java -Xms32m -Xmx100m -jar FXWinWrap.jar
}
main;

View File

@@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Name=FXWinWrap
Comment=JavaFX gui for XWinWrap
Exec=/bin/fxwinwrap
Icon=/opt/FXWinWrap/FXWinWrap.png
Terminal=false
Type=Application
Categories=System;
MimeType=application/fxml;

View File

@@ -0,0 +1,22 @@
FXWinWrap is copyright 2016, 2017 Maxim Stewart.
FXWinWrap is currently developed by ITDominator <1itdominator@gmail.com>.
License: GPLv2+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
See /usr/share/common-licenses/GPL-2, or
<http://www.gnu.org/copyleft/gpl.txt> for the terms of the latest version
of the GNU General Public License.

View File

@@ -0,0 +1,8 @@
Package: fxwinwrap
Version: 0.1-5
Section: java
Priority: optional
Architecture: i386
Depends: openjdk-8-jre (>= 8u45-b14-1), openjfx (>= 8u60-b27-4), ffmpegthumbnailer (>= 2.0.10-0.1), mplayer2 (>=2.0-728-g2c378c7-4), gifsicle (>=1.86-1), nitrogen (>=1.5.2-2)
Maintainer: Maxim Stewart <1itdominator@gmail.com>
Description: FXWinWrap is a GUI to handle setting XWinWrap options.

View File

@@ -0,0 +1,16 @@
#!/bin/bash
#postrm (script executed after uninstalling the package)
#set -e
if [ -f /bin/fxwinwrap ]; then
rm /bin/fxwinwrap
fi
if [ -d /opt/FXWinWrap ]; then
rm -rf /opt/FXWinWrap
fi
if [ -x "`which xdg-desktop-menu 2>/dev/null`" ]; then
xdg-desktop-menu uninstall /usr/share/applications/FXWinWrap.desktop
xdg-desktop-menu forceupdate --mode user
fi

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

@@ -0,0 +1,6 @@
#!/bin/bash
function main() {
java -Xms32m -Xmx100m -jar FXWinWrap.jar
}
main;

View File

@@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Name=FXWinWrap
Comment=JavaFX gui for XWinWrap
Exec=/bin/fxwinwrap
Icon=/opt/FXWinWrap/FXWinWrap.png
Terminal=false
Type=Application
Categories=System;
MimeType=application/fxml;