From patchwork Mon Dec 9 21:53:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 16466 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0E91B1784A; Mon, 9 Dec 2019 21:55:39 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id BDF1C17847 for ; Mon, 9 Dec 2019 21:55:38 +0000 (GMT) Received: from localhost ([::1]:47716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ieR0E-0004x4-72 for patchwork@mira.cbaines.net; Mon, 09 Dec 2019 16:55:38 -0500 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 X-Loop: help-debbugs@gnu.org Subject: [bug#38553] [PATCH 09/12] gnu: Add okteta. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Dec 2019 21:55:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38553 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38553@debbugs.gnu.org Received: via spool by 38553-submit@debbugs.gnu.org id=B38553.157592847720262 (code B ref 38553); Mon, 09 Dec 2019 21:55:05 +0000 Received: (at 38553) by debbugs.gnu.org; 9 Dec 2019 21:54:37 +0000 Received: from localhost ([127.0.0.1]:54531 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ieQzE-0005Gi-TI for submit@debbugs.gnu.org; Mon, 09 Dec 2019 16:54:37 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:51889) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ieQzD-0005GR-06 for 38553@debbugs.gnu.org; Mon, 09 Dec 2019 16:54:35 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 47Wxmp3CH2z1sBRP for <38553@debbugs.gnu.org>; Mon, 9 Dec 2019 22:54:34 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 47Wxmp36n5z1rhBP for <38553@debbugs.gnu.org>; Mon, 9 Dec 2019 22:54:34 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id UfocOylTFujP for <38553@debbugs.gnu.org>; Mon, 9 Dec 2019 22:54:32 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-50-235.dynamic.mnet-online.de [188.174.50.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for <38553@debbugs.gnu.org>; Mon, 9 Dec 2019 22:54:32 +0100 (CET) Received: from thisbe.fritz.box (unknown [192.168.110.24]) by hermia.goebel-consult.de (Postfix) with ESMTP id 0EBD7608C2 for <38553@debbugs.gnu.org>; Mon, 9 Dec 2019 22:54:53 +0100 (CET) From: Hartmut Goebel Date: Mon, 9 Dec 2019 22:53:55 +0100 Message-Id: <20191209215358.24449-9-h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191209215358.24449-1-h.goebel@crazy-compilers.com> References: <20191209215358.24449-1-h.goebel@crazy-compilers.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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+))))