New upstream version 1.0.5
This commit is contained in:
44
debian/changelog
vendored
Normal file
44
debian/changelog
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
opennx (1.0.5) UNRELEASED; urgency=low
|
||||
|
||||
* Unused code delete
|
||||
* Build witch wx3.2 on linux
|
||||
|
||||
-- Dmitry Borisov <i@dimbor.ru> Sat, 28 Oct 2023 13:04:36 +0300
|
||||
|
||||
opennx (1.0.4) UNRELEASED; urgency=low
|
||||
|
||||
* Add installation and build dependencies for modern systems
|
||||
* Small fixes
|
||||
* Add dummy Admin session type
|
||||
|
||||
-- Dmitry Borisov <i@dimbor.ru> Mon, 05 Sep 2022 00:35:06 +0300
|
||||
|
||||
opennx (1.0.3) UNRELEASED; urgency=low
|
||||
|
||||
* Add forced view only shadow mode (freenx>=2.1.1)
|
||||
* Repair of shadow sessions list refreshing
|
||||
* nxssh force use ipv4 only
|
||||
* Enter model of ipp printer manualy (freenx>=2.0)
|
||||
|
||||
-- Dmitry Borisov <i@dimbor.ru> Sun, 19 Jun 2022 11:57:17 +0300
|
||||
|
||||
opennx (1.0.2) UNRELEASED; urgency=low
|
||||
|
||||
* Change rdp and vnc modes
|
||||
* Rewrite PA modules loading
|
||||
|
||||
-- Dmitry Borisov <i@dimbor.ru> Fri, 03 Jun 2022 20:25:37 +0300
|
||||
|
||||
opennx (1.0.1) UNRELEASED; urgency=low
|
||||
|
||||
* Don't autologin if username is empty
|
||||
* Add --nologin param to come back the behavior of r725
|
||||
* Set liogin window title to user@session
|
||||
|
||||
-- Dmitry Borisov <i@dimbor.ru> Sat, 16 Oct 2021 23:05:15 +0300
|
||||
|
||||
opennx (1.0.0) UNRELEASED; urgency=low
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- Dmitry Borisov <i@dimbor.ru> Sat, 16 Nov 2019 23:42:47 +0300
|
||||
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@@ -0,0 +1 @@
|
||||
9
|
||||
42
debian/control
vendored
Normal file
42
debian/control
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
Source: opennx
|
||||
Section: x11
|
||||
Priority: optional
|
||||
Maintainer: Dmitry Borisov <i@dimbor.ru>
|
||||
Build-Depends:
|
||||
debhelper (>= 9),
|
||||
autotools-dev,
|
||||
automake, libtool,
|
||||
wx-common,
|
||||
libwxgtk3.0-dev | libwxgtk3.0-gtk3-dev | libwxgtk3.2-dev,
|
||||
libxcomp-dev,
|
||||
libxmu-dev,
|
||||
libjpeg62-turbo-dev | libjpeg-turbo8-dev,
|
||||
libpng-dev,
|
||||
libaudiofile-dev,
|
||||
zip,
|
||||
libpulse-dev,
|
||||
libssl-dev
|
||||
Standards-Version: 4.2.1
|
||||
Homepage: https://unixforum.org/viewforum.php?f=89
|
||||
|
||||
Package: opennx
|
||||
Architecture: any
|
||||
Depends:
|
||||
libxcomp3 (>= 3.5.0),
|
||||
nxproxy (>= 3.5.0),
|
||||
libcurl3-gnutls,
|
||||
libgcc1,
|
||||
libice6,
|
||||
libsm6,
|
||||
libstdc++6,
|
||||
libwxbase3.0-0v5 | libwxbase3.2-1 (>= 3.0.4),
|
||||
libwxgtk3.0-0v5 | libwxgtk3.0-gtk3-0v5 | libwxgtk3.2-1 (>= 3.0.4),
|
||||
libx11-6,
|
||||
libxau6,
|
||||
libxmu6,
|
||||
xdg-utils,
|
||||
libssl1.0.2 (>= 1.0.2d) | libssl1.1 | libssl3,
|
||||
zlib1g
|
||||
Recommends: libopensc2, libsmbclient, cups, wx3.0-i18n, libjpeg-turbo, pulseaudio
|
||||
Description: Open Source NX client
|
||||
OpenNX is an OSS replacement for Nomachine's NX client.
|
||||
43
debian/copyright
vendored
Normal file
43
debian/copyright
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
This package was debianized by Dmitry Borisov <i@dimbor.ru> on
|
||||
Sat, 16 Nov 2019 23:42:47 +0300
|
||||
|
||||
This package was debianized by Achim Derigs <aderigs@users.sourceforge.net> on
|
||||
Fri, 14 Aug 2009 06:46:36 +0200.
|
||||
|
||||
It was downloaded from https://opennx.svn.sourceforge.net/svnroot/opennx/trunk/opennx
|
||||
|
||||
Upstream Author:
|
||||
|
||||
Fritz Elfert <felfert@users.sourceforge.net>
|
||||
|
||||
Copyright:
|
||||
|
||||
Copyright (C) 2009 Fritz Elfert
|
||||
Copyright (C) 2019 Dmitry Borisov
|
||||
|
||||
License:
|
||||
|
||||
This package is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2 of the License, or (at your option) any later version.
|
||||
|
||||
This package 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
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this package; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
On Debian systems, the complete text of the GNU Lesser General
|
||||
Public License can be found in `/usr/share/common-licenses/LGPL-2'.
|
||||
|
||||
The Debian packaging is:
|
||||
|
||||
Copyright (C) 2009 Achim Derigs <aderigs@users.sourceforge.net>
|
||||
Copyright (C) 2019 Dmitry Borisov <i@dimbor.ru>
|
||||
|
||||
and is licensed under the GPL version 3,
|
||||
see `/usr/share/common-licenses/GPL-3'.
|
||||
78
debian/opennx.postinst
vendored
Normal file
78
debian/opennx.postinst
vendored
Normal file
@@ -0,0 +1,78 @@
|
||||
#!/bin/sh
|
||||
# postinst script for opennx
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
# 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 http://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
|
||||
|
||||
case "$1" in
|
||||
configure|triggered)
|
||||
DTM=$(dpkg-architecture -qDEB_TARGET_MULTIARCH)
|
||||
if [ ! -f /usr/bin/nxclient ] ; then
|
||||
ln -snf /usr/lib/$DTM/opennx/bin/opennx /usr/bin/nxclient
|
||||
fi
|
||||
ln -snf /usr/share/opennx /usr/lib/$DTM/opennx/share
|
||||
ln -snf /usr/bin/nxproxy /usr/lib/$DTM/opennx/bin/nxproxy
|
||||
for l in smbclient cups opensc pulse ; do
|
||||
lp=`/sbin/ldconfig -p|awk '/lib'$l'[\.-]/ {print $4}'|head -1`
|
||||
if test -n "$lp" ; then
|
||||
bn=`echo $l|sed -e 's/[-0-9]//g'`
|
||||
ln -snf $lp /usr/lib/$DTM/opennx/lib/lib$l.so
|
||||
fi
|
||||
done
|
||||
# Install icons
|
||||
cd /usr/share/opennx/icons
|
||||
SIZES="16 32 48 128 256"
|
||||
ICINST="xdg-icon-resource install --noupdate --novendor --mode system"
|
||||
for sz in $SIZES ; do
|
||||
case $sz in
|
||||
scalable)
|
||||
subdir=$sz
|
||||
ext=svg
|
||||
;;
|
||||
[0-9]*)
|
||||
subdir=${sz}x${sz}
|
||||
ext=png
|
||||
;;
|
||||
esac
|
||||
for ctx in apps mimetypes ; do
|
||||
(
|
||||
cd $subdir/$ctx
|
||||
for f in *.$ext ; do
|
||||
$ICINST --context $ctx --size $sz $f
|
||||
done
|
||||
)
|
||||
done
|
||||
done
|
||||
xdg-icon-resource forceupdate
|
||||
# Install menu entries
|
||||
cd /usr/share/opennx/applnk/xdg
|
||||
xdg-desktop-menu install --novendor --mode system *.directory *.desktop
|
||||
;;
|
||||
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postinst called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
69
debian/opennx.prerm
vendored
Normal file
69
debian/opennx.prerm
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
#!/bin/sh
|
||||
# prerm script for opennx
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
# 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 http://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
|
||||
|
||||
case "$1" in
|
||||
remove|upgrade|deconfigure)
|
||||
# Uninstall menu entries
|
||||
cd /usr/share/opennx/applnk/xdg
|
||||
xdg-desktop-menu uninstall --mode system *.directory *.desktop
|
||||
# Uninstall icons
|
||||
cd /usr/share/opennx/icons
|
||||
SIZES="16 32 48 128 256"
|
||||
ICRM="xdg-icon-resource uninstall --noupdate --novendor --mode system"
|
||||
for sz in $SIZES ; do
|
||||
case $sz in
|
||||
scalable)
|
||||
subdir=$sz
|
||||
ext=svg
|
||||
;;
|
||||
[0-9]*)
|
||||
subdir=${sz}x${sz}
|
||||
ext=png
|
||||
;;
|
||||
esac
|
||||
for ctx in apps mimetypes ; do
|
||||
(
|
||||
cd $subdir/$ctx
|
||||
for f in *.$ext ; do
|
||||
$ICRM --context $ctx --size $sz `basename $f .$ext`
|
||||
done
|
||||
)
|
||||
done
|
||||
done
|
||||
xdg-icon-resource forceupdate
|
||||
DTM=$(dpkg-architecture -qDEB_TARGET_MULTIARCH)
|
||||
rm -f /usr/lib/$DTM/opennx/share
|
||||
rm -f /usr/lib/$DTM/opennx/bin/nxproxy
|
||||
for l in smbclient cups opensc pulse ; do
|
||||
rm -f /usr/lib/$DTM/opennx/lib/lib$l.so
|
||||
done
|
||||
;;
|
||||
|
||||
failed-upgrade)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "prerm called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
45
debian/rules
vendored
Executable file
45
debian/rules
vendored
Executable file
@@ -0,0 +1,45 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
export DH_VERBOSE=1
|
||||
|
||||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
export DEB_CFLAGS_MAINT_APPEND = -Wall -Os
|
||||
export DEB_CPPFLAGS_MAINT_APPEND = -Wall -Os
|
||||
|
||||
include /usr/share/dpkg/architecture.mk
|
||||
export LIBDIR = /usr/lib/$(DEB_HOST_MULTIARCH)
|
||||
export INCLUDEDIR = /usr/include/$(DEB_HOST_MULTIARCH)
|
||||
|
||||
CONFIGURE_FLAGS = --prefix=/usr \
|
||||
--bindir=$(LIBDIR)/opennx/bin \
|
||||
--includedir=$(INCLUDEDIR)
|
||||
|
||||
CONFIGURE_FLAGS_2 = --datadir=/usr/share/opennx --localedir=/usr/share/locale
|
||||
|
||||
%:
|
||||
dh $@ --with autoreconf
|
||||
|
||||
override_dh_auto_configure:
|
||||
./configure $(CONFIGURE_FLAGS) $(CONFIGURE_FLAGS_2)
|
||||
./getnxsrcpkg
|
||||
cd nxssh && autoreconf -fi && ./configure $(CONFIGURE_FLAGS)
|
||||
|
||||
override_dh_auto_build:
|
||||
dh_auto_build
|
||||
cd nxssh && $(MAKE)
|
||||
|
||||
override_dh_auto_install:
|
||||
dh_auto_install
|
||||
install -c nxssh/nxssh debian/opennx$(LIBDIR)/opennx/bin
|
||||
sed -i -e 's/\/usr\/NX/\/usr\/lib\/'$(DEB_HOST_MULTIARCH)'\/opennx/g' \
|
||||
debian/opennx/usr/share/opennx/applnk/xdg/*.desktop
|
||||
install -d debian/opennx$(LIBDIR)/opennx/lib
|
||||
cd debian/opennx$(LIBDIR)/opennx && \
|
||||
ln -s lib lib64
|
||||
install -d debian/opennx/usr/bin
|
||||
cd debian/opennx/usr/bin && \
|
||||
ln -s ../lib/$(DEB_HOST_MULTIARCH)/opennx/bin/opennx opennx
|
||||
|
||||
override_dh_auto_clean:
|
||||
dh_auto_clean
|
||||
rm -rf nxssh
|
||||
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@@ -0,0 +1 @@
|
||||
3.0 (native)
|
||||
Reference in New Issue
Block a user