Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. chris
    C
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    chris

    @chris

    6
    Reputation
    17
    Posts
    326
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    chris Follow

    Posts made by chris

    • RE: Build docviewer with libreoffice support for xenial

      Yesterday I tried the same for the amd64 clickable container (adding the dependendies manually and run in desktop mode), and got:
      [FILE] Extracting information from the file...
      [FILE] Requested file mime type: QVariant(QString, "application/vnd.oasis.opendocument.text")
      [FILE] Path parsed as: "/tmp/Documents/hello.odt"
      Loading document...
      LibreOffice binaries found at: "/home/chris/git/docviewer-app/build/tmp/lib/x86_64-linux-gnu/libreoffice/program"
      LibreOffice profile path: "file:///tmp/.config/com.ubuntu.docviewer/libreoffice/4"
      Bootstrapping exception 'component context fails to supply singleton com.sun.star.configuration.theDefaultProvider of type com.sun.star.lang.XMultiServiceFactory'
      /home/chris/git/docviewer-app/build/tmp/lib/x86_64-linux-gnu/bin/ubuntu-docviewer-app: line 5: 10 Segmentation fault (core dumped) ubuntu-docviewer-app

      posted in App Development
      C
      chris
    • RE: Build docviewer with libreoffice support for xenial

      Here some screenshots to the steps described in https://github.com/ubports/docviewer-app/pull/25

      If you uncomment the line "#INSTALL( DIRECTORY ${UPSTREAM_LIBS_DIR}/opt/libreoffice/lib/libreoffice/ DESTINATION ${DATA_DIR}lib/${ARCH_TRIPLET}/libreoffice )" in Click.cmake, you get a click package without libreoffice support (e.g. text and pdf files work).

      If you try to open an odt file, you get the message:
      0_1532933086926_817d8460-f142-4954-8189-316b7e3de512-image.png

      If you add (e.g. in a chroot environment with clickable --container-mode) libreoffice to the dependencies, and put the line " #INSTALL(DIRECTORY /usr/lib/libreoffice/ DESTINATION ${DATA_DIR}lib/${ARCH_TRIPLET}/libreoffice )" to the Click.cmake, you get an about 80MB click package.

      Again opening an example odt file, you now get:
      0_1532933299206_8fb63d12-50df-420a-a1eb-1f9e827182fd-image.png

      In the logviewer you see, for example:
      0_1532933418726_278dec83-9e5e-4966-a94e-bb0c58546ec9-image.png

      After adding the missing dependencies, at some point it was no longer complaining, the screen looked like:
      0_1532933511056_3b1ef51b-2db6-440a-a525-bd1897193ea8-image.png

      and the corresponding log:
      qml: Path of the document: /media/phablet/7873-B162/Documents/example.odt
      [FILE] Extracting information from the file...
      [FILE] Requested file mime type: QVariant(QString, "application/vnd.oasis.opendocument.text")
      [FILE] Path parsed as: "/media/phablet/7873-B162/Documents/example.odt"
      Loading document...
      LibreOffice binaries found at: "/opt/click.ubuntu.com/.click/users/phablet/com.ubuntu.docviewer/lib/arm-linux-gnueabihf/libreoffice/program"
      LibreOffice profile path: "file:///home/phablet/.config/com.ubuntu.docviewer/libreoffice/4"
      Document loaded successfully !

      But at that point docviewer crashed. I will not have much time currently to look into that in more detail, but at least that is where I got on Saturday...

      posted in App Development
      C
      chris
    • Build docviewer with libreoffice support for xenial

      while pdf files should already work, it was not yet possible to build a docviewer packages with libreoffice support.
      I wanted to post the steps I already did and the results

      posted in App Development
      C
      chris
    • RE: Updating apps to 16.04

      @doniks
      http://blog.bhdouglass.com/openstore/ubuntu-touch/2018/05/10/openstore-xenial-support.html

      posted in App Development
      C
      chris
    • RE: ubports.com at Alexa Traffic Global Rank

      oh it does even belong to amazon now, that was new to me...

      posted in General
      C
      chris
    • RE: ubports.com at Alexa Traffic Global Rank

      @3arn0wl no alexa.com has statistics for website visitors (popularity of websites), it has been around longer than Amazons Alexa 🙂

      posted in General
      C
      chris
    • RE: Ubuntu Touch Programming Course

      @talkless In my containers I replaced all urls by http://old-releases.ubuntu.com/ubuntu
      also the ports ones
      vivid vivid-security vivid-backports vivid-updates (main / multiverse / restricted / universe) are all included there

      posted in App Development
      C
      chris
    • build oxide

      I'm really new to this, so I have some questions about building oxide:

      • Which branch of https://github.com/ubports/oxide/ is currently used for 15.04 stable (OTA-2) ?
      • do I need to follow the build instructions here https://wiki.ubuntu.com/Oxide/BuildInstructions ?

      my goal would be investigating a bug by doing a modification of the oxide code, and test it on a device (Aquaris 4.5).

      posted in OS
      C
      chris
    • RE: OTA 3 suggestions: your wanted features

      +1 for updated browser ( possibly better webgl support on aquaris 4.5)
      +1 for nextcloud/owncloud sync of calendar and contacts)
      aethercast for aquaris 4.5 ( also possible in future OTA)

      posted in OS
      C
      chris
    • RE: indicator-rotation-lock

      just an update: my battery went empty and after I booted the phone the indicator was back again. (problem gone) Not sure what solved it, maybe the toggle of the rotation lock switch in system settings followed by a reboot...

      posted in Support
      C
      chris