gnu: sysprof: Update to 3.45.1.
* gnu/packages/gnome.scm (sysprof): Update to 3.45.1.
[phases]{patch-install-script}: Rename to...
{disable-post-install}: ... this, and adjust.
[inputs]: Replace glib with glib-next, gtk+ with gtk.  Add libadwaita.
[native-inputs]: Replace glib:bin with glib-next:bin.  Sort.
(sysprof-3.44): New variable.
(gnome-builder)[inputs]: Replace sysprof with sysprof-3.44.
			
			
This commit is contained in:
		
							parent
							
								
									194e53b8a8
								
							
						
					
					
						commit
						715fb46817
					
				
					 1 changed files with 41 additions and 12 deletions
				
			
		| 
						 | 
					@ -12627,7 +12627,7 @@ GObject introspection bindings.")
 | 
				
			||||||
(define-public sysprof
 | 
					(define-public sysprof
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "sysprof")
 | 
					    (name "sysprof")
 | 
				
			||||||
    (version "3.44.0")
 | 
					    (version "3.45.1")
 | 
				
			||||||
    (source
 | 
					    (source
 | 
				
			||||||
     (origin
 | 
					     (origin
 | 
				
			||||||
       (method url-fetch)
 | 
					       (method url-fetch)
 | 
				
			||||||
| 
						 | 
					@ -12635,7 +12635,7 @@ GObject introspection bindings.")
 | 
				
			||||||
                           (version-major+minor version) "/"
 | 
					                           (version-major+minor version) "/"
 | 
				
			||||||
                           "sysprof-" version ".tar.xz"))
 | 
					                           "sysprof-" version ".tar.xz"))
 | 
				
			||||||
       (sha256
 | 
					       (sha256
 | 
				
			||||||
        (base32 "0nq0icbln0ryqzlybr7wyl19mhr3vkqzs6wasn430fwpf5drypdb"))))
 | 
					        (base32 "16nmr1qs7s2ylhwj58zj6b7in72nw7z72glaz746f2g7dbqs00k4"))))
 | 
				
			||||||
    (build-system meson-build-system)
 | 
					    (build-system meson-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     (list
 | 
					     (list
 | 
				
			||||||
| 
						 | 
					@ -12643,26 +12643,29 @@ GObject introspection bindings.")
 | 
				
			||||||
      #~(list (string-append "-Dsystemdunitdir=" #$output "/share/systemd"))
 | 
					      #~(list (string-append "-Dsystemdunitdir=" #$output "/share/systemd"))
 | 
				
			||||||
      #:phases
 | 
					      #:phases
 | 
				
			||||||
      #~(modify-phases %standard-phases
 | 
					      #~(modify-phases %standard-phases
 | 
				
			||||||
          (add-after 'unpack 'patch-install-script
 | 
					          (add-after 'unpack 'disable-post-install
 | 
				
			||||||
            (lambda _
 | 
					            (lambda _
 | 
				
			||||||
              (substitute* "build-aux/meson/post_install.sh"
 | 
					              (substitute* "meson.build"
 | 
				
			||||||
                (("gtk-update-icon-cache") "true")
 | 
					                (("gtk_update_icon_cache: true")
 | 
				
			||||||
                (("update-desktop-database") "true")))))))
 | 
					                 "gtk_update_icon_cache: false")
 | 
				
			||||||
 | 
					                (("update_desktop_database: true")
 | 
				
			||||||
 | 
					                 "update_desktop_database: false")))))))
 | 
				
			||||||
    (propagated-inputs
 | 
					    (propagated-inputs
 | 
				
			||||||
     (list polkit))
 | 
					     (list polkit))
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     (list glib
 | 
					     (list glib-next
 | 
				
			||||||
           gtk+
 | 
					           gtk
 | 
				
			||||||
           json-glib
 | 
					           json-glib
 | 
				
			||||||
 | 
					           libadwaita
 | 
				
			||||||
           libdazzle
 | 
					           libdazzle
 | 
				
			||||||
           libunwind
 | 
					           libunwind
 | 
				
			||||||
           polkit))
 | 
					           polkit))
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     (list gettext-minimal
 | 
					     (list gettext-minimal
 | 
				
			||||||
           `(,glib "bin")               ;for gdbus-codegen, etc.
 | 
					           `(,glib-next "bin")          ;for gdbus-codegen, etc.
 | 
				
			||||||
           itstool
 | 
					           itstool
 | 
				
			||||||
           pkg-config
 | 
					           libxml2
 | 
				
			||||||
           libxml2))
 | 
					           pkg-config))
 | 
				
			||||||
    ;; This home page is so woefully out of date as to be essentially useless.
 | 
					    ;; This home page is so woefully out of date as to be essentially useless.
 | 
				
			||||||
    ;; (home-page "http://www.sysprof.com")
 | 
					    ;; (home-page "http://www.sysprof.com")
 | 
				
			||||||
    (home-page "https://wiki.gnome.org/Apps/Sysprof")
 | 
					    (home-page "https://wiki.gnome.org/Apps/Sysprof")
 | 
				
			||||||
| 
						 | 
					@ -12676,6 +12679,32 @@ It uses the kernel's built-in @code{ptrace} feature and handles shared
 | 
				
			||||||
libraries.  Applications do not need to be recompiled--or even restarted.")
 | 
					libraries.  Applications do not need to be recompiled--or even restarted.")
 | 
				
			||||||
    (license license:gpl3+)))
 | 
					    (license license:gpl3+)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public sysprof-3.44
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (inherit sysprof)
 | 
				
			||||||
 | 
					    (name "sysprof")
 | 
				
			||||||
 | 
					    (version "3.44.0")
 | 
				
			||||||
 | 
					    (source (origin
 | 
				
			||||||
 | 
					              (method url-fetch)
 | 
				
			||||||
 | 
					              (uri (string-append "mirror://gnome/sources/sysprof/"
 | 
				
			||||||
 | 
					                                  (version-major+minor version) "/"
 | 
				
			||||||
 | 
					                                  "sysprof-" version ".tar.xz"))
 | 
				
			||||||
 | 
					              (sha256
 | 
				
			||||||
 | 
					               (base32 "0nq0icbln0ryqzlybr7wyl19mhr3vkqzs6wasn430fwpf5drypdb"))))
 | 
				
			||||||
 | 
					    (inputs (modify-inputs (package-inputs sysprof)
 | 
				
			||||||
 | 
					              (replace "glib" glib)
 | 
				
			||||||
 | 
					              (replace "gtk" gtk+)))
 | 
				
			||||||
 | 
					    (native-inputs (modify-inputs (package-native-inputs sysprof)
 | 
				
			||||||
 | 
					                     (replace "glib" `(,glib "bin"))))
 | 
				
			||||||
 | 
					    (arguments (substitute-keyword-arguments (package-arguments sysprof)
 | 
				
			||||||
 | 
					                 ((#:phases phases '%standard-phases)
 | 
				
			||||||
 | 
					                  #~(modify-phases #$phases
 | 
				
			||||||
 | 
					                      (replace 'disable-post-install
 | 
				
			||||||
 | 
					                        (lambda _
 | 
				
			||||||
 | 
					                          (substitute* "build-aux/meson/post_install.sh"
 | 
				
			||||||
 | 
					                            (("gtk-update-icon-cache") "true")
 | 
				
			||||||
 | 
					                            (("update-desktop-database") "true"))))))))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public gnome-builder
 | 
					(define-public gnome-builder
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "gnome-builder")
 | 
					    (name "gnome-builder")
 | 
				
			||||||
| 
						 | 
					@ -12738,7 +12767,7 @@ libraries.  Applications do not need to be recompiled--or even restarted.")
 | 
				
			||||||
                  llvm
 | 
					                  llvm
 | 
				
			||||||
                  python
 | 
					                  python
 | 
				
			||||||
                  python-pygobject
 | 
					                  python-pygobject
 | 
				
			||||||
                  sysprof
 | 
					                  sysprof-3.44
 | 
				
			||||||
                  template-glib
 | 
					                  template-glib
 | 
				
			||||||
                  vte
 | 
					                  vte
 | 
				
			||||||
                  webkitgtk-with-libsoup2))
 | 
					                  webkitgtk-with-libsoup2))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue