rastersoft / panther_launcher

A fork from Slingshot Launcher, which doesn't depend on Gala, Granite or other libraries. It also has an applet for Gnome Flashback and an extension for Gnome Shell.
GNU General Public License v3.0
33 stars 6 forks source link

build failure #16

Open SolarAquarion opened 7 years ago

SolarAquarion commented 7 years ago

Scanning dependencies of target i18n [ 0%] Built target i18n [ 2%] Generating /home/solaraquarion/build/panther-launcher-git/src/panther-launcher-git/build/src/Config.c;Back end/App.c;Backend/AppSystem.c;Backend/DBusService.c;Backend/RelevancyService.c;Backend/SynapseSearch.c;Panther.c; PantherView.c;Pixels.c;Settings.c;Utils.c;Widgets/AppEntry.c;Widgets/CategoryView.c;Widgets/Grid.c;Widgets/Search Item.c;Widgets/SearchView.c;Widgets/Sidebar.c;Widgets/Switcher.c;synapse-core/common-actions.c;synapse-core/confi g-service.c;synapse-core/data-sink.c;synapse-core/dbus-service.c;synapse-core/desktop-file-service.c;synapse-core /match.c;synapse-core/plugin.c;synapse-core/query.c;synapse-core/relevancy-backend-zg.c;synapse-core/relevancy-se rvice.c;synapse-core/result-set.c;synapse-core/utils.c;synapse-core/volume-service.c;synapse-plugins/calculator-p lugin.c;synapse-plugins/command-plugin.c;synapse-plugins/desktop-file-plugin.c;synapse-plugins/system-managment.c /home/solaraquarion/build/panther-launcher-git/src/panther-launcher-git/src/Panther.vala:87.5-91.6: warning: the modifier static' is not applicable to constants /home/solaraquarion/build/panther-launcher-git/src/panther-launcher-git/src/synapse-core/desktop-file-service.val a:76.5-76.56: warning: the modifierstatic' is not applicable to constants private static const string GROUP = "Desktop Entry"; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/solaraquarion/build/panther-launcher-git/src/panther-launcher-git/src/synapse-plugins/desktop-file-plugin.v ala:141.7-141.63: error: Assignment: Cannot convert from Gee.HashMap<string,Synapse.DesktopFilePlugin.OpenWithAc tion>' toGee.Map<string,Gee.List>' mimetype_map = new Gee.HashMap<string, OpenWithAction> (); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/solaraquarion/build/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:312.27-312.52: warni ng: Gdk.Display.get_device_manager has been deprecated since 3.20. /home/solaraquarion/build/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:312.27-312.74: warni ng: Gdk.DeviceManager.get_client_pointer has been deprecated since 3.20 /home/solaraquarion/build/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:317.35-317.47: warning: Gdk.Device.grab has been deprecated since 3.20. /home/solaraquarion/build/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:322.34-322.45: warning: Gdk.Device.grab has been deprecated since 3.20. /home/solaraquarion/build/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:152.31-152.56: warning: Gdk.Screen.get_primary_monitor has been deprecated since 3.22 /home/solaraquarion/build/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:154.13-154.39: warning: Gdk.Screen.get_monitor_geometry has been deprecated since 3.22 /home/solaraquarion/build/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:210.31-210.56: warning: Gdk.Screen.get_primary_monitor has been deprecated since 3.22 /home/solaraquarion/build/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:212.13-212.39: warning: Gdk.Screen.get_monitor_geometry has been deprecated since 3.22 /home/solaraquarion/build/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:427.17-427.43: warning: Gdk.Screen.get_monitor_geometry has been deprecated since 3.22 /home/solaraquarion/build/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:427.46-427.71: warning: Gdk.Screen.get_primary_monitor has been deprecated since 3.22 /home/solaraquarion/build/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:447.34-447.71: warning: Gdk.Screen.get_monitor_workarea has been deprecated since 3.22 /home/solaraquarion/build/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:447.73-447.103: warning: Gdk.Screen.get_primary_monitor has been deprecated since 3.22 /home/solaraquarion/build/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:339.27-339.71: warning: Gdk.Display.get_device_manager has been deprecated since 3.20. /home/solaraquarion/build/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:339.27-339.93: warning: Gdk.DeviceManager.get_client_pointer has been deprecated since 3.20 Compilation failed: 1 error(s), 16 warning(s)

VersedXth commented 7 years ago

have the same issue

Scanning dependencies of target i18n [ 0%] Built target i18n [ 2%] Generating /home/samir/panther_launcher/install/src/Config.c;Backend/App.c;Backend/AppSystem.c;Backend/DBusService.c;Backend/RelevancyService.c;Backend/SynapseSearch.c;Panther.c;PantherView.c;Pixels.c;Settings.c;Utils.c;Widgets/AppEntry.c;Widgets/CategoryView.c;Widgets/Grid.c;Widgets/SearchItem.c;Widgets/SearchView.c;Widgets/Sidebar.c;Widgets/Switcher.c;synapse-core/common-actions.c;synapse-core/config-service.c;synapse-core/data-sink.c;synapse-core/dbus-service.c;synapse-core/desktop-file-service.c;synapse-core/match.c;synapse-core/plugin.c;synapse-core/query.c;synapse-core/relevancy-backend-zg.c;synapse-core/relevancy-service.c;synapse-core/result-set.c;synapse-core/utils.c;synapse-core/volume-service.c;synapse-plugins/calculator-plugin.c;synapse-plugins/command-plugin.c;synapse-plugins/desktop-file-plugin.c;synapse-plugins/system-managment.c /home/samir/panther_launcher/src/Panther.vala:87.5-91.6: warning: the modifier static' is not applicable to constants /home/samir/panther_launcher/src/synapse-core/desktop-file-service.vala:76.5-76.56: warning: the modifierstatic' is not applicable to constants private static const string GROUP = "Desktop Entry"; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/samir/panther_launcher/src/synapse-plugins/desktop-file-plugin.vala:141.7-141.63: error: Assignment: Cannot convert from Gee.HashMap<string,Synapse.DesktopFilePlugin.OpenWithAction>' toGee.Map<string,Gee.List>' mimetype_map = new Gee.HashMap<string, OpenWithAction> (); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /home/samir/panther_launcher/src/PantherView.vala:312.27-312.52: warning: Gdk.Display.get_device_manager has been deprecated since 3.20. /home/samir/panther_launcher/src/PantherView.vala:312.27-312.74: warning: Gdk.DeviceManager.get_client_pointer has been deprecated since 3.20 /home/samir/panther_launcher/src/PantherView.vala:317.35-317.47: warning: Gdk.Device.grab has been deprecated since 3.20. /home/samir/panther_launcher/src/PantherView.vala:322.34-322.45: warning: Gdk.Device.grab has been deprecated since 3.20. /home/samir/panther_launcher/src/PantherView.vala:152.31-152.56: warning: Gdk.Screen.get_primary_monitor has been deprecated since 3.22 /home/samir/panther_launcher/src/PantherView.vala:154.13-154.39: warning: Gdk.Screen.get_monitor_geometry has been deprecated since 3.22 /home/samir/panther_launcher/src/PantherView.vala:210.31-210.56: warning: Gdk.Screen.get_primary_monitor has been deprecated since 3.22 /home/samir/panther_launcher/src/PantherView.vala:212.13-212.39: warning: Gdk.Screen.get_monitor_geometry has been deprecated since 3.22 /home/samir/panther_launcher/src/PantherView.vala:427.17-427.43: warning: Gdk.Screen.get_monitor_geometry has been deprecated since 3.22 /home/samir/panther_launcher/src/PantherView.vala:427.46-427.71: warning: Gdk.Screen.get_primary_monitor has been deprecated since 3.22 /home/samir/panther_launcher/src/PantherView.vala:447.34-447.71: warning: Gdk.Screen.get_monitor_workarea has been deprecated since 3.22 /home/samir/panther_launcher/src/PantherView.vala:447.73-447.103: warning: Gdk.Screen.get_primary_monitor has been deprecated since 3.22 /home/samir/panther_launcher/src/PantherView.vala:339.27-339.71: warning: Gdk.Display.get_device_manager has been deprecated since 3.20. /home/samir/panther_launcher/src/PantherView.vala:339.27-339.93: warning: Gdk.DeviceManager.get_client_pointer has been deprecated since 3.20 Compilation failed: 1 error(s), 16 warning(s) make[2]: [src/CMakeFiles/panther_launcher.dir/build.make:201: src/panther_launcher_valac.stamp] Fehler 1 make[1]: [CMakeFiles/Makefile2:335: src/CMakeFiles/panther_launcher.dir/all] Fehler 2 make: *** [Makefile:141: all] Fehler 2

