Re: [E-devel] EFL Profiling Viewer 1.1 released

2018-03-28 Thread William L. Thomson Jr.
On Wed, 28 Mar 2018 11:05:49 -0400
"William L. Thomson Jr."  wrote:
>
> cmake
> -C 
> /tmp/portage/dev-util/efl-profiler-viewer-1.1/work/efl-profiler-viewer-1.1_build/gentoo_common_config.cmake
> -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_PREFIX=/

It was my fault. I was double setting CMAKE_INSTALL_PREFIX
Removing the duplicate fixes the issue.
https://github.com/Obsidian-StudiosInc/os-xtoo/commit/84f88e1cb03a507ea97cfd87ac051618a62510d3

It was moot for most EFL cmake stuff, but for some reason caused
problems for efl-profiler-viewer. It made no difference for Ninja, that
still fails on PO. Ninja is moot, would like to use it, but doesn't
really matter how its built.

Finally able to update :)
https://github.com/Obsidian-StudiosInc/os-xtoo/tree/master/dev-util/efl-profiler-viewer

Thanks!

-- 
William L. Thomson Jr.


pgpJ91z3IUN_7.pgp
Description: OpenPGP digital signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] EFL Profiling Viewer 1.1 released

2018-03-28 Thread William L. Thomson Jr.
Thanks for the reply

On Wed, 28 Mar 2018 08:46:51 +0200
Jérémy Zurcher  wrote:

> Hi,
> 
> what is the value of your env var $DESTDIR ?
> what is the value of -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX when you
> invoke cmake ?
> 
> it's all about these
> my cmake_install.cmake files are full of (PREFIX=/opt/efl)
> "$ENV{DESTDIR}/opt/efl/bin/efl_profiling_viewer"
> "$ENV{DESTDIR}/opt/efl/lib/libefl_profiler.so"


All standard Gentoo values. It was fine for 1.0, but changed for 1.1

cmake
-C 
/tmp/portage/dev-util/efl-profiler-viewer-1.1/work/efl-profiler-viewer-1.1_build/gentoo_common_config.cmake
-G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_PREFIX=/
-DCMAKE_BUILD_TYPE=release -DCMAKE_DOC=no -DCMAKE_NLS=yes
-DCMAKE_STATIC=no -DCMAKE_BUILD_TYPE=Gentoo
-DCMAKE_USER_MAKE_RULES_OVERRIDE=/tmp/portage/dev-util/efl-profiler-viewer-1.1/work/efl-profiler-viewer-1.1_build/gentoo_rules.cmake
-DCMAKE_TOOLCHAIN_FILE=/tmp/portage/dev-util/efl-profiler-viewer-1.1/work/efl-profiler-viewer-1.1_build/gentoo_toolchain.cmake
  /tmp/portage/dev-util/efl-profiler-viewer-1.1/work/v1.1

-- 
William L. Thomson Jr.


pgp2bpA59cB2C.pgp
Description: OpenPGP digital signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] EFL Profiling Viewer 1.1 released

2018-03-28 Thread Jérémy Zurcher
Hi,

what is the value of your env var $DESTDIR ?
what is the value of -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX when you invoke cmake ?

it's all about these
my cmake_install.cmake files are full of (PREFIX=/opt/efl)
"$ENV{DESTDIR}/opt/efl/bin/efl_profiling_viewer"
"$ENV{DESTDIR}/opt/efl/lib/libefl_profiler.so"

