From patchwork Fri Nov 10 11:38:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosha X-Patchwork-Id: 56213 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 6CA3627BBE9; Fri, 10 Nov 2023 11:40:42 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id AA72027BBE2 for ; Fri, 10 Nov 2023 11:40:36 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r1Ps9-00089G-3L; Fri, 10 Nov 2023 06:40:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r1Ps7-00088r-6C for guix-patches@gnu.org; Fri, 10 Nov 2023 06:40:23 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r1Ps6-0000qB-Ua for guix-patches@gnu.org; Fri, 10 Nov 2023 06:40:22 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r1Psk-0006mw-Cv for guix-patches@gnu.org; Fri, 10 Nov 2023 06:41:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67040] [PATCH] gnu: Add krename. Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 10 Nov 2023 11:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67040 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67040@debbugs.gnu.org Cc: Sughosha X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169961640826017 (code B ref -1); Fri, 10 Nov 2023 11:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Nov 2023 11:40:08 +0000 Received: from localhost ([127.0.0.1]:49621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1Prr-0006lZ-Mu for submit@debbugs.gnu.org; Fri, 10 Nov 2023 06:40:08 -0500 Received: from lists.gnu.org ([2001:470:142::17]:58080) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1Prm-0006kw-6W for submit@debbugs.gnu.org; Fri, 10 Nov 2023 06:40:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r1Pr1-0007vc-Mn for guix-patches@gnu.org; Fri, 10 Nov 2023 06:39:15 -0500 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r1Pqz-0008On-BC for guix-patches@gnu.org; Fri, 10 Nov 2023 06:39:15 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 94FC341A81; Fri, 10 Nov 2023 12:38:57 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ipq9ZdQ0NZLF; Fri, 10 Nov 2023 12:38:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1699616336; bh=fMz37a8gsC+gJ7LTTWTCL2mLrnbxH5h+vfROHfaa3P0=; h=From:To:Cc:Subject:Date; b=Ewj87FV1KrxhM0LdnZ6g0NjSSidyS5X90mWVT7llPVcLO7DbTVnFRPZPO850DGnSX 049Lm8VZvpze6fgr6sSy18Hq7T+d4KixlGSxy9daWUF1t6cv5sjq9UiVYE0yjbLnR4 yK0m/d7w27uHGPUDQabL/lezLabvKRfCp6frNnocGo57GuF7SURCwYV3lN0RqHkg2g 5X1hdVMHbjf503+5UFYbBQIW0YG0n7zXn+Qm7MNPcjpH0+CjDl930vjDmo01NckcYM Dspyu3f49N7pdvqaOsTSvaCtGTK36LUxmou2g9wn0/CPo8EHXnulihxcjmpQZTCe4+ NWvFTUM2zbjYg== Date: Fri, 10 Nov 2023 12:38:40 +0100 Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=178.21.23.139; envelope-from=sughosha@disroot.org; helo=layka.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Sughosha X-ACL-Warn: , Sughosha via Guix-patches X-Patchwork-Original-From: Sughosha via Guix-patches via From: Sughosha Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/kde-utils.scm (krename): New variable. Change-Id: I004f1fffa269f6182f89481970bd223aeec48bc4 --- gnu/packages/kde-utils.scm | 63 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) base-commit: 857c1996129e32f41cd7e1d4c04420b47563daed diff --git a/gnu/packages/kde-utils.scm b/gnu/packages/kde-utils.scm index 4e665da599..719139a320 100644 --- a/gnu/packages/kde-utils.scm +++ b/gnu/packages/kde-utils.scm @@ -35,11 +35,15 @@ (define-module (gnu packages kde-utils) #:use-module (gnu packages compression) #:use-module (gnu packages crypto) #:use-module (gnu packages cups) + #:use-module (gnu packages fontutils) #:use-module (gnu packages glib) ; dbus for tests #:use-module (gnu packages gnome) #:use-module (gnu packages gstreamer) + #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) + #:use-module (gnu packages mp3) #:use-module (gnu packages multiprecision) + #:use-module (gnu packages pdf) #:use-module (gnu packages pkg-config) #:use-module (gnu packages kde) #:use-module (gnu packages kde-frameworks) @@ -887,6 +891,65 @@ (define-public kmouth (license ;; GPL for programs, FDL for documentation (list license:gpl2+ license:fdl1.2+)))) +(define-public krename + (package + (name "krename") + (version "5.0.2") + (source (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/krename/" version + "/src/krename-" version ".tar.xz")) + (sha256 + (base32 + "1v935xlsy7lyp1fgmy5ad3x5i9d8rigwanpmsx6xpxnrvnkn0g5j")))) + (build-system qt-build-system) + (native-inputs + (list extra-cmake-modules pkg-config)) + (inputs + (list exiv2 + freetype + karchive + kcompletion + kconfig + kcoreaddons + kcrash + ki18n + kiconthemes + kio + kitemviews + kjobwidgets + kjs + kservice + kwidgetsaddons + kxmlgui + podofo + taglib)) + (home-page "https://userbase.kde.org/KRename") + (synopsis "Utility to handle specialized file renames") + (description "KRename is a batch file renamer by KDE. It allows you to +easily rename hundreds or even more files in one go. The filenames can be +created by parts of the original filename, numbering the files or accessing +hundreds of information about the file, like creation date or Exif information +of an image. + +Its features include: + +@itemize +@item renaming a list of files based on a set of expressions, +@item copying/moving a list of files to another directory, +@item converting filenames to upper/lower case, +@item adding numbers to filenames, +@item finding and replacing parts of the filename, +@item rename Mp3/Ogg Vorbis files based on their ID3 tags, +@item setting access and modification dates, permissions and file ownership, +@item a plug-in API which allows you to extend KRename's features, +@item renaming directories recursively, +@item support for KFilePlugins, +@item creating undo file +@item and many more... +@end itemize") + (license license:gpl3+))) + (define-public kronometer (package (name "kronometer")