[Ubuntu] Inclusion of OSGeo MapGuide and FDO projects on UbuntuGIS

Johan Van de Wauw johan.vandewauw at gmail.com
Tue Apr 6 06:01:15 EDT 2010


Please share the procedure for building the packages in more detail. I
think many of your problems can be solved.

* gcc 4.4: which version of gcc is required to build? It is possible
to make a package which build-depends on gcc 4.3. That package is
available in debian (and thus ubuntu).

* It seems that mapguide is using automake and autoconf. Getting the
/usr/local right should be very easy. In fact it will be done
automagically when you would use dh_make to generate an initial rules
file.

* root privilege - it seems you are doing strange stuff here. Should
not be needed.

Anyway, most gis packages are complex and not easy to build/package -
mapguide will be no exception- so don't be afraid to ask for help.

Johan

On Tue, Apr 6, 2010 at 1:36 AM, Trevor Wekel
<trevor_wekel at otxsystems.com> wrote:
>
> Hi Cameron,
>
> I took a quick look at the Debian New Maintainers Guide. http://www.debian.org/doc/maint-guide/
>
> There are a couple of areas which concern me:
>
> 1.  http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules
>
> The rules file is basically a make file that will generate all the binaries from a source tree.  From what I can tell, this is a required file.  It will take a fair bit of work to implement cleanly.  In addition, there are portions of the MapGuide and FDO build procedures which do not currently support the following requirement:
>
> "The build-arch and build-indep targets must not do anything that might require root privilege."
>
> As a further complication to the "build from source" requirement, MapGuide does not compile with GCC 4.4 so current Ubuntu and Debian distributions will fail to compile the MapGuide source tree.  It will take time and effort to make MapGuide GCC 4.4 compliant.
>
>
> 2. http://www.debian.org/doc/maint-guide/ch-checkit.en.html#s-lintians
>
> The .deb packages I have generated contain a large number of lintian packaging errors.  Most of these errors are due to the fact that both MapGuide and FDO install to /usr/local/.  Additional errors are due to the non-native Ubuntu compilation process I have gone through to get binaries on Ubuntu (ie. compile on CentOS 5, tarball the binaries, and then package on Ubuntu).
>
>
> I am under the assumption that both of these items will have to be addressed before MapGuide and FDO are considered Debian compliant packages.  These issues will not be addressed for the upcoming releases of MapGuide and FDO.  I expect resolution of these issues will entail months of work for the MapGuide and FDO projects.  This work may be undertaken in future releases of MapGuide and FDO.
>
> If these items preclude inclusion of MapGuide and FDO on DebianGIS and/or UbuntuGIS, please let me know.  The packaging is certainly not "clean" as it stands now.
>
> Regards,
> Trevor
>
>
>>Trevor,
>>I suspect that you may find it more beneficial to initially target
>>debiangis, as packages from debiangis get rolled into ubuntugis (but not
>>the other way around).
>>
>>I'm hoping Hamish (CC) will be able to explain the pros and cons of
>>debiangis vs ubuntugis better than me.
>
>
>
> _______________________________________________
> Ubuntu mailing list
> Ubuntu at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/ubuntu
>
>
> _______________________________________________
> Ubuntu mailing list
> Ubuntu at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/ubuntu
>
>


More information about the Ubuntu mailing list