Comments (9)
I think I found the problem, I'll check if it works now, and if it does I'll commit and push it on github
EDIT:
It's not working...
from mibimdeditor.
I set this depends:
depends=('gtk4' 'gtksourceview5' 'libadwaita' 'webkitgtk-6.0') makedepends=('cmake' 'meson' 'vala')
Where did you added them? Does it works if you try to compile it like it is on the main branch, by running the following commands?
$ meson setup bin
$ cd bin
$ meson compile
# meson install
from mibimdeditor.
Yes. The meson setup bin
command works correctly but then the meson compile
command is the one that gave me the error I mentioned above, but you must have made some changes and now it works without problems.
The list of dependencies was to let you know that I have installed those dependencies in a clean installation of the system.
Now what fails me is the meson install
(I run it as follows to install it in another directory meson install -C build --destdir pkg
):
$ meson install -C build --destdir pkg
ninja: Entering directory `/home/vagrant/build'
ninja: no work to do.
Installing data/io.github.mibi88.MibiMdEditor.desktop to /home/vagrant/build/pkg/usr/share/applications
Installing data/io.github.mibi88.MibiMdEditor.appdata.xml to /home/vagrant/build/pkg/usr/share/appdata
Installing src/mibimdeditor to /home/vagrant/build/pkg/usr/bin
Installing po/fr/LC_MESSAGES/MibiMdEditor.mo to /home/vagrant/build/pkg/usr/share/locale/fr/LC_MESSAGES
Installing po/de/LC_MESSAGES/MibiMdEditor.mo to /home/vagrant/build/pkg/usr/share/locale/de/LC_MESSAGES
Installing /home/vagrant/MibiMdEditor/data/io.github.mibi88.MibiMdEditor.gschema.xml to /home/vagrant/build/pkg/usr/share/glib-2.0/schemas
Installing /home/vagrant/MibiMdEditor/data/icons/hicolor/scalable/apps/io.github.mibi88.MibiMdEditor.svg to /home/vagrant/build/pkg/usr/share/icons/hicolor/scalable/apps
Installing /home/vagrant/MibiMdEditor/data/icons/hicolor/symbolic/apps/io.github.mibi88.MibiMdEditor-symbolic.svg to /home/vagrant/build/pkg/usr/share/icons/hicolor/symbolic/apps
Running custom install script '/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas'
Failed to create file “/usr/share/glib-2.0/schemas/gschemas.compiled.VGZD91”: Permission denied
FAILED: install script '/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas' exit code 1, stopped
Is it possible that it is forced not to use destdir
in the schema creation script?
from mibimdeditor.
Failed to create file “/usr/share/glib-2.0/schemas/gschemas.compiled.VGZD91”: Permission denied
You need to be root to install it, because you didn't had the permission to install files in /usr/share
.
When I wrote the commands in my previous comment I wrote # meson install
because you need to be root.
Try $ sudo meson install -C build --destdir pkg
.
from mibimdeditor.
You need to be root to install it, because you didn't had the permission to install files in
/usr/share
.
So if you do it this way it is impossible to package. Note that package systems work in temporary directories (hence the use of destdir
) when creating packages.
from mibimdeditor.
I think the problem is that I'm using the prefix
option in some paths, but I really have no idea for the moment how to fix that. I don't have a lot of time this week, and I want to make MibiMdEditor translatable, so I'll see how I can fix it later.
If you want you can also try to fix it, and make a pull request if you fixed it.
from mibimdeditor.
If you want you can also try to fix it, and make a pull request if you fixed it.
Sorry, but I don't have enough meson/gtk knowledge to send you a merge request.
No problem, as soon as you can take a look at it I'll make you the Arch Linux package.
from mibimdeditor.
No problem, as soon as you can take a look at it I'll make you the Arch Linux package.
Thanks!
from mibimdeditor.
In case it helps, in other packages I have built using meson says this when them goes to install:
Skipping custom install script because DESTDIR is set '/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas'
Skipping custom install script because DESTDIR is set '/usr/bin/gtk4-update-icon-cache -q -t -f /usr/share/icons/hicolor'
Skipping custom install script because DESTDIR is set '/usr/bin/update-desktop-database -q /usr/share/applications'
Perhaps this configuration file has the answer?
https://github.com/Nokse22/ascii-draw/blob/master/data/meson.build
from mibimdeditor.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mibimdeditor.