From ae178a6ec70c424590a6dab887ee813a62e65b64 Mon Sep 17 00:00:00 2001 From: Alf Gaida Date: Sun, 25 Sep 2016 20:28:41 +0200 Subject: [PATCH] Cherry-picking upstream release 0.11.0 * Added build dependency libqt5svg5-dev * Bumped compat to 10 * Bumped minimum version debhelper (>= 10) * Bumped minimum version libqtxdg-dev (>= 2.0.0) * Bumped minimum version libqt5xdgiconloader-dev (>=2.0.0) * Bumped build dependency liblxqt-dev (>= 0.11.0) * Removed --parallel from rules, standard in compat 10 * Added README.md to docs --- .gitignore | 2 ++ CHANGELOG | 64 ++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 33 +++++++++++++++++++++++++ debian/changelog | 14 +++++++++++ debian/control | 9 ++++--- debian/docs | 1 + debian/rules | 3 +-- 7 files changed, 120 insertions(+), 6 deletions(-) create mode 100644 .gitignore create mode 100644 CHANGELOG create mode 100644 README.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4e983f8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +build +translations/lxqt-sudo diff --git a/CHANGELOG b/CHANGELOG new file mode 100644 index 0000000..cb2e6ea --- /dev/null +++ b/CHANGELOG @@ -0,0 +1,64 @@ + +lxqt-sudo-0.11.0 / 2016-09-24 +============================= + + * Add README.md + * build: Forward translations parameters + * ts-files removal (#21) + * Remove translations (will be pulled in build time) + * Bump year + * Italian translation update + * Updated Russian translation Fix language and typos + * Add Russian translation + +0.10.0 / 2015-11-02 +=================== + + * Fix LICENSE file + * Fix starting pcmanfm-qt + * Preserve environment with sudo backend + * Update Slovak translation + * Updated translation template, updated german translation. + * Add a plus to AUTHORS license AUTHORS must match the files fixes lxde/lxqt/issues/784 fix typo choosen --> chosen + * lxqt-sudo: partial support for running cmd with arguments using su backend + * lxqt-sudo: unified processing logic for su & sudo into common code + * lxqt-sudo: lxsu & lxsudo symlinks for lxqt-sudo + * lxqt-sudo: added support for su(1) backend + * Add Polish translation + * Rename LxQt to LXQt everywhere + * Remove the country specific from language code. + * Add Greek (el) translation + * Created italian translation, fixed missing line for _de.ts and -sk.ts + * Traditional Chinese translation + * Handles CMake policy CMP0063 + * Use the LXQtCompilerSettings CMake module + * main: removed old useless define + * Adds Runtime install COMPONENT + * Coding style change + * Use target_compile_definitions() + * Use GNUInstallDirs + * Use CMAKE_AUTOUIC, drop qt5_wrap_ui() + * Use CMAKE_AUTOMOC, drop qt5_wrap_cpp() + * Use CMAKE_INCLUDE_CURRENT_DIR + * main: use standard liblxqt unix signal handling to quit + * Updates the build system to the Targets infrastructure + * German translation + * lxqt-sudo: licensing + +0.9.0 / 2015-06-10 +================== + + * lxqt-sudo: direct communication with sudo + * lxqt-sudo: use dialog-password icon + * lxqt-sudo: help & version info into stdout (instead of stderr) + * man: bug reporting link fixed + * lxqt-sudo: version parameter support + * lxqt-sudo: added sk translation + * lxqt-sudo: proper communication error messages to stderr + * lxqt-sudo: removed .desktop file + * lxqt-sudo: showing big "security-high" icon + * lxqt-sudo: help/usage added + * lxqt-sudo: information about sudo's failure + * lxqt-sudo: manual page + * lxqt-sudo: do not use -b for sudo (fixes some application starting problems) + * lxqt-sudo: new GUI frontend for sudo diff --git a/README.md b/README.md new file mode 100644 index 0000000..be4e3ce --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +# lxqt-sudo + +## Overview + +lxqt-sudo is a graphical front-end of commands `sudo` and `su` respectively. As such it enables regular users to launch applications with permissions of other users including root. + +## Installation + +### Compiling source code + +Runtime dependencies are qtbase, sudo (su should be installed by default on all *ix operating systems) and [liblxqt](https://github.com/lxde/liblxqt). +Installing at least one icon theme according to the [XDG Icon Theme Specification](https://www.freedesktop.org/wiki/Specifications/icon-theme-spec/) like e. g. "Oxygen Icons" is recommended to have the GUI display icons. +Additional build dependencies are CMake and optionally Git to pull latest VCS checkouts. The localization files were outsourced to repository [lxqt-l10n](https://github.com/lxde/lxqt-l10n) so the corresponding dependencies are needed, too. Please refer to this repository's `README.md` for further information. + +Code configuration is handled by CMake. CMake variable `CMAKE_INSTALL_PREFIX` has to be set to `/usr` on most operating systems. + +To build run `make`, to install `make install` which accepts variable `DESTDIR` as usual. + +### Binary packages + +Official binary packages are provided by all major Linux distributions like Arch Linux, Debian (as of Debian stretch), Fedora and openSUSE. Just use your package manager to search for string `lxqt-sudo`. + +## Configuration + +lxqt-sudo itself does not require any configuration. + +In order to use it as front-end of `sudo` the corresponding permissions have to be set, though. Most of the time this is handled by binary `visudo` or editing configuration file `/etc/sudoers` manually which both is beyond this document's scope. + +## Usage + +lxqt-sudo comes with a man page explaining the syntax very well so running `man 1 lxqt-sudo` should get you started. + +By default `sudo` is used as backend, the choice can be enforced by command line options `--su[do]` or by using symbolic links `lxsu` and `lxsudo` which belong to regular installations of lxqt-sudo. diff --git a/debian/changelog b/debian/changelog index f7a1794..bb8c92a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,17 @@ +lxqt-sudo (0.11.0-1) experimental; urgency=medium + + * Cherry-picking upstream release 0.11.0 + * Added build dependency libqt5svg5-dev + * Bumped compat to 10 + * Bumped minimum version debhelper (>= 10) + * Bumped minimum version libqtxdg-dev (>= 2.0.0) + * Bumped minimum version libqt5xdgiconloader-dev (>=2.0.0) + * Bumped build dependency liblxqt-dev (>= 0.11.0) + * Removed --parallel from rules, standard in compat 10 + * Added README.md to docs + + -- Alf Gaida Sun, 25 Sep 2016 20:28:54 +0200 + lxqt-sudo (0.10.96~7-gccdc1f6-1) experimental; urgency=medium * Cherry-picking upstream version 0.10.96~7-gccdc1f6. diff --git a/debian/control b/debian/control index 438b11b..44eaba7 100644 --- a/debian/control +++ b/debian/control @@ -8,16 +8,17 @@ Priority: optional Build-Depends: debhelper (>= 10), cmake (>= 3.0.2), libkf5windowsystem-dev, - liblxqt0-dev (>= 0.10.96~), + liblxqt0-dev (>= 0.11.0), + libqt5svg5-dev, libqt5x11extras5-dev, - libqt5xdg-dev (>= 1.3.1~), - libqt5xdgiconloader-dev (>= 1.3.1~), + libqt5xdg-dev (>= 2.0.0), + libqt5xdgiconloader-dev (>= 2.0.0), libx11-dev, pkg-config, qttools5-dev, qttools5-dev-tools Standards-Version: 3.9.8 -Vcs-Browser: https://anonscm.debian.org/git/pkg-lxqt/lxqt-sudo.git/?h=debian/experimental +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-lxqt/lxqt-sudo.git/?h=debian/experimental Vcs-Git: https://anonscm.debian.org/git/pkg-lxqt/lxqt-sudo.git -b debian/experimental Homepage: https://github.com/lxde/lxqt-sudo diff --git a/debian/docs b/debian/docs index 62deb04..0b6e0f3 100644 --- a/debian/docs +++ b/debian/docs @@ -1 +1,2 @@ AUTHORS +README.md diff --git a/debian/rules b/debian/rules index 5858ca7..9dbedc2 100755 --- a/debian/rules +++ b/debian/rules @@ -6,8 +6,7 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: - dh ${@} --buildsystem cmake\ - --parallel + dh ${@} --buildsystem cmake override_dh_auto_configure: dh_auto_configure -- \