using: OS: Manjaro 17.0.1 Gellivara Kernel: x86_64 Linux 4.9.27-1-MANJARO Shell: bash 4.4.12 WM: i3 CPU: Intel Core i7-4790 @ 8x 4GHz GPU: GeForce GT 705

raphaelc2009 commented 7 years ago

did you find a solution ?

rastersoft commented 7 years ago

I don't know why it fails... In debian it compiles fine...

Are you using any option when running cmake?

SolarAquarion commented 7 years ago

I'm using Arch Linux

On Jul 7, 2017 10:19 AM, "Sergio Costas" notifications@github.com wrote:

I don't know why it fails... In debian it compiles fine...

Are you using any option when running cmake?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rastersoft/panther_launcher/issues/16#issuecomment-313695449, or mute the thread https://github.com/notifications/unsubscribe-auth/AFD6iBN00ekZC9srUE-cVVK-I1Gg442sks5sLj51gaJpZM4NKSay .

rastersoft commented 7 years ago

I presume that you are using pacman...

rastersoft commented 7 years ago

Are you using the packages from the pacman repository, or the one from my home page?

SolarAquarion commented 7 years ago

No, basically a build script which uses the gtk3 and whatever is in the repositories https://aur.archlinux.org/packages/panther-launcher-git/

On Jul 7, 2017 10:22 AM, "Sergio Costas" notifications@github.com wrote:

I presume that you are using pacman...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rastersoft/panther_launcher/issues/16#issuecomment-313696141, or mute the thread https://github.com/notifications/unsubscribe-auth/AFD6iIR7NJmJRytPbU_6jXelgBD7-OWyks5sLj8MgaJpZM4NKSay .

rastersoft commented 7 years ago

Tried to compile it in my system using the same options than in the script:

cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib -DGSETTINGS_COMPILE=OFF -DHAVE_ZEITGEIST=OFF -DDISABLE_FLASHBACK=ON -DDISABLE_MATE=ON

and also compiles...

Can you change the dependencies to valac-0.34? is the version I have in my system...

raphaelc2009 commented 7 years ago

At first I was trying to compile using source and yes I am on manjaro I managed to install successfully using AUR though so my problem is solved

raphaelc2009 commented 7 years ago

if you can use the info it also fails with cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib -DGSETTINGS_COMPILE=OFF -DHAVE_ZEITGEIST=OFF -DDISABLE_FLASHBACK=ON -DDISABLE_MATE=ON

raphaelc2009 commented 7 years ago

my system might not be very common as it is an X205TA and it is heavily patched

VersedXth commented 7 years ago

using "cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib -DGSETTINGS_COMPILE=OFF -DHAVE_ZEITGEIST=OFF -DDISABLE_FLASHBACK=ON -DDISABLE_MATE=ON" doesn't work have the same problems

home/samir/makedr/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:312.27-312.52: warning: Gdk.Display.get_device_manager has been deprecated since 3.20.
/home/samir/makedr/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:312.27-312.74: warning: Gdk.DeviceManager.get_client_pointer has been deprecated since 3.20
/home/samir/makedr/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:317.35-317.47: warning: Gdk.Device.grab has been deprecated since 3.20.
/home/samir/makedr/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:322.34-322.45: warning: Gdk.Device.grab has been deprecated since 3.20.
/home/samir/makedr/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:152.31-152.56: warning: Gdk.Screen.get_primary_monitor has been deprecated since 3.22
/home/samir/makedr/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:154.13-154.39: warning: Gdk.Screen.get_monitor_geometry has been deprecated since 3.22
/home/samir/makedr/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:210.31-210.56: warning: Gdk.Screen.get_primary_monitor has been deprecated since 3.22
/home/samir/makedr/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:212.13-212.39: warning: Gdk.Screen.get_monitor_geometry has been deprecated since 3.22
/home/samir/makedr/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:427.17-427.43: warning: Gdk.Screen.get_monitor_geometry has been deprecated since 3.22
/home/samir/makedr/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:427.46-427.71: warning: Gdk.Screen.get_primary_monitor has been deprecated since 3.22
/home/samir/makedr/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:447.34-447.71: warning: Gdk.Screen.get_monitor_workarea has been deprecated since 3.22
/home/samir/makedr/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:447.73-447.103: warning: Gdk.Screen.get_primary_monitor has been deprecated since 3.22
/home/samir/makedr/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:339.27-339.71: warning: Gdk.Display.get_device_manager has been deprecated since 3.20.
/home/samir/makedr/panther-launcher-git/src/panther-launcher-git/src/PantherView.vala:339.27-339.93: warning: Gdk.DeviceManager.get_client_pointer has been deprecated since 3.20
Compilation failed: 1 error(s), 16 warning(s)
make[2]: *** [src/CMakeFiles/panther_launcher.dir/build.make:201: src/panther_launcher_valac.stamp] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:335: src/CMakeFiles/panther_launcher.dir/all] Fehler 2
make: *** [Makefile:141: all] Fehler 2
SolarAquarion commented 7 years ago

