Received: (at submit) by debbugs.gnu.org; 27 Dec 2024 04:58:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 26 23:58:51 2024
Received: from localhost ([127.0.0.1]:44331 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tR2R0-0001CM-JO
for submit <at> debbugs.gnu.org; Thu, 26 Dec 2024 23:58:51 -0500
Received: from lists.gnu.org ([209.51.188.17]:40710)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <gay@HIDDEN>) id 1tR2Qs-0001C3-4f
for submit <at> debbugs.gnu.org; Thu, 26 Dec 2024 23:58:47 -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 <gay@HIDDEN>) id 1tR2Qr-0001lo-PZ
for guix-patches@HIDDEN; Thu, 26 Dec 2024 23:58:41 -0500
Received: from layka.disroot.org ([178.21.23.139])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from <gay@HIDDEN>) id 1tR2Qn-0007VQ-UP
for guix-patches@HIDDEN; Thu, 26 Dec 2024 23:58:40 -0500
Received: from mail01.disroot.lan (localhost [127.0.0.1])
by disroot.org (Postfix) with ESMTP id 3716C25C32;
Fri, 27 Dec 2024 05:58:34 +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]) (amavis, port 10024) with ESMTP
id CxI6sI-7_oJD; Fri, 27 Dec 2024 05:58:29 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
t=1735275509; bh=pc85wKal60mkUVD4DbK9yfWwyj10JdHBRDUWE6WwZJc=;
h=From:To:Cc:Subject:Date;
b=SP8qVTXLd89ZhOdP4L/CcGM09hFRyhvCFHy/+0PG7l9zC/pIJRqac+nvbSMpg1BmU
v49liIw5yjw64KqhLlOSVYuO/6Rqo5xz/GyrAqJ+bUlZrLO+b1xd5/HjdM+UhSRV3r
Wjc+JxTNT2zJQG0ga0sRpD8s25Mrp2hw5WyDNurQY4eMFrmL/qksJezDYjocSnQ9EG
vjc1zYylKGPJlKZTgzTBM42jGUUjifI11BexuiSH+JRKuvN2S2A2Y0X6Pfxv7PSxQt
5hnNOBcgZCadax7vMVtROI5Mufw3ibMU5x7r99mfPOMdDcPV24LAN9ZU9fq3d4NxoP
7sDioe1ekq7pA==
From: Homo <gay@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add dmz-cursor-theme,
haiku-gtk-theme and haiku-icon-theme.
Date: Fri, 27 Dec 2024 06:55:21 +0200
Message-ID: <20241227045523.18682-2-gay@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=178.21.23.139; envelope-from=gay@HIDDEN;
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,
RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,
SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
Cc: Homo <gay@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)
* gnu/packages/gnome-xyz.scm (dmz-cursor-theme, haiku-gtk-theme and haiku-icon-theme): New variables.
Change-Id: Icacff7a63a62bdf35fcd3cef159a5369ea656c65
---
The reason I add all three in one patch is because haiku-gtk-theme depends on them.
I don't know how to properly describe Haiku theme when they don't have proper descriptions in readmes.
The important thing about these themes is to bring back old style "3D" look.
gnu/packages/gnome-xyz.scm | 127 +++++++++++++++++++++++++++++++++++++
1 file changed, 127 insertions(+)
diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index a09c0befb0..ae28137e96 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -20,6 +20,7 @@
;;; Copyright © 2022 Sughosha <sughosha@HIDDEN>
;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@HIDDEN>
;;; Copyright © 2023 Eidvilas Markevičius <markeviciuseidvilas@HIDDEN>
+;;; Copyright © 2024 Homo <gay@HIDDEN>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -42,6 +43,7 @@ (define-module (gnu packages gnome-xyz)
#:use-module (guix build-system copy)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
+ #:use-module (guix download)
#:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix packages)
@@ -69,6 +71,7 @@ (define-module (gnu packages gnome-xyz)
#:use-module (gnu packages python-science)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages ssh)
+ #:use-module (gnu packages text-editors)
#:use-module (gnu packages tls)
#:use-module (gnu packages ruby)
#:use-module (gnu packages web)
@@ -173,6 +176,42 @@ (define-public faba-icon-theme
(license (list license:lgpl3+
license:cc-by-sa4.0))))
+(define-public haiku-icon-theme
+ (let ((revision "0")
+ ;; No releases, just only one commit.
+ (commit "c83ff57f7a2315ac745c08282ef02a082097ea48"))
+ (package
+ (name "haiku-icon-theme")
+ (version (git-version "initial" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/phillbush/haiku-icons")
+ (commit commit)))
+ (sha256
+ (base32
+ "1q56ar6c0v1kq69k1a5762gyw0jl5y6wh0k2jyga0jx2xa3fhly1"))
+ (file-name (git-file-name name version))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ ;; No tests.
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)
+ (replace 'install
+ (lambda _
+ (let* ((dest (string-append #$output "/share/icons/Haiku")))
+ (mkdir-p dest)
+ (copy-recursively "Haiku" dest)))))))
+ (home-page "https://github.com/phillbush/haiku-icons")
+ (native-inputs (list ed inkscape/stable))
+ (synopsis "3D icon theme")
+ (description "Icon theme from Haiku OS.")
+ (license license:expat))))
+
(define-public moka-icon-theme
(package
(inherit faba-icon-theme)
@@ -402,6 +441,63 @@ (define theme
cursor set. This project aims at improving the cursor experience.")
(license license:gpl3)))
+(define-public dmz-cursor-theme
+ (package
+ (name "dmz-cursor-theme")
+ (version "0.4.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://debian/pool/main/d/dmz-cursor-theme/"
+ "dmz-cursor-theme_" version ".tar.xz"))
+ (sha256
+ (base32
+ "1w1626x52y45k8pcy28fc9phni60yg5m6vjbh24jxq5j8bg00slx"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ ;; No tests.
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)
+ (replace 'build
+ (lambda _
+ (for-each (lambda (color)
+ (chdir (string-append "DMZ-" color "/pngs"))
+ (invoke "./make.sh")
+ (chdir "../.."))
+ (list "White" "Black"))))
+ (replace 'install
+ (lambda _
+ (let* ((icondir (string-append #$output "/share/icons")))
+ (for-each
+ (lambda (color)
+ (let* ((dest (string-append icondir "/" color))
+ (cursordir (string-append dest "/cursors")))
+ (mkdir-p cursordir)
+ (for-each
+ (lambda (file)
+ (install-file (string-append color "/" file)
+ dest))
+ (list "cursor.theme" "index.theme"))
+ (copy-recursively
+ (string-append color "/xcursors") cursordir)))
+ (list "DMZ-White" "DMZ-Black"))
+ (install-file "DMZ-White/dmz.svg"
+ (string-append icondir "/DMZ-White"))
+ (install-file "DMZ-Black/dmz-aa.svg"
+ (string-append icondir "/DMZ-Black"))))))))
+ (native-inputs (list xcursorgen))
+ (home-page "https://packages.debian.org/sid/gnome/dmz-cursor-theme")
+ (synopsis "Style neutral, scalable cursor theme")
+ (description
+ "This package contains the DMZ cursor themes, which are derived from
+the Industrial theme developed for the Ximian GNOME desktop. Black and
+white cursors are provided, in scalable formats.")
+ (license license:cc-by-sa3.0)))
+
(define-public gnome-plots
(package
(name "gnome-plots")
@@ -1345,6 +1441,37 @@ (define-public greybird-gtk-theme
Shimmer Project. It supports GNOME, Unity, and Xfce.")
(license (list license:gpl2+ license:cc-by-sa3.0))))
+(define-public haiku-gtk-theme
+ (let ((commit "633062a73a4bd285480c6c4737936f6c88806234")
+ (revision "0"))
+ (package
+ (name "haiku-gtk-theme")
+ (version (git-version "0.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/B00merang-Project/Haiku")
+ (commit commit)))
+ (sha256
+ (base32
+ "1c8fvgsic1acqzlc56v7w0im15yr6gz0rcr2s3iilg382ac2icr2"))
+ (file-name (git-file-name name version))))
+ (build-system copy-build-system)
+ (arguments
+ `(#:install-plan
+ `(("." "share/themes/Haiku"
+ #:exclude ("LICENSE" "README.md")))))
+ ;; According to index.theme:
+ ;; IconTheme=Haiku
+ ;; CursorTheme=DMZ-White
+ (propagated-inputs (list dmz-cursor-theme haiku-icon-theme))
+ (inputs (list gtk-engines))
+ (home-page "https://github.com/B00merang-Project/Haiku")
+ (synopsis "3D GTK+ theme")
+ (description "GTK+ theme based on appearance of Haiku OS.")
+ (license license:gpl3))))
+
(define-public matcha-theme
(package
(name "matcha-theme")
--
2.47.1
Homo <gay@HIDDEN>:guix-patches@HIDDEN.
Full text available.guix-patches@HIDDEN:bug#75132; Package guix-patches.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.