On Tuesday 27 March 2018  19:10, William L. Thomson Jr. wrote :
> Tried this again using make instead of ninja, the default cmake
> generator. Which had no problems with generated the pot file so must
> have been ninja specific. But I ran into install related issues.
> 
> l-profiler-viewer-1.1_build"
> [  3%] Generating pot
> [  7%] Built target time_interval_edj
> [ 10%] Built target create_edj
> [ 10%] Built target update_pot
> [ 14%] Generating po
> Updating po-files...
> en.po
>  done.
> ru.po
>  done.
> uk.po
>  done.
> [ 14%] Built target update_po
> [ 17%] Generating mo
> Generation mo-files...
> en.mo
> ru.mo
> uk.mo
> [ 17%] Built target generate_mo
> [ 85%] Built target efl_profiler
> [ 92%] Built target efl_profiler_time_interval
> [100%] Built target efl_profiling_viewer
> Install the project...
> -- Install configuration: "Gentoo"
> CMake Error at cmake_install.cmake:49 (file):
>   file called with network path DESTINATION.  This does not make sense
> when using DESTDIR.  Specify local absolute path or remove DESTDIR
> environment variable.
> 
>   DESTINATION=
> 
>   //lib/cmake/efl_profiler
> 
> make: *** [Makefile:86: install] Error 1
> 
> 
> On Fri, 22 Dec 2017 14:42:54 -0500
> "William L. Thomson Jr."  wrote:
> 
> > Ran into a build issue, maybe ninja specific not sure. I switched all
> > E cmake based ebuilds over to ninja generator from autotools. Cmake
> > supports both autotools/make and ninja. Thus far I have yet to see any
> > build issues specific to ninja. Though I suspect this maybe one.
> > 
> > ninja: error:
> > '/tmp/portage/dev-util/efl-profiler-viewer-1.1/work/v1.1/po/efl_profiler.pot',
> > needed by 'po/po', missing and no known rule to make it
> > 
> > I know meson has means to generate an initial pot file but I do not
> > believe cmake has such feature.
> > http://mesonbuild.com/Localisation.html
> > 
> > Aside from that one aspect I much prefer cmake to meson for po file
> > management. Though meson can update PO files it does not do that
> > during every build you have to run a target for that, same with the
> > main pot file, pros and cons.
> > 
> 
> 
> 
> -- 
> William L. Thomson Jr.



> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot

> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--- Hell'O from Yverdoom

Jérémy (jeyzu)

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] EFL Profiling Viewer 1.1 released

2018-03-27 Thread William L. Thomson Jr.
Tried this again using make instead of ninja, the default cmake
generator. Which had no problems with generated the pot file so must
have been ninja specific. But I ran into install related issues.

l-profiler-viewer-1.1_build"
[  3%] Generating pot
[  7%] Built target time_interval_edj
[ 10%] Built target create_edj
[ 10%] Built target update_pot
[ 14%] Generating po
Updating po-files...
en.po
 done.
ru.po
 done.
uk.po
 done.
[ 14%] Built target update_po
[ 17%] Generating mo
Generation mo-files...
en.mo
ru.mo
uk.mo
[ 17%] Built target generate_mo
[ 85%] Built target efl_profiler
[ 92%] Built target efl_profiler_time_interval
[100%] Built target efl_profiling_viewer
Install the project...
-- Install configuration: "Gentoo"
CMake Error at cmake_install.cmake:49 (file):
  file called with network path DESTINATION.  This does not make sense
when using DESTDIR.  Specify local absolute path or remove DESTDIR
environment variable.

  DESTINATION=

  //lib/cmake/efl_profiler

make: *** [Makefile:86: install] Error 1


On Fri, 22 Dec 2017 14:42:54 -0500
"William L. Thomson Jr."  wrote:

> Ran into a build issue, maybe ninja specific not sure. I switched all
> E cmake based ebuilds over to ninja generator from autotools. Cmake
> supports both autotools/make and ninja. Thus far I have yet to see any
> build issues specific to ninja. Though I suspect this maybe one.
> 
> ninja: error:
> '/tmp/portage/dev-util/efl-profiler-viewer-1.1/work/v1.1/po/efl_profiler.pot',
> needed by 'po/po', missing and no known rule to make it
> 
> I know meson has means to generate an initial pot file but I do not
> believe cmake has such feature.
> http://mesonbuild.com/Localisation.html
> 
> Aside from that one aspect I much prefer cmake to meson for po file
> management. Though meson can update PO files it does not do that
> during every build you have to run a target for that, same with the
> main pot file, pros and cons.
> 



-- 
William L. Thomson Jr.