Panther_launcher needs a rewrite in a newer version of vala

On Jul 10, 2017 6:35 PM, "VersedXth" notifications@github.com wrote:

using "cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib -DGSETTINGS_COMPILE=OFF -DHAVE_ZEITGEIST=OFF -DDISABLE_FLASHBACK=ON -DDISABLE_MATE=ON" doesn't work have the same problems

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rastersoft/panther_launcher/issues/16#issuecomment-314269408, or mute the thread https://github.com/notifications/unsubscribe-auth/AFD6iAnokiO9TyupB4Y4kvSIZhjjaCEbks5sMqc2gaJpZM4NKSay .

SolarAquarion commented 6 years ago

@rastersoft what version of vala are you using on your version of debian?

axelmeunier commented 6 years ago

I had the same problem (on Artful). The solution to compile it is to install the vala packages in version 0.34 instead of 0.36. Then it compiles successfully.

milkfinch commented 6 years ago

I'm on ubuntu 18.04 and have the same error. My vala version is 0.40.

This solves the problem: In src/synapse-core/result-set.vala (line 60) change
public Gee.Iterator<Gee.Map.Entry <Match, int>?> iterator () to public Gee.Iterator<Gee.Map.Entry <Match, int>> iterator ()

In src/synapse-plugins/desktop-file-plugin.vala (line 141) change mimetype_map = new Gee.HashMap<string, OpenWithAction> (); to mimetype_map = new Gee.HashMap<string, Gee.List> ();

Sorry I couldn't attach as a patch :D

rastersoft commented 6 years ago

Just fixed it. Please, try now with version 1.13.0

SolarAquarion commented 6 years ago

@rastersoft thanks

meson.build:12:0: ERROR: Native dependency 'zeitgeist-1.0' not found

-- Installing: /home/solaraquarion/build/panther-launcher-git/pkg/panther-launcher-git/etc/xdg/menus/panther-applications.menu -- Installing: /home/solaraquarion/build/panther-launcher-git/pkg/panther-launcher-git/usr/share/glib-2.0/schemas/org.rastersoft.panther.gschema.xml -- Installing: /home/solaraquarion/build/panther-launcher-git/pkg/panther-launcher-git/usr/share/dbus-1/services/com.rastersoft.panther.remotecontrol.service CMake Error at data/dbus/cmake_install.cmake:45 (file): file INSTALL cannot find "/home/solaraquarion/build/panther-launcher-git/src/panther-launcher-git/data/dbus/com.rastersoft.panther.remotecontrol.conf". Call Stack (most recent call first): cmake_install.cmake:48 (include)

rastersoft commented 6 years ago

I uploaded a missing file. Try again, please.

rastersoft commented 6 years ago

Also install libzeitgeist-dev

SolarAquarion commented 6 years ago

arch-meson build -DHAVE_ZEITGEIST=no

meson.build:12:0: ERROR: Native dependency 'zeitgeist-1.0' not found

I think "String" for the HAVE or ENABLE X or Y doesn't work. Shouldn't it either be combo or boolean?

rastersoft commented 6 years ago

Unfortunately you can't remove zeitgeist... you need it :(

SolarAquarion commented 6 years ago

I have zeitgeist-2.0, not 1.0. Trying to disable the need for ZEITGEIST 1.0 via a boolean, but it actually requires a "String"

rastersoft commented 6 years ago

Mmm...

rastersoft commented 6 years ago

Just use "cmake .." (or "meson"), without defining HAVE or ENABLE.

rastersoft commented 6 years ago

By default it doesn't compile zeitgeist

rastersoft commented 6 years ago

Ok, I updated the building system. Now supports zeitgeist 2.0

rastersoft commented 6 years ago

Did it work?