• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Core Apps forked on Github

Scheduled Pinned Locked Moved App Development
core apps
38 Posts 9 Posters 11.1k Views 4 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W Offline
      wgarcia @sverzegnassi
      last edited by wgarcia 19 May 2017, 11:12

      @sverzegnassi I first built the app, 1) cloned the git repository, 2) opened it as a project in the SDK, 3) followed the steps explained in : https://github.com/ubports/terminal-app to install dependencies and so on, 3) build the app using the option to build it for device, 4) published it and got a click package in the build directory, 5) transferred the app to my phone and run this from the command line in the phone: pkcon --allow-untrusted install-local com.ubuntu.terminal_0.7._armhf.click , it showed it was installed without any error.

      But then I coudn't find the app in the app scope, and using the methods described in my previous message I could not start the app either.

      S 1 Reply Last reply 19 May 2017, 11:49 Reply Quote 0
      • S Offline
        sverzegnassi @wgarcia
        last edited by sverzegnassi 19 May 2017, 11:49

        @wgarcia Thanks for the exhaustive reply, within the SDK you have 3-4 ways to install apps - I needed further informations. πŸ™‚

        Have you tried to trigger a "pull down to refresh" gesture in the application scope, in order to refresh the scope content? When you install apps from terminal, the scope doesn't get automatically refreshed.
        Otherwise, I'd suggest you to install "UT Tweak Tool" from the OpenStore, which performs all the steps automatically.

        W 1 Reply Last reply 19 May 2017, 12:01 Reply Quote 0
        • W Offline
          wgarcia @sverzegnassi
          last edited by 19 May 2017, 12:01

          @sverzegnassi Thanks, yes, I tried to refresh the App store and also to restart the device, to no avail. I have the UT Twek Tool installed, but why is it useful for for this problem?

          S 1 Reply Last reply 19 May 2017, 12:20 Reply Quote 0
          • S Offline
            sverzegnassi @wgarcia
            last edited by 19 May 2017, 12:20

            @wgarcia You can install click packages with UTTT (it's under the "System" tab).
            Unless there's something wrong with your device configuration or the package, it should just work since it performs all the relevant steps (at least, I released UTTT two years ago and I never got any problem).

            Forget what I said anyway, now I recall that after I leaved the terminal-app team, it received some contribution in order to converge to desktop platform. There might be a problem in the source code, let me check...

            1 Reply Last reply Reply Quote 0
            • S Offline
              sverzegnassi
              last edited by sverzegnassi 19 May 2017, 13:05

              @wgarcia Ok, I see a couple of problems now. I apologise for not checking earlier. πŸ™‚

              The version: "0.7."
              I guess that last dot is giving some trouble to the system, which can't properly register the application. This is something we need to fix after we've moved the core apps from launchpad.net to GitHub, since we can't invoke "bzr revno" anymore.
              Usually other core apps specifies a fallback string in case "bzr" is not available. I see such fallback is missing in terminal-app.

              Look for the following piece of code in ./CMakeLists.txt (should be at line 46)

              if(NOT BZR_REVNO)
                execute_process(
                  COMMAND bzr revno
                  OUTPUT_VARIABLE BZR_REVNO
                  WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
                  OUTPUT_STRIP_TRAILING_WHITESPACE
                )
              endif(NOT BZR_REVNO)
              

              And add the following:

              if(NOT BZR_REVNO)
                set(BZR_REVNO "latest")
              endif(NOT BZR_REVNO)
              

              After this change (and having disabled tests for convenience), I've been able to launch the app on my BQ.

              QML imports
              There's another problem that clearly Canonical engineers forgot to fix. They forgot the phones.
              The source code has been updated to use QtQuick 2.5 imports, which require Qt 5.5 to be installed on the system. Sadly, Ubuntu Touch is still on Qt 5.4, therefore the application can be launched, but it get stuck on the loading screen.

              We need to check if QtQuick 2.5 is really necessary and, in case, downgrade to Qt5.4. I don't exclude further issues anyway.

              W F 2 Replies Last reply 19 May 2017, 14:00 Reply Quote 0
              • M Offline
                Mitu
                last edited by 19 May 2017, 13:26

                It's probably because they meant the redesigned terminal to target the 16.04 release with the newer Qt.

                S 1 Reply Last reply 19 May 2017, 13:59 Reply Quote 0
                • S Offline
                  sverzegnassi @Mitu
                  last edited by sverzegnassi 19 May 2017, 13:59

                  @Mitu Sure, but it means to me that convergence, Click, and current phones support wasn't the focus for terminal-app since November, 2016. I know that terminal-app works on the phone without issues, but keeping phone requirements in sync was still desirable, and Ubuntu Personal images were much far from being stable and ready to be released. And there's no "legacy" branch for Ubuntu Vivid phone images either.
                  I respect Canonical developers, I had the honor to meet them and they are great people, but it seems to me that last days of the Ubuntu convergent platform weren't so happy πŸ™‚

                  1 Reply Last reply Reply Quote 1
                  • W Offline
                    wgarcia @sverzegnassi
                    last edited by 19 May 2017, 14:00

                    @sverzegnassi Thanks a lot, I will take a look to all this.

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      flohack @sverzegnassi
                      last edited by 20 May 2017, 07:32

                      @sverzegnassi How is it with backwards compatibility in Qt? Any issues if we would step up to the real latest version?

                      BR

                      My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                      S 1 Reply Last reply 20 May 2017, 09:38 Reply Quote 0
                      • S Offline
                        sverzegnassi @flohack
                        last edited by 20 May 2017, 09:38

                        @Flohack Well, I'm not worried by Qt itself: it's generally well-documented (property and method deprecations too), so anything can easily (in general) be set up to prevent issues.

                        The problem comes when we take in account UT-specific code, which makes usage of Qt private imports. I see, running 'grep' on my local folder where I keep all the UT code, that more than 10 components depend on them - including Unity8, the web browser, the Ubuntu UI Toolkit, the Ubuntu keyboard, and some Mir helper.

                        It means this software should be heavily tested in order to check if there's any regression. This is what Canonical used to do anytime they were moving to a newer version - IIRC they had to fix a few things when they moved to Xenial which uses Qt5.6.

                        A (partially) good news is that everything should have been already tested on Qt 5.6 and it should just work "out-of-the-box". Anyway I don't think there's any value in moving from the current patched version of Qt 5.4.x to another - as long as we stay on vivid, Qt 5.4 is not the problem.

                        I think this should be one of the main discussions after we've started to work on Xenial. Qt version, UITK, Unity8, Mir, and the package format are things extremely related each other. The only thing that I can say for sure is that it wouldn't be a problem if we were on Snaps, Flatpaks or Appimages, since they bundle a specific version of the required libraries... πŸ˜•

                        1 Reply Last reply Reply Quote 0
                        38 out of 38
                        • First post
                          38/38
                          Last post