Hello Tom Looks very interesting. On Fri, Jun 1, 2012 at 12:34 PM, <tpgww@xxxxxxxxxxx> wrote: > It's possible that something about emelFM2's operation really depends on > selected options and in a way that would facilitate debugging, though I'm yet > to be convinced that in practice, this is so. > > Since -v|--version is taken already, added, for now at least, -o|--original > Unfortunately r2550 fails to build here: >make WITH_KERNELFAM=1 NEW_COMMAND=1 EDITOR_SPELLCHECK=1 WITH_LATEST=1 >WITH_GTK2=1 WITH_THUMBS=1 WITH_THUMBLIB=0 WITH_TRACKER=1 WITH_ACL=1 >WITH_POLKIT=1 WITH_UDISKS=1 WITH_OUTPUTSTYLES=1 DEBUG=1 (29348) generating 'objs/src/config/e2_option.deps' generating 'objs/src/config/e2_cl_option.deps' generating 'objs/src/config/e2_cache.deps' generating 'objs/src/e2_main.deps' generating 'objs/src/e2_fileview.deps' compiling 'src/e2_fileview.c' compiling 'src/e2_main.c' compiling 'src/config/e2_cache.c' compiling 'src/config/e2_cl_option.c' src/config/e2_cl_option.c: In function ‘_e2_cl_option_print_build’: src/config/e2_cl_option.c:52: error: ‘BUILDOPTS’ undeclared (first use in this function) src/config/e2_cl_option.c:52: error: (Each undeclared identifier is reported only once src/config/e2_cl_option.c:52: error: for each function it appears in.) make: *** [objs/src/config/e2_cl_option.o] Error 1 >make WITH_KERNELFAM=1 NEW_COMMAND=1 ... OUTPUTSTYLES=1 DEBUG=1 (29348) >returned '2' Liviu >> Second, add a '--buildopts' CLI option. For any given binary, this >> option would be able to provide the user with the list of options >> originally used to build the app. This can be useful when you have >> several versions of R spread around---one installed via the package >> manager, and considering that I'm also a packager, then I can have >> several versions using the same prefix but built with different >> options, making it hard to know which one is installed at any given >> moment; and another one built from source---or when, as a user, you >> simply don't know how the binary was built since you installed it from >> your distro. In any case this info is useful when reporting bugs, and >> I'm systematically unsure of what were the compile-time options of my >> current build. Similar info is provided in Midori's [2] >> 'about:version' page. > > Added -b|--build > >> >> And third, add a '--builddeps' CLI option. For any given binary, this >> option would report the actual libraries used at compilation time. >> Again, potentially useful for debugging and quickly understanding the >> differences between two systems. This info is provided in Midori's >> 'about:version' page, but even better: it contains the info on >> build-time and run-time libraries and versions. Below is an example of >> such output. > > The only direct and hard runtime dependency is libgtk, and the build-version > of that is already reported. > > Regards > Tom > > > -- > Users can unsubscribe from the list by sending email to > emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by > logging into the web interface. -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail -- Users can unsubscribe from the list by sending email to emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by logging into the web interface.