pgp5DjvNrrQKb.pgp
Description: OpenPGP digital signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] EFL Profiling Viewer 1.1 released

2017-12-26 Thread William L. Thomson Jr.
On Tue, 26 Dec 2017 12:19:25 -0500
"William L. Thomson Jr."  wrote:

> On Tue, 26 Dec 2017 12:09:41 -0500
> "William L. Thomson Jr."  wrote:
> 
> > cmake -G Ninja
> > ninja build  
> 
> cmake
> -C 
> /tmp/portage/dev-util/efl-profiler-viewer-1.1/work/efl-profiler-viewer-1.1_build/gentoo_common_config.cmake
> -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_PREFIX=/
> -DCMAKE_BUILD_TYPE= -DCMAKE_DOC=no -DCMAKE_NLS=yes -DCMAKE_STATIC=no
> -DCMAKE_BUILD_TYPE=Gentoo
> -DCMAKE_USER_MAKE_RULES_OVERRIDE=/tmp/portage/dev-util/efl-profiler-viewer-1.1/work/efl-profiler-viewer-1.1_build/gentoo_rules.cmake
> -DCMAKE_TOOLCHAIN_FILE=/tmp/portage/dev-util/efl-profiler-viewer-1.1/work/efl-profiler-viewer-1.1_build/gentoo_toolchain.cmake
>   /tmp/portage/dev-util/efl-profiler-viewer-1.1/work/v1.1

> ninja -v -j3 -l0
> ninja: error:
> '/tmp/portage/dev-util/efl-profiler-viewer-1.1/work/v1.1/po/efl_profiler.pot',
> needed by 'po/po', missing and no known rule to make it

I assume Makefile generates that POT file I do not see it in repo.
Pretty sure you need to create a POT file. Or for some reason Ninja is
failing there if Makefile does not. That maybe a CMake ninja generator
bug.
https://git.enlightenment.org/devs/nikawhite/efl_profiler_viewer.git/tree/po

I have one for ecrire and I haven't such issues. This was the first
time I ran into any issue using Ninja generator with CMake.
https://github.com/Obsidian-StudiosInc/ecrire/blob/master/po/ecrire.pot
https://github.com/Obsidian-StudiosInc/ecrire/tree/master/po

I do not believe CMake provides means to generate a POT file. I assume
something is being done abnormally in build. I need to look at the CMake
files in efl-profiling-viewer. I took a brief look and what I saw was
foreign to me. Thus mentioning the issue vs a patch to fix.

-- 
William L. Thomson Jr.


pgpjQagSBy3f3.pgp
Description: OpenPGP digital signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] EFL Profiling Viewer 1.1 released

2017-12-26 Thread William L. Thomson Jr.
On Tue, 26 Dec 2017 12:09:41 -0500
"William L. Thomson Jr."  wrote:

> On Tue, 26 Dec 2017 12:03:30 +0200
> Mykyta Biliavskyi  wrote:

> > If there are exists any issues with current cmake realisation - you
> > are welcome for a report this.  
> 
> This is an issue with the current build system. I assume it builds
> fine using the default Makefiles generator. I need to try that.
...
> cmake -G Ninja
> ninja build

Full build output

cmake
-C 
/tmp/portage/dev-util/efl-profiler-viewer-1.1/work/efl-profiler-viewer-1.1_build/gentoo_common_config.cmake
-G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_PREFIX=/
-DCMAKE_BUILD_TYPE= -DCMAKE_DOC=no -DCMAKE_NLS=yes -DCMAKE_STATIC=no
-DCMAKE_BUILD_TYPE=Gentoo
-DCMAKE_USER_MAKE_RULES_OVERRIDE=/tmp/portage/dev-util/efl-profiler-viewer-1.1/work/efl-profiler-viewer-1.1_build/gentoo_rules.cmake
-DCMAKE_TOOLCHAIN_FILE=/tmp/portage/dev-util/efl-profiler-viewer-1.1/work/efl-profiler-viewer-1.1_build/gentoo_toolchain.cmake
  /tmp/portage/dev-util/efl-profiler-viewer-1.1/work/v1.1
