> it looks like FTGL statically linked in libcdgl.so. Is that correct? No, the define FTGL_LIBRARY_STATIC is used only for Windows, and it is not related to linking FTGL.
> Do the libftgl binaries need to be packages as well for cdgl to work? Yes, they do. > If so, would you suggest something like "tecgraf-ftgl*.deb" and a rename of libftgl.so to something like libtecgrafftgl.so so to avoid conflict with the system installable libftl.so? Our FTGL is not incompatible with the system FTGL. And the system FTGL is not updated for a long time now, and it probably won't be. I think we can ignore the system installable libftl.so. > I will have to check out what Debian accepts for packages. Ok. No rush. Best, Scuri Em ter, 16 de jul de 2019 às 13:30, Matthew Kennedy <burnsid...@gmail.com> escreveu: > Ah you're right. I am linking on the system ftgl and that is very likely > why I was seeing the cdgl example crashing during testing. > > Comparing against the official tecgraf binaries for cd, it looks like FTGL > statically linked in libcdgl.so. Is that correct? There's also, a > libftgl.{so,a} distributed with cd which has confused me. Do the libftgl > binaries need to be packages as well for cdgl to work? If so, would you > suggest something like "tecgraf-ftgl*.deb" and a rename of libftgl.so to > something like libtecgrafftgl.so so to avoid conflict with the system > installable libftl.so? > > Thanks for the note about the TODO. Updated. > > I will have to check out what Debian accepts for packages. They're the > ideal place, but I'm not sure they'll enjoy the unconventional docker + > checkinstall approach. Perhaps a intermediate approach is to use the Ubuntu > PPA system. > > Matt > > On Tue, Jul 16, 2019 at 8:04 AM Antonio Scuri <antonio.sc...@gmail.com> > wrote: > >> That's great. Thanks a lot. >> >> Checkinstall really does magic. >> >> I would prefer separate files for each Lua versions, but since you are >> seeing this as common practice it is ok. >> >> I think the next step would be to add those packages to the Debian >> distribution list. This would be a major game change for us. More >> visibility and and an incredibly easier distribution system. Let me know >> how can I help, but take your time. I rather do it in baby steps than >> overload both of us. >> >> I just added the links to the contributions page (on SNV). >> >> I didn't test it yet, but I notice you download libftgl-dev package. We >> are using a custom modified version of ftgl, so it must be built from the >> sources we provide, the standard package can not be used. >> >> BTW your README file needs update, you already did some of the To Do's! >> >> Thanks, >> Scuri >> >> >> >> >> Em seg, 15 de jul de 2019 às 15:43, Matthew Kennedy <burnsid...@gmail.com> >> escreveu: >> >>> Thanks for the pointers Scuri, >>> >>> I did manage to create packages from SVN head for Ubuntu 18.04. I put >>> them all here >>> https://github.com/lispnik/tecgraf-docker/releases/tag/v0.1 if anyone >>> wants to check them out. >>> >>> tecgraf-cd_835-1_amd64.deb >>> tecgraf-cd-dev_835-1_amd64.deb >>> tecgraf-cd-doc_835-1_amd64.deb >>> tecgraf-cd-lua_835-1_amd64.deb >>> tecgraf-im_746-1_amd64.deb >>> tecgraf-im-dev_746-1_amd64.deb >>> tecgraf-im-doc_746-1_amd64.deb >>> tecgraf-im-lua_746-1_amd64.deb >>> tecgraf-iup_5322-1_amd64.deb >>> tecgraf-iup-dev_5322-1_amd64.deb >>> tecgraf-iup-doc_5322-1_amd64.deb >>> tecgraf-iup-lua_5322-1_amd64.deb >>> >>> All the Luas are built! >>> >>> I smoke tested it by running many of the Lua examples in source for IM, >>> CD and IUP. There are some examples that don't run, but I'm not sure if >>> that's because the libs I built have problems or if it's a problem with the >>> example. I'll investigate that later on a different VM to compare. >>> >>> I think I will create a tecgraf-{im,cd,iup}-lua-dev package as well. >>> This seems to be a thing in Ubuntu where you put the lua-related headers >>> (e.g. imlua.h) and lua-related .a libraries in a separate package. >>> >>> Matt >>> >>> $ for i in im cd iup; do dpkg -L tecgraf-"$i" tecgraf-"$i"-dev >>> tecgraf-"$i"-lua; done >>> >>> /. >>> /usr >>> /usr/lib >>> /usr/lib/x86_64-linux-gnu >>> /usr/lib/x86_64-linux-gnu/libim.so >>> /usr/lib/x86_64-linux-gnu/libim_fftw.so >>> /usr/lib/x86_64-linux-gnu/libim_jp2.so >>> /usr/lib/x86_64-linux-gnu/libim_lzo.so >>> /usr/lib/x86_64-linux-gnu/libim_process.so >>> /usr/lib/x86_64-linux-gnu/libim_process_omp.so >>> /usr/share >>> /usr/share/doc >>> /usr/share/doc/tecgraf-im >>> /usr/share/doc/tecgraf-im/COPYRIGHT >>> /usr/share/doc/tecgraf-im/README >>> /usr/share/doc/tecgraf-im/VERSION >>> >>> /. >>> /usr >>> /usr/include >>> /usr/include/im.h >>> /usr/include/im_attrib.h >>> /usr/include/im_attrib_flat.h >>> /usr/include/im_binfile.h >>> /usr/include/im_capture.h >>> /usr/include/im_color.h >>> /usr/include/im_colorhsi.h >>> /usr/include/im_complex.h >>> /usr/include/im_convert.h >>> /usr/include/im_counter.h >>> /usr/include/im_dib.h >>> /usr/include/im_file.h >>> /usr/include/im_format.h >>> /usr/include/im_format_all.h >>> /usr/include/im_format_avi.h >>> /usr/include/im_format_ecw.h >>> /usr/include/im_format_jp2.h >>> /usr/include/im_format_raw.h >>> /usr/include/im_format_wmv.h >>> /usr/include/im_image.h >>> /usr/include/im_kernel.h >>> /usr/include/im_lib.h >>> /usr/include/im_math.h >>> /usr/include/im_math_op.h >>> /usr/include/im_old.h >>> /usr/include/im_palette.h >>> /usr/include/im_plus.h >>> /usr/include/im_process.h >>> /usr/include/im_process_ana.h >>> /usr/include/im_process_glo.h >>> /usr/include/im_process_loc.h >>> /usr/include/im_process_pnt.h >>> /usr/include/im_raw.h >>> /usr/include/im_util.h >>> /usr/include/imlua.h >>> /usr/lib >>> /usr/lib/x86_64-linux-gnu >>> /usr/lib/x86_64-linux-gnu/libim.a >>> /usr/lib/x86_64-linux-gnu/libim_fftw.a >>> /usr/lib/x86_64-linux-gnu/libim_jp2.a >>> /usr/lib/x86_64-linux-gnu/libim_lzo.a >>> /usr/lib/x86_64-linux-gnu/libim_process.a >>> /usr/lib/x86_64-linux-gnu/libim_process_omp.a >>> /usr/share >>> /usr/share/doc >>> /usr/share/doc/tecgraf-im-dev >>> /usr/share/doc/tecgraf-im-dev/COPYRIGHT >>> /usr/share/doc/tecgraf-im-dev/README >>> /usr/share/doc/tecgraf-im-dev/VERSION >>> >>> /. >>> /usr >>> /usr/lib >>> /usr/lib/x86_64-linux-gnu >>> /usr/lib/x86_64-linux-gnu/libimlua51.so >>> /usr/lib/x86_64-linux-gnu/libimlua52.so >>> /usr/lib/x86_64-linux-gnu/libimlua53.so >>> /usr/lib/x86_64-linux-gnu/libimlua_fftw51.so >>> /usr/lib/x86_64-linux-gnu/libimlua_fftw52.so >>> /usr/lib/x86_64-linux-gnu/libimlua_fftw53.so >>> /usr/lib/x86_64-linux-gnu/libimlua_jp251.so >>> /usr/lib/x86_64-linux-gnu/libimlua_jp252.so >>> /usr/lib/x86_64-linux-gnu/libimlua_jp253.so >>> /usr/lib/x86_64-linux-gnu/libimlua_process51.so >>> /usr/lib/x86_64-linux-gnu/libimlua_process52.so >>> /usr/lib/x86_64-linux-gnu/libimlua_process53.so >>> /usr/lib/x86_64-linux-gnu/libimlua_process_omp51.so >>> /usr/lib/x86_64-linux-gnu/libimlua_process_omp52.so >>> /usr/lib/x86_64-linux-gnu/libimlua_process_omp53.so >>> /usr/lib/x86_64-linux-gnu/lua >>> /usr/lib/x86_64-linux-gnu/lua/5.1 >>> /usr/lib/x86_64-linux-gnu/lua/5.2 >>> /usr/lib/x86_64-linux-gnu/lua/5.3 >>> /usr/share >>> /usr/share/doc >>> /usr/share/doc/tecgraf-im-lua >>> /usr/share/doc/tecgraf-im-lua/COPYRIGHT >>> /usr/share/doc/tecgraf-im-lua/README >>> /usr/share/doc/tecgraf-im-lua/VERSION >>> /usr/lib/x86_64-linux-gnu/lua/5.1/imlua.so >>> /usr/lib/x86_64-linux-gnu/lua/5.1/imlua_fftw.so >>> /usr/lib/x86_64-linux-gnu/lua/5.1/imlua_jp2.so >>> /usr/lib/x86_64-linux-gnu/lua/5.1/imlua_process.so >>> /usr/lib/x86_64-linux-gnu/lua/5.1/imlua_process_omp.so >>> /usr/lib/x86_64-linux-gnu/lua/5.2/imlua.so >>> /usr/lib/x86_64-linux-gnu/lua/5.2/imlua_fftw.so >>> /usr/lib/x86_64-linux-gnu/lua/5.2/imlua_jp2.so >>> /usr/lib/x86_64-linux-gnu/lua/5.2/imlua_process.so >>> /usr/lib/x86_64-linux-gnu/lua/5.2/imlua_process_omp.so >>> /usr/lib/x86_64-linux-gnu/lua/5.3/imlua.so >>> /usr/lib/x86_64-linux-gnu/lua/5.3/imlua_fftw.so >>> /usr/lib/x86_64-linux-gnu/lua/5.3/imlua_jp2.so >>> /usr/lib/x86_64-linux-gnu/lua/5.3/imlua_process.so >>> /usr/lib/x86_64-linux-gnu/lua/5.3/imlua_process_omp.so >>> /. >>> /usr >>> /usr/lib >>> /usr/lib/x86_64-linux-gnu >>> /usr/lib/x86_64-linux-gnu/libcd.so >>> /usr/lib/x86_64-linux-gnu/libcdcontextplus.so >>> /usr/lib/x86_64-linux-gnu/libcdgl.so >>> /usr/lib/x86_64-linux-gnu/libcdim.so >>> /usr/lib/x86_64-linux-gnu/libcdpdf.so >>> /usr/lib/x86_64-linux-gnu/libpdflib.so >>> /usr/share >>> /usr/share/doc >>> /usr/share/doc/tecgraf-cd >>> /usr/share/doc/tecgraf-cd/COPYRIGHT >>> /usr/share/doc/tecgraf-cd/README >>> /usr/share/doc/tecgraf-cd/VERSION >>> >>> /. >>> /usr >>> /usr/include >>> /usr/include/cd.h >>> /usr/include/cd_old.h >>> /usr/include/cd_plus.h >>> /usr/include/cd_private.h >>> /usr/include/cdcairo.h >>> /usr/include/cdcgm.h >>> /usr/include/cdclipbd.h >>> /usr/include/cddbuf.h >>> /usr/include/cddebug.h >>> /usr/include/cddgn.h >>> /usr/include/cddirect2d.h >>> /usr/include/cddxf.h >>> /usr/include/cdemf.h >>> /usr/include/cdgdiplus.h >>> /usr/include/cdgl.h >>> /usr/include/cdim.h >>> /usr/include/cdimage.h >>> /usr/include/cdirgb.h >>> /usr/include/cdiup.h >>> /usr/include/cdlua.h >>> /usr/include/cdlua3_private.h >>> /usr/include/cdlua5_private.h >>> /usr/include/cdluagl.h >>> /usr/include/cdluaim.h >>> /usr/include/cdluaiup.h >>> /usr/include/cdluapdf.h >>> /usr/include/cdmf.h >>> /usr/include/cdmf_private.h >>> /usr/include/cdnative.h >>> /usr/include/cdpdf.h >>> /usr/include/cdpicture.h >>> /usr/include/cdpptx.h >>> /usr/include/cdprint.h >>> /usr/include/cdps.h >>> /usr/include/cdsvg.h >>> /usr/include/cdwmf.h >>> /usr/include/wd.h >>> /usr/include/wd_old.h >>> /usr/lib >>> /usr/lib/x86_64-linux-gnu >>> /usr/lib/x86_64-linux-gnu/libcd.a >>> /usr/lib/x86_64-linux-gnu/libcdcontextplus.a >>> /usr/lib/x86_64-linux-gnu/libcdgl.a >>> /usr/lib/x86_64-linux-gnu/libcdim.a >>> /usr/lib/x86_64-linux-gnu/libcdpdf.a >>> /usr/lib/x86_64-linux-gnu/libpdflib.a >>> /usr/share >>> /usr/share/doc >>> /usr/share/doc/tecgraf-cd-dev >>> /usr/share/doc/tecgraf-cd-dev/COPYRIGHT >>> /usr/share/doc/tecgraf-cd-dev/README >>> /usr/share/doc/tecgraf-cd-dev/VERSION >>> >>> /. >>> /usr >>> /usr/lib >>> /usr/lib/x86_64-linux-gnu >>> /usr/lib/x86_64-linux-gnu/libcdlua51.so >>> /usr/lib/x86_64-linux-gnu/libcdlua52.so >>> /usr/lib/x86_64-linux-gnu/libcdlua53.so >>> /usr/lib/x86_64-linux-gnu/libcdluacontextplus51.so >>> /usr/lib/x86_64-linux-gnu/libcdluacontextplus52.so >>> /usr/lib/x86_64-linux-gnu/libcdluacontextplus53.so >>> /usr/lib/x86_64-linux-gnu/libcdluagl51.so >>> /usr/lib/x86_64-linux-gnu/libcdluagl52.so >>> /usr/lib/x86_64-linux-gnu/libcdluagl53.so >>> /usr/lib/x86_64-linux-gnu/libcdluaim51.so >>> /usr/lib/x86_64-linux-gnu/libcdluaim52.so >>> /usr/lib/x86_64-linux-gnu/libcdluaim53.so >>> /usr/lib/x86_64-linux-gnu/libcdluapdf51.so >>> /usr/lib/x86_64-linux-gnu/libcdluapdf52.so >>> /usr/lib/x86_64-linux-gnu/libcdluapdf53.so >>> /usr/lib/x86_64-linux-gnu/lua >>> /usr/lib/x86_64-linux-gnu/lua/5.1 >>> /usr/lib/x86_64-linux-gnu/lua/5.2 >>> /usr/lib/x86_64-linux-gnu/lua/5.3 >>> /usr/share >>> /usr/share/doc >>> /usr/share/doc/tecgraf-cd-lua >>> /usr/share/doc/tecgraf-cd-lua/COPYRIGHT >>> /usr/share/doc/tecgraf-cd-lua/README >>> /usr/share/doc/tecgraf-cd-lua/VERSION >>> /usr/lib/x86_64-linux-gnu/lua/5.1/cdlua.so >>> /usr/lib/x86_64-linux-gnu/lua/5.1/cdluacontextplus.so >>> /usr/lib/x86_64-linux-gnu/lua/5.1/cdluagl.so >>> /usr/lib/x86_64-linux-gnu/lua/5.1/cdluaim.so >>> /usr/lib/x86_64-linux-gnu/lua/5.1/cdluapdf.so >>> /usr/lib/x86_64-linux-gnu/lua/5.2/cdlua.so >>> /usr/lib/x86_64-linux-gnu/lua/5.2/cdluacontextplus.so >>> /usr/lib/x86_64-linux-gnu/lua/5.2/cdluagl.so >>> /usr/lib/x86_64-linux-gnu/lua/5.2/cdluaim.so >>> /usr/lib/x86_64-linux-gnu/lua/5.2/cdluapdf.so >>> /usr/lib/x86_64-linux-gnu/lua/5.3/cdlua.so >>> /usr/lib/x86_64-linux-gnu/lua/5.3/cdluacontextplus.so >>> /usr/lib/x86_64-linux-gnu/lua/5.3/cdluagl.so >>> /usr/lib/x86_64-linux-gnu/lua/5.3/cdluaim.so >>> /usr/lib/x86_64-linux-gnu/lua/5.3/cdluapdf.so >>> /. >>> /usr >>> /usr/lib >>> /usr/lib/x86_64-linux-gnu >>> /usr/lib/x86_64-linux-gnu/libiup.so >>> /usr/lib/x86_64-linux-gnu/libiup_mglplot.so >>> /usr/lib/x86_64-linux-gnu/libiup_plot.so >>> /usr/lib/x86_64-linux-gnu/libiup_scintilla.so >>> /usr/lib/x86_64-linux-gnu/libiupcd.so >>> /usr/lib/x86_64-linux-gnu/libiupcontrols.so >>> /usr/lib/x86_64-linux-gnu/libiupgl.so >>> /usr/lib/x86_64-linux-gnu/libiupglcontrols.so >>> /usr/lib/x86_64-linux-gnu/libiupim.so >>> /usr/lib/x86_64-linux-gnu/libiupimglib.so >>> /usr/lib/x86_64-linux-gnu/libiuptuio.so >>> /usr/lib/x86_64-linux-gnu/libiupweb.so >>> /usr/share >>> /usr/share/doc >>> /usr/share/doc/tecgraf-iup >>> /usr/share/doc/tecgraf-iup/COPYRIGHT >>> /usr/share/doc/tecgraf-iup/README >>> /usr/share/doc/tecgraf-iup/VERSION >>> >>> /. >>> /usr >>> /usr/include >>> /usr/include/iup.h >>> /usr/include/iup_config.h >>> /usr/include/iup_export.h >>> /usr/include/iup_mglplot.h >>> /usr/include/iup_plot.h >>> /usr/include/iup_plus.h >>> /usr/include/iup_scintilla.h >>> /usr/include/iup_varg.h >>> /usr/include/iupcbs.h >>> /usr/include/iupcontrols.h >>> /usr/include/iupdef.h >>> /usr/include/iupdraw.h >>> /usr/include/iupdraw_cd.h >>> /usr/include/iupfiledlg.h >>> /usr/include/iupgl.h >>> /usr/include/iupglcontrols.h >>> /usr/include/iupim.h >>> /usr/include/iupkey.h >>> /usr/include/iuplua.h >>> /usr/include/iuplua_mglplot.h >>> /usr/include/iuplua_plot.h >>> /usr/include/iuplua_scintilla.h >>> /usr/include/iupluacontrols.h >>> /usr/include/iupluafiledlg.h >>> /usr/include/iupluagl.h >>> /usr/include/iupluaglcontrols.h >>> /usr/include/iupluaim.h >>> /usr/include/iupluaole.h >>> /usr/include/iupluascripterdlg.h >>> /usr/include/iupluatuio.h >>> /usr/include/iupluaweb.h >>> /usr/include/iupole.h >>> /usr/include/iuptuio.h >>> /usr/include/iupweb.h >>> /usr/lib >>> /usr/lib/x86_64-linux-gnu >>> /usr/lib/x86_64-linux-gnu/libiup.a >>> /usr/lib/x86_64-linux-gnu/libiup_mglplot.a >>> /usr/lib/x86_64-linux-gnu/libiup_plot.a >>> /usr/lib/x86_64-linux-gnu/libiup_scintilla.a >>> /usr/lib/x86_64-linux-gnu/libiupcd.a >>> /usr/lib/x86_64-linux-gnu/libiupcontrols.a >>> /usr/lib/x86_64-linux-gnu/libiupgl.a >>> /usr/lib/x86_64-linux-gnu/libiupglcontrols.a >>> /usr/lib/x86_64-linux-gnu/libiupim.a >>> /usr/lib/x86_64-linux-gnu/libiupimglib.a >>> /usr/lib/x86_64-linux-gnu/libiuptuio.a >>> /usr/lib/x86_64-linux-gnu/libiupweb.a >>> /usr/share >>> /usr/share/doc >>> /usr/share/doc/tecgraf-iup-dev >>> /usr/share/doc/tecgraf-iup-dev/COPYRIGHT >>> /usr/share/doc/tecgraf-iup-dev/README >>> /usr/share/doc/tecgraf-iup-dev/VERSION >>> >>> /. >>> /usr >>> /usr/lib >>> /usr/lib/x86_64-linux-gnu >>> /usr/lib/x86_64-linux-gnu/libiuplua51.so >>> /usr/lib/x86_64-linux-gnu/libiuplua52.so >>> /usr/lib/x86_64-linux-gnu/libiuplua53.so >>> /usr/lib/x86_64-linux-gnu/libiuplua_mglplot51.so >>> /usr/lib/x86_64-linux-gnu/libiuplua_mglplot52.so >>> /usr/lib/x86_64-linux-gnu/libiuplua_mglplot53.so >>> /usr/lib/x86_64-linux-gnu/libiuplua_plot51.so >>> /usr/lib/x86_64-linux-gnu/libiuplua_plot52.so >>> /usr/lib/x86_64-linux-gnu/libiuplua_plot53.so >>> /usr/lib/x86_64-linux-gnu/libiuplua_scintilla51.so >>> /usr/lib/x86_64-linux-gnu/libiuplua_scintilla52.so >>> /usr/lib/x86_64-linux-gnu/libiuplua_scintilla53.so >>> /usr/lib/x86_64-linux-gnu/libiupluacd51.so >>> /usr/lib/x86_64-linux-gnu/libiupluacd52.so >>> /usr/lib/x86_64-linux-gnu/libiupluacd53.so >>> /usr/lib/x86_64-linux-gnu/libiupluacontrols51.so >>> /usr/lib/x86_64-linux-gnu/libiupluacontrols52.so >>> /usr/lib/x86_64-linux-gnu/libiupluacontrols53.so >>> /usr/lib/x86_64-linux-gnu/libiupluagl51.so >>> /usr/lib/x86_64-linux-gnu/libiupluagl52.so >>> /usr/lib/x86_64-linux-gnu/libiupluagl53.so >>> /usr/lib/x86_64-linux-gnu/libiupluaglcontrols51.so >>> /usr/lib/x86_64-linux-gnu/libiupluaglcontrols52.so >>> /usr/lib/x86_64-linux-gnu/libiupluaglcontrols53.so >>> /usr/lib/x86_64-linux-gnu/libiupluaim51.so >>> /usr/lib/x86_64-linux-gnu/libiupluaim52.so >>> /usr/lib/x86_64-linux-gnu/libiupluaim53.so >>> /usr/lib/x86_64-linux-gnu/libiupluaimglib51.so >>> /usr/lib/x86_64-linux-gnu/libiupluaimglib52.so >>> /usr/lib/x86_64-linux-gnu/libiupluaimglib53.so >>> /usr/lib/x86_64-linux-gnu/libiupluascripterdlg51.so >>> /usr/lib/x86_64-linux-gnu/libiupluascripterdlg52.so >>> /usr/lib/x86_64-linux-gnu/libiupluascripterdlg53.so >>> /usr/lib/x86_64-linux-gnu/libiupluatuio51.so >>> /usr/lib/x86_64-linux-gnu/libiupluatuio52.so >>> /usr/lib/x86_64-linux-gnu/libiupluatuio53.so >>> /usr/lib/x86_64-linux-gnu/libiupluaweb51.so >>> /usr/lib/x86_64-linux-gnu/libiupluaweb52.so >>> /usr/lib/x86_64-linux-gnu/libiupluaweb53.so >>> /usr/lib/x86_64-linux-gnu/lua >>> /usr/lib/x86_64-linux-gnu/lua/5.1 >>> /usr/lib/x86_64-linux-gnu/lua/5.2 >>> /usr/lib/x86_64-linux-gnu/lua/5.3 >>> /usr/share >>> /usr/share/doc >>> /usr/share/doc/tecgraf-iup-lua >>> /usr/share/doc/tecgraf-iup-lua/COPYRIGHT >>> /usr/share/doc/tecgraf-iup-lua/README >>> /usr/share/doc/tecgraf-iup-lua/VERSION >>> /usr/lib/x86_64-linux-gnu/lua/5.1/iuplua.so >>> /usr/lib/x86_64-linux-gnu/lua/5.1/iuplua_mglplot.so >>> /usr/lib/x86_64-linux-gnu/lua/5.1/iuplua_plot.so >>> /usr/lib/x86_64-linux-gnu/lua/5.1/iuplua_scintilla.so >>> /usr/lib/x86_64-linux-gnu/lua/5.1/iupluacd.so >>> /usr/lib/x86_64-linux-gnu/lua/5.1/iupluacontrols.so >>> /usr/lib/x86_64-linux-gnu/lua/5.1/iupluagl.so >>> /usr/lib/x86_64-linux-gnu/lua/5.1/iupluaim.so >>> /usr/lib/x86_64-linux-gnu/lua/5.1/iupluaimglib.so >>> /usr/lib/x86_64-linux-gnu/lua/5.1/iupluascripterdlg.so >>> /usr/lib/x86_64-linux-gnu/lua/5.1/iupluatuio.so >>> /usr/lib/x86_64-linux-gnu/lua/5.1/iupluaweb.so >>> /usr/lib/x86_64-linux-gnu/lua/5.2/iuplua.so >>> /usr/lib/x86_64-linux-gnu/lua/5.2/iuplua_mglplot.so >>> /usr/lib/x86_64-linux-gnu/lua/5.2/iuplua_plot.so >>> /usr/lib/x86_64-linux-gnu/lua/5.2/iuplua_scintilla.so >>> /usr/lib/x86_64-linux-gnu/lua/5.2/iupluacd.so >>> /usr/lib/x86_64-linux-gnu/lua/5.2/iupluacontrols.so >>> /usr/lib/x86_64-linux-gnu/lua/5.2/iupluagl.so >>> /usr/lib/x86_64-linux-gnu/lua/5.2/iupluaim.so >>> /usr/lib/x86_64-linux-gnu/lua/5.2/iupluaimglib.so >>> /usr/lib/x86_64-linux-gnu/lua/5.2/iupluascripterdlg.so >>> /usr/lib/x86_64-linux-gnu/lua/5.2/iupluatuio.so >>> /usr/lib/x86_64-linux-gnu/lua/5.2/iupluaweb.so >>> /usr/lib/x86_64-linux-gnu/lua/5.3/iuplua.so >>> /usr/lib/x86_64-linux-gnu/lua/5.3/iuplua_mglplot.so >>> /usr/lib/x86_64-linux-gnu/lua/5.3/iuplua_plot.so >>> /usr/lib/x86_64-linux-gnu/lua/5.3/iuplua_scintilla.so >>> /usr/lib/x86_64-linux-gnu/lua/5.3/iupluacd.so >>> /usr/lib/x86_64-linux-gnu/lua/5.3/iupluacontrols.so >>> /usr/lib/x86_64-linux-gnu/lua/5.3/iupluagl.so >>> /usr/lib/x86_64-linux-gnu/lua/5.3/iupluaim.so >>> /usr/lib/x86_64-linux-gnu/lua/5.3/iupluaimglib.so >>> /usr/lib/x86_64-linux-gnu/lua/5.3/iupluascripterdlg.so >>> /usr/lib/x86_64-linux-gnu/lua/5.3/iupluatuio.so >>> /usr/lib/x86_64-linux-gnu/lua/5.3/iupluaweb.so >>> >>> >>> >>> >>> On Mon, Jul 8, 2019 at 1:39 PM Antonio Scuri <antonio.sc...@gmail.com> >>> wrote: >>> >>>> > Does that seem like the way to go? >>>> >>>> Yes. >>>> >>>> > So for example in IM's case, I'd build a libimlua5.{1,2,3}.so into >>>> /usr/lib/x86_x64-linux-gnu/ and create a symlink (maybe im.so? I suppose >>>> the naming has to match somehow with how Lua loads modules) to them from >>>> /usr/lib/x86_64-linux-gnu/lua/libimlua5.{1,2,3}.so. >>>> >>>> The location and name of the symlink are the same as created by the >>>> im/config_lua_module script we provide. Should be something like: >>>> >>>> /usr/lib/x86_64-linux-gnu/libimlua5.{1,2,3}.so => >>>> /usr/lib/x86_64-linux-gnu/lua/{1,2,3}/imlua.so >>>> >>>> So require"imlua" will search for imlua.so in the respective Lua >>>> version folder. >>>> >>>> > Then the *.lua source goes in /usr/share/lua/5.{1,2,3}/im/*.lua. >>>> >>>> We don't distribute any lua files in IM, CD nor IUP. They are all >>>> embedded in the library. >>>> >>>> > BTW, on Ubuntu, the lua-expat package contains all 3 versions, so a >>>> Lua IM package would do similarly. >>>> >>>> Ok I guess. >>>> >>>> Best, >>>> Scuri >>>> >>>> >>>> Em seg, 8 de jul de 2019 às 15:11, Matthew Kennedy < >>>> burnsid...@gmail.com> escreveu: >>>> >>>>> >>>>> On Mon, Jul 8, 2019 at 10:06 AM Antonio Scuri <antonio.sc...@gmail.com> >>>>> wrote: >>>>> >>>>>> > lua packages (which lua though?) >>>>>> >>>>>> Lua itself already has distribution packages, one for each Lua >>>>>> version. It is a lot of work, but this is a first start. >>>>>> >>>>> >>>>> I may be able to have a go at this task and make it build and iterate >>>>> through each version. As I understand it, on Ubuntu LTS, there are 3 Luas: >>>>> 5.1, 5.2, 5.3. I looked at an existing Ubuntu package for lua-expat >>>>> (popular C XML parser): >>>>> >>>>> /usr/lib/x86_64-linux-gnu/liblua5.1-expat.so.0 >>>>> /usr/lib/x86_64-linux-gnu/liblua5.1-expat.so.0.0.0 >>>>> /usr/lib/x86_64-linux-gnu/liblua5.2-expat.so.0 >>>>> /usr/lib/x86_64-linux-gnu/liblua5.2-expat.so.0.0.0 >>>>> /usr/lib/x86_64-linux-gnu/liblua5.3-expat.so.0 >>>>> /usr/lib/x86_64-linux-gnu/liblua5.3-expat.so.0.0.0 >>>>> /usr/lib/x86_64-linux-gnu/lua/5.1 >>>>> /usr/lib/x86_64-linux-gnu/lua/5.1/lxp.so >>>>> /usr/lib/x86_64-linux-gnu/lua/5.2 >>>>> /usr/lib/x86_64-linux-gnu/lua/5.2/lxp.so >>>>> /usr/lib/x86_64-linux-gnu/lua/5.3 >>>>> /usr/lib/x86_64-linux-gnu/lua/5.3/lxp.so >>>>> ... >>>>> /usr/share/lua >>>>> /usr/share/lua/5.1 >>>>> /usr/share/lua/5.1/lxp >>>>> /usr/share/lua/5.1/lxp/lom.lua >>>>> /usr/share/lua/5.2 >>>>> /usr/share/lua/5.2/lxp >>>>> /usr/share/lua/5.2/lxp/lom.lua >>>>> /usr/share/lua/5.3 >>>>> /usr/share/lua/5.3/lxp >>>>> /usr/share/lua/5.3/lxp/lom.lua >>>>> >>>>> Where /usr/lib/x86_64-linux-gnu/lua/5.1/lxp.so -> >>>>> ../../liblua5.1-expat.so.0.0.0 etc. >>>>> >>>>> Does that seem like the way to go? >>>>> >>>>> So for example in IM's case, I'd build a libimlua5.{1,2,3}.so into >>>>> /usr/lib/x86_x64-linux-gnu/ and create a symlink (maybe im.so? I suppose >>>>> the naming has to match somehow with how Lua loads modules) to them from >>>>> /usr/lib/x86_64-linux-gnu/lua/libimlua5.{1,2,3}.so. Then the *.lua source >>>>> goes in /usr/share/lua/5.{1,2,3}/im/*.lua. BTW, on Ubuntu, the lua-expat >>>>> package contains all 3 versions, so a Lua IM package would do similarly. >>>>> >>>>> _______________________________________________ >>>>> Iup-users mailing list >>>>> Iup-users@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/iup-users >>>>> >>>> _______________________________________________ >>>> Iup-users mailing list >>>> Iup-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/iup-users >>>> >>> _______________________________________________ >>> Iup-users mailing list >>> Iup-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/iup-users >>> >> _______________________________________________ >> Iup-users mailing list >> Iup-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/iup-users >> > _______________________________________________ > Iup-users mailing list > Iup-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/iup-users >
_______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users