Git Product home page Git Product logo

Comments (6)

martinkg avatar martinkg commented on August 22, 2024

looks like libadwaita-1.1 is necessary

$ rpm -qa |grep libadwaita
libadwaita-doc-1.0.0-0.6.alpha.4.fc35.noarch
libadwaita-1.1rc-1.fc35.x86_64
libadwaita-devel-1.1
rc-1.fc35.x86_64
libadwaita-demo-1.1~rc-1.fc35.noarch

from extension-manager.

mjakeman avatar mjakeman commented on August 22, 2024

Odd... We definitely don't need libadwaita 1.1

Taking a look at the flathub manifest, we're using a git snapshot of v1.0.1 for that build.

Can you try removing that can-navigate-back property in exm-window.blp and build again? That was changed between pre-1.0 and the proper release of libadwaita so perhaps that's the culprit.

from extension-manager.

martinkg avatar martinkg commented on August 22, 2024

removed the deps in this 2 files:

sed -i -e 's|can-navigate-back: true;||' src/exm-window.blp
sed -i -e '/libadwaita-1/d' src/meson.build

but the compilation fails with this error message:

Found ninja-1.10.2 at /usr/bin/ninja
+ /usr/bin/meson compile -C redhat-linux-build -j 2 --verbose
ninja: Entering directory `redhat-linux-build'
[1/26] /usr/bin/meson --internal msgfmthelper ../data/com.mattjakeman.ExtensionManager.desktop.in data/com.mattjakeman.ExtensionManager.desktop desktop ../data/../po
[2/26] /usr/bin/meson --internal msgfmthelper ../data/com.mattjakeman.ExtensionManager.appdata.xml.in data/com.mattjakeman.ExtensionManager.appdata.xml xml ../data/../po
[3/26] /usr/bin/blueprint-compiler batch-compile src/. ../src ../src/gtk/help-overlay.blp ../src/exm-window.blp ../src/exm-installed-page.blp ../src/exm-browse-page.blp ../src/exm-extension-row.blp ../src/exm-search-row.blp ../src/exm-detail-view.blp ../src/exm-screenshot.blp
FAILED: src 
/usr/bin/blueprint-compiler batch-compile src/. ../src ../src/gtk/help-overlay.blp ../src/exm-window.blp ../src/exm-installed-page.blp ../src/exm-browse-page.blp ../src/exm-extension-row.blp ../src/exm-search-row.blp ../src/exm-detail-view.blp ../src/exm-screenshot.blp
error: Namespace Adw-1 could not be found
at ../src/exm-window.blp line 2 column 7:
   2 |using Adw 1;
     |      ^

error: Namespace Adw was not imported
at ../src/exm-window.blp line 4 column 22:
   4 |template ExmWindow : Adw.ApplicationWindow {
     |                     ^
hint: Did you mean `Gtk`?

error: Namespace Adw was not imported
at ../src/exm-window.blp line 8 column 3:
   8 |  Adw.Leaflet leaflet {
     |  ^
hint: Did you mean `Gtk`?

error: Namespace Adw was not imported
at ../src/exm-window.blp line 15 column 5:
  15 |  		Adw.HeaderBar header_bar {
     |    ^
hint: Did you mean `Gtk`?

error: Namespace Adw was not imported
at ../src/exm-window.blp line 19 column 5:
  19 |				Adw.ViewSwitcherTitle title {
     |    ^
hint: Did you mean `Gtk`?

error: Namespace Adw was not imported
at ../src/exm-window.blp line 36 column 5:
  36 |				Adw.ViewStack view_stack {
     |    ^
hint: Did you mean `Gtk`?

error: Namespace Adw was not imported
at ../src/exm-window.blp line 40 column 7:
  40 |					 Adw.ViewStackPage {
     |      ^
hint: Did you mean `Gtk`?

error: Namespace Adw was not imported
at ../src/exm-window.blp line 48 column 6:
  48 |					Adw.ViewStackPage {
     |     ^
hint: Did you mean `Gtk`?

error: Namespace Adw was not imported
at ../src/exm-window.blp line 57 column 5:
  57 |				Adw.ViewSwitcherBar {
     |    ^
hint: Did you mean `Gtk`?

9 errors
ninja: build stopped: subcommand failed.

from extension-manager.

mjakeman avatar mjakeman commented on August 22, 2024

Is this still an issue as of Extension Manager 0.3.1?

from extension-manager.

Mikesgits avatar Mikesgits commented on August 22, 2024

I just tried downloading it as a flathub on F35 and it may be because my spin but it definitely didn't work correctly and gve me failed CLI outputs and incompatible GUI options.

from extension-manager.

mjakeman avatar mjakeman commented on August 22, 2024

This shouldn't be a problem now that we're targeting libadwaita 1.2

from extension-manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.