loading initial cache
file 
/tmp/portage/dev-util/efl-profiler-viewer-1.1/work/efl-profiler-viewer-1.1_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 7.2.0 -- The CXX compiler
identification is GNU 7.2.0 -- Check for working C
compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- Check for working C
compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works -- Detecting C
compiler ABI info -- Detecting C compiler ABI info - done -- Detecting
C compile features -- Detecting C compile features - done -- Check for
working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- Check for
working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works --
Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info -
done -- Detecting CXX compile features -- Detecting CXX compile
features - done -- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config
(found version "0.29.2") -- Found eina: /usr/lib64/libeina.so -- Found
eet: /usr/lib64/libeet.so -- Found eo: /usr/lib64/libeo.so -- Found
eolian: /usr/lib64/libeolian.so -- Found ecore: /usr/lib64/libecore.so
-- Found ecore_file: /usr/lib64/libecore_file.so -- Found
ecore_evas: /usr/lib64/libecore_evas.so -- Found
evas: /usr/lib64/libevas.so -- Found efl: /usr/lib64/libefl.so
-- Found efreet: /usr/lib64/libefreet.so
-- Found edje: /usr/lib64/libedje.so
-- Found elementary: /usr/lib64/libelementary.so
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1")
-- Found Intl: /usr/include
-- Looking for include file libintl.h
-- Looking for include file libintl.h - found
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

CMAKE_DOC
CMAKE_NLS
CMAKE_STATIC


-- Build files have been written
to: 
/tmp/portage/dev-util/efl-profiler-viewer-1.1/work/efl-profiler-viewer-1.1_build
>>> Working in BUILD_DIR:
>>> "/tmp/portage/dev-util/efl-profiler-viewer-1.1/work/efl-profiler-viewer-1.1_build"
ninja -v -j3 -l0
ninja: error:
'/tmp/portage/dev-util/efl-profiler-viewer-1.1/work/v1.1/po/efl_profiler.pot',
needed by 'po/po', missing and no known rule to make it

-- 
William L. Thomson Jr.


pgp0lWipli7nA.pgp
Description: OpenPGP digital signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] EFL Profiling Viewer 1.1 released

2017-12-26 Thread William L. Thomson Jr.
On Tue, 26 Dec 2017 12:03:30 +0200
Mykyta Biliavskyi  wrote:

> Hi,
> Actually I haven't any plans about moving this project to use meson
> and ninja build system.

I am not suggesting to move to meson from cmake.

> Maybe someone from E devs could help with
> thing that you are reported, because personally I didn't even try to
> setup meson build system.
> If there are exists any issues with current cmake realisation - you
> are welcome for a report this.

This is an issue with the current build system. I assume it builds fine
using the default Makefiles generator. I need to try that.

I cannot report issues directly on phab as my account was disabled[1].
My email was also banned from this list I must use another for this
post, and others.

cmake has generators. It can generate either a makefile/autotools or
ninja build. One reason I prefer cmake to meson and no need to switch
to meson.
https://cmake.org/cmake/help/v3.10/manual/cmake-generators.7.html
https://cmake.org/cmake/help/v3.10/generator/Ninja.html

By default cmake uses autotools/make. But you can switch generators for
any project using cmake.

cmake -G Ninja
ninja build

$ cmake --help
  -G   = Specify a build system generator.

The following generators are available on this platform:
  Unix Makefiles   = Generates standard UNIX makefiles.
  Ninja= Generates build.ninja files.
  Watcom WMake = Generates Watcom WMake makefiles.
  CodeBlocks - Ninja   = Generates CodeBlocks project files.
  CodeBlocks - Unix Makefiles  = Generates CodeBlocks project files.
  CodeLite - Ninja = Generates CodeLite project files.
  CodeLite - Unix Makefiles= Generates CodeLite project files.
  Sublime Text 2 - Ninja   = Generates Sublime Text 2 project files.
  Sublime Text 2 - Unix Makefiles
   = Generates Sublime Text 2 project files.
  Kate - Ninja = Generates Kate project files.
  Kate - Unix Makefiles= Generates Kate project files.
  Eclipse CDT4 - Ninja = Generates Eclipse CDT 4.0 project
files. Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project
files. KDevelop3= Generates KDevelop 3 project
files. KDevelop3 - Unix Makefiles   = Generates KDevelop 3 project
files.

1. https://phab.enlightenment.org/p/wltjr/

-- 
William L. Thomson Jr.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] EFL Profiling Viewer 1.1 released

2017-12-26 Thread Mykyta Biliavskyi
Hi,
Actually I haven't any plans about moving this project to use meson and
 ninja build system. Maybe someone from E devs could help with thing
that you are reported, because personally I didn't even try to setup
meson build system.
If there are exists any issues with current cmake realisation - you are
welcome for a report this.

NikaWhite
On Fri, 2017-12-22 at 14:42 -0500, William L. Thomson Jr. wrote:
> Ran into a build issue, maybe ninja specific not sure. I switched all
> E
> cmake based ebuilds over to ninja generator from autotools. Cmake
> supports both autotools/make and ninja. Thus far I have yet to see
> any
> build issues specific to ninja. Though I suspect this maybe one.
> 
> ninja: error:
> '/tmp/portage/dev-util/efl-profiler-viewer-
> 1.1/work/v1.1/po/efl_profiler.pot',
> needed by 'po/po', missing and no known rule to make it
> 
> I know meson has means to generate an initial pot file but I do not
> believe cmake has such feature.
> http://mesonbuild.com/Localisation.html
> 
> Aside from that one aspect I much prefer cmake to meson for po file
> management. Though meson can update PO files it does not do that
> during
> every build you have to run a target for that, same with the main pot
> file, pros and cons.
> 
> ---
> ---
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] EFL Profiling Viewer 1.1 released

2017-12-22 Thread William L. Thomson Jr.
Ran into a build issue, maybe ninja specific not sure. I switched all E
cmake based ebuilds over to ninja generator from autotools. Cmake
supports both autotools/make and ninja. Thus far I have yet to see any
build issues specific to ninja. Though I suspect this maybe one.

ninja: error:
'/tmp/portage/dev-util/efl-profiler-viewer-1.1/work/v1.1/po/efl_profiler.pot',
needed by 'po/po', missing and no known rule to make it

I know meson has means to generate an initial pot file but I do not
believe cmake has such feature.
http://mesonbuild.com/Localisation.html

Aside from that one aspect I much prefer cmake to meson for po file
management. Though meson can update PO files it does not do that during
every build you have to run a target for that, same with the main pot
file, pros and cons.

-- 
William L. Thomson Jr.


pgpDypTwng50k.pgp
Description: OpenPGP digital signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] EFL Profiling Viewer 1.1 released

2017-12-22 Thread Mykyta Biliavskyi
Hi enlightenment developers,

Many improvements are done due to last release.
Version 1.1 introduces faster data processing and redraw mechanisms.
The goal of this release is update the profiling viewer to be usable
during on-the-fly profiling. Updated Clouseau extension provide new UX
for make  the enlightenment applications workflow investigation more
convenient and effective.

Many thanks for all contributors.

Video:
https://phab.enlightenment.org/F2934395

Download:
https://git.enlightenment.org/devs/nikawhite/efl_profiler_viewer.git/sn
apshot/efl_profiler_viewer-1.1.tar.gz

Should this application be added here https://www.enlightenment.org/abo
ut ?
I think that repository need to be moved into Developer Tools section.

Description page here:
https://phab.enlightenment.org/w/projects/efl_profiling_viewer/

Source code available here:
https://git.enlightenment.org/devs/nikawhite/efl_profiler_viewer.git/

Project and dashboards for ideas and bugs locates here:
https://phab.enlightenment.org/project/profile/151/

HIGHLIGHTS
-
* Clouseau support improvements.
* Add Find feature.
* Speed up eina_log data processing.
* Faster redraw events.

Various fixes. For details look NEWS file.

NikaWhite

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel