* [Buildroot] [PATCH] yasm: New package
@ 2012-08-08 20:26 Stefan Fröberg
2012-08-09 8:34 ` Thomas Petazzoni
0 siblings, 1 reply; 6+ messages in thread
From: Stefan Fröberg @ 2012-08-08 20:26 UTC (permalink / raw)
To: buildroot
My first git format patch.
This is needed by Firefox WebM support. Firefox is almost ready too but
need few changes to cairo and libpng.
Hopefully it went right (can somebody suggest some good, git online
tutorial or book?).
Stefan
Signed-off-by: Stefan Froberg <stefan.froberg@petroprogram.com>
---
package/Config.in | 1 +
package/yasm/Config.in | 9 +++++++++
package/yasm/yasm.mk | 23 +++++++++++++++++++++++
3 files changed, 33 insertions(+), 0 deletions(-)
create mode 100644 package/yasm/Config.in
create mode 100644 package/yasm/yasm.mk
diff --git a/package/Config.in b/package/Config.in
index f308de7..bde4318 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -91,6 +91,7 @@ source "package/sstrip/Config.in"
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/tar/Config.in"
endif
+source "package/yasm/Config.in"
endmenu
menu "Games"
diff --git a/package/yasm/Config.in b/package/yasm/Config.in
new file mode 100644
index 0000000..f8fbc9b
--- /dev/null
+++ b/package/yasm/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_YASM
+ bool "yasm"
+ help
+ Yasm is a complete rewrite of the NASM-2.10.01 assembler.
+ It supports the x86 and AMD64 instruction sets, accepts NASM
+ and GAS assembler syntaxes and outputs binary, ELF32 and ELF64
+ object formats.
+
+
diff --git a/package/yasm/yasm.mk b/package/yasm/yasm.mk
new file mode 100644
index 0000000..280efd2
--- /dev/null
+++ b/package/yasm/yasm.mk
@@ -0,0 +1,23 @@
+#############################################################
+#
+# yasm
+#
+#############################################################
+YASM_VERSION = 1.2.0
+YASM_SOURCE = yasm-$(YASM_VERSION).tar.gz
+YASM_SITE = http://www.tortall.net/projects/yasm/releases/
+YASM_CONF_OPT = --enable-shared
+
+define YASM_PRE_CONFIGURE_FIXUP
+# This sed prevents it compiling 2 programs (vsyasm and ytasm)
+# that are only of use on Microsoft Windows.
+# cd $(@D)
+ sed -i 's#) ytasm.*#)#' $(@D)/Makefile.in
+endef
+
+YASM_PRE_CONFIGURE_HOOKS += YASM_PRE_CONFIGURE_FIXUP
+
+
+
+$(eval $(call AUTOTARGETS))
+$(eval $(call AUTOTARGETS,host))
--
1.7.7.6
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH] yasm: New package
2012-08-08 20:26 Stefan Fröberg
@ 2012-08-09 8:34 ` Thomas Petazzoni
2012-08-09 9:19 ` Alex Bradbury
0 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2012-08-09 8:34 UTC (permalink / raw)
To: buildroot
Hello Stefan,
Thanks for this contribution!
Le Wed, 08 Aug 2012 23:26:11 +0300,
Stefan Fr?berg <stefan.froberg@petroprogram.com> a ?crit :
> My first git format patch.
> This is needed by Firefox WebM support. Firefox is almost ready too
> but need few changes to cairo and libpng.
>
> Hopefully it went right (can somebody suggest some good, git online
> tutorial or book?).
>
> Stefan
>
> Signed-off-by: Stefan Froberg <stefan.froberg@petroprogram.com>
You shouldn't include "personal" messages in the commit log here. This
part of the commit log will remain forever in the Git history, so we
don't want to have messages like "Hopefully it went right...".
If you have something to say beyond the commit log itself, then I think
the easiest solution is to use git send-email --compose, which will
prompt you for the text of an introduction e-mail. Then git send-email
will send N+1 e-mails: your introduction e-mail + the N patches you
told send-email to send. And git send-email is smart enough to make
those N emails replies to the introduction e-mail.
> ---
> package/Config.in | 1 +
> package/yasm/Config.in | 9 +++++++++
> package/yasm/yasm.mk | 23 +++++++++++++++++++++++
> 3 files changed, 33 insertions(+), 0 deletions(-)
> create mode 100644 package/yasm/Config.in
> create mode 100644 package/yasm/yasm.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index f308de7..bde4318 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -91,6 +91,7 @@ source "package/sstrip/Config.in"
> if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
> source "package/tar/Config.in"
> endif
> +source "package/yasm/Config.in"
> endmenu
>
> menu "Games"
> diff --git a/package/yasm/Config.in b/package/yasm/Config.in
> new file mode 100644
> index 0000000..f8fbc9b
> --- /dev/null
> +++ b/package/yasm/Config.in
> @@ -0,0 +1,9 @@
> +config BR2_PACKAGE_YASM
> + bool "yasm"
depends on BR2_i386 || BR2_x86_64
> + help
> + Yasm is a complete rewrite of the NASM-2.10.01 assembler.
> + It supports the x86 and AMD64 instruction sets, accepts NASM
> + and GAS assembler syntaxes and outputs binary, ELF32 and ELF64
> + object formats.
> +
> +
Remove one newline here.
> diff --git a/package/yasm/yasm.mk b/package/yasm/yasm.mk
> new file mode 100644
> index 0000000..280efd2
> --- /dev/null
> +++ b/package/yasm/yasm.mk
> @@ -0,0 +1,23 @@
> +#############################################################
> +#
> +# yasm
> +#
> +#############################################################
> +YASM_VERSION = 1.2.0
> +YASM_SOURCE = yasm-$(YASM_VERSION).tar.gz
> +YASM_SITE = http://www.tortall.net/projects/yasm/releases/
> +YASM_CONF_OPT = --enable-shared
This is useless, --enable-shared is passed by default.
> +
> +define YASM_PRE_CONFIGURE_FIXUP
> +# This sed prevents it compiling 2 programs (vsyasm and ytasm)
> +# that are only of use on Microsoft Windows.
> +# cd $(@D)
Remove this last line of comment.
> + sed -i 's#) ytasm.*#)#' $(@D)/Makefile.in
> +endef
> +
> +YASM_PRE_CONFIGURE_HOOKS += YASM_PRE_CONFIGURE_FIXUP
> +
> +
> +
Make this only one empty new line.
> +$(eval $(call AUTOTARGETS))
> +$(eval $(call AUTOTARGETS,host))
And this should now be:
$(eval $(autotools-package))
$(eval $(host-autotools-package))
(It has changed between 2012.05 and the current Git version).
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH] yasm: New package
2012-08-09 8:34 ` Thomas Petazzoni
@ 2012-08-09 9:19 ` Alex Bradbury
0 siblings, 0 replies; 6+ messages in thread
From: Alex Bradbury @ 2012-08-09 9:19 UTC (permalink / raw)
To: buildroot
On 9 August 2012 09:34, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> You shouldn't include "personal" messages in the commit log here. This
> part of the commit log will remain forever in the Git history, so we
> don't want to have messages like "Hopefully it went right...".
>
> If you have something to say beyond the commit log itself, then I think
> the easiest solution is to use git send-email --compose, which will
> prompt you for the text of an introduction e-mail. Then git send-email
> will send N+1 e-mails: your introduction e-mail + the N patches you
> told send-email to send. And git send-email is smart enough to make
> those N emails replies to the introduction e-mail.
Alternatively you can put text that won't be included in the commit
log after the first `---` and before the diffstat, which seems more
appropriate for a standalone patch.
Alex
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH] yasm: New package
@ 2012-08-10 19:30 Stefan Froberg
2012-08-11 20:29 ` Thomas Petazzoni
0 siblings, 1 reply; 6+ messages in thread
From: Stefan Froberg @ 2012-08-10 19:30 UTC (permalink / raw)
To: buildroot
Signed-off-by: Stefan Froberg <stefan.froberg@petroprogram.com>
---
package/Config.in | 1 +
package/yasm/Config.in | 9 +++++++++
package/yasm/yasm.mk | 20 ++++++++++++++++++++
3 files changed, 30 insertions(+), 0 deletions(-)
create mode 100644 package/yasm/Config.in
create mode 100644 package/yasm/yasm.mk
diff --git a/package/Config.in b/package/Config.in
index f308de7..bde4318 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -91,6 +91,7 @@ source "package/sstrip/Config.in"
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/tar/Config.in"
endif
+source "package/yasm/Config.in"
endmenu
menu "Games"
diff --git a/package/yasm/Config.in b/package/yasm/Config.in
new file mode 100644
index 0000000..bb1d417
--- /dev/null
+++ b/package/yasm/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_YASM
+ bool "yasm"
+ depends on BR2_i386 || BR2_x86_64
+ help
+ Yasm is a complete rewrite of the NASM-2.10.01 assembler.
+ It supports the x86 and AMD64 instruction sets, accepts NASM
+ and GAS assembler syntaxes and outputs binary, ELF32 and ELF64
+ object formats.
+
diff --git a/package/yasm/yasm.mk b/package/yasm/yasm.mk
new file mode 100644
index 0000000..ac75d2b
--- /dev/null
+++ b/package/yasm/yasm.mk
@@ -0,0 +1,20 @@
+#############################################################
+#
+# yasm
+#
+#############################################################
+YASM_VERSION = 1.2.0
+YASM_SOURCE = yasm-$(YASM_VERSION).tar.gz
+YASM_SITE = http://www.tortall.net/projects/yasm/releases/
+YASM_CONF_OPT = --disable-static
+
+define YASM_PRE_CONFIGURE_FIXUP
+# This sed prevents it compiling 2 programs (vsyasm and ytasm)
+# that are only of use on Microsoft Windows.
+ sed -i 's#) ytasm.*#)#' $(@D)/Makefile.in
+endef
+
+YASM_PRE_CONFIGURE_HOOKS += YASM_PRE_CONFIGURE_FIXUP
+
+$(eval $(autotools-package))
+$(eval $(host-autotools-package))
--
1.7.7.6
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH] yasm: New package
2012-08-10 19:30 [Buildroot] [PATCH] yasm: New package Stefan Froberg
@ 2012-08-11 20:29 ` Thomas Petazzoni
2012-08-16 10:49 ` Luca Ceresoli
0 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2012-08-11 20:29 UTC (permalink / raw)
To: buildroot
Le Fri, 10 Aug 2012 22:30:11 +0300,
Stefan Froberg <stefan.froberg@petroprogram.com> a ?crit :
> Signed-off-by: Stefan Froberg <stefan.froberg@petroprogram.com>
Thanks, applied to next with a few minor fixes.
Luca, I'm Cc'ing you on this regarding the license informations. The
license of Yasm seems to be, hum, complicated. Below the contents of
the COPYING file of the project. How should we encode that into
YASM_LICENSE ? :-)
----------------------------------------------------------------------
Yasm is Copyright (c) 2001-2010 Peter Johnson and other Yasm developers.
Yasm developers and/or contributors include:
Peter Johnson
Michael Urman
Brian Gladman (Visual Studio build files, other fixes)
Stanislav Karchebny (options parser)
Mathieu Monnier (SSE4 instruction patches, NASM preprocessor additions)
Anonymous "NASM64" developer (NASM preprocessor fixes)
Stephen Polkowski (x86 instruction patches)
Henryk Richter (Mach-O object format)
Ben Skeggs (patches, bug reports)
Alexei Svitkine (GAS preprocessor)
Samuel Thibault (TASM parser and frontend)
-----------------------------------
Yasm licensing overview and summary
-----------------------------------
Note: This document does not provide legal advice nor is it the actual
license of any part of Yasm. See the individual licenses for complete
details. Consult a lawyer for legal advice.
The primary license of Yasm is the 2-clause BSD license. Please use this
license if you plan on submitting code to the project.
Yasm has absolutely no warranty; not even for merchantibility or fitness
for a particular purpose.
-------
Libyasm
-------
Libyasm is 2-clause or 3-clause BSD licensed, with the exception of
bitvect, which is triple-licensed under the Artistic license, GPL, and
LGPL. Libyasm is thus GPL and LGPL compatible. In addition, this also
means that libyasm is free for binary-only distribution as long as the
terms of the 3-clause BSD license and Artistic license (as it applies to
bitvect) are fulfilled.
-------
Modules
-------
The modules are 2-clause or 3-clause BSD licensed.
---------
Frontends
---------
The frontends are 2-clause BSD licensed.
-------------
License Texts
-------------
The full text of all licenses are provided in separate files in the source
distribution. Each source file may include the entire license (in the case
of the BSD and Artistic licenses), or may reference the GPL or LGPL license
file.
BSD.txt - 2-clause and 3-clause BSD licenses
Artistic.txt - Artistic license
GNU_GPL-2.0 - GNU General Public License
GNU_LGPL-2.0 - GNU Library General Public License
----------------------------------------------------------------------
Thanks!
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH] yasm: New package
2012-08-11 20:29 ` Thomas Petazzoni
@ 2012-08-16 10:49 ` Luca Ceresoli
0 siblings, 0 replies; 6+ messages in thread
From: Luca Ceresoli @ 2012-08-16 10:49 UTC (permalink / raw)
To: buildroot
Thomas Petazzoni wrote:
> Le Fri, 10 Aug 2012 22:30:11 +0300,
> Stefan Froberg <stefan.froberg@petroprogram.com> a ?crit :
>
> > Signed-off-by: Stefan Froberg <stefan.froberg@petroprogram.com>
>
> Thanks, applied to next with a few minor fixes.
>
> Luca, I'm Cc'ing you on this regarding the license informations. The
> license of Yasm seems to be, hum, complicated. Below the contents of
> the COPYING file of the project. How should we encode that into
> YASM_LICENSE ? :-)
What a foolish license!
At first sight, I can't think of anything better than
YASM_LICENSE = Various
because there are BSD-derivatives, GPLs, and more.
Informative, complete and concise: you can have at most two of them
here, and I would not sacrifice the last two ones.
Ah, and sorry for the delay... vacation time (without 3G).
Luca
>
> ----------------------------------------------------------------------
> Yasm is Copyright (c) 2001-2010 Peter Johnson and other Yasm developers.
>
> Yasm developers and/or contributors include:
> Peter Johnson
> Michael Urman
> Brian Gladman (Visual Studio build files, other fixes)
> Stanislav Karchebny (options parser)
> Mathieu Monnier (SSE4 instruction patches, NASM preprocessor additions)
> Anonymous "NASM64" developer (NASM preprocessor fixes)
> Stephen Polkowski (x86 instruction patches)
> Henryk Richter (Mach-O object format)
> Ben Skeggs (patches, bug reports)
> Alexei Svitkine (GAS preprocessor)
> Samuel Thibault (TASM parser and frontend)
>
> -----------------------------------
> Yasm licensing overview and summary
> -----------------------------------
>
> Note: This document does not provide legal advice nor is it the actual
> license of any part of Yasm. See the individual licenses for complete
> details. Consult a lawyer for legal advice.
>
> The primary license of Yasm is the 2-clause BSD license. Please use this
> license if you plan on submitting code to the project.
>
> Yasm has absolutely no warranty; not even for merchantibility or fitness
> for a particular purpose.
>
> -------
> Libyasm
> -------
> Libyasm is 2-clause or 3-clause BSD licensed, with the exception of
> bitvect, which is triple-licensed under the Artistic license, GPL, and
> LGPL. Libyasm is thus GPL and LGPL compatible. In addition, this also
> means that libyasm is free for binary-only distribution as long as the
> terms of the 3-clause BSD license and Artistic license (as it applies to
> bitvect) are fulfilled.
>
> -------
> Modules
> -------
> The modules are 2-clause or 3-clause BSD licensed.
>
> ---------
> Frontends
> ---------
> The frontends are 2-clause BSD licensed.
>
> -------------
> License Texts
> -------------
> The full text of all licenses are provided in separate files in the source
> distribution. Each source file may include the entire license (in the case
> of the BSD and Artistic licenses), or may reference the GPL or LGPL license
> file.
>
> BSD.txt - 2-clause and 3-clause BSD licenses
> Artistic.txt - Artistic license
> GNU_GPL-2.0 - GNU General Public License
> GNU_LGPL-2.0 - GNU Library General Public License
> ----------------------------------------------------------------------
>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-08-16 10:49 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-10 19:30 [Buildroot] [PATCH] yasm: New package Stefan Froberg
2012-08-11 20:29 ` Thomas Petazzoni
2012-08-16 10:49 ` Luca Ceresoli
-- strict thread matches above, loose matches on Subject: below --
2012-08-08 20:26 Stefan Fröberg
2012-08-09 8:34 ` Thomas Petazzoni
2012-08-09 9:19 ` Alex Bradbury
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox