[poppler] RFC: Dropping autotools

Albert Astals Cid aacid at kde.org
Sun Aug 20 10:34:21 UTC 2017


El dissabte, 19 d’agost de 2017, a les 21:16:28 CEST, Adrian Johnson va 
escriure:
> On 18/08/17 07:43, Albert Astals Cid wrote:
> > Ok, this is going to be controversial (or maybe not).
> > 
> > I'd like to drop autotools and just use cmake as build system.
> > 
> > Reasons:
> >  * I don't use autotools so whenever something new happens i regularly
> >  forget> 
> > to try it works there (as proven last time with the nss includes)
> > 
> >  * cmake is more portable (i.e. doesn't uses shell scripts)
> >  * cmake gets releases more often
> >  * cmake code is easier to read (for me)
> >  * AFAICS Not even gnome (which was the "last" big autotools user) plans
> >  to
> > 
> > use autotools anymore
> > 
> > Only issues:
> >  * We don't have gtk-doc support
> >  * We don't have make dist-xz support (which i use for releases)
> 
> We need to update INSTALL to document building poppler with cmake. It
> needs to cover the various use cases users are likely to need such as
> enable/disable features, setting the install prefix, and setting
> compiler variables.

Do people actually read that file? :D

I mean it's so generic that i'm not even sure it actually says correct things 
for poppler. But yes, either update it or remove it.

> 
> > But i'm sure both should be fairly easy to add, just never cared to do it
> > since the only times i use them are for releases.
> > 
> > Comments?
> 
> Does cmake support cross compilation? I use autotools cross compilation
> to build win32 builds.

I can build Android binaries on my laptop using CMake as build system so i 
guess i could build win32 binaries too.

Cheers,
  Albert

> 
> > Cheers,
> > 
> >   Albert
> > 
> > _______________________________________________
> > poppler mailing list
> > poppler at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/poppler
> 
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/poppler




More information about the poppler mailing list