bilelmoussaoui / nautilus-folder-icons

Change your nautilus directories icons easily!
GNU General Public License v3.0
102 stars 11 forks source link

Build is not working on Fedora 30 #32

Closed erdmann040 closed 5 years ago

erdmann040 commented 5 years ago

The last step of the Installation did'nt work on my System (Fedora Workstation 30, Gnome Spin). Here is error output:

$ sudo ninja -C builddir install
ninja: Entering directory `builddir'
[1/2] Generating com.github.bilelmoussaoui.nautilus-folder-icons.metainfo.xml_data_merge with a custom command.
FAILED: data/com.github.bilelmoussaoui.nautilus-folder-icons.metainfo.xml 
/usr/bin/meson --internal msgfmthelper ../data/com.github.bilelmoussaoui.nautilus-folder-icons.metainfo.xml.in data/com.github.bilelmoussaoui.nautilus-folder-icons.metainfo.xml xml /home/jan/nautilus-folder-icons/po
msgfmt: cannot locate ITS rules for ../data/com.github.bilelmoussaoui.nautilus-folder-icons.metainfo.xml.in
ninja: build stopped: subcommand failed.
bilelmoussaoui commented 5 years ago

You need appstream-glib. Please read the README first https://github.com/bilelmoussaoui/nautilus-folder-icons#building-dependencies

erdmann040 commented 5 years ago

Thank You for your fast reply. I've now installed a package libappstrem-glib, but the result is still the same.

Here is what I did in total:

  1. Install requirements
    [janusa@linux nautilus-folder-icons]$ sudo dnf install meson ninja-build libappstream-glib
    Docker CE Stable - x86_64                                                                                                        1.9 kB/s | 577  B     00:00    
    Failed to synchronize cache for repo 'docker-ce-stable'
    Ignoring repositories: docker-ce-stable
    Last metadata expiration check: 0:03:18 ago on Wed 12 Jun 2019 03:13:08 PM CEST.
    Package meson-0.50.1-1.module_f30+3966+49c83da1.noarch is already installed.
    Package ninja-build-1.9.0-1.module_f30+2977+5b084e29.x86_64 is already installed.
    Package libappstream-glib-0.7.15-1.fc30.x86_64 is already installed.
    Dependencies resolved.
    Nothing to do.
    Complete!
  2. Clone the repository
    [janusa@linux nautilus-folder-icons]$ git clone https://github.com/bilelmoussaoui/nautilus-folder-icons
    Cloning into 'nautilus-folder-icons'...
    remote: Enumerating objects: 38, done.
    remote: Counting objects: 100% (38/38), done.
    remote: Compressing objects: 100% (27/27), done.
    remote: Total 508 (delta 20), reused 14 (delta 11), pack-reused 470
    Receiving objects: 100% (508/508), 176.35 KiB | 907.00 KiB/s, done.
    Resolving deltas: 100% (232/232), done.
  3. Build
    [janusa@linux nautilus-folder-icons]$ cd nautilus-folder-icons
    [janusa@linux nautilus-folder-icons]$ meson builddir --prefix=/usr -Dfile_manager=nautilus
    The Meson build system
    Version: 0.50.1
    Source dir: /home/janusa/nautilus-folder-icons/nautilus-folder-icons
    Build dir: /home/janusa/nautilus-folder-icons/nautilus-folder-icons/builddir
    Build type: native build
    Project name: com.github.bilelmoussaoui.nautilus-folder-icons
    Project version: 3.0.1
    Build machine cpu family: x86_64
    Build machine cpu: x86_64
    Message: File Manager: Nautilus
    Program appstream-util found: YES (/usr/bin/appstream-util)
    Program python3 found: YES (/usr/bin/python3)
    Configuring folder-icons.py using configuration
    Build targets in project: 4
    Found ninja-1.9.0 at /usr/bin/ninja

    Fine so far, but then the ninja build did not work:

[janusa@linux nautilus-folder-icons]$ sudo ninja -C builddir install
ninja: Entering directory `builddir'
[1/2] Generating com.github.bilelmoussaoui.nautilus-folder-icons.metainfo.xml_data_merge with a custom command.
FAILED: data/com.github.bilelmoussaoui.nautilus-folder-icons.metainfo.xml 
/usr/bin/meson --internal msgfmthelper ../data/com.github.bilelmoussaoui.nautilus-folder-icons.metainfo.xml.in data/com.github.bilelmoussaoui.nautilus-folder-icons.metainfo.xml xml /home/janusa/nautilus-folder-icons/nautilus-folder-icons/po
msgfmt: cannot locate ITS rules for ../data/com.github.bilelmoussaoui.nautilus-folder-icons.metainfo.xml.in
ninja: build stopped: subcommand failed.