diff options
author | B Stack <bgstack15@gmail.com> | 2021-02-15 16:17:10 +0000 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2021-02-15 16:17:10 +0000 |
commit | 65170e98b7c67dc1dd96557018f92fcc2504a148 (patch) | |
tree | b1547a9a43b9d521bcb8d9620bf3929753e09702 /libxfce4ui-nocsd | |
parent | Merge branch 'palemoon-bump' into 'master' (diff) | |
parent | add libxfce4ui-nocsd (diff) | |
download | stackrpms-65170e98b7c67dc1dd96557018f92fcc2504a148.tar.gz stackrpms-65170e98b7c67dc1dd96557018f92fcc2504a148.tar.bz2 stackrpms-65170e98b7c67dc1dd96557018f92fcc2504a148.zip |
Merge branch 'xfce4-nocsd' into 'master'
add libxfce4ui-nocsd
See merge request bgstack15/stackrpms!218
Diffstat (limited to 'libxfce4ui-nocsd')
24 files changed, 991 insertions, 0 deletions
diff --git a/libxfce4ui-nocsd/README.md b/libxfce4ui-nocsd/README.md new file mode 100644 index 0000000..576c45a --- /dev/null +++ b/libxfce4ui-nocsd/README.md @@ -0,0 +1,33 @@ +# Readme for libxfce4ui-nocsd +This package helps minimize the client-side decorations introduced in Xfce 4.16. + +## libxfce4ui-nocsd upstream +Origin [https://github.com/Xfce-Classic/libxfce4ui-nocsd](https://github.com/Xfce-Classic/libxfce4ui-nocsd) +List of updates at Unit193's [launchpad page](https://launchpad.net/~xubuntu-dev/+archive/ubuntu/experimental/+packages) +Unit193 of Xubuntu fame is the main dpkg packager of libxfce4ui-nocsd. + +## Alternatives +[Gtk3-nocsd](https://github.com/PCMan/gtk3-nocsd/) is built-in to Devuan [Ceres](https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&q=gtk3-nocsd) and covers gtk3 in general. It can actually be used in tandem with this package. + +### How to use +Install package `libxfce4ui-nocsd`. After a logout or perhaps reboot, the client-side decorations (CSD) should be gone for Xfce applications. + +## Reason for being in stackrpms +`Gtk3-nocsd` is already packaged by my main distro, but libxfce4ui-nocsd is not. To benefit from it, I need to make it installable within my environment for myself. + +## Reverse dependency matrix +Distro | libxfce4ui-nocsd +------------ | -------- +Devuan Ceres | 4.16.0-1 + +## Build process for dpkg +Download from the upstream releases page the .tar.bz2 file. I am uncertain what is different between the "libxfce4ui-4.16.0.tar.bz2" file and the "Source code (tar.gz)" file, but the bz2 one is the only one that compiles nicely with the debuild process. +Then copy this debian/ directory and run a `debuild -us -uc` like normal. + +## References +Front page for Unit193's [vanir repo](https://launchpad.net/~xubuntu-dev/+archive/ubuntu/staging/+sourcepub/11957369/+listing-archive-extra) +Unit193's vanir repository [debian.tar.xz file](https://launchpad.net/~xubuntu-dev/+archive/ubuntu/staging/+sourcefiles/libxfce4ui-nocsd/4.16.0-1vanir1~20.10/libxfce4ui-nocsd_4.16.0-1vanir1~20.10.debian.tar.xz) +You can also install package `gtk3-nooverlayscrollbar` which disables the auto-hide feature of gtk3 scrollbars. + +## Differences from upstream +Only superficial ones for package name and maintainer name diff --git a/libxfce4ui-nocsd/debian/NEWS b/libxfce4ui-nocsd/debian/NEWS new file mode 100644 index 0000000..60dcb93 --- /dev/null +++ b/libxfce4ui-nocsd/debian/NEWS @@ -0,0 +1,10 @@ +libxfce4ui (4.8.0-4) unstable; urgency=low + + Starting Gtk+ 2.24.7, the Control key often found on PC keyboards isn't + called 'Control' but 'Primary', breaking configured keyboard shortcuts + already set. If you experience this in Xfce (application not starting and + keyboard shortcut using Control key), just re-bind the various + shortcuts using the same keys combination. The shortcut will be replaced by + the 'Primary' version and will work correctly. + + -- Yves-Alexis Perez <corsac@debian.org> Mon, 28 Nov 2011 16:10:00 +0100 diff --git a/libxfce4ui-nocsd/debian/changelog b/libxfce4ui-nocsd/debian/changelog new file mode 100644 index 0000000..dc0d3cc --- /dev/null +++ b/libxfce4ui-nocsd/debian/changelog @@ -0,0 +1,467 @@ +libxfce4ui-nocsd (4.16.0-1+devuan) obs; urgency=low + + * Fork for devuan + + -- B. Stack <bgstack15@gmail.com> Mon, 08 Feb 2021 08:18:18 -0500 + +libxfce4ui-nocsd (4.16.0-1vanir1~20.10) groovy; urgency=medium + + * No-change backport to groovy + + -- Unit 193 <unit193@ubuntu.com> Thu, 31 Dec 2020 04:23:35 -0500 + +libxfce4ui-nocsd (4.16.0-1vanir1) unstable; urgency=medium + + * d/watch: Switch to a fork that rids Xfce of unholy CSDs. + * d/*: Rename to libxfce4ui-nocsd. + * d/control: + - Set myself as maintainer. + - Update Homepage, drop Vcs-* fields. + - Add B/R/P on respective libxfce4ui packages. + * d/rules: Allow building from git snapshots. + + -- Unit 193 <unit193@debian.org> Thu, 31 Dec 2020 02:51:03 -0500 + +libxfce4ui (4.16.0-1) unstable; urgency=medium + + * New upstream version 4.16.0 + * d/libxfce4ui-glade.lintian-overrides: add library-not-linked-against-libc + * Upload to unstable + + -- Yves-Alexis Perez <corsac@debian.org> Wed, 23 Dec 2020 11:32:58 +0100 + +libxfce4ui (4.15.8-1) experimental; urgency=medium + + * Team upload. + * New upstream version 4.15.8. + * d/libxfce4ui-2-0.symbols: Add new symbol. + * d/control: + - Bump libxfce4util-dev B-D to 4.15.6. + - Update 'homepage' field. + + -- Unit 193 <unit193@debian.org> Wed, 16 Dec 2020 18:45:15 -0500 + +libxfce4ui (4.15.6-1) experimental; urgency=medium + + * Team upload. + * New upstream version 4.15.6. + * d/libxfce4ui-2-0.symbols: Update symbols. + + -- Unit 193 <unit193@debian.org> Thu, 10 Dec 2020 18:57:35 -0500 + +libxfce4ui (4.15.5-1) experimental; urgency=medium + + * Team upload. + * New upstream version 4.15.5. + * d/libxfce4ui-2-0.symbols: Add new symbol. + * d/watch: Bump to version 4. + * Update Standards-Version to 4.5.1. + + -- Unit 193 <unit193@debian.org> Fri, 20 Nov 2020 03:22:05 -0500 + +libxfce4ui (4.15.4-1) experimental; urgency=medium + + * Team upload. + * New upstream version 4.15.4. + + -- Unit 193 <unit193@debian.org> Thu, 05 Nov 2020 23:07:07 -0500 + +libxfce4ui (4.15.3-2) experimental; urgency=medium + + * Team upload. + * d/control, d/libxfce4ui-dev.install, d/rules: + - Enable and install introspection support. + * d/control, d/libxfce4ui-glade.install: + - Enable and install glade support in a new package. + + -- Unit 193 <unit193@debian.org> Fri, 11 Sep 2020 18:37:01 -0400 + +libxfce4ui (4.15.3-1) experimental; urgency=medium + + * Team upload. + + [ Mateusz Łukasik ] + * New upstream version 4.15.2. + * d/rules: Drop debug symbol migration. + * d/control: update standards version to 4.5.0. + * d/libxfce4ui-2-0.symbols updated for new release. + + [ Unit 193 ] + * New upstream version 4.15.3. + - Update symbols. + * d/control: + - Drop old breaks/replaces and version constraints. + - R³: no. + * d/libxfce4ui-2-0.lintian-overrides: Update lintian tag name. + * d/source/lintian-overrides: Drop, no longer useful. + * d/vendorinfo: Update team mailing address, add myself, + remove Lionel Le Folgoc. Thanks for all your work! + + -- Unit 193 <unit193@debian.org> Wed, 29 Jul 2020 17:31:51 -0400 + +libxfce4ui (4.15.1-1) experimental; urgency=medium + + * New upstream version 4.15.1 + * d/libxfce4ui-2-0.symbols updated for new release + * d/copyright updated for new release + + -- Yves-Alexis Perez <corsac@debian.org> Sat, 18 Jan 2020 11:26:56 +0100 + +libxfce4ui (4.15.0-1) experimental; urgency=medium + + [ Unit 193 ] + * d/watch: Update for upstream's move to mirrorbit. + + [ Yves-Alexis Perez ] + * d/watch: use uscan special strings + * New upstream version 4.15.0 + * d/control: update dh compat level to 12 + * d/control: update standards version to 4.4.1 + * d/control: update build-dep for new upstream + * drop libxfce4ui-1 packages, gone upstream + * d/libxfce4ui-2-0.symbols updated for new release + + -- Yves-Alexis Perez <corsac@debian.org> Fri, 03 Jan 2020 14:07:47 +0100 + +libxfce4ui (4.14.1-1) unstable; urgency=medium + + [ Unit 193 ] + * New upstream version 4.14.1 + * d/rules: Pass '--enable-gtk-doc' during configure to fix consecutive builds. + (Closes: #884216) + + -- Yves-Alexis Perez <corsac@debian.org> Wed, 14 Aug 2019 15:35:31 +0200 + +libxfce4ui (4.13.6-1) experimental; urgency=medium + + [ Unit 193 ] + * New upstream version 4.13.5 + - Add new symbols. + * d/control, d/rules: Update glade build-dep, but leave disabled. + * d/compat, d/control: + - Drop d/compat in favor of debhelper-compat, bump to 11. + * d/control: + - Drop B-D on autotools-dev, versioned dpkg-dev. + - B-D on gtk-doc-tools and xfce4-dev-tools for autoreconf. + * d/rules: + - Drop '--disable-silent-rules' and '--parallel' invocation, now default. + - Allow dh-autoreconf to run xdt-autogen. + * Trim whitespace from previous changelog entries. + + [ Mateusz Łukasik ] + * New upstream version 4.13.6 + + [ Yves-Alexis Perez ] + * d/control: update standards version to 4.4.0 + + -- Yves-Alexis Perez <corsac@debian.org> Mon, 15 Jul 2019 15:00:36 +0200 + +libxfce4ui (4.13.4-2) experimental; urgency=medium + + * Moved the package to git on salsa.debian.org + * Updated the maintainer address to debian-xfce@lists.debian.org + closes: #899595 + * d/control: drop Lionel from uploaders, thanks! + * d/control: update standards version to 4.3.0 + * d/*.symbols: add relevant Build-Depends-Package fields + * d/copyright updated + + -- Yves-Alexis Perez <corsac@debian.org> Thu, 27 Dec 2018 11:56:37 +0100 + +libxfce4ui (4.13.4-1) experimental; urgency=medium + + [ Unit 193 ] + * New upstream development release. + - Fix missing gresource file in release tarball closes: #880431 + * d/changelog: + - Remove trailing whitespace from old entries. + * d/control, d/copyright, d/vendorinfo, d/xfce4-about.1, d/xfhelp4: + - Use https where possible. + * d/control: + - Drop the xfce-keyboard-shortcuts transitional package. + * d/watch: + - Use https now that it is available. + * Update Standards-Version to 4.1.2. + + -- Yves-Alexis Perez <corsac@debian.org> Sun, 17 Dec 2017 15:56:42 +0100 + +libxfce4ui (4.13.3-1) experimental; urgency=medium + + [ Yves-Alexis Perez ] + * Run wrap-and-sort. + * Update standards version to 4.0.0. + * debian/rules: + - use dh_missing instead of dh_install --list-missing + + [ Unit 193 ] + * New upstream development release. + - Drop upstream patch. + * d/control: + - Add Multi-Arch classifiers to all qualifying packages. closes: #846902 + - Remove duplicated 'Section' declaration. + - Drop the dbg packages. + * d/rules: + - Migrate to dbgsym packages. + - Replace --with-gtk3 with --with-gtk2, since gtk2 is now optional. + + -- Yves-Alexis Perez <corsac@debian.org> Sat, 08 Jul 2017 15:06:39 +0200 + +libxfce4ui (4.13.1-1) experimental; urgency=medium + + [ Mateusz Łukasik ] + * New upstream release. + * Add cherry-pick to fix build error with --disable-gtk3. + + -- Yves-Alexis Perez <corsac@debian.org> Thu, 15 Sep 2016 21:38:52 +0200 + +libxfce4ui (4.13.0-1) experimental; urgency=medium + + [ Mateusz Łukasik ] + * New upstream release. + * Update symbols files. + * debian/control: + - Bump standards-version to 3.9.8. + + -- Yves-Alexis Perez <corsac@debian.org> Thu, 25 Aug 2016 13:00:39 +0200 + +libxfce4ui (4.12.1-3) unstable; urgency=medium + + [ Helmut Grohne ] + * Add Multi-Arch annotations to all but libxfce4ui-utils closes: #846902 + + [ Yves-Alexis Perez ] + * debian/control: + - replace Priority: extra by optional + - update standards version to 4.1.3. + + -- Yves-Alexis Perez <corsac@debian.org> Thu, 18 Jan 2018 20:03:27 +0100 + +libxfce4ui (4.12.1-2) unstable; urgency=medium + + * Upload to unstable. + + -- Yves-Alexis Perez <corsac@debian.org> Wed, 06 May 2015 15:36:17 +0200 + +libxfce4ui (4.12.1-1) experimental; urgency=medium + + [ Jackson Doak ] + * New upstream release + + -- Yves-Alexis Perez <corsac@debian.org> Sun, 15 Mar 2015 21:52:50 +0100 + +libxfce4ui (4.12.0-1) experimental; urgency=medium + + [ Mateusz Łukasik ] + * New upstream release. + * debian/control: + - Bump standards-version to 3.9.6. + - Bump minimal xfce devel depends to 4.12. + + -- Yves-Alexis Perez <corsac@debian.org> Sun, 08 Mar 2015 15:19:16 +0100 + +libxfce4ui (4.11.1-2) experimental; urgency=medium + + [ Lionel Le Folgoc ] + * debian/*.symbols: added. + * debian/rules: override dh_makeshlibs to ignore libxfce4kbd-private. + * debian/{vendorinfo,control}: update my email address. + * debian/control: relax libxfce4ui-utils dependency on libxfce4ui-1-0. + + [ Yves-Alexis Perez ] + * debian/libxfce4ui-{2,3}-0.lintian-overrides added, add lintian overrides + for not having libxfce4kbd-private in symbols files. + + -- Yves-Alexis Perez <corsac@debian.org> Sun, 16 Mar 2014 16:20:55 +0100 + +libxfce4ui (4.11.1-1) experimental; urgency=medium + + [ Jackson Doak ] + * New upstream release + + -- Yves-Alexis Perez <corsac@debian.org> Sun, 23 Feb 2014 21:01:51 +0100 + +libxfce4ui (4.11.0-1) experimental; urgency=low + + [ Yves-Alexis Perez ] + * debian/rules: + - force disable gladeui. closes: #724037 + * debian/control: + - update standards version to 3.9.5. + + [ Lionel Le Folgoc ] + * New upstream development release. + * Enable gtk3 support: + - Introduce libxfce4ui-2-* binary packages for the Gtk+3 variant. + - Introduce libxfce4ui-common for arch-indep files since they are used by + both variants, and change xfce-keyboard-shortcuts into a transitional + package depending on it. + * debian/rules: pass --with-gtk3 to configure. + * debian/control: add b-dep on libgtk-3-dev. + * debian/patches/01_replace-ctrl-primary-gtk-shortcuts.patch: dropped, + included upstream. + * debian/libxfce4ui-1-0.shlibs: bumped to >= 4.11.0 for the new symbols. + + -- Yves-Alexis Perez <corsac@debian.org> Sat, 28 Dec 2013 23:59:54 +0100 + +libxfce4ui (4.10.0-6) unstable; urgency=medium + + * debian/rules: + - replace autotools-dev addon by a call to xdt-autogen. Fix FTBFS on + ppc64el. closes: #760626 + * debian/control: + - drop build-dep on autotools-dev + - add build-dep on xfce4-dev-tools + - update standards version to 3.9.5. + * debian/source/lintian-overrides: + - add overrides for the outdated config.{guess,sub} since xdt-autogen will + update them. + + -- Yves-Alexis Perez <corsac@debian.org> Sat, 06 Sep 2014 13:01:36 +0200 + +libxfce4ui (4.10.0-5) unstable; urgency=low + + * debian/rules: + - force disable gladeui. closes: #724037 + * debian/patches: + - 02_Fix-keyboard-shortcuts-with-Shift-modifier-bug-8744 added, fix + keyboard shortcut not working when using shift modifier. closes: #721669 + + -- Yves-Alexis Perez <corsac@debian.org> Wed, 09 Oct 2013 21:01:03 +0200 + +libxfce4ui (4.10.0-4) unstable; urgency=low + + [ Lionel Le Folgoc ] + * debian/xfhelp4: added, reintroduced until all plugins are migrated to the + new help system. + * debian/libxfce4ui-utils.install: install xfhelp4 to usr/bin. + * Only install the vendorinfo file on Debian, not Ubuntu. + * debian/rules: fix dh_strip override so that libxfce4ui-utils dbg symbols + end up in libxfce4ui-utils-dbg and not in libxfce4ui-1-dbg. + * debian/control: let libxfce4ui-utils-dbg breaks/replaces previous + libxfce4ui-1-dbg for the moved symbol. + + [ Evgeni Golov ] + * Correct Vcs-* URLs to point to anonscm.debian.org + + [ Jackson Doak ] + * debian/copyright: Convert to debian format 1.0 + * debian/control: + - Make VCS URLs point to trunk instead of experimental + * debian/rules: disable silent building + + -- Yves-Alexis Perez <corsac@debian.org> Sat, 21 Sep 2013 17:48:36 +0200 + +libxfce4ui (4.10.0-3) unstable; urgency=low + + * debian/control: + - drop glade-xfce package, since it's now useless with the move to GTK3. + closes: #709243 + - update standards version to 3.9.4. + * debian/rules: + - drop glade file removal. + - use autotools-dev addons to refresh config.{sub,guess}. + + -- Yves-Alexis Perez <corsac@debian.org> Sun, 16 Jun 2013 16:05:12 +0200 + +libxfce4ui (4.10.0-2) unstable; urgency=low + + * Upload to unstable. + * debian/rules: + - enable all hardening flags. + + -- Yves-Alexis Perez <corsac@debian.org> Tue, 21 May 2013 21:32:57 +0200 + +libxfce4ui (4.10.0-1) experimental; urgency=low + + * New upstream stable release. + * debian/patches: + - 01_replace-ctrl-primary-gtk-shortcuts.patch: refreshed to apply cleanly. + * debian/control: revert to unversioned libxfce4util-dev, bump required + versions for Xfce 4.10. + + -- Lionel Le Folgoc <mrpouit@gmail.com> Fri, 04 May 2012 22:48:03 +0200 + +libxfce4ui (4.9.2-1) experimental; urgency=low + + * New upstream development release. + * debian/xfce4-about.1, debian/libxfce4ui-utils.manpages: ship a manpage + for xfce4-about. + + -- Lionel Le Folgoc <mrpouit@gmail.com> Sun, 15 Apr 2012 15:29:29 +0200 + +libxfce4ui (4.9.1-1) experimental; urgency=low + + [ Lionel Le Folgoc ] + * New upstream development release. + * debian/control: + - add a new binary package libxfce4ui-utils to contain xfce4-about files + - libxfce4ui-utils breaks/replaces pre 4.10 xfce4-utils package, as it + previously shipped xfce4-about. + - use Breaks instead of Conflicts when possible. + * debian/patches: + - 01_replace-ctrl-primary-gtk-shortcuts.patch: refreshed to apply cleanly + and add DEP-3 headers. + * debian/libxfce4ui-1-0.shlibs: added. + * debian/rules: take vendor handling code from xfce4-utils for xfce4-about. + * debian/vendorinfo: added, taken from xfce4-utils, and renamed from + debian/Debian. + + [ Yves-Alexis Perez ] + * debian/control: + - update standards version to 3.9.3. + - update debhelper build-dep to 9. + - add build-dep on dpkg-dev 1.16.1. + - drop hardening-includes build-dep. + - add pre-depends on ${misc:Pre-Depends}. + - build-dep on libxfce4util6-dev to start using the new API and make the + -dev package depends on it. + * debian/rules: + - use hardening support in debhelper 9 and dpkg-dev 1.16.1 + - multi-archify the paths. + - build with --parallel. + * debian/*.install: + - multi-archify the paths. + + -- Lionel Le Folgoc <mrpouit@gmail.com> Sun, 08 Apr 2012 16:03:09 +0200 + +libxfce4ui (4.8.1-1) unstable; urgency=low + + * New upstream bugfix release, including: + - updated dutch translation. lp: #781043 + * debian/copyright: fix EOLs. + + -- Lionel Le Folgoc <mrpouit@gmail.com> Wed, 28 Dec 2011 21:20:37 +0100 + +libxfce4ui (4.8.0-4) unstable; urgency=low + + * debian/control: + - fix glade-xfce Recommends on libxfce4ui-1-dev. + * debian/patches: + - 01_replace-ctrl-primary-gtk-shortcuts added, replace Control by Primary + in keyboard shortcuts since Gtk+ switch broke current shortcuts. + * debian/NEWS added to tell people how to rebind shortcuts broken by the + Gtk+ upgrade. + + -- Yves-Alexis Perez <corsac@debian.org> Tue, 20 Dec 2011 15:39:18 +0100 + +libxfce4ui (4.8.0-3) unstable; urgency=low + + * debian/rules: + - cleanup .la files for glade too. closes: #633239 + + -- Yves-Alexis Perez <corsac@debian.org> Sat, 09 Jul 2011 15:34:01 +0200 + +libxfce4ui (4.8.0-2) unstable; urgency=low + + * Upload to unstable. + * debian/control: + - drop Emanuele, Simon and Mike from uploaders. + - update standards version to 3.9.2. + + -- Yves-Alexis Perez <corsac@debian.org> Tue, 19 Apr 2011 15:56:59 +0200 + +libxfce4ui (4.8.0-1) experimental; urgency=low + + * Initial release. closes: #612048 + + -- Yves-Alexis Perez <corsac@debian.org> Sun, 06 Feb 2011 16:53:52 +0100 diff --git a/libxfce4ui-nocsd/debian/control b/libxfce4ui-nocsd/debian/control new file mode 100644 index 0000000..a05881c --- /dev/null +++ b/libxfce4ui-nocsd/debian/control @@ -0,0 +1,106 @@ +Source: libxfce4ui-nocsd +Priority: optional +Section: xfce +XSBC-Original-Maintainer: Unit 193 <unit193@debian.org> +Maintainer: B. Stack <bgstack15@gmail.com> +Build-Depends: debhelper-compat (= 12), + gobject-introspection, + gtk-doc-tools, + intltool, + libgirepository1.0-dev, + libgladeui-dev, + libgtk-3-dev, + libgtop2-dev, + libstartup-notification0-dev, + libxfce4util-dev (>= 4.15.6), + libxfconf-0-dev, + pkg-config, + xfce4-dev-tools +Rules-Requires-Root: no +Standards-Version: 4.5.1 +Homepage: https://github.com/Xfce-Classic/libxfce4ui-nocsd + +Package: libxfce4ui-nocsd-2-0 +Section: libs +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Depends: libxfce4ui-common, ${misc:Depends}, ${shlibs:Depends} +Breaks: libxfce4ui-2-0 +Replaces: libxfce4ui-2-0 +Provides: libxfce4ui-2-0 (= ${binary:Version}) +Description: widget library for Xfce - Gtk+3 variant + libxfce4ui is used to share commonly used Xfce widgets among the Xfce + applications. + . + This package provides the Gtk+3 variant of libxfce4ui. + +Package: libxfce4ui-nocsd-2-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Depends: gir1.2-libxfce4ui-2.0 (= ${binary:Version}), + libgtk-3-dev, + libxfce4ui-2-0 (= ${binary:Version}), + libxfce4util-dev, + libxfconf-0-dev, + ${misc:Depends} +Breaks: libxfce4ui-2-dev +Replaces: libxfce4ui-2-dev +Provides: libxfce4ui-2-dev (= ${binary:Version}) +Description: Development files for libxfce4ui - Gtk+3 variant + This package contains the headers and the static library + for libxfce4ui. + . + This package provides development files for the Gtk+3 variant of libxfce4ui. + +Package: libxfce4ui-nocsd-common +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends}, ${shlibs:Depends} +Suggests: devhelp, libxfce4ui-2-0 | libxfce4ui-1-0 +Breaks: libxfce4ui-common +Replaces: libxfce4ui-common +Provides: libxfce4ui-common (= ${binary:Version}), xfce-keyboard-shortcuts +Description: common files for libxfce4ui + This package contains the common files for both variants of libxfce4ui. + +Package: gir1.2-libxfce4ui-nocsd-2.0 +Section: introspection +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Depends: ${gir:Depends}, ${misc:Depends} +Breaks: gir1.2-libxfce4ui-2.0 +Replaces: gir1.2-libxfce4ui-2.0 +Provides: gir1.2-libxfce4ui-2.0 (= ${binary:Version}) +Description: Typelib file for libxfce4ui + libxfce4ui is used to share commonly used Xfce widgets among the Xfce + applications. + . + This package provides the introspection data for libxfce4ui. + +Package: libxfce4ui-nocsd-glade +Section: libdevel +Architecture: any +Multi-Arch: same +Depends: ${misc:Depends}, ${shlibs:Depends} +Breaks: libxfce4ui-glade +Replaces: libxfce4ui-glade +Provides: libxfce4ui-glade (= ${binary:Version}) +Description: glade API for libxfce4ui + libxfce4ui is used to share commonly used Xfce widgets among the Xfce + applications. + . + This package contains the modules for GTK+3 GUI development with Glade. + +Package: libxfce4ui-nocsd-utils +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Breaks: libxfce4ui-utils +Replaces: libxfce4ui-utils +Provides: libxfce4ui-utils (= ${binary:Version}) +Description: Utility files for libxfce4ui + This package contains the Xfce settings plugin and the utility files for + libxfce4ui-2-0 which are: + - xfce4-about diff --git a/libxfce4ui-nocsd/debian/copyright b/libxfce4ui-nocsd/debian/copyright new file mode 100644 index 0000000..297492c --- /dev/null +++ b/libxfce4ui-nocsd/debian/copyright @@ -0,0 +1,93 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: libxfce4ui +Source: https://www.xfce.org + +Files: * +Copyright: The Xfce Development Team +License: LGPL-2+ + +Files: glade/libxfce4ui-glade.c + libxfce4ui/libxfce4ui-config.c + libxfce4ui/libxfce4ui-config.h + libxfce4ui/libxfce4ui-config.h.in + libxfce4ui/libxfce4ui-private.h + libxfce4ui/libxfce4ui.h + libxfce4ui/libxfce4ui.symbols + libxfce4ui/xfce-dialogs.h + libxfce4ui/xfce-gdk-extensions.h + libxfce4ui/xfce-gtk-extensions.c + libxfce4ui/xfce-gtk-extensions.h + libxfce4ui/xfce-spawn.h +Copyright: 2007, The Xfce Development Team + 2008, The Xfce Development Team +License: LGPL-2+ + +Files: libxfce4kbd-private/xfce-shortcut-dialog.c + libxfce4kbd-private/xfce-shortcut-dialog.h + libxfce4kbd-private/xfce-shortcuts-grabber.c + libxfce4kbd-private/xfce-shortcuts-grabber.h + libxfce4kbd-private/xfce-shortcuts-provider.c + libxfce4kbd-private/xfce-shortcuts-provider.h + libxfce4kbd-private/xfce-shortcuts.c + libxfce4kbd-private/xfce-shortcuts.h +Copyright: 2008, Jannis Pohlmann <jannis@xfce.org> +License: LGPL-2+ + +Files: libxfce4ui/xfce-titled-dialog.c + libxfce4ui/xfce-titled-dialog.h +Copyright: 2006, Benedikt Meurer <benny@xfce.org> +License: LGPL-2+ + +Files: libxfce4ui/xfce-dialogs.c + libxfce4ui/xfce-gdk-extensions.c +Copyright: 2003-2007, Benedikt Meurer <benny@xfce.org> + 2006-2007, Benedikt Meurer <benny@xfce.org> + 2007, The Xfce Development Team + 2019, The Xfce Development Team +License: LGPL-2+ + +Files: libxfce4ui/xfce-sm-client.c + libxfce4ui/xfce-sm-client.h +Copyright: 1999, Olivier Fourdan (fourdan@xfce.org) + 2009, Brian Tarricone <brian@terricone.org> +License: LGPL-2.1+ + +Files: libxfce4ui/make-libxfce4ui-alias.pl +Copyright: 2004, The GLib Development Team + 2005, Benedikt Meurer <benny@xfce.org> +License: LGPL-2+ + +Files: libxfce4ui/abicheck.sh +Copyright: 2004, The GLib Development Team + 2007, The Xfce Development Team +License: LGPL-2+ + +Files: debian/* +Copyright: 2009-2013, Yves-Alexis Perez <corsac@debian.org> +License: GPL-2+ + +Files: docs/* +Copyright: 2007-2013, The Xfce Development Team +License: GFDL-1.1+ + +License: GFDL-1.1+ + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.1 or + any later version published by the Free Software Foundation; with no + Invariant Sections, with no Front-Cover Texts, and with no Back-Cover + Texts. + . + On Debian systems, the complete text of the GNU Free Documentation + License can be found in “/usr/share/common-licenses/GFDL-1.1”. + +License: LGPL-2+ + On Debian systems, the complete text of the GNU Lesser General Public + License (version 2) can be found in `/usr/share/common-licenses/LGPL-2'. + +License: LGPL-2.1+ + On Debian systems, the complete text of the GNU Lesser General Public + License (version 2.1) can be found in `/usr/share/common-licenses/LGPL-2.1'.\ + +License: GPL-2+ + On Debian systems, the complete text of the GNU General Public License + (version 2) can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/libxfce4ui-nocsd/debian/gbp.conf b/libxfce4ui-nocsd/debian/gbp.conf new file mode 100644 index 0000000..48731a6 --- /dev/null +++ b/libxfce4ui-nocsd/debian/gbp.conf @@ -0,0 +1,4 @@ +[DEFAULT] +pristine-tar = True +debian-branch = debian/master +upstream-branch = upstream/latest diff --git a/libxfce4ui-nocsd/debian/gir1.2-libxfce4ui-nocsd-2.0.install b/libxfce4ui-nocsd/debian/gir1.2-libxfce4ui-nocsd-2.0.install new file mode 100644 index 0000000..ccdda39 --- /dev/null +++ b/libxfce4ui-nocsd/debian/gir1.2-libxfce4ui-nocsd-2.0.install @@ -0,0 +1 @@ +usr/lib/*/girepository-1.0/* diff --git a/libxfce4ui-nocsd/debian/libxfce4ui-nocsd+devuan.dsc b/libxfce4ui-nocsd/debian/libxfce4ui-nocsd+devuan.dsc new file mode 100644 index 0000000..41edbe8 --- /dev/null +++ b/libxfce4ui-nocsd/debian/libxfce4ui-nocsd+devuan.dsc @@ -0,0 +1,13 @@ +Format: 3.0 (quilt) +Source: libxfce4ui-nocsd +Binary: libxfce4ui-nocsd-2-0, libxfce4ui-nocsd-2-dev, libxfce4ui-nocsd-common, gir1.2-libxfce4ui-nocsd-2.0, libxfce4ui-nocsd-glade, libxfce4ui-nocsd-utils +Architecture: any all +Version: 4.16.0-1+devuan +Maintainer: B. Stack <bgstack15@gmail.com> +Homepage: https://github.com/Xfce-Classic/libxfce4ui-nocsd +Standards-Version: 4.5.1 +Build-Depends: debhelper-compat (= 12), gobject-introspection, gtk-doc-tools, intltool, libgirepository1.0-dev, libgladeui-dev, libgtk-3-dev, libgtop2-dev, libstartup-notification0-dev, libxfce4util-dev (>= 4.15.6), libxfconf-0-dev, pkg-config, xfce4-dev-tools +Files: + 00000000000000000000000000000000 1 libxfce4ui-nocsd.orig.tar.bz2 + 00000000000000000000000000000000 1 libxfce4ui-nocsd.debian.tar.xz +Original-Maintainer: Unit 193 <unit193@debian.org> diff --git a/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-2-0.install b/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-2-0.install new file mode 100644 index 0000000..576d69d --- /dev/null +++ b/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-2-0.install @@ -0,0 +1,2 @@ +usr/lib/*/libxfce4kbd-private-3.so.* +usr/lib/*/libxfce4ui-2.so.* diff --git a/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-2-0.lintian-overrides b/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-2-0.lintian-overrides new file mode 100644 index 0000000..37ec8fd --- /dev/null +++ b/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-2-0.lintian-overrides @@ -0,0 +1,2 @@ +# libxfce4kbd-private-3 is “private” to Xfce core +shared-library-symbols-not-tracked libxfce4kbd-private-3 0 for usr/lib/*/libxfce4kbd-private-3.so.0.0.0 diff --git a/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-2-0.shlibs b/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-2-0.shlibs new file mode 100644 index 0000000..dcbce7e --- /dev/null +++ b/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-2-0.shlibs @@ -0,0 +1,2 @@ +libxfce4ui-2 0 libxfce4ui-2-0 +libxfce4kbd-private-3 0 libxfce4ui-2-0 (>= 4.11.0) diff --git a/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-2-0.symbols b/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-2-0.symbols new file mode 100644 index 0000000..0742479 --- /dev/null +++ b/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-2-0.symbols @@ -0,0 +1,88 @@ +libxfce4ui-2.so.0 libxfce4ui-2-0 #MINVER# +* Build-Depends-Package: libxfce4ui-2-dev + libxfce4ui_check_version@Base 4.11.0 + libxfce4ui_major_version@Base 4.11.0 + libxfce4ui_micro_version@Base 4.11.0 + libxfce4ui_minor_version@Base 4.11.0 + xfce_dialog_confirm@Base 4.11.0 + xfce_dialog_confirm_close_tabs@Base 4.15.0 + xfce_dialog_show_error@Base 4.11.0 + xfce_dialog_show_help@Base 4.11.0 + xfce_dialog_show_help_with_version@Base 4.11.1 + xfce_dialog_show_info@Base 4.11.0 + xfce_dialog_show_warning@Base 4.11.0 + xfce_filename_input_check@Base 4.15.2 + xfce_filename_input_desensitise_widget@Base 4.15.2 + xfce_filename_input_get_entry@Base 4.15.2 + xfce_filename_input_get_text@Base 4.15.2 + xfce_filename_input_get_type@Base 4.15.2 + xfce_filename_input_sensitise_widget@Base 4.15.2 + xfce_gdk_screen_get_active@Base 4.11.0 + xfce_gdk_screen_get_geometry@Base 4.13.5 + xfce_gicon_from_name@Base 4.15.1 + xfce_gtk_accel_group_connect_action_entries@Base 4.15.3 + xfce_gtk_accel_group_disconnect_action_entries@Base 4.15.3 + xfce_gtk_accel_map_add_entries@Base 4.15.3 + xfce_gtk_button_new_mixed@Base 4.11.0 + xfce_gtk_check_menu_item_new@Base 4.15.2 + xfce_gtk_frame_box_new@Base 4.11.0 + xfce_gtk_frame_box_new_with_content@Base 4.11.0 + xfce_gtk_get_action_entry_by_id@Base 4.15.2 + xfce_gtk_image_menu_item_new@Base 4.15.2 + xfce_gtk_image_menu_item_new_from_icon_name@Base 4.15.2 + xfce_gtk_menu_append_seperator@Base 4.15.2 + xfce_gtk_menu_item_new@Base 4.15.2 + xfce_gtk_menu_item_new_from_action_entry@Base 4.15.2 + xfce_gtk_menu_item_set_accel_label@Base 4.15.3 + xfce_gtk_menu_popup_until_mapped@Base 4.13.0 + xfce_gtk_radio_menu_item_new@Base 4.15.2 + xfce_gtk_toggle_menu_item_new_from_action_entry@Base 4.15.2 + xfce_gtk_tool_button_new_from_action_entry@Base 4.15.2 + xfce_gtk_translate_action_entries@Base 4.15.2 + xfce_gtk_window_center_on_active_screen@Base 4.11.0 + xfce_has_gtk_frame_extents@Base 4.15.8 + xfce_icon_name_from_desktop_id@Base 4.15.1 + xfce_message_dialog@Base 4.11.0 + xfce_message_dialog_new@Base 4.11.0 + xfce_message_dialog_new_valist@Base 4.11.0 + xfce_sm_client_connect@Base 4.11.0 + xfce_sm_client_disconnect@Base 4.11.0 + xfce_sm_client_error_enum_get_type@Base 4.11.0 + xfce_sm_client_error_quark@Base 4.11.0 + xfce_sm_client_get@Base 4.11.0 + xfce_sm_client_get_client_id@Base 4.11.0 + xfce_sm_client_get_current_directory@Base 4.11.0 + xfce_sm_client_get_full@Base 4.11.0 + xfce_sm_client_get_option_group@Base 4.11.0 + xfce_sm_client_get_priority@Base 4.11.0 + xfce_sm_client_get_restart_command@Base 4.11.0 + xfce_sm_client_get_restart_style@Base 4.11.0 + xfce_sm_client_get_state_file@Base 4.11.0 + xfce_sm_client_get_type@Base 4.11.0 + xfce_sm_client_get_with_argv@Base 4.11.0 + xfce_sm_client_is_connected@Base 4.11.0 + xfce_sm_client_is_resumed@Base 4.11.0 + xfce_sm_client_request_shutdown@Base 4.11.0 + xfce_sm_client_restart_style_get_type@Base 4.11.0 + xfce_sm_client_set_current_directory@Base 4.11.0 + xfce_sm_client_set_desktop_file@Base 4.11.0 + xfce_sm_client_set_priority@Base 4.11.0 + xfce_sm_client_set_restart_command@Base 4.11.0 + xfce_sm_client_set_restart_style@Base 4.11.0 + xfce_sm_client_shutdown_hint_get_type@Base 4.11.0 + xfce_spawn@Base 4.15.6 + xfce_spawn_command_line@Base 4.15.6 + xfce_spawn_command_line_on_screen@Base 4.11.0 + xfce_spawn_on_screen@Base 4.11.0 + xfce_spawn_on_screen_with_child_watch@Base 4.11.0 + xfce_titled_dialog_add_action_widget@Base 4.15.1 + xfce_titled_dialog_add_button@Base 4.15.1 + xfce_titled_dialog_create_action_area@Base 4.15.1 + xfce_titled_dialog_get_subtitle@Base 4.11.0 + xfce_titled_dialog_get_type@Base 4.11.0 + xfce_titled_dialog_new@Base 4.11.0 + xfce_titled_dialog_new_with_buttons@Base 4.11.0 + xfce_titled_dialog_new_with_mixed_buttons@Base 4.13.0 + xfce_titled_dialog_set_default_response@Base 4.15.1 + xfce_titled_dialog_set_subtitle@Base 4.11.0 + xfce_widget_reparent@Base 4.13.0 diff --git a/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-2-dev.install b/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-2-dev.install new file mode 100644 index 0000000..4932c35 --- /dev/null +++ b/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-2-dev.install @@ -0,0 +1,7 @@ +usr/include/xfce4/libxfce4kbd-private-3 +usr/include/xfce4/libxfce4ui-2 +usr/lib/*/libxfce4kbd-private-3.so +usr/lib/*/libxfce4ui-2.so +usr/lib/*/pkgconfig/libxfce4kbd-private-3.pc +usr/lib/*/pkgconfig/libxfce4ui-2.pc +usr/share/gir-1.0/* diff --git a/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-common.install b/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-common.install new file mode 100644 index 0000000..6f4f84a --- /dev/null +++ b/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-common.install @@ -0,0 +1,3 @@ +etc +usr/share/gtk-doc/* +usr/share/locale diff --git a/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-glade.install b/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-glade.install new file mode 100644 index 0000000..02ff8fd --- /dev/null +++ b/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-glade.install @@ -0,0 +1,2 @@ +usr/lib/*/glade/ +usr/share/glade/ diff --git a/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-glade.lintian-overrides b/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-glade.lintian-overrides new file mode 100644 index 0000000..8e0fad2 --- /dev/null +++ b/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-glade.lintian-overrides @@ -0,0 +1,2 @@ +# libxfce4uiglade2.so is a glade plugin and doesn't use any libc symbol +libxfce4ui-nocsd-glade: library-not-linked-against-libc usr/lib/*/glade/modules/libxfce4uiglade2.so diff --git a/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-utils.install b/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-utils.install new file mode 100644 index 0000000..41099bf --- /dev/null +++ b/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-utils.install @@ -0,0 +1,4 @@ +debian/xfhelp4 usr/bin +usr/bin/xfce4-about +usr/share/applications +usr/share/icons diff --git a/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-utils.manpages b/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-utils.manpages new file mode 100644 index 0000000..33fb0da --- /dev/null +++ b/libxfce4ui-nocsd/debian/libxfce4ui-nocsd-utils.manpages @@ -0,0 +1 @@ +debian/xfce4-about.1 diff --git a/libxfce4ui-nocsd/debian/rules b/libxfce4ui-nocsd/debian/rules new file mode 100755 index 0000000..6a7a3ad --- /dev/null +++ b/libxfce4ui-nocsd/debian/rules @@ -0,0 +1,34 @@ +#!/usr/bin/make -f + +include /usr/share/dpkg/default.mk +export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed -Wl,-O1 -Wl,-z,defs +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +XFVENDOR=Debian +ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes),yes) + XFVENDOR=Xubuntu +endif + +ifneq (,$(findstring git,$(DEB_VERSION))) +override_dh_autoreconf: + NOCONFIGURE=1 dh_autoreconf xdt-autogen +EXTRA_CONFFLAGS=--enable-maintainer-mode +endif + +%: + dh $@ --with gir + +override_dh_auto_configure: + dh_auto_configure -- --with-vendor-info=$(XFVENDOR) --enable-gtk-doc --enable-introspection=yes $(EXTRA_CONFFLAGS) + +override_dh_install: +ifneq ($(XFVENDOR),Xubuntu) + dh_install --sourcedir=$(CURDIR) -plibxfce4ui-nocsd-utils debian/vendorinfo usr/share/xfce4 +endif + dh_install -X .la + +override_dh_missing: + dh_missing --fail-missing -X .la + +override_dh_makeshlibs: + dh_makeshlibs -plibxfce4ui-nocsd-2-0 -Xlibxfce4kbd-private diff --git a/libxfce4ui-nocsd/debian/source/format b/libxfce4ui-nocsd/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/libxfce4ui-nocsd/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/libxfce4ui-nocsd/debian/vendorinfo b/libxfce4ui-nocsd/debian/vendorinfo new file mode 100644 index 0000000..afd0135 --- /dev/null +++ b/libxfce4ui-nocsd/debian/vendorinfo @@ -0,0 +1,9 @@ +Debian Xfce Team is <debian-xfce@lists.debian.org> + +Co-maintainers are: + +Yves-Alexis Perez <corsac@debian.org> +Unit 193 <unit193@debian.org> + +Bugs should be reported to Debian BTS at: https://bugs.debian.org or using +reportbug. diff --git a/libxfce4ui-nocsd/debian/watch b/libxfce4ui-nocsd/debian/watch new file mode 100644 index 0000000..3f6f317 --- /dev/null +++ b/libxfce4ui-nocsd/debian/watch @@ -0,0 +1,4 @@ +version=4 +#opts="mode=git, pretty=4.15.3+git%cd.%h, pgpmode=none" \ +#https://github.com/Xfce-Classic/libxfce4ui-nocsd HEAD debian uupdate +https://github.com/Xfce-Classic/libxfce4ui-nocsd/releases .*/libxfce4ui-@ANY_VERSION@@ARCHIVE_EXT@ diff --git a/libxfce4ui-nocsd/debian/xfce4-about.1 b/libxfce4ui-nocsd/debian/xfce4-about.1 new file mode 100644 index 0000000..772783d --- /dev/null +++ b/libxfce4ui-nocsd/debian/xfce4-about.1 @@ -0,0 +1,31 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.8. +.TH XFCE4-ABOUT "1" "April 2012" "xfce4-about 4.9.2 (Xfce 4.10)" "User Commands" +.SH NAME +xfce4-about \- About and Credits dialog for Xfce +.SH DESCRIPTION +.SS "Usage:" +.IP +xfce4\-about [OPTION...] +.SS "Help Options:" +.TP +\fB\-h\fR, \fB\-\-help\fR +Show help options +.TP +\fB\-\-help\-all\fR +Show all help options +.TP +\fB\-\-help\-gtk\fR +Show GTK+ Options +.SS "Application Options:" +.TP +\fB\-V\fR, \fB\-\-version\fR +Version information +.TP +\fB\-\-display\fR=\fIDISPLAY\fR +X display to use +.SH COPYRIGHT +Copyright \(co 2008\-2011 +.IP +The Xfce development team. All rights reserved. +.PP +Please report bugs to <https://bugzilla.xfce.org/>. diff --git a/libxfce4ui-nocsd/debian/xfhelp4 b/libxfce4ui-nocsd/debian/xfhelp4 new file mode 100755 index 0000000..250ffd0 --- /dev/null +++ b/libxfce4ui-nocsd/debian/xfhelp4 @@ -0,0 +1,72 @@ +#!/bin/bash +# +# xfce +# +# Copyright (C) 1999 Olivier Fourdan (fourdan@xfce.org) +# Copyright (C) 2003 Jasper Huijsmans (jasper@xfce.org) +# +# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# + +URL="https://docs.xfce.org/" +HELP_DIR="/usr/share/doc" + +if [ -n "$1" ]; then + HELP_FILE= + MODULE="${1%.html}" + case $1 in + *.html) + HELP_FILE="$1" + ;; + esac +else + exit 1 +fi + +# Check for translated documentation +if [ -n "$LC_ALL" ] ; then + LC=$LC_ALL +elif [ -n "$LANG" ] ; then + LC=$LANG +else + LC="C" +fi + +LC_CLEAN="${LC%_*}" + +if [ -r "$HELP_DIR/$MODULE/html/$LC/index.html" ] +then + URL="$HELP_DIR/$MODULE/html/$LC/index.html" +elif [ -r "$HELP_DIR/$MODULE/html/$LC_CLEAN/index.html" ] +then + URL="$HELP_DIR/$MODULE/html/$LC_CLEAN/index.html" +elif [ -r "$HELP_DIR/$MODULE/html/C/index.html" ] +then + URL="$HELP_DIR/$MODULE/html/C/index.html" +elif [ -n "$HELP_FILE" ] +then + if [ -r "$HELP_DIR/$MODULE/html/$LC/$HELP_FILE" ] + then + URL="$HELP_DIR/$MODULE/html/$LC/$HELP_FILE" + elif [ -r "$HELP_DIR/$MODULE/html/$LC_CLEAN/$HELP_FILE" ] + then + URL="$HELP_DIR/$MODULE/html/$LC_CLEAN/$HELP_FILE" + elif [ -r "$HELP_DIR/$MODULE/html/C/$HELP_FILE" ] + then + URL="$HELP_DIR/$MODULE/html/C/$HELP_FILE" + fi +fi + +exo-open "${URL}" |