[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libredwg] use in GRASS GIS 6, minor patches, DebianGIS
From: |
Hamish |
Subject: |
[libredwg] use in GRASS GIS 6, minor patches, DebianGIS |
Date: |
Sat, 14 Jan 2012 22:42:03 -0800 (PST) |
Hi all,
On Fri, 2 Dec 2011 Ries wrote:
> Anybody on the list that knows a Open Source CAD software that
> is GPLv2 only that could benefit from LibreDWG?
see http://lists.gnu.org/archive/html/info-libredwg/2010-08/msg00000.html
(GRASS is GPLv2+)
I've just ported the above over to GRASS 6 (the above was written
for GRASS 7) but ran into some trouble along the way. I compile with
-Werror-implicit-function-declaration
and that picked up a missing fn prototype in src/dwg.h,
diff --git a/src/dwg.h b/src/dwg.h
index 24d1e25..5ebaa68 100644
--- a/src/dwg.h
+++ b/src/dwg.h
@@ -2875,6 +2875,9 @@ Dwg_Object_LAYER**
dwg_get_layers(Dwg_Data *);
long unsigned int
+dwg_get_object_count(Dwg_Data *);
+
+long unsigned int
dwg_get_entity_count(Dwg_Data *);
Dwg_Object_Entity **
then it built ok (grass7/trunk version too)
I also noticed that dwg_get_object_object_count() was missing
but I'm not sure if that is supposed to be private or not.
.. maybe other fns too?
to run ./autogen.sh I needed to chmod u+x:
diff --git a/autogen.sh b/autogen.sh
old mode 100644
new mode 100755
(how about a shebang in that?)
and finally, how about getting the library packaging done so we
can get it into the debian (& thus ubuntu) archives.
'apt-cache search dwg' is pretty empty right now and may be a good
way to lure additional developers into the project... :-)
regards,
Hamish
(GRASS GIS & DebianGIS dev teams)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libredwg] use in GRASS GIS 6, minor patches, DebianGIS,
Hamish <=