* [Buildroot] [PATCH 1/1] fix help comment Signed-off-by: JoM <johann.mercadier@imerir.com>
@ 2012-03-22 14:26 JoM
2012-03-25 20:03 ` Arnout Vandecappelle
0 siblings, 1 reply; 2+ messages in thread
From: JoM @ 2012-03-22 14:26 UTC (permalink / raw)
To: buildroot
---
package/Config.in | 1 +
package/fbterm/Config.in | 12 ++++++++++++
package/fbterm/fbterm.mk | 23 +++++++++++++++++++++++
3 files changed, 36 insertions(+), 0 deletions(-)
create mode 100644 package/fbterm/Config.in
create mode 100644 package/fbterm/fbterm.mk
diff --git a/package/Config.in b/package/Config.in
index 85583c6..c2d02b7 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -109,6 +109,7 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/fbset/Config.in"
endif
source "package/fbv/Config.in"
+source "package/fbterm/Config.in"
source "package/imagemagick/Config.in"
source "package/linux-fusion/Config.in"
source "package/lite/Config.in"
diff --git a/package/fbterm/Config.in b/package/fbterm/Config.in
new file mode 100644
index 0000000..0a36a9f
--- /dev/null
+++ b/package/fbterm/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_FBTERM
+ bool "fbterm"
+ select BR2_PACKAGE_FREETYPE
+ select BR2_PACKAGE_FONTCONFIG
+ select BR2_PACKAGE_ZLIB
+ select BR2_PACKAGE_EXPAT
+ help
+ FbTerm (Frame buffer terminal emulator) is a fast terminal emulator and a
+ standalone replacement of GNU/Linux terminal that can function outside of
+ Xorg with the frame buffer device or VESA video card.
+
+ http://code.google.com/p/fbterm/
diff --git a/package/fbterm/fbterm.mk b/package/fbterm/fbterm.mk
new file mode 100644
index 0000000..44f63f1
--- /dev/null
+++ b/package/fbterm/fbterm.mk
@@ -0,0 +1,23 @@
+#############################################################
+#
+# fbterm
+#
+#############################################################
+FBTERM_BINARY = fbterm
+FBTERM_TARGET_BINARY = usr/bin/$(FBTERM_BINARY)
+FBTERM_VERSION = 1.7.0
+FBTERM_SITE = http://fbterm.googlecode.com/files
+FBTERM_DEPENDENCIES += freetype fontconfig
+
+ifeq ($(BR2_PACKAGE_ZLIB),y)
+ FBTERM_DEPENDENCIES += zlib
+endif
+
+FBTERM_DEPENDENCIES += $(if $(BR2_PACKAGE_EXPAT),expat)
+
+define FBTERM_UNINSTALL_CMDS
+ rm -f $(TARGET_DIR)/$(FBTERM_TARGET_BINARY)
+endef
+
+
+$(eval $(call AUTOTARGETS))
--
1.7.2.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] fix help comment Signed-off-by: JoM <johann.mercadier@imerir.com>
2012-03-22 14:26 [Buildroot] [PATCH 1/1] fix help comment Signed-off-by: JoM <johann.mercadier@imerir.com> JoM
@ 2012-03-25 20:03 ` Arnout Vandecappelle
0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2012-03-25 20:03 UTC (permalink / raw)
To: buildroot
Hoi Johann,
There seems to be something wrong with your commit messages: the
commit message itself is missing, and the Signed-off-by is squashed
into the same line as the rest. Your commit message should look
something like this:
fbterm: new package
Signed-off-by: Johann Mercardier <johann.mercadier@imerir.com>
---
v3: fix help comment
v2: package check for libexpat and zlib
Note also that the Signed-off-by line should have your full name,
since it's a legal statement that you license the patch under buildroot's
GPL license and that you have the right to do so [1].
On Thursday 22 March 2012 15:26:53 JoM wrote:
[snip]
> +++ b/package/fbterm/Config.in
> @@ -0,0 +1,12 @@
> +config BR2_PACKAGE_FBTERM
> + bool "fbterm"
> + select BR2_PACKAGE_FREETYPE
> + select BR2_PACKAGE_FONTCONFIG
> + select BR2_PACKAGE_ZLIB
> + select BR2_PACKAGE_EXPAT
The select statement should just have a tab in front of them, not two
spaces like for the help text.
> + help
> + FbTerm (Frame buffer terminal emulator) is a fast terminal emulator and a
> + standalone replacement of GNU/Linux terminal that can function outside of
> + Xorg with the frame buffer device or VESA video card.
Please wrap the help text at +- 80 columns (where the tab counts for 8
columns).
> +
> + http://code.google.com/p/fbterm/
> diff --git a/package/fbterm/fbterm.mk b/package/fbterm/fbterm.mk
> new file mode 100644
> index 0000000..44f63f1
> --- /dev/null
> +++ b/package/fbterm/fbterm.mk
> @@ -0,0 +1,23 @@
> +#############################################################
> +#
> +# fbterm
> +#
> +#############################################################
> +FBTERM_BINARY = fbterm
> +FBTERM_TARGET_BINARY = usr/bin/$(FBTERM_BINARY)
FBTERM_BINARY and FBTERM_TARGET_BINARY are useless, since they are
used only once. And as I mentioned before, they're not likely to
change in the future anyway so there's no reason to make variables
for them.
> +FBTERM_VERSION = 1.7.0
> +FBTERM_SITE = http://fbterm.googlecode.com/files
> +FBTERM_DEPENDENCIES += freetype fontconfig
> +
> +ifeq ($(BR2_PACKAGE_ZLIB),y)
> + FBTERM_DEPENDENCIES += zlib
> +endif
> +
> +FBTERM_DEPENDENCIES += $(if $(BR2_PACKAGE_EXPAT),expat)
Please use only one of the two possible styles, otherwise things
get confusing.
> +
> +define FBTERM_UNINSTALL_CMDS
> + rm -f $(TARGET_DIR)/$(FBTERM_TARGET_BINARY)
> +endef
Why do you need to define this? The autotools-generated uninstall
target should do this already. And anyway, the PKG_UNINSTALL_CMDS
are only used for host packages; in this case it should have been
PKG_UNINSTALL_TARGET_CMDS. And finally, uninstall is on its way
out so don't do too much effort to implement it.
Regards,
Arnout
[1] http://kerneltrap.org/files/Jeremy/DCO.txt
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-25 20:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-22 14:26 [Buildroot] [PATCH 1/1] fix help comment Signed-off-by: JoM <johann.mercadier@imerir.com> JoM
2012-03-25 20:03 ` Arnout Vandecappelle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox