From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:55139) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ieQzi-0004BJ-Vs for guix-patches@gnu.org; Mon, 09 Dec 2019 16:55:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ieQzh-0005oi-Bh for guix-patches@gnu.org; Mon, 09 Dec 2019 16:55:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48575) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ieQzh-0005oe-7T for guix-patches@gnu.org; Mon, 09 Dec 2019 16:55:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ieQzh-0005LF-7k for guix-patches@gnu.org; Mon, 09 Dec 2019 16:55:05 -0500 Subject: [bug#38553] [PATCH 09/12] gnu: Add okteta. Resent-Message-ID: From: Hartmut Goebel Date: Mon, 9 Dec 2019 22:53:55 +0100 Message-Id: <20191209215358.24449-9-h.goebel@crazy-compilers.com> In-Reply-To: <20191209215358.24449-1-h.goebel@crazy-compilers.com> References: <20191209215358.24449-1-h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38553@debbugs.gnu.org * gnu/packages/kde-utils.scm (okteta): New variable. --- gnu/packages/kde-utils.scm | 65 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/gnu/packages/kde-utils.scm b/gnu/packages/kde-utils.scm index a96b0a29e9..2aac8e5c11 100644 --- a/gnu/packages/kde-utils.scm +++ b/gnu/packages/kde-utils.scm @@ -22,6 +22,8 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (gnu packages compression) + #:use-module (gnu packages gnome) + #:use-module (gnu packages kde) #:use-module (gnu packages kde-frameworks) #:use-module (gnu packages kde-plasma) #:use-module (gnu packages qt) @@ -301,3 +303,66 @@ fish. Almost completely customizable, Krusader is very user friendly, fast and looks great on your desktop.") (license license:gpl2+))) + +(define-public okteta + (package + (name "okteta") + (version "17.12.3") + (source + (origin + (method url-fetch) + ;; TODO: Why is this not in "stable" anymore + (uri (string-append "mirror://kde/Attic/applications/" version + "/src/okteta-" version ".tar.xz")) + (sha256 + (base32 "03wsv83l1cay2dpcsksad124wzan7kh8zxdw1h0yicn398kdbck4")))) + (properties `((tags . ("Desktop" "KDE" "Utilities")))) + (build-system qt-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("kdoctools" ,kdoctools) + ("qttools" ,qttools))) + (inputs + `(("kbookmarks" ,kbookmarks) + ("kcmutils" ,kcmutils) + ("kcodecs" ,kcodecs) + ("kcrash" ,kcrash) + ("kcompletion" ,kcompletion) + ("kconfigwidgets" ,kconfigwidgets) + ("kdbusaddons" ,kdbusaddons) + ("ki18n" ,ki18n) + ("kiconthemes" ,kiconthemes) + ("kio" ,kio) + ("knewstuff" ,knewstuff) + ("kparts" ,kparts) + ("kservice" ,kservice) + ("kwidgetsaddons" ,kwidgetsaddons) + ("kxmlgui" ,kxmlgui) + ("oxygen-icons" ,oxygen-icons) ;; default icon set + ("qca" ,qca) + ("qtbase" ,qtbase) + ("qtscript" ,qtscript) + ("shared-mime-info" ,shared-mime-info))) + (arguments + `(#:phases + (modify-phases (@ (guix build qt-build-system) %standard-phases) + (add-before 'check 'check-setup + (lambda _ + ;; make Qt render "offscreen", required for tests + (setenv "QT_QPA_PLATFORM" "offscreen") + (setenv "HOME" "/tmp/dummy-home") + #t))))) + (home-page "https://kde.org/applications/utilities/org.kde.okteta") + (synopsis "Hexadecimal editor for binary files") + (description "Okteta is a simple editor for the raw data of files. This +type of program is also called hex editor or binary editor. + +The data is displayed in the traditional view with two columns: one with the +numeric values and one with the assigned characters. Editing can be done both +in the value column and the character column. Besides the usual editing +capabilities Okteta also brings a small set of tools, like a table listing +decodings into common simple data types, a table listing all possible bytes +with its character and value equivalents, a info view with a statistic and a +filter tool. All modifications to the data loaded can be endlessly undone or +redone.") + (license (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+)))) -- 2.21.0