* [Buildroot] [PATCH v2 1/1] dawgdic: new package
@ 2015-08-03 9:16 Jonathan Ben-Avraham
2015-08-03 20:14 ` Baruch Siach
2015-08-04 9:18 ` Thomas Petazzoni
0 siblings, 2 replies; 5+ messages in thread
From: Jonathan Ben-Avraham @ 2015-08-03 9:16 UTC (permalink / raw)
To: buildroot
From: Jonathan Ben Avraham <yba@tkos.co.il>
The dawgdic package provides object files and utilities for building and
accessing directed acyclical word graph (DAWG) dictionaries.
This version of the patch uses the updated GitHub dawgdic repo instead of the
Google Code repo used in the previous version of this patch.
Signed-off-by: Jonathan Ben Avraham <yba@tkos.co.il>
---
package/Config.in | 1 +
package/dawgdic/Config.in | 13 +++++++++++++
package/dawgdic/dawgdic.mk | 17 +++++++++++++++++
3 files changed, 31 insertions(+)
create mode 100644 package/dawgdic/Config.in
create mode 100644 package/dawgdic/dawgdic.mk
diff --git a/package/Config.in b/package/Config.in
index 1e39c74..ef257c1 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1041,6 +1041,7 @@ menu "Other"
source "package/clapack/Config.in"
source "package/classpath/Config.in"
source "package/cppcms/Config.in"
+ source "package/dawgdic/Config.in"
source "package/ding-libs/Config.in"
source "package/eigen/Config.in"
source "package/elfutils/Config.in"
diff --git a/package/dawgdic/Config.in b/package/dawgdic/Config.in
new file mode 100644
index 0000000..209f11a
--- /dev/null
+++ b/package/dawgdic/Config.in
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_DAWGDIC
+ bool "dawgdic"
+ help
+ dawgdic provides a library for building and accessing
+ dictionaries implemented with directed acyclic word graphs
+ (DAWG). A dawg is constructed by minimizing a trie as a
+ deterministic finite automaton (DFA), and thus the dawg has
+ an advantage in memory usage. In addition, dawgdic uses a
+ double-array as a base data structure, so its retrieval
+ speed is as fast as that of Darts, a library for building
+ and accessing double-array tries.
+
+ https://github.com/stil/dawgdic
diff --git a/package/dawgdic/dawgdic.mk b/package/dawgdic/dawgdic.mk
new file mode 100644
index 0000000..f9b468e
--- /dev/null
+++ b/package/dawgdic/dawgdic.mk
@@ -0,0 +1,17 @@
+################################################################################
+#
+# dawgdic
+#
+################################################################################
+
+#DAWGDIC_SITE = http://dawgdic.googlecode.com/svn/trunk
+DAWGDIC_SITE = https://github.com/stil/dawgdic.git
+DAWGDIC_SITE_METHOD = git
+DAWGDIC_VERSION = 16ac537ba9883ff01b63b6d1fdc3072150c68fee
+DAWGDIC_LICENSE = GPLv3
+DAWGDIC_LICENSE_FILES = COPYING
+
+DAWGDIC_AUTORECONF = YES
+DAWGDIC_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))
--
1.7.9.5
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH v2 1/1] dawgdic: new package
2015-08-03 9:16 [Buildroot] [PATCH v2 1/1] dawgdic: new package Jonathan Ben-Avraham
@ 2015-08-03 20:14 ` Baruch Siach
2015-08-04 9:18 ` Thomas Petazzoni
1 sibling, 0 replies; 5+ messages in thread
From: Baruch Siach @ 2015-08-03 20:14 UTC (permalink / raw)
To: buildroot
Hi Yonatan,
On Mon, Aug 03, 2015 at 12:16:03PM +0300, Jonathan Ben-Avraham wrote:
> diff --git a/package/dawgdic/dawgdic.mk b/package/dawgdic/dawgdic.mk
> new file mode 100644
> index 0000000..f9b468e
> --- /dev/null
> +++ b/package/dawgdic/dawgdic.mk
> @@ -0,0 +1,17 @@
> +################################################################################
> +#
> +# dawgdic
> +#
> +################################################################################
> +
> +#DAWGDIC_SITE = http://dawgdic.googlecode.com/svn/trunk
Please remove.
> +DAWGDIC_SITE = https://github.com/stil/dawgdic.git
> +DAWGDIC_SITE_METHOD = git
> +DAWGDIC_VERSION = 16ac537ba9883ff01b63b6d1fdc3072150c68fee
Please use the github helper. See
http://nightly.buildroot.org/manual.html#github-download-url.
> +DAWGDIC_LICENSE = GPLv3
> +DAWGDIC_LICENSE_FILES = COPYING
> +
> +DAWGDIC_AUTORECONF = YES
Why is that needed? Please explain in a comment.
> +DAWGDIC_INSTALL_STAGING = YES
> +
> +$(eval $(autotools-package))
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 5+ messages in thread* [Buildroot] [PATCH v2 1/1] dawgdic: new package
2015-08-03 9:16 [Buildroot] [PATCH v2 1/1] dawgdic: new package Jonathan Ben-Avraham
2015-08-03 20:14 ` Baruch Siach
@ 2015-08-04 9:18 ` Thomas Petazzoni
2015-08-04 9:24 ` Jonathan Ben Avraham
1 sibling, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2015-08-04 9:18 UTC (permalink / raw)
To: buildroot
Dear Jonathan Ben-Avraham,
On Mon, 3 Aug 2015 12:16:03 +0300, Jonathan Ben-Avraham wrote:
> From: Jonathan Ben Avraham <yba@tkos.co.il>
>
> The dawgdic package provides object files and utilities for building and
> accessing directed acyclical word graph (DAWG) dictionaries.
>
> This version of the patch uses the updated GitHub dawgdic repo instead of the
> Google Code repo used in the previous version of this patch.
>
> Signed-off-by: Jonathan Ben Avraham <yba@tkos.co.il>
Patch applied, but I had to do quite a bit of changes:
[Thomas:
- use the github macro for <pkg>_SITE
- remove <pkg>_SITE_METHOD, useless once you use the github macro
for <pkg>_SITE
- fix the license, it is BSD-3c and not GPLv3
- remove commented <pkg>_SITE in the .mk file
- add missing dependency on C++.]
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread* [Buildroot] [PATCH v2 1/1] dawgdic: new package
2015-08-04 9:18 ` Thomas Petazzoni
@ 2015-08-04 9:24 ` Jonathan Ben Avraham
2015-08-04 9:26 ` Thomas Petazzoni
0 siblings, 1 reply; 5+ messages in thread
From: Jonathan Ben Avraham @ 2015-08-04 9:24 UTC (permalink / raw)
To: buildroot
Hi Thomas,
Thanks.
Hold off on the other patches that I submitted. Baruch will provide
feedback on what needs to be done and I will do the work myself from now
on.
- yba
On Tue, 4 Aug 2015, Thomas Petazzoni wrote:
> Date: Tue, 4 Aug 2015 11:18:48 +0200
> From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> To: Jonathan Ben-Avraham <yba@tkos.co.il>
> Cc: buildroot at busybox.net
> Subject: Re: [Buildroot] [PATCH v2 1/1] dawgdic: new package
>
> Dear Jonathan Ben-Avraham,
>
> On Mon, 3 Aug 2015 12:16:03 +0300, Jonathan Ben-Avraham wrote:
>> From: Jonathan Ben Avraham <yba@tkos.co.il>
>>
>> The dawgdic package provides object files and utilities for building and
>> accessing directed acyclical word graph (DAWG) dictionaries.
>>
>> This version of the patch uses the updated GitHub dawgdic repo instead of the
>> Google Code repo used in the previous version of this patch.
>>
>> Signed-off-by: Jonathan Ben Avraham <yba@tkos.co.il>
>
> Patch applied, but I had to do quite a bit of changes:
>
> [Thomas:
> - use the github macro for <pkg>_SITE
> - remove <pkg>_SITE_METHOD, useless once you use the github macro
> for <pkg>_SITE
> - fix the license, it is BSD-3c and not GPLv3
> - remove commented <pkg>_SITE in the .mk file
> - add missing dependency on C++.]
>
> Thanks!
>
> Thomas
>
--
9590 8E58 D30D 1660 C349 673D B205 4FC4 B8F5 B7F9 ~. .~ Tk Open Systems
=}-------- Jonathan Ben-Avraham ("yba") ----------ooO--U--Ooo------------{=
mailto:yba at tkos.co.il tel:+972.52.486.3386 http://tkos.co.il skype:benavrhm
^ permalink raw reply [flat|nested] 5+ messages in thread* [Buildroot] [PATCH v2 1/1] dawgdic: new package
2015-08-04 9:24 ` Jonathan Ben Avraham
@ 2015-08-04 9:26 ` Thomas Petazzoni
0 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2015-08-04 9:26 UTC (permalink / raw)
To: buildroot
Jonathan,
On Tue, 4 Aug 2015 12:24:29 +0300 (IDT), Jonathan Ben Avraham wrote:
> Hold off on the other patches that I submitted. Baruch will provide
> feedback on what needs to be done and I will do the work myself from now
> on.
Well, that's OK, I don't mind doing a bit of rework. Having perfect
patches is indeed better, but it's perfectly fine for me that new
contributors don't yet know all the "rules" / best practices.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-08-04 9:26 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-03 9:16 [Buildroot] [PATCH v2 1/1] dawgdic: new package Jonathan Ben-Avraham
2015-08-03 20:14 ` Baruch Siach
2015-08-04 9:18 ` Thomas Petazzoni
2015-08-04 9:24 ` Jonathan Ben Avraham
2015-08-04 9:26 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.