<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi, Sam<br>
    <br>
    My understanding is that activities need to satisfy their own
    dependencies. This helps minimize the space taken by Sugar providing
    software for activities <br>
    not installed. Currently, it is difficult to install Sugar on an
    XO-1 with 1GB storage and not possible for an XO-1.5 with 2GB
    storage. <br>
    <br>
    ASLO needs to be supported. We certainly do not need to make
    activity bundles dependent on a distribution - setup.py is fine.<br>
    <br>
    Tony<br>
    <br>
    <div class="moz-cite-prefix">On 08/08/2016 08:30 AM, Sam Parkinson
      wrote:<br>
    </div>
    <blockquote cite="mid:1470637843.1973.0@smtp.gmail.com" type="cite">Statically
      including libraries in the XO files is yuck, but I don't think we
      have another way to do it.  I believe that Physics activity also
      statically includes libraries - maybe see how it works there?
      <div><br>
      </div>
      <div>Side note:  It would be so much better if Sugar activities
        could just declare dependencies.  Just say something like
        "bindeps=fontmake".  If we just made them all into RPMs/DEBs and
        had a AppStream based store interface ... that would be nice.
         ASLOv2v2 is just something automatically building rpms and
        debs?</div>
      <div><br>
      </div>
      <div>Thanks,</div>
      <div>Sam</div>
      <div><br>
        On Mon, Aug 8, 2016 at 5:02 AM, Yash Agarwal
        <a class="moz-txt-link-rfc2396E" href="mailto:agrwal.ysh94@gmail.com"><agrwal.ysh94@gmail.com></a> wrote:<br>
        <blockquote type="cite">
          <div dir="ltr">Hello,
            <div>The Issue is Documented <a moz-do-not-send="true"
                href="https://github.com/sugarlabs/edit-fonts-activity/issues/34">here</a></div>
            <div>but I'll paste the relevant part here</div>
            <div>
              <div>I'm trying to use <a moz-do-not-send="true"
                  href="https://github.com/googlei18n/fontmake">fontmake</a> in
                my sugar activity, It works fine on my system but in
                sugar it requires a dependency which I don't know how to
                add</div>
              <div>this is the error I'm getting</div>
              <div>```</div>
              <div>bash-4.2$ python -m fontmake -u
                ../test_fonts/sample.ufo</div>
              <div>Traceback (most recent call last):</div>
              <div>  File "/usr/lib64/python2.7/runpy.py", line 162, in
                _run_module_as_main</div>
              <div>    "__main__", fname, loader, pkg_name)</div>
              <div>  File "/usr/lib64/python2.7/runpy.py", line 72, in
                _run_code</div>
              <div>    exec code in run_globals</div>
              <div>  File
                "/home/broot/sugar-build/activities/edit-fonts-activity/third_party/fontmake/__main__.py",
                line 17, in <module></div>
              <div>    from fontmake.font_project import FontProject</div>
              <div>  File "fontmake/font_project.py", line 25, in
                <module></div>
              <div>    from booleanOperations import
                BooleanOperationManager</div>
              <div>  File "booleanOperations/__init__.py", line 2, in
                <module></div>
              <div>    from .booleanOperationManager import
                BooleanOperationManager</div>
              <div>  File
                "booleanOperations/booleanOperationManager.py", line 3,
                in <module></div>
              <div>    from . import pyClipper</div>
              <div>ImportError: /lib64/libstdc++.so.6: version
                `GLIBCXX_3.4.21' not found (required by
                booleanOperations/pyClipper.so)</div>
              <div>```</div>
            </div>
            <div><br>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Sugar-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sugarlabs.org/listinfo/sugar-devel">http://lists.sugarlabs.org/listinfo/sugar-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>