GNU bug report logs - #67040
[PATCH] gnu: Add krename.

Previous Next

Package: guix-patches;

Reported by: Sughosha <sughosha <at> disroot.org>

Date: Fri, 10 Nov 2023 11:41:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 67040 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#67040; Package guix-patches. (Fri, 10 Nov 2023 11:41:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sughosha <sughosha <at> disroot.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 10 Nov 2023 11:41:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <sughosha <at> disroot.org>
To: guix-patches <at> gnu.org
Cc: Sughosha <sughosha <at> disroot.org>
Subject: [PATCH] gnu: Add krename.
Date: Fri, 10 Nov 2023 12:38:40 +0100
* gnu/packages/kde-utils.scm (krename): New variable.

Change-Id: I004f1fffa269f6182f89481970bd223aeec48bc4
---
 gnu/packages/kde-utils.scm | 63 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)

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")

base-commit: 857c1996129e32f41cd7e1d4c04420b47563daed
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#67040; Package guix-patches. (Sat, 18 Nov 2023 17:17:01 GMT) Full text and rfc822 format available.

Message #8 received at 67040 <at> debbugs.gnu.org (full text, mbox):

From: Bruno Victal <mirai <at> makinata.eu>
To: Sughosha <sughosha <at> disroot.org>
Cc: 67040 <at> debbugs.gnu.org
Subject: Re: [bug#67040] [PATCH] gnu: Add krename.
Date: Sat, 18 Nov 2023 17:16:26 +0000
[Message part 1 (text/plain, inline)]
Hi Sughosha,

On 2023-11-10 11:38, Sughosha wrote:
> +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.

I'd reword this to: “The filenames can be constructed using parts of the original
filename or information from the file metadata such as the creation date or Exif
information of an image.

> +Its features include:
> +
> +@itemize
> (…)
> +@item rename Mp3/Ogg Vorbis files based on their ID3 tags,

How about: “rename audio files (e.g. mp3, ogg) files based on their
metadata.”
Ogg files typically use “Vorbis comment” [1] for metadata, while
.mp3 files use IDv3 tags.

> +@item and many more...

I'd remove this from the @itemize list since it doesn't convey
anything worth noting.


[1]: <https://en.wikipedia.org/wiki/Vorbis_comment>

-- 
Furthermore, I consider that nonfree software must be eradicated.

Cheers,
Bruno.

[OpenPGP_signature.asc (application/pgp-signature, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#67040; Package guix-patches. (Sat, 18 Nov 2023 21:38:01 GMT) Full text and rfc822 format available.

Message #11 received at 67040 <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <sughosha <at> disroot.org>
To: Bruno Victal <mirai <at> makinata.eu>
Cc: 67040 <at> debbugs.gnu.org
Subject: Re: [bug#67040] [PATCH] gnu: Add krename.
Date: Sat, 18 Nov 2023 22:37:23 +0100
[Message part 1 (text/plain, inline)]
Hi Bruno,

Thanks for reviewing. These modifications are fine with me.


Regards,
Sughosha

On 18 November 2023 18:16:26 CET, Bruno Victal <mirai <at> makinata.eu> wrote:
>Hi Sughosha,
>
>On 2023-11-10 11:38, Sughosha wrote:
>> +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.
>
>I'd reword this to: “The filenames can be constructed using parts of the original
>filename or information from the file metadata such as the creation date or Exif
>information of an image.
>
>> +Its features include:
>> +
>> +@itemize
>> (…)
>> +@item rename Mp3/Ogg Vorbis files based on their ID3 tags,
>
>How about: “rename audio files (e.g. mp3, ogg) files based on their
>metadata.”
>Ogg files typically use “Vorbis comment” [1] for metadata, while
>.mp3 files use IDv3 tags.
>
>> +@item and many more...
>
>I'd remove this from the @itemize list since it doesn't convey
>anything worth noting.
>
>
>[1]: <https://en.wikipedia.org/wiki/Vorbis_comment>
>
>-- 
>Furthermore, I consider that nonfree software must be eradicated.
>
>Cheers,
>Bruno.
>
[Message part 2 (text/html, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#67040; Package guix-patches. (Mon, 04 Dec 2023 19:46:02 GMT) Full text and rfc822 format available.

Message #14 received at 67040 <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <sughosha <at> disroot.org>
To: 67040 <at> debbugs.gnu.org
Cc: Sughosha <sughosha <at> disroot.org>
Subject: [PATCH v2] gnu: Add krename.
Date: Mon,  4 Dec 2023 20:45:11 +0100
* gnu/packages/kde-utils.scm (krename): New variable.

Change-Id: I004f1fffa269f6182f89481970bd223aeec48bc4
---
 gnu/packages/kde-utils.scm | 62 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)

diff --git a/gnu/packages/kde-utils.scm b/gnu/packages/kde-utils.scm
index 4e665da599..3c31608dbe 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,64 @@ (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 using parts of the original filename or information from the file
+matadata such as creation date or Exif information of an image or by numbering
+the files.
+
+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 audio files based on their metadata,
+@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 and creating undo file.
+@end itemize")
+    (license license:gpl3+)))
+
 (define-public kronometer
   (package
     (name "kronometer")

base-commit: bdbb9dc27a590b08651d058f06a42caa26e04abb
-- 
2.41.0





This bug report was last modified 151 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.