From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:50891) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hF5wl-00082Y-MV for guix-patches@gnu.org; Fri, 12 Apr 2019 19:51:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hF5wk-0002Wk-Cw for guix-patches@gnu.org; Fri, 12 Apr 2019 19:51:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43526) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hF5wk-0002Wd-7I for guix-patches@gnu.org; Fri, 12 Apr 2019 19:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hF5wk-0001xG-4x for guix-patches@gnu.org; Fri, 12 Apr 2019 19:51:02 -0400 Subject: [bug#35252] [PATCH] gnu: Add mousepad. Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:50784) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hF5wI-0007OJ-Ow for guix-patches@gnu.org; Fri, 12 Apr 2019 19:50:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hF5wH-0002IP-BM for guix-patches@gnu.org; Fri, 12 Apr 2019 19:50:34 -0400 Received: from mout01.posteo.de ([185.67.36.65]:54227) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hF5wG-0002GD-RI for guix-patches@gnu.org; Fri, 12 Apr 2019 19:50:33 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 7726016005E for ; Sat, 13 Apr 2019 01:50:28 +0200 (CEST) From: Kei Kebreau Date: Fri, 12 Apr 2019 19:50:24 -0400 Message-Id: <20190412235024.5108-1-kkebreau@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 35252@debbugs.gnu.org Cc: Kei Kebreau * gnu/packages/xfce.scm (mousepad): New variable. --- gnu/packages/xfce.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index 8543dcffed..6cabd9b902 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -990,3 +990,45 @@ the libburnia libraries. It can blank CD/DVD/BD(-RW= )s, burn and create iso images, audio CDs, as well as burn personal compositions of data to either CD/DVD/BD.") (license gpl2+))) + +(define-public mousepad + (package + (name "mousepad") + (version "0.4.1") + (source (origin + (method url-fetch) + (uri (string-append "http://archive.xfce.org/src/apps/mous= epad/" + (version-major+minor version) "/mousep= ad-" + version ".tar.bz2")) + (sha256 + (base32 + "12si6fvhp68wz4scr339c23jxqq5ywn5nf4w55jld5lxjadkg9rr"))= )) + (build-system gnu-build-system) + (arguments + '(#:configure-flags '("--enable-gtk3" + ;; Use the GSettings keyfile backend rather t= han + ;; DConf. + "--enable-keyfile-settings") + #:phases + (modify-phases %standard-phases + (add-after 'install 'wrap-program + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (gtksourceview (assoc-ref inputs "gtksourceview"))) + (wrap-program (string-append out "/bin/mousepad") + ;; For language-specs. + `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourcev= iew + "/share"))= ))) + #t))))) + (native-inputs + `(("intltool" ,intltool) + ("glib" ,glib "bin") ; for glib-compile-schemas. + ("pkg-config" ,pkg-config))) + (inputs + `(("gtk+" ,gtk+) + ("gtksourceview" ,gtksourceview))) + (home-page "https://git.xfce.org/apps/mousepad/") + (synopsis "Simple text editor for Xfce") + (description + "Mousepad is a graphical text editor for Xfce based on Leafpad.") + (license gpl2+))) --=20 2.21.0