unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 0/8] Random collection of patches
@ 2016-11-21 21:00 Efraim Flashner
  2016-11-21 21:00 ` [PATCH 1/8] gnu: Add aspell-dict-he Efraim Flashner
                   ` (7 more replies)
  0 siblings, 8 replies; 14+ messages in thread
From: Efraim Flashner @ 2016-11-21 21:00 UTC (permalink / raw)
  To: guix-devel

Here's a batch of patches that mostly come from my GUIX_PACKAGE_PATH that I've been sitting on for a bit.

Efraim Flashner (8):
  gnu: Add aspell-dict-he.
  gnu: Add wgetpaste.
  gnu: Add rkflashtool.
  gnu: Add viewnior.
  gnu: Rename owncloud.scm to sync.scm.
  gnu: Add qsyncthingtray.
  gnu: Add lekha.
  gnu: Add econnman.

 gnu/local.mk                            |  3 +-
 gnu/packages/aspell.scm                 |  8 ++++
 gnu/packages/connman.scm                | 36 +++++++++++++++
 gnu/packages/enlightenment.scm          | 31 +++++++++++++
 gnu/packages/flashing-tools.scm         | 36 +++++++++++++++
 gnu/packages/{owncloud.scm => sync.scm} | 57 +++++++++++++++++++++++-
 gnu/packages/viewnior.scm               | 78 +++++++++++++++++++++++++++++++++
 gnu/packages/wget.scm                   | 34 ++++++++++++++
 8 files changed, 281 insertions(+), 2 deletions(-)
 rename gnu/packages/{owncloud.scm => sync.scm} (66%)
 create mode 100644 gnu/packages/viewnior.scm

-- 
2.10.2

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH 1/8] gnu: Add aspell-dict-he.
  2016-11-21 21:00 [PATCH 0/8] Random collection of patches Efraim Flashner
@ 2016-11-21 21:00 ` Efraim Flashner
  2016-11-22 20:01   ` Alex Kost
  2016-11-21 21:00 ` [PATCH 2/8] gnu: Add wgetpaste Efraim Flashner
                   ` (6 subsequent siblings)
  7 siblings, 1 reply; 14+ messages in thread
From: Efraim Flashner @ 2016-11-21 21:00 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/aspell.scm (aspell-dict-he): New variable.
---
 gnu/packages/aspell.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/aspell.scm b/gnu/packages/aspell.scm
index b702412..21014c0 100644
--- a/gnu/packages/aspell.scm
+++ b/gnu/packages/aspell.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2015, 2016 Alex Kost <alezost@gmail.com>
 ;;; Copyright ©2016 John Darrington <jmd@gnu.org>
+;;; Copyright ©2016 Efraim Flashner <efraim@flashner.co.il>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -155,3 +156,10 @@ dictionaries, including personal ones.")
                      #:sha256
                      (base32
                       "0ffb87yjsh211hllpc4b9khqqrblial4pzi1h9r3v465z1yhn3j4")))
+
+(define-public aspell-dict-he
+  (aspell-dictionary "he" "Hebrew"
+                     #:version "1.0-0"
+                     #:sha256
+                     (base32
+                      "13bhbghx5b8g0119g3wxd4n8mlf707y41vlf59irxjj0kynankfn")))
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 2/8] gnu: Add wgetpaste.
  2016-11-21 21:00 [PATCH 0/8] Random collection of patches Efraim Flashner
  2016-11-21 21:00 ` [PATCH 1/8] gnu: Add aspell-dict-he Efraim Flashner
@ 2016-11-21 21:00 ` Efraim Flashner
  2016-11-23 11:48   ` ng0
  2016-11-21 21:00 ` [PATCH 3/8] gnu: Add rkflashtool Efraim Flashner
                   ` (5 subsequent siblings)
  7 siblings, 1 reply; 14+ messages in thread
From: Efraim Flashner @ 2016-11-21 21:00 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/wget.scm (wgetpaste): New variable.
---
 gnu/packages/wget.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/wget.scm b/gnu/packages/wget.scm
index 80da332..72aab86 100644
--- a/gnu/packages/wget.scm
+++ b/gnu/packages/wget.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
 ;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -60,3 +61,36 @@ HTTPS and FTP protocols.  It can resume interrupted downloads, use file name
 wild cards, supports proxies and cookies, and it can convert absolute links
 in downloaded documents to relative links.")
     (license gpl3+))) ; some files are under GPLv2+
+
+(define-public wgetpaste
+  (package
+    (name "wgetpaste")
+    (version "2.28")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "http://wgetpaste.zlin.dk/wgetpaste-"
+                            version ".tar.bz2"))
+        (sha256
+         (base32
+          "1hh9svyypqcvdg5mjxyyfzpdzhylhf7s7xq5dzglnm4injx3i3ak"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (delete 'configure)
+         (delete 'build)
+         (replace 'install
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (bin (string-append out "/bin"))
+                    (zsh (string-append out "/share/zsh/site-functions")))
+               (install-file "wgetpaste" bin)
+               (install-file "_wgetpaste" zsh)))))
+       #:tests? #f)) ; no test target
+    (home-page "http://wgetpaste.zlin.dk/")
+    (synopsis "Script that automates pasting to a number of pastebin services")
+    (description
+     "@code{wgetpaste} is an extremely simple command-line interface to various
+online pastebin services.")
+    (license public-domain)))
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 3/8] gnu: Add rkflashtool.
  2016-11-21 21:00 [PATCH 0/8] Random collection of patches Efraim Flashner
  2016-11-21 21:00 ` [PATCH 1/8] gnu: Add aspell-dict-he Efraim Flashner
  2016-11-21 21:00 ` [PATCH 2/8] gnu: Add wgetpaste Efraim Flashner
@ 2016-11-21 21:00 ` Efraim Flashner
  2016-11-21 21:00 ` [PATCH 4/8] gnu: Add viewnior Efraim Flashner
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 14+ messages in thread
From: Efraim Flashner @ 2016-11-21 21:00 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/flashing-tools.scm (rkflashtool): New variable.
---
 gnu/packages/flashing-tools.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/flashing-tools.scm b/gnu/packages/flashing-tools.scm
index a55ed96..f25c25f 100644
--- a/gnu/packages/flashing-tools.scm
+++ b/gnu/packages/flashing-tools.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2014 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
 ;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
 ;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -22,6 +23,7 @@
 (define-module (gnu packages flashing-tools)
   #:use-module (guix licenses)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module (guix packages)
   #:use-module (gnu packages)
   #:use-module (guix build-system gnu)
@@ -211,3 +213,37 @@ You need to add the udev rules to make the Teensy update available for
 non-root users.")
       (home-page "https://www.pjrc.com/teensy/loader_cli.html")
       (license gpl3))))
+
+(define-public rkflashtool
+  (let ((commit "094bd6410cb016e487e2ccb1050c59eeac2e6dd1")
+        (revision "1"))
+    (package
+      (name "rkflashtool")
+      (version (string-append "0.0.0-" revision "." (string-take commit 7)))
+      (source
+        (origin
+          (method git-fetch)
+          (uri (git-reference
+                (url "https://github.com/linux-rockchip/rkflashtool.git")
+                (commit commit)))
+          (file-name (string-append name "-" version "-checkout"))
+          (sha256
+           (base32
+            "1zkd8zxir3rfg3sy9r20bcnxclnplryn583gqpcr3iad0k3xbah7"))))
+      (build-system gnu-build-system)
+      (arguments
+       '(#:phases
+         (modify-phases %standard-phases
+           (delete 'configure)) ; no configure
+         #:make-flags (list (string-append "PREFIX=" %output))
+         #:tests? #f)) ; no tests
+      (native-inputs
+       `(("pkg-config" ,pkg-config)))
+      (inputs
+       `(("libusb" ,libusb)))
+      (home-page "https://github.com/linux-rockchip/rkflashtool")
+      (synopsis "Tools for flashing Rockchip devices")
+      (description "Allows flashing of Rockchip based embedded linux devices.
+The list of currently supported devices is: RK2818, RK2918, RK2928, RK3026,
+RK3036, RK3066, RK312X, RK3168, RK3188, RK3288, RK3368.")
+      (license bsd-2))))
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 4/8] gnu: Add viewnior.
  2016-11-21 21:00 [PATCH 0/8] Random collection of patches Efraim Flashner
                   ` (2 preceding siblings ...)
  2016-11-21 21:00 ` [PATCH 3/8] gnu: Add rkflashtool Efraim Flashner
@ 2016-11-21 21:00 ` Efraim Flashner
  2016-11-22 20:09   ` Alex Kost
  2016-11-21 21:00 ` [PATCH 5/8] gnu: Rename owncloud.scm to sync.scm Efraim Flashner
                   ` (3 subsequent siblings)
  7 siblings, 1 reply; 14+ messages in thread
From: Efraim Flashner @ 2016-11-21 21:00 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/viewnior.scm (viewnior): New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
---
 gnu/local.mk              |  1 +
 gnu/packages/viewnior.scm | 78 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)
 create mode 100644 gnu/packages/viewnior.scm

diff --git a/gnu/local.mk b/gnu/local.mk
index 430d05f..43a3991 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -372,6 +372,7 @@ GNU_SYSTEM_MODULES =				\
   %D%/packages/valgrind.scm			\
   %D%/packages/version-control.scm		\
   %D%/packages/video.scm			\
+  %D%/packages/viewnior.scm			\
   %D%/packages/vim.scm				\
   %D%/packages/vpn.scm				\
   %D%/packages/vtk.scm				\
diff --git a/gnu/packages/viewnior.scm b/gnu/packages/viewnior.scm
new file mode 100644
index 0000000..526d51a
--- /dev/null
+++ b/gnu/packages/viewnior.scm
@@ -0,0 +1,78 @@
+;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
+;;;
+;;; 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 (gnu packages viewnior)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix download)
+  #:use-module (guix packages)
+  #:use-module (guix build-system gnu)
+  #:use-module (gnu packages autotools)
+  #:use-module (gnu packages base)
+  #:use-module (gnu packages geeqie)
+  #:use-module (gnu packages glib)
+  #:use-module (gnu packages gnome)
+  #:use-module (gnu packages gtk)
+  #:use-module (gnu packages pkg-config))
+
+(define-public viewnior
+  (package
+    (name "viewnior")
+    (version "1.6")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "https://github.com/xsisqox/Viewnior/archive/"
+                            name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "18309qjgwak3kn228z3p3nx7yxasqgzx69v3rgc23hf161nky0c9"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'autogen
+           (lambda _
+             (zero? (system* "sh" "autogen.sh")))))))
+    (native-inputs
+     `(("automake" ,automake)
+       ("autoconf" ,autoconf)
+       ("intltool" ,intltool)
+       ("glib" ,glib "bin") ; glib-genmarshal
+       ("gnome-common" ,gnome-common)
+       ("libtool" ,libtool)
+       ("pkg-config" ,pkg-config)
+       ("shared-mime-info" ,shared-mime-info)
+       ("which" ,which)))
+    (inputs
+     `(("exiv2" ,exiv2)
+       ("gdk-pixbuf" ,gdk-pixbuf)
+       ("gtk+-2" ,gtk+-2)))
+    (home-page "http://siyanpanayotov.com/project/viewnior/")
+    (synopsis "Simple, fast and elegant image viewer")
+    (description "Viewnior is an image viewer program.  Created to be simple,
+fast and elegant.  Its minimalistic interface provides more screenspace for
+your images.  Among its features are:
+@enumerate
+@item Fullscreen & Slideshow
+@item Rotate, flip, crop, save, delete images
+@item Animation support
+@item Browse only selected images
+@item Navigation window
+@item Set image as wallpaper (Gnome 2, Gnome 3, XFCE, LXDE, FluxBox, Nitrogen)
+@item Simple interface
+@item EXIF and IPTC metadata
+@item Configurable mouse actions
+@end enumerate\n")
+    (license license:gpl3+)))
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 5/8] gnu: Rename owncloud.scm to sync.scm.
  2016-11-21 21:00 [PATCH 0/8] Random collection of patches Efraim Flashner
                   ` (3 preceding siblings ...)
  2016-11-21 21:00 ` [PATCH 4/8] gnu: Add viewnior Efraim Flashner
@ 2016-11-21 21:00 ` Efraim Flashner
  2016-11-21 21:00 ` [PATCH 6/8] gnu: Add qsyncthingtray Efraim Flashner
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 14+ messages in thread
From: Efraim Flashner @ 2016-11-21 21:00 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/owncloud.scm: Rename to ...
* gnu/packages/sync.scm: ... this.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register it.
---
 gnu/local.mk                            | 2 +-
 gnu/packages/{owncloud.scm => sync.scm} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename gnu/packages/{owncloud.scm => sync.scm} (99%)

diff --git a/gnu/local.mk b/gnu/local.mk
index 43a3991..29afdd5 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -284,7 +284,6 @@ GNU_SYSTEM_MODULES =				\
   %D%/packages/openstack.scm			\
   %D%/packages/orpheus.scm			\
   %D%/packages/ots.scm				\
-  %D%/packages/owncloud.scm			\
   %D%/packages/package-management.scm		\
   %D%/packages/parallel.scm			\
   %D%/packages/password-utils.scm		\
@@ -349,6 +348,7 @@ GNU_SYSTEM_MODULES =				\
   %D%/packages/suckless.scm			\
   %D%/packages/swig.scm				\
   %D%/packages/sxiv.scm				\
+  %D%/packages/sync.scm			\
   %D%/packages/synergy.scm			\
   %D%/packages/syndication.scm			\
   %D%/packages/task-management.scm		\
diff --git a/gnu/packages/owncloud.scm b/gnu/packages/sync.scm
similarity index 99%
rename from gnu/packages/owncloud.scm
rename to gnu/packages/sync.scm
index 6b40bd3..186914d 100644
--- a/gnu/packages/owncloud.scm
+++ b/gnu/packages/sync.scm
@@ -16,7 +16,7 @@
 ;;; 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 (gnu packages owncloud)
+(define-module (gnu packages sync)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix build-system cmake)
   #:use-module (guix download)
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 6/8] gnu: Add qsyncthingtray.
  2016-11-21 21:00 [PATCH 0/8] Random collection of patches Efraim Flashner
                   ` (4 preceding siblings ...)
  2016-11-21 21:00 ` [PATCH 5/8] gnu: Rename owncloud.scm to sync.scm Efraim Flashner
@ 2016-11-21 21:00 ` Efraim Flashner
  2016-11-21 21:00 ` [PATCH 7/8] gnu: Add lekha Efraim Flashner
  2016-11-21 21:00 ` [PATCH 8/8] gnu: Add econnman Efraim Flashner
  7 siblings, 0 replies; 14+ messages in thread
From: Efraim Flashner @ 2016-11-21 21:00 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/sync.scm (qsyncthingtray): New variable.
---
 gnu/packages/sync.scm | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm
index 186914d..058d26a 100644
--- a/gnu/packages/sync.scm
+++ b/gnu/packages/sync.scm
@@ -103,3 +103,58 @@ to and a server to synchronize to.  You can configure more computers to
 synchronize to the same server and any change to the files on one computer will
 silently and reliably flow across to every other.")
     (license license:gpl2+)))
