unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#38751] [PATCH] gnu: Add picom.
@ 2019-12-26 13:39 Alexandru-Sergiu Marton
  2019-12-28  7:49 ` [bug#38751] [PATCH v2] " Alexandru-Sergiu Marton
  0 siblings, 1 reply; 3+ messages in thread
From: Alexandru-Sergiu Marton @ 2019-12-26 13:39 UTC (permalink / raw)
  To: 38751; +Cc: Alexandru-Sergiu Marton

* gnu/packages/compton.scm (picom): New variable.
---
 gnu/packages/compton.scm | 54 +++++++++++++++++++++++++++++++++++++++-
 1 file changed, 53 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/compton.scm b/gnu/packages/compton.scm
index c5b4c4ef5f..d10d3a495e 100644
--- a/gnu/packages/compton.scm
+++ b/gnu/packages/compton.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2017 José Miguel Sánchez García <jmi2k@openmailbox.org>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2019 Alexandru-Sergiu Marton <brown121407@member.fsf.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -22,6 +23,7 @@
   #:use-module (guix packages)
   #:use-module (guix git-download)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system meson)
   #:use-module (gnu packages docbook)
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages gl)
@@ -31,7 +33,11 @@
   #:use-module (gnu packages textutils)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xml)
-  #:use-module (gnu packages xorg))
+  #:use-module (gnu packages xorg)
+  #:use-module (gnu packages libevent)
+  #:use-module (gnu packages datastructures)
+  #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages pcre))
 
 (define-public compton
   (let ((upstream-version "0.1_beta2"))
@@ -103,3 +109,49 @@ performance).
 @item Some more options...
 @end itemize\n")
       (license license:expat))))
+
+(define-public picom
+  (package
+    (name "picom")
+    (version "7.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/yshui/picom.git")
+             (commit (string-append "v" version))
+             (recursive? #t)))
+       (sha256
+        (base32
+         "1l48fxl04vkzr4r94sl37nbbw7a621rn8sxmkbdv4252i1gjxd4z"))
+       (file-name (string-append "picom-" version))))
+    (build-system meson-build-system)
+    (inputs
+     `(("dbus" ,dbus)
+       ("libconfig" ,libconfig)
+       ("libx11" ,libx11)
+       ("libxext" ,libxext)
+       ("mesa" ,mesa)
+       ("xprop" ,xprop)
+       ("libev" ,libev)
+       ("xcb-util-renderutil" ,xcb-util-renderutil)
+       ("xcb-util-image" ,xcb-util-image)
+       ("pixman" ,pixman)
+       ("uthash" ,uthash)
+       ("libxdb-basedir" ,libxdg-basedir)
+       ("pcre" ,pcre)
+       ("xorgproto" ,xorgproto)))
+    (native-inputs
+     `(("asciidoc" ,asciidoc)
+       ("pkg-config" ,pkg-config)))
+    (arguments
+     '(#:build-type "release"))
+    (home-page "https://github.com/yshui/picom")
+    (synopsis "Compositor for X11")
+    (description
+     "Picom is a standalone compositor for Xorg, suitable for use
+with window managers that do not provide compositing.
+
+Picom is a fork of compton, which is a fork of xcompmgr-dana,
+which in turn is a fork of xcompmgr.")
+    (license (list license:expat license:mpl2.0))))
-- 
2.24.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#38751] [PATCH v2] gnu: Add picom.
  2019-12-26 13:39 [bug#38751] [PATCH] gnu: Add picom Alexandru-Sergiu Marton
@ 2019-12-28  7:49 ` Alexandru-Sergiu Marton
  2019-12-28 20:26   ` bug#38751: " Brett Gilio
  0 siblings, 1 reply; 3+ messages in thread
From: Alexandru-Sergiu Marton @ 2019-12-28  7:49 UTC (permalink / raw)
  To: 38751; +Cc: Alexandru-Sergiu Marton

* gnu/packages/compton.scm (picom): New variable.
---
Added comments regarding licensing and it now builds man pages.

 gnu/packages/compton.scm | 56 +++++++++++++++++++++++++++++++++++++++-
 1 file changed, 55 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/compton.scm b/gnu/packages/compton.scm
index c5b4c4ef5f..51b92fc79c 100644
--- a/gnu/packages/compton.scm
+++ b/gnu/packages/compton.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2017 José Miguel Sánchez García <jmi2k@openmailbox.org>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2019 Alexandru-Sergiu Marton <brown121407@member.fsf.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -22,6 +23,7 @@
   #:use-module (guix packages)
   #:use-module (guix git-download)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system meson)
   #:use-module (gnu packages docbook)
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages gl)
@@ -31,7 +33,11 @@
   #:use-module (gnu packages textutils)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xml)
-  #:use-module (gnu packages xorg))
+  #:use-module (gnu packages xorg)
+  #:use-module (gnu packages libevent)
+  #:use-module (gnu packages datastructures)
+  #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages pcre))
 
 (define-public compton
   (let ((upstream-version "0.1_beta2"))
@@ -103,3 +109,51 @@ performance).
 @item Some more options...
 @end itemize\n")
       (license license:expat))))
+
+(define-public picom
+  (package
+    (name "picom")
+    (version "7.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/yshui/picom.git")
+             (commit (string-append "v" version))
+             (recursive? #t)))
+       (sha256
+        (base32
+         "1l48fxl04vkzr4r94sl37nbbw7a621rn8sxmkbdv4252i1gjxd4z"))
+       (file-name (string-append "picom-" version))))
+    (build-system meson-build-system)
+    (inputs
+     `(("dbus" ,dbus)
+       ("libconfig" ,libconfig)
+       ("libx11" ,libx11)
+       ("libxext" ,libxext)
+       ("mesa" ,mesa)
+       ("xprop" ,xprop)
+       ("libev" ,libev)
+       ("xcb-util-renderutil" ,xcb-util-renderutil)
+       ("xcb-util-image" ,xcb-util-image)
+       ("pixman" ,pixman)
+       ("uthash" ,uthash)
+       ("libxdg-basedir" ,libxdg-basedir)
+       ("pcre" ,pcre)))
+    (native-inputs
+     `(("asciidoc" ,asciidoc)
+       ("pkg-config" ,pkg-config)
+       ("xorgproto" ,xorgproto)))
+    (arguments
+     '(#:build-type "release"
+       #:configure-flags '("-Dbuild_docs=true")))
+    (home-page "https://github.com/yshui/picom")
+    (synopsis "Compositor for X11")
+    (description
+     "Picom is a standalone compositor for Xorg, suitable for use
+with window managers that do not provide compositing.
+
+Picom is a fork of compton, which is a fork of xcompmgr-dana,
+which in turn is a fork of xcompmgr.")
+    (license (list license:expat      ;; The original compton lincense.
+                   license:mpl2.0)))) ;; License used by new picom files.
-- 
2.24.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#38751: [PATCH v2] gnu: Add picom.
  2019-12-28  7:49 ` [bug#38751] [PATCH v2] " Alexandru-Sergiu Marton
@ 2019-12-28 20:26   ` Brett Gilio
  0 siblings, 0 replies; 3+ messages in thread
From: Brett Gilio @ 2019-12-28 20:26 UTC (permalink / raw)
  To: Alexandru-Sergiu Marton; +Cc: Alexandru-Sergiu Marton, 38751-done

Pushed to master with some revisions! Thanks!

5fecb7b772d6e9cb2d4def9ae65d399fb1c3bb1e

-- 
Brett M. Gilio
GNU Guix, Contributor | GNU Project, Webmaster
[DFC0 C7F7 9EE6 0CA7 AE55 5E19 6722 43C4 A03F 0EEE]
<brettg@gnu.org> <brettg@posteo.net>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-12-28 20:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-26 13:39 [bug#38751] [PATCH] gnu: Add picom Alexandru-Sergiu Marton
2019-12-28  7:49 ` [bug#38751] [PATCH v2] " Alexandru-Sergiu Marton
2019-12-28 20:26   ` bug#38751: " Brett Gilio

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).