diff options
author | Simon Streit <simon@netpanic.org> | 2021-12-28 23:25:53 +0100 |
---|---|---|
committer | Simon Streit <simon@netpanic.org> | 2021-12-28 23:25:53 +0100 |
commit | d4cc494214a8807457835f1982f8c87d98a0236b (patch) | |
tree | 064a138507ede22c124d611309463e51cf81b3a2 | |
parent | 39565e5802837c8133bea546bc038b6f1e7221dc (diff) |
packages: Add thunar plugins. Though they don't work yet!
-rw-r--r-- | siguix/packages/thunar-plugin-share.scm | 48 | ||||
-rw-r--r-- | siguix/packages/thunar.scm | 93 |
2 files changed, 141 insertions, 0 deletions
diff --git a/siguix/packages/thunar-plugin-share.scm b/siguix/packages/thunar-plugin-share.scm new file mode 100644 index 0000000..d614851 --- /dev/null +++ b/siguix/packages/thunar-plugin-share.scm @@ -0,0 +1,48 @@ +(use-modules ;; ((guix licenses) #:prefix license:) + (guix licenses) + (guix packages) + (guix utils) + (gnu packages) + (gnu packages xfce) + (gnu packages pkg-config) + (gnu packages glib) + (gnu packages gtk) + (gnu packages python) + (siguix packages thunar) + (guix download) + (guix build-system gnu)) + +(define-public thunar-shares-plugin + (package + (name "thunar-shares-plugin") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://archive.xfce.org/src/thunar-plugins/" + name + "/" + (version-major+minor version) + "/" + name "-" version ".tar.bz2")) + (sha256 + (base32 "182j8jl91735004hbl0i2xxga4r6fk03srfl6g87czkjm9y8q7fw")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("intltool" ,intltool))) + (inputs + `(("thunar" ,thunar) + ("thunarx-python" ,thunarx-python) + ("gtk+" ,gtk+))) + (home-page "https://www.xfce.org/") + (synopsis "Removable media manager for Thunar") + (description + "Thunar-volman is an extension for the Thunar File Manager, which enables +automatic management of removable drives and media. For example, if +thunar-volman is installed and configured properly, and you plug in your +digital camera, it will automatically spawn your preferred photo application +and import the new pictures from your camera.") + (license gpl2+))) + +thunar-shares-plugin diff --git a/siguix/packages/thunar.scm b/siguix/packages/thunar.scm new file mode 100644 index 0000000..3e08208 --- /dev/null +++ b/siguix/packages/thunar.scm @@ -0,0 +1,93 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2021 Simon Streit <simon@netpanic.org> +;;; +;;; This file is NOT part of GNU Guix. +;;; +;;; GNU Guix 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 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix 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 GNU Guix. If not, see <http://www.gnu.org/licenses/>. + +(define-module (siguix packages thunar) + #:use-module (guix licenses) + #:use-module (guix download) + #:use-module (guix utils) + #:use-module (guix build-system gnu) + #:use-module (guix packages) + #:use-module (gnu packages) + #:use-module (gnu packages glib) + #:use-module (gnu packages gtk) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages python) + #:use-module (gnu packages xfce)) + +(define-public thunarx-python + (package + (name "thunarx-python") + (version "0.5.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://archive.xfce.org/src/bindings/" + name "/" (version-major+minor version) + "/" name "-" version ".tar.bz2")) + (sha256 + (base32 "08lz9pvx006a2fypg2q38p61jbhy0yswz8cizlxpiwfcqsvhpnln")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("intltool" ,intltool))) + (inputs + `(("exo" ,exo) + ("libxfce4ui" ,libxfce4ui) + ("gtk+" ,gtk+) + ("thunar" ,thunar) + ("python" ,python) + ("python-pygobject" ,python-pygobject))) + (home-page "https://gitlab.xfce.org/bindings/thunarx-python") + (synopsis "Thunarx Python Bindings") + (description "These bindings allow one to create python plugins for Thunar.") + (license gpl2+))) + +(define-public thunar-shares-plugin + (package + (name "thunar-shares-plugin") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://archive.xfce.org/src/thunar-plugins/" + name + "/" + (version-major+minor version) + "/" + name "-" version ".tar.bz2")) + (sha256 + (base32 "182j8jl91735004hbl0i2xxga4r6fk03srfl6g87czkjm9y8q7fw")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("intltool" ,intltool))) + (inputs + `(("exo" ,exo) + ("libxfce4ui" ,libxfce4ui) + ("thunar" ,thunar) + ;; ("thunarx-python" ,thunarx-python) + ("gtk+" ,gtk+))) + (home-page "https://www.xfce.org/") + (synopsis "Removable media manager for Thunar") + (description + "Thunar-volman is an extension for the Thunar File Manager, which enables +automatic management of removable drives and media. For example, if +thunar-volman is installed and configured properly, and you plug in your +digital camera, it will automatically spawn your preferred photo application +and import the new pictures from your camera.") + (license gpl2+))) |