unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#42527] gnu: Add transset
@ 2020-07-25  6:46 Ivan Kozlov
  2020-07-25  7:22 ` bug#42527: " 宋文武
  0 siblings, 1 reply; 2+ messages in thread
From: Ivan Kozlov @ 2020-07-25  6:46 UTC (permalink / raw)
  To: 42527

transset-df was last updated in 2007. The patches got merged upstream a long time ago, which is maintained by the X.Org project.

* gnu/packages/xorg.scm (transset): New variable.
(transset-df)  Define as ‘deprecated package’.

diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 9b663aa158..9636898b7a 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -6525,47 +6525,32 @@ cursor to any point on the screen with a few key strokes.  It also simulates
 mouse click.  You can do everything mouse can do with a keyboard.")
     (license license:bsd-3)))
 
-(define-public transset-df
+(define-public transset
   (package
-    (name "transset-df")
-    (version "6")
+    (name "transset")
+    (version "1.0.2")
     (source (origin
               (method url-fetch)
-              (uri (string-append "http://forchheimer.se/" name "/" name "-" version
-                                  ".tar.gz"))
+              (uri (string-append "https://www.x.org/releases/individual/app/"
+                                  name "-" version ".tar.gz"))
               (sha256
                (base32
-                "1vnykwwrv75miigbhmcwxniw8xnhsdyzhqydip2m9crxi2lwhqs5"))))
+                "0rya202y87dwl35jnmq8hs3arzdrv5z4vf1xmi0py4rnmhdpszaw"))))
     (build-system gnu-build-system)
-    (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'setenv
-           (lambda _
-             (setenv "CC" (which "gcc"))
-             #t))
-         (delete 'configure)
-         (delete 'check)
-         (replace 'install
-           (lambda* (#:key outputs #:allow-other-keys)
-             (let* ((out (assoc-ref outputs "out"))
-                    (bin (string-append out "/bin")))
-               (install-file "transset-df" bin)
-               #t))))))
     (native-inputs
      `(("pkg-config" ,pkg-config)))
     (inputs `(("libxcomposite" ,libxcomposite)
-              ("libxdamager" ,libxdamage)
+              ("libxdamage" ,libxdamage)
               ("libxrender" ,libxrender)))
     (synopsis "Set the transparency of X11 windows")
-    (description "The @command{transset-df} command allows you to set the
-opacity of X11 windows.  This patched version of X.Org's @command{transset}
-adds functionality, including: selecting window by clicking (as transset),
-selecting windows by pointing select actual focused X11 window, selecting by
-window name or id, forcing toggle, increase or decrease opacity.")
-    (home-page "https://forchheimer.se/transset-df/")
+    (description "@command{transset} is a simple program for X servers
+supporting the XFIXES, DAMAGE, and COMPOSITE extensions.  It lets the
+user set the transparency on a window.")
+    (home-page "https://gitlab.freedesktop.org/xorg/app/transset")
     (license license:x11)))
 
+(deprecated-package "transset-df" transset)
+
 (define-public bdfresize
   (package
     (name "bdfresize")





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

* bug#42527: gnu: Add transset
  2020-07-25  6:46 [bug#42527] gnu: Add transset Ivan Kozlov
@ 2020-07-25  7:22 ` 宋文武
  0 siblings, 0 replies; 2+ messages in thread
From: 宋文武 @ 2020-07-25  7:22 UTC (permalink / raw)
  To: Ivan Kozlov; +Cc: 42527-done

Ivan Kozlov <kanichos@yandex.ru> writes:

> transset-df was last updated in 2007. The patches got merged upstream a long time ago, which is maintained by the X.Org project.
>
> * gnu/packages/xorg.scm (transset): New variable.
> (transset-df)  Define as ‘deprecated package’.
>

Pushed, thank you!




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

end of thread, other threads:[~2020-07-25  7:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-25  6:46 [bug#42527] gnu: Add transset Ivan Kozlov
2020-07-25  7:22 ` bug#42527: " 宋文武

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