+
+(define-public qsyncthingtray
+  (package
+    (name "qsyncthingtray")
+    (version "0.5.5rc2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+               "https://github.com/sieren/QSyncthingTray/archive/"
+               version ".tar.gz"))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0wygq9sfayyhd3ff31yfs5lfl3vnk79i9mnj6m4pgi9zlvdipi80"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:configure-flags '("-DQST_BUILD_WEBKIT=1")
+       #:phases
+       (modify-phases %standard-phases
+         ;; The program is meant to be run from the git repo or source tarball.
+         (replace 'install
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (bin (string-append out "/bin")))
+               (install-file "QSyncthingTray" bin)
+               (install-file (string-append
+                               "../QSyncthingTray-"
+                               ,(package-version qsyncthingtray)
+                               "/resources/images/Icon1024.png")
+                             (string-append
+                               out "/share/pixmaps/QSyncthingTray.png"))
+               #t))))
+       #:tests? #f)) ; no test target
+    (inputs
+     `(("qtbase" ,qtbase)
+       ("qtwebkit" ,qtwebkit)))
+    (home-page "https://github.com/sieren/QSyncthingTray")
+    (synopsis "Traybar Application for Syncthing")
+    (description
+     "A traybar application for syncthing.
+@enumerate
+@item Shows number of connections at a glance.
+@item Traffic statistics about incoming, outgoing and total throughput.
+@item Launches Syncthing and Syncthing-iNotifier if specified.
+@item Quickly pause Syncthing with one click.
+@item Last Synced Files - Quickly see the recently synchronised files and open
+their folder.
+@item Quick Access to all shared folders.
+@item Presents Syncthing UI in a separate view instead of using the browser.
+@item Supports authenticated HTTPS connections.
+@item Uses System Notifications about current connection status.
+@item Toggle for monochrome icon.
+@end enumerate\n")
+    (license license:lgpl3+)))
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 7/8] gnu: Add lekha.
  2016-11-21 21:00 [PATCH 0/8] Random collection of patches Efraim Flashner
                   ` (5 preceding siblings ...)
  2016-11-21 21:00 ` [PATCH 6/8] gnu: Add qsyncthingtray Efraim Flashner
@ 2016-11-21 21:00 ` Efraim Flashner
  2016-11-21 21:00 ` [PATCH 8/8] gnu: Add econnman Efraim Flashner
  7 siblings, 0 replies; 14+ messages in thread
From: Efraim Flashner @ 2016-11-21 21:00 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/enlightenment.scm (lekha): New variable.
---
 gnu/packages/enlightenment.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/enlightenment.scm b/gnu/packages/enlightenment.scm
index 25b8caf..13827af 100644
--- a/gnu/packages/enlightenment.scm
+++ b/gnu/packages/enlightenment.scm
@@ -31,6 +31,7 @@
   #:use-module (gnu packages compression)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages fontutils)
+  #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages fribidi)
   #:use-module (gnu packages game-development)
   #:use-module (gnu packages gettext)
@@ -298,3 +299,33 @@ that tries to lower the barrier to getting involved in Enlightenment development
 and in creating applications based on the Enlightenment Foundation Library suite.")
     (license (list license:public-domain ; data/extra/skeleton
                    license:gpl2))))      ; edi
+
+(define-public lekha
+  (package
+    (name "lekha")
+    (version "0.2.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "Lekha" version))
+              (sha256
+               (base32
+                "0zr6i74ik58pbzrd7r9l7sawqbdv0r2c1a9927qkqzwga27x8j15"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f ; no test target
+       #:python ,python-2
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-data-location
+           (lambda _ (substitute* "setup.py"
+                       (("'/usr/")"'"))
+             #t)))))
+    (inputs
+     `(("python2-efl" ,python2-efl)
+       ("python2-pypdf2" ,python2-pypdf2)
+       ("python2-pyxdg" ,python2-pyxdg)))
+    (synopsis "Simple PDF viewer")
+    (description
+     "Simple PDF viewer based on the Enlightenment Foundation Libraries.")
+    (home-page "https://github.com/kaihu/lekha")
+    (license license:gpl3+)))
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 8/8] gnu: Add econnman.
  2016-11-21 21:00 [PATCH 0/8] Random collection of patches Efraim Flashner
                   ` (6 preceding siblings ...)
  2016-11-21 21:00 ` [PATCH 7/8] gnu: Add lekha Efraim Flashner
@ 2016-11-21 21:00 ` Efraim Flashner
  7 siblings, 0 replies; 14+ messages in thread
From: Efraim Flashner @ 2016-11-21 21:00 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/connman.scm (econnman): New variable.
---
 gnu/packages/connman.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/connman.scm b/gnu/packages/connman.scm
index 7af20c9..2ccd81c 100644
--- a/gnu/packages/connman.scm
+++ b/gnu/packages/connman.scm
@@ -24,6 +24,7 @@
   #:use-module (guix utils)
   #:use-module (gnu packages)
   #:use-module (gnu packages admin)
+  #:use-module (gnu packages enlightenment)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages pkg-config)
@@ -90,3 +91,38 @@ cases.  Connman implements DNS resolving and caching, DHCP clients for both
 IPv4 and IPv6, link-local IPv4 address handling and tethering (IP connection
 sharing) to clients via USB, ethernet, WiFi, cellular and Bluetooth.")
     (license gpl2)))
+
+(define-public econnman
+  (package
+    (name "econnman")
+    (version "1.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "https://download.enlightenment.org/rel/apps/"
+                            "econnman/econnman-" version ".tar.gz"))
+        (sha256
+         (base32
+          "057pwwavlvrrq26bncqnfrf449zzaim0zq717xv86av4n940gwv0"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:configure-flags '("--localstatedir=/var")
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'install 'wrap-binary
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (bin (string-append out "/bin/econnman-bin")))
+               (wrap-program bin
+                 `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH"))))
+               #t))))))
+    (native-inputs `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("efl" ,efl)
+       ("python-2" ,python-2)
+       ("python2-efl" ,python2-efl)))
+    (home-page "https://www.enlightenment.org")
+    (synopsis "Connman User Interface written using the EFL")
+    (description
+     "An EFL user interface for the @code{connman} connection manager.")
+    (license lgpl3)))
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 14+ messages in thread

* Re: [PATCH 1/8] gnu: Add aspell-dict-he.
  2016-11-21 21:00 ` [PATCH 1/8] gnu: Add aspell-dict-he Efraim Flashner
@ 2016-11-22 20:01   ` Alex Kost
  0 siblings, 0 replies; 14+ messages in thread
From: Alex Kost @ 2016-11-22 20:01 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: guix-devel

Efraim Flashner (2016-11-21 23:00 +0200) wrote:

> * gnu/packages/aspell.scm (aspell-dict-he): New variable.
> ---
>  gnu/packages/aspell.scm | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/gnu/packages/aspell.scm b/gnu/packages/aspell.scm
> index b702412..21014c0 100644
> --- a/gnu/packages/aspell.scm
> +++ b/gnu/packages/aspell.scm
> @@ -2,6 +2,7 @@
>  ;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
>  ;;; Copyright © 2015, 2016 Alex Kost <alezost@gmail.com>
>  ;;; Copyright ©2016 John Darrington <jmd@gnu.org>
> +;;; Copyright ©2016 Efraim Flashner <efraim@flashner.co.il>
                  ^
I would add a space here (and on the line for John as well).

Otherwise I think this patch is OK to push.

>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -155,3 +156,10 @@ dictionaries, including personal ones.")
>                       #:sha256
>                       (base32
>                        "0ffb87yjsh211hllpc4b9khqqrblial4pzi1h9r3v465z1yhn3j4")))
> +
> +(define-public aspell-dict-he
> +  (aspell-dictionary "he" "Hebrew"
> +                     #:version "1.0-0"
> +                     #:sha256
> +                     (base32
> +                      "13bhbghx5b8g0119g3wxd4n8mlf707y41vlf59irxjj0kynankfn")))

-- 
Alex

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 4/8] gnu: Add viewnior.
  2016-11-21 21:00 ` [PATCH 4/8] gnu: Add viewnior Efraim Flashner
@ 2016-11-22 20:09   ` Alex Kost
  2016-11-22 20:18     ` Marius Bakke
  0 siblings, 1 reply; 14+ messages in thread
From: Alex Kost @ 2016-11-22 20:09 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: guix-devel

Efraim Flashner (2016-11-21 23:00 +0200) wrote:

> * gnu/packages/viewnior.scm (viewnior): New file.

Not related to this patch: I think we should find a place for the image
viewers, as currently we have feh, sxiv and geeqie (plus this
'viewnior') that are placed in their own files.

As for the patch, it looks good to me; I didn't know about this viewer,
thanks!

> * gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
> ---
>  gnu/local.mk              |  1 +
>  gnu/packages/viewnior.scm | 78 +++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 79 insertions(+)
>  create mode 100644 gnu/packages/viewnior.scm
>
> diff --git a/gnu/local.mk b/gnu/local.mk
> index 430d05f..43a3991 100644
> --- a/gnu/local.mk
> +++ b/gnu/local.mk
> @@ -372,6 +372,7 @@ GNU_SYSTEM_MODULES =				\
>    %D%/packages/valgrind.scm			\
>    %D%/packages/version-control.scm		\
>    %D%/packages/video.scm			\
> +  %D%/packages/viewnior.scm			\
>    %D%/packages/vim.scm				\
>    %D%/packages/vpn.scm				\
>    %D%/packages/vtk.scm				\
> diff --git a/gnu/packages/viewnior.scm b/gnu/packages/viewnior.scm
> new file mode 100644
> index 0000000..526d51a
> --- /dev/null
> +++ b/gnu/packages/viewnior.scm
> @@ -0,0 +1,78 @@
> +;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
> +;;;
> +;;; 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 (gnu packages viewnior)
> +  #:use-module ((guix licenses) #:prefix license:)
> +  #:use-module (guix download)
> +  #:use-module (guix packages)
> +  #:use-module (guix build-system gnu)
> +  #:use-module (gnu packages autotools)
> +  #:use-module (gnu packages base)
> +  #:use-module (gnu packages geeqie)
> +  #:use-module (gnu packages glib)
> +  #:use-module (gnu packages gnome)
> +  #:use-module (gnu packages gtk)
> +  #:use-module (gnu packages pkg-config))
> +
> +(define-public viewnior
> +  (package
> +    (name "viewnior")
> +    (version "1.6")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (string-append "https://github.com/xsisqox/Viewnior/archive/"
> +                            name "-" version ".tar.gz"))
> +        (sha256
> +         (base32
> +          "18309qjgwak3kn228z3p3nx7yxasqgzx69v3rgc23hf161nky0c9"))))
> +    (build-system gnu-build-system)
> +    (arguments
> +     '(#:phases
> +       (modify-phases %standard-phases
> +         (add-after 'unpack 'autogen
> +           (lambda _
> +             (zero? (system* "sh" "autogen.sh")))))))
> +    (native-inputs
> +     `(("automake" ,automake)
> +       ("autoconf" ,autoconf)
> +       ("intltool" ,intltool)
> +       ("glib" ,glib "bin") ; glib-genmarshal
> +       ("gnome-common" ,gnome-common)
> +       ("libtool" ,libtool)
> +       ("pkg-config" ,pkg-config)
> +       ("shared-mime-info" ,shared-mime-info)
> +       ("which" ,which)))
> +    (inputs
> +     `(("exiv2" ,exiv2)
> +       ("gdk-pixbuf" ,gdk-pixbuf)
> +       ("gtk+-2" ,gtk+-2)))
> +    (home-page "http://siyanpanayotov.com/project/viewnior/")
> +    (synopsis "Simple, fast and elegant image viewer")
> +    (description "Viewnior is an image viewer program.  Created to be simple,
> +fast and elegant.  Its minimalistic interface provides more screenspace for
> +your images.  Among its features are:
> +@enumerate
> +@item Fullscreen & Slideshow
> +@item Rotate, flip, crop, save, delete images
> +@item Animation support
> +@item Browse only selected images
> +@item Navigation window
> +@item Set image as wallpaper (Gnome 2, Gnome 3, XFCE, LXDE, FluxBox, Nitrogen)
> +@item Simple interface
> +@item EXIF and IPTC metadata
> +@item Configurable mouse actions
> +@end enumerate\n")
> +    (license license:gpl3+)))

