Re: [E-devel] E SVN: ngc891 IN trunk/packaging/slackware: . enlightenment eyesight

2012-07-25 Thread David Seikel
On Tue, 24 Jul 2012 21:53:07 -0700 Enlightenment SVN
no-re...@enlightenment.org wrote:

 Log:
 packaging/slackware:
   
   - eeze mount doesn't fit well anymore with Slackware current and
 udisks backend seems to work pretty well now, so enable it by default.
   - eyesight doesn't build anymore without poppler and mupdf needs
 extra dependency, so disable it for now.
   - makes thing compile fater with make -j5.

Um, is this for general use, or specific to your build machine?  -j5
might actually slow things down for people with less than 4 cores.
It's generally better to actually detect the number of cores.

Make's -j option can also be memory bound, but in my experience EFL
does not have that problem.  In another unrelated project, using the
number of free GB instead of the number of cores plus one for the -j
option is better, as otherwise it slows down a lot when it starts
thrashing swap.

On the other hand, last time I experimented with make -j on EFL, it did
not make any measurable difference beyond 2 cores and 2GB.  Make -j3 to
make -j12 ran at about the same speeds.  Everything is so small it
barely gets a chance to do much good before it's already finished with
any one source file, plus the bulk of the time is spent doing non make
things.

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.


signature.asc
Description: PGP signature
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: ngc891 IN trunk/packaging/slackware: . enlightenment eyesight

2012-07-25 Thread Jérôme Pinot
On 07/25/12 00:03, Nick Hughart wrote:
 On Tue, 24 Jul 2012 21:53:07 -0700
 Enlightenment SVN no-re...@enlightenment.org wrote:
 
  Log:
  packaging/slackware:

- eeze mount doesn't fit well anymore with Slackware current and
  udisks backend seems to work pretty well now, so enable it by default.
 
 As a note about using udisks.  If policykit isn't setup to allow disks
 to be mounted by everyone without authentication, the mount will fail.

It works out of the box with the latest Slackware -current

 I'm working on an auth agent for policykit now so this won't be an
 issue soon enough.
 

-- 
Jérôme Pinot
http://ngc891.blogdns.net/


signature.asc
Description: Digital signature
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: ngc891 IN trunk/packaging/slackware: . enlightenment eyesight

2012-07-25 Thread Jérôme Pinot
On 07/25/12 18:04, David Seikel wrote:
 On Tue, 24 Jul 2012 21:53:07 -0700 Enlightenment SVN
 no-re...@enlightenment.org wrote:
 
  Log:
  packaging/slackware:

- eeze mount doesn't fit well anymore with Slackware current and
  udisks backend seems to work pretty well now, so enable it by default.
- eyesight doesn't build anymore without poppler and mupdf needs
  extra dependency, so disable it for now.
- makes thing compile fater with make -j5.
 
 Um, is this for general use, or specific to your build machine?  -j5
 might actually slow things down for people with less than 4 cores.
 It's generally better to actually detect the number of cores.

Well, this is svn, we can not talk about general use. It speeds up
compilation for me, which matters because I build everyday and make the
integration/test for SlackE17. Released script are different.

Anyway, Patrick Volkerding builds most of Slackware with a default of
make -j7 and that is what a common Slacker will find in an official
SlackBuild. They use to read the script before launching it :-)
I could have made it tunable, though, but it's actually faster and less
error prone to change a single digit in the functions file than passing
an env variable on the command line.

 Make's -j option can also be memory bound, but in my experience EFL
 does not have that problem.  In another unrelated project, using the
 number of free GB instead of the number of cores plus one for the -j
 option is better, as otherwise it slows down a lot when it starts
 thrashing swap.
 
 On the other hand, last time I experimented with make -j on EFL, it did
 not make any measurable difference beyond 2 cores and 2GB.  Make -j3 to
 make -j12 ran at about the same speeds.  Everything is so small it
 barely gets a chance to do much good before it's already finished with
 any one source file, plus the bulk of the time is spent doing non make
 things.
 
 -- 
 A big old stinking pile of genius that no one wants
 coz there are too many silver coated monkeys in the world.


-- 
Jérôme Pinot
http://ngc891.blogdns.net/


signature.asc
Description: Digital signature
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: ngc891 IN trunk/packaging/slackware: . enlightenment eyesight

2012-07-24 Thread Nick Hughart
On Tue, 24 Jul 2012 21:53:07 -0700
Enlightenment SVN no-re...@enlightenment.org wrote:

 Log:
 packaging/slackware:
   
   - eeze mount doesn't fit well anymore with Slackware current and
 udisks backend seems to work pretty well now, so enable it by default.

As a note about using udisks.  If policykit isn't setup to allow disks
to be mounted by everyone without authentication, the mount will fail.
I'm working on an auth agent for policykit now so this won't be an
issue soon enough.

   - eyesight doesn't build anymore without poppler and mupdf needs
 extra dependency, so disable it for now.
   - makes thing compile fater with make -j5.
   
 
 Author:   ngc891
 Date: 2012-07-24 21:53:06 -0700 (Tue, 24 Jul 2012)
 New Revision: 74369
 Trac: http://trac.enlightenment.org/e/changeset/74369
 
 Modified:
   trunk/packaging/slackware/enlightenment/enlightenment.SlackBuild
 trunk/packaging/slackware/eyesight/eyesight.SlackBuild
 trunk/packaging/slackware/functions 
 
 Modified:
 trunk/packaging/slackware/enlightenment/enlightenment.SlackBuild
 ===
 ---
 trunk/packaging/slackware/enlightenment/enlightenment.SlackBuild
 2012-07-25 02:53:40 UTC (rev 74368) +++
 trunk/packaging/slackware/enlightenment/enlightenment.SlackBuild
 2012-07-25 04:53:06 UTC (rev 74369) @@ -28,9 +28,10 @@
 --libdir=${LIBDIR} \ --sysconfdir=/etc \ --with-profile=${PC} \
 ---enable-mount-eeze \
 +--enable-device-udev \
 +--enable-mount-udisks \
  --disable-mount-hal \
 ---disable-mount-udisks \
 +--disable-mount-eeze \
  --build=${ARCH}-slackware-linux
  
  # Install
 
 Modified: trunk/packaging/slackware/eyesight/eyesight.SlackBuild
 ===
 --- trunk/packaging/slackware/eyesight/eyesight.SlackBuild
 2012-07-25 02:53:40 UTC (rev 74368) +++
 trunk/packaging/slackware/eyesight/eyesight.SlackBuild
 2012-07-25 04:53:06 UTC (rev 74369) @@ -19,16 +19,12 @@ ./autogen.sh \
  --prefix=/usr \
  --libdir=${LIBDIR} \
 ---with-pdf-backend=poppler \
  --build=${ARCH}-slackware-linux
  
  # Install
  make_install
  install_doc AUTHORS COPYING* LICENCE README TODO
  
 -# Add API doc
 -api_doc
 -
  # Build the package
  post_clean
  pack_slack
 
 Modified: trunk/packaging/slackware/functions
 ===
 --- trunk/packaging/slackware/functions   2012-07-25 02:53:40
 UTC (rev 74368) +++ trunk/packaging/slackware/functions
 2012-07-25 04:53:06 UTC (rev 74369) @@ -28,7 +28,7 @@
elif [ ${ARCH} = x86_64 ]; then
  SCFLAGS=${SCFLAGS} -fPIC ${DEBUG} ${ECFLAGS}
  LIBDIR=/usr/lib64
 -MFLAGS=-j3
 +MFLAGS=-j5
fi
  
if [ ! -d ${TMP} ]; then
 
 
 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond.
 Discussions will include endpoint security, mobile security and the
 latest in malware threats.
 http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___ enlightenment-svn
 mailing list enlightenment-...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
 


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel