unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 1/2] gnu: Add vte.
@ 2014-12-14  5:34 宋文武
  2014-12-14  5:34 ` [PATCH 2/2] gnu: Add xfce4-terminal 宋文武
  2014-12-14 14:08 ` [PATCH 1/2] gnu: Add vte David Thompson
  0 siblings, 2 replies; 7+ messages in thread
From: 宋文武 @ 2014-12-14  5:34 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/gnome.scm (vte, vte-0): New variables.
---
 gnu/packages/gnome.scm | 57 +++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 56 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 5d84f4e..7087727 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -47,7 +47,8 @@
   #:use-module (gnu packages gl)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages xorg)
-  #:use-module (gnu packages xdisorg))
+  #:use-module (gnu packages xdisorg)
+  #:use-module (gnu packages ncurses))
 
 (define-public brasero
   (package
@@ -1324,3 +1325,57 @@ language features to GNOME developers without imposing any additional runtime
 requirements and without using a different ABI compared to applications and
 libraries written in C.")
     (license license:lgpl2.1+)))
+
+(define-public vte
+  (package
+    (name "vte")
+    (version "0.38.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnome/sources/" name "/"
+                                  (version-major+minor version) "/"
+                                  name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "1rbxrigff9yszbgdw0gw4c2saz4d1hbbpz21phzxx14w49wvmnmj"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("intltool" ,intltool)
+       ("vala" ,vala)
+       ("gobject-introspection" ,gobject-introspection)
+       ("glib" ,glib "bin") ; for glib-genmarshal, etc.
+       ("xmllint" ,libxml2)))
+    (propagated-inputs
+     `(("gtk+" ,gtk+))) ; required by libvte-2.91.pc
+    (home-page "http://www.gnome.org/")
+    (synopsis "Virtual Terminal Emulator")
+    (description
+     "VTE is a library (libvte) implementing a terminal emulator widget for
+GTK+, and a minimal sample application (vte) using that.  Vte is mainly used in
+gnome-terminal, but can also be used to embed a console/terminal in games,
+editors, IDEs, etc.")
+    (license license:lgpl2.1+)))
+
+;; stable version for gtk2, required by xfce4-terminal.
+(define-public vte-0
+  (package (inherit vte)
+    (name "vte")
+    (version "0.28.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnome/sources/" name "/"
+                                  (version-major+minor version) "/"
+                                  name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))))
+    (arguments
+     '(#:configure-flags '("--disable-python")))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("intltool" ,intltool)
+       ("glib" ,glib "bin")))   ; for glib-genmarshal, etc.
+    (propagated-inputs
+     `(("gtk+" ,gtk+-2)         ; required by libvte.pc
+       ("ncurses" ,ncurses))))) ; required by libvte.la
-- 
2.1.2

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

* [PATCH 2/2] gnu: Add xfce4-terminal.
  2014-12-14  5:34 [PATCH 1/2] gnu: Add vte 宋文武
@ 2014-12-14  5:34 ` 宋文武
  2014-12-14 14:08 ` [PATCH 1/2] gnu: Add vte David Thompson
  1 sibling, 0 replies; 7+ messages in thread
From: 宋文武 @ 2014-12-14  5:34 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/xfce.scm (xfce4-terminal): New variable.
---
 gnu/packages/xfce.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 69776fc..4529a43 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -476,3 +476,33 @@ on the screen.")
 optional application menu or icons for minimized applications or launchers,
 devices and folders.")
     (license gpl2+)))
+
+(define-public xfce4-terminal
+  (package
+    (name "xfce4-terminal")
+    (version "0.6.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://archive.xfce.org/src/apps/" name "/"
+                                  (version-major+minor version) "/"
+                                  name "-" version ".tar.bz2"))
+              (sha256
+               (base32
+                "023y0lkfijifh05yz8grimxadqpi98mrivr00sl18nirq8b4fbwi"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("intltool" ,intltool)))
+    (inputs
+     `(("libxfce4ui" ,libxfce4ui)
+       ("vte" ,vte-0)))
+    (home-page "http://www.xfce.org/")
+    (synopsis "Xfce terminal emulator")
+    (description
+     "A lightweight and easy to use terminal emulator for Xfce.  Features
+include a simple configuration interface, the ability to use multiple tabs
+with terminals within a single window, the possibility to have a
+pseudo-transparent terminal background, and a compact mode (where both the
+menubar and the window decorations are hidden) that helps you to save space
+on your desktop.")
+    (license gpl2+)))
-- 
2.1.2

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

* Re: [PATCH 1/2] gnu: Add vte.
  2014-12-14  5:34 [PATCH 1/2] gnu: Add vte 宋文武
  2014-12-14  5:34 ` [PATCH 2/2] gnu: Add xfce4-terminal 宋文武
@ 2014-12-14 14:08 ` David Thompson
  2014-12-15 10:50   ` 宋文武
  1 sibling, 1 reply; 7+ messages in thread
From: David Thompson @ 2014-12-14 14:08 UTC (permalink / raw)
  To: 宋文武, guix-devel

宋文武 <iyzsong@gmail.com> writes:

> * gnu/packages/gnome.scm (vte, vte-0): New variables.
> ---
>  gnu/packages/gnome.scm | 57 +++++++++++++++++++++++++++++++++++++++++++++++++-
>  1 file changed, 56 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
> index 5d84f4e..7087727 100644
> --- a/gnu/packages/gnome.scm
> +++ b/gnu/packages/gnome.scm
> @@ -47,7 +47,8 @@
>    #:use-module (gnu packages gl)
>    #:use-module (gnu packages compression)
>    #:use-module (gnu packages xorg)
> -  #:use-module (gnu packages xdisorg))
> +  #:use-module (gnu packages xdisorg)
> +  #:use-module (gnu packages ncurses))
>  
>  (define-public brasero
>    (package
> @@ -1324,3 +1325,57 @@ language features to GNOME developers without imposing any additional runtime
>  requirements and without using a different ABI compared to applications and
>  libraries written in C.")
>      (license license:lgpl2.1+)))
> +
> +(define-public vte
> +  (package
> +    (name "vte")
> +    (version "0.38.2")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append "mirror://gnome/sources/" name "/"
> +                                  (version-major+minor version) "/"
> +                                  name "-" version ".tar.xz"))
> +              (sha256
> +               (base32
> +                "1rbxrigff9yszbgdw0gw4c2saz4d1hbbpz21phzxx14w49wvmnmj"))))
> +    (build-system gnu-build-system)
> +    (native-inputs
> +     `(("pkg-config" ,pkg-config)
> +       ("intltool" ,intltool)
> +       ("vala" ,vala)
> +       ("gobject-introspection" ,gobject-introspection)
> +       ("glib" ,glib "bin") ; for glib-genmarshal, etc.
> +       ("xmllint" ,libxml2)))
> +    (propagated-inputs
> +     `(("gtk+" ,gtk+))) ; required by libvte-2.91.pc
> +    (home-page "http://www.gnome.org/")
> +    (synopsis "Virtual Terminal Emulator")
> +    (description
> +     "VTE is a library (libvte) implementing a terminal emulator widget for
> +GTK+, and a minimal sample application (vte) using that.  Vte is mainly used in
> +gnome-terminal, but can also be used to embed a console/terminal in games,
> +editors, IDEs, etc.")
> +    (license license:lgpl2.1+)))
> +
> +;; stable version for gtk2, required by xfce4-terminal.
> +(define-public vte-0

Maybe call this one 'vte-gtk2'?  'vte-0' isn't very descriptive.

> +  (package (inherit vte)
> +    (name "vte")
> +    (version "0.28.2")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append "mirror://gnome/sources/" name "/"
> +                                  (version-major+minor version) "/"
> +                                  name "-" version ".tar.xz"))
> +              (sha256
> +               (base32
> +                "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))))
> +    (arguments
> +     '(#:configure-flags '("--disable-python")))
> +    (native-inputs
> +     `(("pkg-config" ,pkg-config)
> +       ("intltool" ,intltool)
> +       ("glib" ,glib "bin")))   ; for glib-genmarshal, etc.
> +    (propagated-inputs
> +     `(("gtk+" ,gtk+-2)         ; required by libvte.pc
> +       ("ncurses" ,ncurses))))) ; required by libvte.la
> -- 
> 2.1.2
>
>

Looks good otherwise!

-- 
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate

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

* Re: [PATCH 1/2] gnu: Add vte.
  2014-12-14 14:08 ` [PATCH 1/2] gnu: Add vte David Thompson
@ 2014-12-15 10:50   ` 宋文武
  2014-12-16  9:10     ` Mark H Weaver
  0 siblings, 1 reply; 7+ messages in thread
From: 宋文武 @ 2014-12-15 10:50 UTC (permalink / raw)
  To: David Thompson, guix-devel

David Thompson <dthompson2@worcester.edu> writes:

> 宋文武 <iyzsong@gmail.com> writes:
>
>> * gnu/packages/gnome.scm (vte, vte-0): New variables.
>> ---
>>  gnu/packages/gnome.scm | 57 +++++++++++++++++++++++++++++++++++++++++++++++++-
>>  1 file changed, 56 insertions(+), 1 deletion(-)
>>
>> diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
>> index 5d84f4e..7087727 100644
>> --- a/gnu/packages/gnome.scm
>> +++ b/gnu/packages/gnome.scm
>> @@ -47,7 +47,8 @@
>>    #:use-module (gnu packages gl)
>>    #:use-module (gnu packages compression)
>>    #:use-module (gnu packages xorg)
>> -  #:use-module (gnu packages xdisorg))
>> +  #:use-module (gnu packages xdisorg)
>> +  #:use-module (gnu packages ncurses))
>>  
>>  (define-public brasero
>>    (package
>> @@ -1324,3 +1325,57 @@ language features to GNOME developers without imposing any additional runtime
>>  requirements and without using a different ABI compared to applications and
>>  libraries written in C.")
>>      (license license:lgpl2.1+)))
>> +
>> +(define-public vte
>> +  (package
>> +    (name "vte")
>> +    (version "0.38.2")
>> +    (source (origin
>> +              (method url-fetch)
>> +              (uri (string-append "mirror://gnome/sources/" name "/"
>> +                                  (version-major+minor version) "/"
>> +                                  name "-" version ".tar.xz"))
>> +              (sha256
>> +               (base32
>> +                "1rbxrigff9yszbgdw0gw4c2saz4d1hbbpz21phzxx14w49wvmnmj"))))
>> +    (build-system gnu-build-system)
>> +    (native-inputs
>> +     `(("pkg-config" ,pkg-config)
>> +       ("intltool" ,intltool)
>> +       ("vala" ,vala)
>> +       ("gobject-introspection" ,gobject-introspection)
>> +       ("glib" ,glib "bin") ; for glib-genmarshal, etc.
>> +       ("xmllint" ,libxml2)))
>> +    (propagated-inputs
>> +     `(("gtk+" ,gtk+))) ; required by libvte-2.91.pc
>> +    (home-page "http://www.gnome.org/")
>> +    (synopsis "Virtual Terminal Emulator")
>> +    (description
>> +     "VTE is a library (libvte) implementing a terminal emulator widget for
>> +GTK+, and a minimal sample application (vte) using that.  Vte is mainly used in
>> +gnome-terminal, but can also be used to embed a console/terminal in games,
>> +editors, IDEs, etc.")
>> +    (license license:lgpl2.1+)))
>> +
>> +;; stable version for gtk2, required by xfce4-terminal.
>> +(define-public vte-0
>
> Maybe call this one 'vte-gtk2'?  'vte-0' isn't very descriptive.
Basically, I intend to use the version of pc file,
for example, I have libwnck-1, which has libwnck-1.0.pc.

Yes, this does make sense, but 'vte-gtk2' is look like another package,
how about 'vte/gtk+-2'?
>
>> +  (package (inherit vte)
>> +    (name "vte")
>> +    (version "0.28.2")
>> +    (source (origin
>> +              (method url-fetch)
>> +              (uri (string-append "mirror://gnome/sources/" name "/"
>> +                                  (version-major+minor version) "/"
>> +                                  name "-" version ".tar.xz"))
>> +              (sha256
>> +               (base32
>> +                "1bmhahkf8wdsra9whd3k5l5z4rv7r58ksr8mshzajgq2ma0hpkw6"))))
>> +    (arguments
>> +     '(#:configure-flags '("--disable-python")))
>> +    (native-inputs
>> +     `(("pkg-config" ,pkg-config)
>> +       ("intltool" ,intltool)
>> +       ("glib" ,glib "bin")))   ; for glib-genmarshal, etc.
>> +    (propagated-inputs
>> +     `(("gtk+" ,gtk+-2)         ; required by libvte.pc
>> +       ("ncurses" ,ncurses))))) ; required by libvte.la
>> -- 
>> 2.1.2
>>
>>
>
> Looks good otherwise!
>
> -- 
> David Thompson
> Web Developer - Free Software Foundation - http://fsf.org
> GPG Key: 0FF1D807
> Support the FSF: https://fsf.org/donate

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

* Re: [PATCH 1/2] gnu: Add vte.
  2014-12-15 10:50   ` 宋文武
@ 2014-12-16  9:10     ` Mark H Weaver
  2014-12-16 11:34       ` 宋文武
  0 siblings, 1 reply; 7+ messages in thread
From: Mark H Weaver @ 2014-12-16  9:10 UTC (permalink / raw)
  To: 宋文武; +Cc: guix-devel

宋文武 <iyzsong@gmail.com> writes:

> David Thompson <dthompson2@worcester.edu> writes:
>> Maybe call this one 'vte-gtk2'?  'vte-0' isn't very descriptive.
> Basically, I intend to use the version of pc file,
> for example, I have libwnck-1, which has libwnck-1.0.pc.
>
> Yes, this does make sense, but 'vte-gtk2' is look like another package,
> how about 'vte/gtk+-2'?

Package names cannot match the regexp "-[0-9]", because when
'package-name->name+version' in (guix utils) finds such a match, it
interprets the part after the "-" as a version number.  So if you run
"guix package -i vte/gtk+-2", it will look for version "2" of a package
named "vte/gtk+".

     Mark

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

* Re: [PATCH 1/2] gnu: Add vte.
  2014-12-16  9:10     ` Mark H Weaver
@ 2014-12-16 11:34       ` 宋文武
  2014-12-16 16:25         ` Mark H Weaver
  0 siblings, 1 reply; 7+ messages in thread
From: 宋文武 @ 2014-12-16 11:34 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel

Mark H Weaver <mhw@netris.org> writes:

> 宋文武 <iyzsong@gmail.com> writes:
>
>> David Thompson <dthompson2@worcester.edu> writes:
>>> Maybe call this one 'vte-gtk2'?  'vte-0' isn't very descriptive.
>> Basically, I intend to use the version of pc file,
>> for example, I have libwnck-1, which has libwnck-1.0.pc.
>>
>> Yes, this does make sense, but 'vte-gtk2' is look like another package,
>> how about 'vte/gtk+-2'?
>
> Package names cannot match the regexp "-[0-9]", because when
> 'package-name->name+version' in (guix utils) finds such a match, it
> interprets the part after the "-" as a version number.  So if you run
> "guix package -i vte/gtk+-2", it will look for version "2" of a package
> named "vte/gtk+".
Ah, I think you mean the 'name' field of package?

I'm talk about the variable name, for which we have gtk+-2, gtkmm-2 etc.
>
>      Mark

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

* Re: [PATCH 1/2] gnu: Add vte.
  2014-12-16 11:34       ` 宋文武
@ 2014-12-16 16:25         ` Mark H Weaver
  0 siblings, 0 replies; 7+ messages in thread
From: Mark H Weaver @ 2014-12-16 16:25 UTC (permalink / raw)
  To: 宋文武; +Cc: guix-devel

宋文武 <iyzsong@gmail.com> writes:

> Mark H Weaver <mhw@netris.org> writes:
>
>> 宋文武 <iyzsong@gmail.com> writes:
>>
>>> David Thompson <dthompson2@worcester.edu> writes:
>>>> Maybe call this one 'vte-gtk2'?  'vte-0' isn't very descriptive.
>>> Basically, I intend to use the version of pc file,
>>> for example, I have libwnck-1, which has libwnck-1.0.pc.
>>>
>>> Yes, this does make sense, but 'vte-gtk2' is look like another package,
>>> how about 'vte/gtk+-2'?
>>
>> Package names cannot match the regexp "-[0-9]", because when
>> 'package-name->name+version' in (guix utils) finds such a match, it
>> interprets the part after the "-" as a version number.  So if you run
>> "guix package -i vte/gtk+-2", it will look for version "2" of a package
>> named "vte/gtk+".
> Ah, I think you mean the 'name' field of package?
>
> I'm talk about the variable name, for which we have gtk+-2, gtkmm-2 etc.

You're right, my mistake.  Nevermind :)

     Mark

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

end of thread, other threads:[~2014-12-16 16:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-14  5:34 [PATCH 1/2] gnu: Add vte 宋文武
2014-12-14  5:34 ` [PATCH 2/2] gnu: Add xfce4-terminal 宋文武
2014-12-14 14:08 ` [PATCH 1/2] gnu: Add vte David Thompson
2014-12-15 10:50   ` 宋文武
2014-12-16  9:10     ` Mark H Weaver
2014-12-16 11:34       ` 宋文武
2014-12-16 16:25         ` Mark H Weaver

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