-- 
Alex

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 4/8] gnu: Add viewnior.
  2016-11-22 20:09   ` Alex Kost
@ 2016-11-22 20:18     ` Marius Bakke
  2016-11-23 21:48       ` Ludovic Courtès
  0 siblings, 1 reply; 14+ messages in thread
From: Marius Bakke @ 2016-11-22 20:18 UTC (permalink / raw)
  To: Alex Kost, Efraim Flashner; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 379 bytes --]

Alex Kost <alezost@gmail.com> writes:

> Efraim Flashner (2016-11-21 23:00 +0200) wrote:
>
>> * gnu/packages/viewnior.scm (viewnior): New file.
>
> Not related to this patch: I think we should find a place for the image
> viewers, as currently we have feh, sxiv and geeqie (plus this
> 'viewnior') that are placed in their own files.

I think image.scm should do fine for these.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 2/8] gnu: Add wgetpaste.
  2016-11-21 21:00 ` [PATCH 2/8] gnu: Add wgetpaste Efraim Flashner
@ 2016-11-23 11:48   ` ng0
  0 siblings, 0 replies; 14+ messages in thread
From: ng0 @ 2016-11-23 11:48 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: guix-devel

Efraim Flashner <efraim@flashner.co.il> writes:

> * gnu/packages/wget.scm (wgetpaste): New variable.
> ---
>  gnu/packages/wget.scm | 34 ++++++++++++++++++++++++++++++++++
>  1 file changed, 34 insertions(+)
>
> diff --git a/gnu/packages/wget.scm b/gnu/packages/wget.scm
> index 80da332..72aab86 100644
> --- a/gnu/packages/wget.scm
> +++ b/gnu/packages/wget.scm
> @@ -1,6 +1,7 @@
>  ;;; GNU Guix --- Functional package management for GNU
>  ;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
>  ;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
> +;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -60,3 +61,36 @@ HTTPS and FTP protocols.  It can resume interrupted downloads, use file name
>  wild cards, supports proxies and cookies, and it can convert absolute links
>  in downloaded documents to relative links.")
>      (license gpl3+))) ; some files are under GPLv2+
> +
> +(define-public wgetpaste
> +  (package
> +    (name "wgetpaste")
> +    (version "2.28")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (string-append "http://wgetpaste.zlin.dk/wgetpaste-"
> +                            version ".tar.bz2"))
> +        (sha256
> +         (base32
> +          "1hh9svyypqcvdg5mjxyyfzpdzhylhf7s7xq5dzglnm4injx3i3ak"))))
> +    (build-system gnu-build-system)
> +    (arguments
> +     '(#:phases
> +       (modify-phases %standard-phases
> +         (delete 'configure)
> +         (delete 'build)
> +         (replace 'install
> +           (lambda* (#:key outputs #:allow-other-keys)
> +             (let* ((out (assoc-ref outputs "out"))
> +                    (bin (string-append out "/bin"))
> +                    (zsh (string-append out "/share/zsh/site-functions")))
> +               (install-file "wgetpaste" bin)
> +               (install-file "_wgetpaste" zsh)))))
> +       #:tests? #f)) ; no test target
> +    (home-page "http://wgetpaste.zlin.dk/")
> +    (synopsis "Script that automates pasting to a number of pastebin services")
> +    (description
> +     "@code{wgetpaste} is an extremely simple command-line interface to various
> +online pastebin services.")
> +    (license public-domain)))
> -- 
> 2.10.2
>
>
>

Thanks!
Applied and tested, works for me.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 4/8] gnu: Add viewnior.
  2016-11-22 20:18     ` Marius Bakke
@ 2016-11-23 21:48       ` Ludovic Courtès
  0 siblings, 0 replies; 14+ messages in thread
From: Ludovic Courtès @ 2016-11-23 21:48 UTC (permalink / raw)
  To: Marius Bakke; +Cc: guix-devel, Alex Kost

Marius Bakke <mbakke@fastmail.com> skribis:

> Alex Kost <alezost@gmail.com> writes:
>
>> Efraim Flashner (2016-11-21 23:00 +0200) wrote:
>>
>>> * gnu/packages/viewnior.scm (viewnior): New file.
>>
>> Not related to this patch: I think we should find a place for the image
>> viewers, as currently we have feh, sxiv and geeqie (plus this
>> 'viewnior') that are placed in their own files.
>
> I think image.scm should do fine for these.

That could work.  Or, alternately, image-viewers.scm (image.scm already
contains 28 packages, which makes it the 28th file in number of packages
per M-x guix-locations.)

Ludo’.

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-11-23 21:49 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-21 21:00 [PATCH 0/8] Random collection of patches Efraim Flashner
2016-11-21 21:00 ` [PATCH 1/8] gnu: Add aspell-dict-he Efraim Flashner
2016-11-22 20:01   ` Alex Kost
2016-11-21 21:00 ` [PATCH 2/8] gnu: Add wgetpaste Efraim Flashner
2016-11-23 11:48   ` ng0
2016-11-21 21:00 ` [PATCH 3/8] gnu: Add rkflashtool Efraim Flashner
2016-11-21 21:00 ` [PATCH 4/8] gnu: Add viewnior Efraim Flashner
2016-11-22 20:09   ` Alex Kost
2016-11-22 20:18     ` Marius Bakke
2016-11-23 21:48       ` Ludovic Courtès
2016-11-21 21:00 ` [PATCH 5/8] gnu: Rename owncloud.scm to sync.scm Efraim Flashner
2016-11-21 21:00 ` [PATCH 6/8] gnu: Add qsyncthingtray Efraim Flashner
2016-11-21 21:00 ` [PATCH 7/8] gnu: Add lekha Efraim Flashner
2016-11-21 21:00 ` [PATCH 8/8] gnu: Add econnman Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).