summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAnderson Torres <anderson.torres.8519@gmail.com>2025-09-20 16:04:34 -0300
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-28 22:24:06 +0100
commit6853465ca086cfdeb349ab4f5908f3630c19dd64 (patch)
tree70e3fbb87f1c18f87ee10d04f5f6b6d1576c56c2 /gnu
parentc2d38eba5edb9169bd0f5324aa67a3a2502f0c03 (diff)
gnu: Merge (gnu packages openbox) with (gnu packages wm).
This file contains two package definitions that should be on wm.scm. They are not overly complex, not tightly couple and small, so there is few to no reason keeping them in a dedicated file. * gnu/packages/openbox.scm (obconf, openbox): Move from here ... * gnu/packages/wm.scm: ... to here. * gnu/packages/openbox.scm: Delete file. * gnu/local.mk: Remove reference to openbox.scm. * gnu/packages/kde-frameworks.scm: Fixup reference to (gnu packages openbox) module. * gnu/packages/lxde.scm: Remove reference to (gnu packages openbox) module. * gnu/packages/lxqt.scm: Fixup reference to (gnu packages openbox) module. * gnu/tests/install.scm: Remove reference to (gnu packages openbox) module. * po/packages/POTFILES.in: Remove reference to openbox.scm. Change-Id: I0b887debb97e8fcc7880c9f05d29981226d06077 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/local.mk1
-rw-r--r--gnu/packages/kde-frameworks.scm2
-rw-r--r--gnu/packages/lxde.scm1
-rw-r--r--gnu/packages/lxqt.scm2
-rw-r--r--gnu/packages/openbox.scm120
-rw-r--r--gnu/packages/wm.scm82
-rw-r--r--gnu/tests/install.scm1
7 files changed, 83 insertions, 126 deletions
diff --git a/gnu/local.mk b/gnu/local.mk
index 43de2994f45..f185f1d7ed9 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -512,7 +512,6 @@ GNU_SYSTEM_MODULES = \
512 %D%/packages/openkinect.scm \ 512 %D%/packages/openkinect.scm \
513 %D%/packages/onc-rpc.scm \ 513 %D%/packages/onc-rpc.scm \
514 %D%/packages/opencl.scm \ 514 %D%/packages/opencl.scm \
515 %D%/packages/openbox.scm \
516 %D%/packages/opencog.scm \ 515 %D%/packages/opencog.scm \
517 %D%/packages/openldap.scm \ 516 %D%/packages/openldap.scm \
518 %D%/packages/openpgp.scm \ 517 %D%/packages/openpgp.scm \
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 4d70a9b276d..e1ccfdcb818 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -77,7 +77,6 @@
77 #:use-module (gnu packages libcanberra) 77 #:use-module (gnu packages libcanberra)
78 #:use-module (gnu packages linux) 78 #:use-module (gnu packages linux)
79 #:use-module (gnu packages mp3) 79 #:use-module (gnu packages mp3)
80 #:use-module (gnu packages openbox)
81 #:use-module (gnu packages pdf) 80 #:use-module (gnu packages pdf)
82 #:use-module (gnu packages pcre) 81 #:use-module (gnu packages pcre)
83 #:use-module (gnu packages perl) 82 #:use-module (gnu packages perl)
@@ -96,6 +95,7 @@
96 #:use-module (gnu packages video) 95 #:use-module (gnu packages video)
97 #:use-module (gnu packages vulkan) 96 #:use-module (gnu packages vulkan)
98 #:use-module (gnu packages web) 97 #:use-module (gnu packages web)
98 #:use-module (gnu packages wm)
99 #:use-module (gnu packages xml) 99 #:use-module (gnu packages xml)
100 #:use-module (gnu packages xdisorg) 100 #:use-module (gnu packages xdisorg)
101 #:use-module (gnu packages xorg) 101 #:use-module (gnu packages xorg)
diff --git a/gnu/packages/lxde.scm b/gnu/packages/lxde.scm
index ba1c1374ef0..3aeb2a5321a 100644
--- a/gnu/packages/lxde.scm
+++ b/gnu/packages/lxde.scm
@@ -47,7 +47,6 @@
47 #:use-module (gnu packages libusb) 47 #:use-module (gnu packages libusb)
48 #:use-module (gnu packages linux) 48 #:use-module (gnu packages linux)
49 #:use-module (gnu packages lsof) 49 #:use-module (gnu packages lsof)
50 #:use-module (gnu packages openbox)
51 #:use-module (gnu packages photo) 50 #:use-module (gnu packages photo)
52 #:use-module (gnu packages pkg-config) 51 #:use-module (gnu packages pkg-config)
53 #:use-module (gnu packages polkit) 52 #:use-module (gnu packages polkit)
diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index 634a2f58492..03ec37101a5 100644
--- a/gnu/packages/lxqt.scm
+++ b/gnu/packages/lxqt.scm
@@ -57,7 +57,6 @@
57 #:use-module (gnu packages perl) 57 #:use-module (gnu packages perl)
58 #:use-module (gnu packages lxde) 58 #:use-module (gnu packages lxde)
59 #:use-module (gnu packages maths) 59 #:use-module (gnu packages maths)
60 #:use-module (gnu packages openbox)
61 #:use-module (gnu packages pcre) 60 #:use-module (gnu packages pcre)
62 #:use-module (gnu packages photo) 61 #:use-module (gnu packages photo)
63 #:use-module (gnu packages pkg-config) 62 #:use-module (gnu packages pkg-config)
@@ -65,6 +64,7 @@
65 #:use-module (gnu packages pulseaudio) 64 #:use-module (gnu packages pulseaudio)
66 #:use-module (gnu packages qt) 65 #:use-module (gnu packages qt)
67 #:use-module (gnu packages textutils) 66 #:use-module (gnu packages textutils)
67 #:use-module (gnu packages wm)
68 #:use-module (gnu packages xdisorg) 68 #:use-module (gnu packages xdisorg)
69 #:use-module (gnu packages xml) 69 #:use-module (gnu packages xml)
70 #:use-module (gnu packages xorg)) 70 #:use-module (gnu packages xorg))
diff --git a/gnu/packages/openbox.scm b/gnu/packages/openbox.scm
deleted file mode 100644
index 08ce89b5476..00000000000
--- a/gnu/packages/openbox.scm
+++ /dev/null
@@ -1,120 +0,0 @@
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2014 Julien Lepiller <julien@lepiller.eu>
3;;; Copyright © 2016, 2023 Efraim Flashner <efraim@flashner.co.il>
4;;; Copyright © 2017 Nikita <nikita@n0.is>
5;;; Copyright © 2022 Maxim Cournoyer <maxim@guixotic.coop>
6;;;
7;;; This file is part of GNU Guix.
8;;;
9;;; GNU Guix is free software; you can redistribute it and/or modify it
10;;; under the terms of the GNU General Public License as published by
11;;; the Free Software Foundation; either version 3 of the License, or (at
12;;; your option) any later version.
13;;;
14;;; GNU Guix is distributed in the hope that it will be useful, but
15;;; WITHOUT ANY WARRANTY; without even the implied warranty of
16;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17;;; GNU General Public License for more details.
18;;;
19;;; You should have received a copy of the GNU General Public License
20;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
21
22(define-module (gnu packages openbox)
23 #:use-module ((guix licenses) #:select (gpl2+))
24 #:use-module (guix packages)
25 #:use-module (guix download)
26 #:use-module (guix utils)
27 #:use-module (guix build-system gnu)
28 #:use-module (guix gexp)
29 #:use-module (gnu packages)
30 #:use-module (gnu packages autotools)
31 #:use-module (gnu packages freedesktop)
32 #:use-module (gnu packages gettext)
33 #:use-module (gnu packages gnome)
34 #:use-module (gnu packages gtk)
35 #:use-module (gnu packages image)
36 #:use-module (gnu packages pkg-config)
37 #:use-module (gnu packages python)
38 #:use-module (gnu packages xdisorg)
39 #:use-module (gnu packages xml)
40 #:use-module (gnu packages xorg))
41
42(define-public openbox
43 (package
44 (name "openbox")
45 (version "3.6.1")
46 (source (origin
47 (method url-fetch)
48 (uri (string-append
49 "http://openbox.org/dist/openbox/" name "-"
50 version ".tar.xz"))
51 (sha256
52 (base32
53 "0vg2y1qddsdxkjv806mzpvmkgzliab8ll4s7zm7ma5jnriamirxb"))
54 (patches (search-patches "openbox-add-fix-for-glib2-exposed-segfault.patch" "openbox-python3.patch"))))
55 (build-system gnu-build-system)
56 (arguments
57 (list #:phases
58 #~(modify-phases %standard-phases
59 (add-after 'unpack 'force-reconfigure
60 ;; This is made necessary by the openbox-python3 patch.
61 (lambda _
62 (delete-file "configure"))))))
63 (native-inputs (list autoconf automake gettext-minimal libtool pkg-config))
64 (propagated-inputs (list python-pyxdg))
65 (inputs (list imlib2
66 libxml2
67 (librsvg-for-system)
68 libsm
69 libxcursor
70 libxinerama
71 libxml2
72 libxrandr
73 libxft
74 pango
75 python-wrapper))
76 (synopsis "Box style window manager")
77 (description
78 "Openbox is a highly configurable, next generation window manager with
79extensive standards support. The *box visual style is well known for its
80minimalistic appearance. Openbox uses the *box visual style, while providing
81a greater number of options for theme developers than previous *box
82implementations.")
83 (home-page "http://openbox.org/wiki/Main_Page")
84 (license gpl2+)))
85
86(define-public obconf
87 (package
88 (name "obconf")
89 (version "2.0.4")
90 (source
91 (origin
92 (method url-fetch)
93 (uri (string-append "http://openbox.org/dist/" name
94 "/" name "-" version ".tar.gz"))
95 (sha256
96 (base32
97 "1fanjdmd8727kk74x5404vi8v7s4kpq48l583d12fsi4xvsfb8vi"))))
98 (inputs (list gtk+-2
99 imlib2
100 libglade
101 libsm
102 librsvg
103 libxft
104 openbox
105 startup-notification))
106 (native-inputs (list gettext-minimal pkg-config))
107 (build-system gnu-build-system)
108 (arguments
109 (list
110 #:configure-flags
111 #~(list "--enable-nls"
112 "CFLAGS=-g -O2 -Wno-error=implicit-function-declaration")))
113 (home-page "https://openbox.org/obconf")
114 (synopsis "Openbox configuration tool")
115 (description
116 "Obconf is a tool for configuring the Openbox window manager.
117You can configure its appearance, themes, and much more.")
118 (license gpl2+)))
119
120;;; openbox.scm ends here
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 7b91e2b33a0..ffc4ea3aaa3 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -1,11 +1,12 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2014 Julien Lepiller <julien@lepiller.eu>
2;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr> 3;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
3;;; Copyright © 2015 Siniša Biđin <sinisa@bidin.eu> 4;;; Copyright © 2015 Siniša Biđin <sinisa@bidin.eu>
4;;; Copyright © 2015, 2016, 2022 Eric Bavier <bavier@posteo.net> 5;;; Copyright © 2015, 2016, 2022 Eric Bavier <bavier@posteo.net>
5;;; Copyright © 2015 xd1le <elisp.vim@gmail.com> 6;;; Copyright © 2015 xd1le <elisp.vim@gmail.com>
6;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org> 7;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
7;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org> 8;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org>
8;;; Copyright © 2016, 2019, 2020, 2023, 2024 Efraim Flashner <efraim@flashner.co.il> 9;;; Copyright © 2016, 2019-2020, 2023-2024 Efraim Flashner <efraim@flashner.co.il>
9;;; Copyright © 2016 Al McElrath <hello@yrns.org> 10;;; Copyright © 2016 Al McElrath <hello@yrns.org>
10;;; Copyright © 2016 Carlo Zancanaro <carlo@zancanaro.id.au> 11;;; Copyright © 2016 Carlo Zancanaro <carlo@zancanaro.id.au>
11;;; Copyright © 2016 2019, 2021-2022 Ludovic Courtès <ludo@gnu.org> 12;;; Copyright © 2016 2019, 2021-2022 Ludovic Courtès <ludo@gnu.org>
@@ -707,6 +708,85 @@ the i3 window manager through its i3bar component, as an alternative to
707i3status.") 708i3status.")
708 (license license:gpl3+))) 709 (license license:gpl3+)))
709 710
711(define-public obconf
712 (package
713 (name "obconf")
714 (version "2.0.4")
715 (source
716 (origin
717 (method url-fetch)
718 (uri (string-append "http://openbox.org/dist/" name
719 "/" name "-" version ".tar.gz"))
720 (sha256
721 (base32
722 "1fanjdmd8727kk74x5404vi8v7s4kpq48l583d12fsi4xvsfb8vi"))))
723 (inputs (list gtk+-2
724 imlib2
725 libglade
726 libsm
727 librsvg
728 libxft
729 openbox
730 startup-notification))
731 (native-inputs (list gettext-minimal pkg-config))
732 (build-system gnu-build-system)
733 (arguments
734 (list
735 #:configure-flags
736 #~(list "--enable-nls"
737 "CFLAGS=-g -O2 -Wno-error=implicit-function-declaration")))
738 (home-page "https://openbox.org/obconf")
739 (synopsis "Openbox configuration tool")
740 (description
741 "Obconf is a tool for configuring the Openbox window manager.
742You can configure its appearance, themes, and much more.")
743 (license license:gpl2+)))
744
745(define-public openbox
746 (package
747 (name "openbox")
748 (version "3.6.1")
749 (source
750 (origin
751 (method url-fetch)
752 (uri (string-append
753 "http://openbox.org/dist/openbox/" name "-"
754 version ".tar.xz"))
755 (sha256
756 (base32
757 "0vg2y1qddsdxkjv806mzpvmkgzliab8ll4s7zm7ma5jnriamirxb"))
758 (patches (search-patches "openbox-add-fix-for-glib2-exposed-segfault.patch" "openbox-python3.patch"))))
759 (build-system gnu-build-system)
760 (arguments
761 (list #:phases
762 #~(modify-phases %standard-phases
763 (add-after 'unpack 'force-reconfigure
764 ;; This is made necessary by the openbox-python3 patch.
765 (lambda _
766 (delete-file "configure"))))))
767 (native-inputs (list autoconf automake gettext-minimal libtool pkg-config))
768 (propagated-inputs (list python-pyxdg))
769 (inputs (list imlib2
770 libxml2
771 (librsvg-for-system)
772 libsm
773 libxcursor
774 libxinerama
775 libxml2
776 libxrandr
777 libxft
778 pango
779 python-wrapper))
780 (synopsis "Box style window manager")
781 (description
782 "Openbox is a highly configurable, next generation window manager with
783extensive standards support. The *box visual style is well known for its
784minimalistic appearance. Openbox uses the *box visual style, while providing
785a greater number of options for theme developers than previous *box
786implementations.")
787 (home-page "http://openbox.org/wiki/Main_Page")
788 (license license:gpl2+)))
789
710(define-public papersway 790(define-public papersway
711 (package 791 (package
712 (name "papersway") 792 (name "papersway")
diff --git a/gnu/tests/install.scm b/gnu/tests/install.scm
index be3de699a40..b26dc890a44 100644
--- a/gnu/tests/install.scm
+++ b/gnu/tests/install.scm
@@ -43,7 +43,6 @@
43 #:use-module (gnu packages firmware) 43 #:use-module (gnu packages firmware)
44 #:use-module (gnu packages linux) 44 #:use-module (gnu packages linux)
45 #:use-module (gnu packages ocr) 45 #:use-module (gnu packages ocr)
46 #:use-module (gnu packages openbox)
47 #:use-module (gnu packages package-management) 46 #:use-module (gnu packages package-management)
48 #:use-module (gnu packages ratpoison) 47 #:use-module (gnu packages ratpoison)
49 #:use-module (gnu packages suckless) 48 #:use-module (gnu packages suckless)