File shotwell-no-libexecdir.patch of Package shotwell
Index: shotwell-0.13.1/Makefile
===================================================================
--- shotwell-0.13.1.orig/Makefile
+++ shotwell-0.13.1/Makefile
@@ -558,8 +558,8 @@ install:
mkdir -p $(DESTDIR)$(PREFIX)/bin
$(INSTALL_PROGRAM) $(PROGRAM) $(DESTDIR)$(PREFIX)/bin
$(INSTALL_PROGRAM) $(THUMBNAILER_BIN) $(DESTDIR)$(PREFIX)/bin
- mkdir -p $(DESTDIR)$(PREFIX)/libexec/shotwell
- $(INSTALL_PROGRAM) $(MIGRATOR_BIN) $(DESTDIR)$(PREFIX)/libexec/shotwell
+ mkdir -p $(DESTDIR)$(PREFIX)/lib/shotwell
+ $(INSTALL_PROGRAM) $(MIGRATOR_BIN) $(DESTDIR)$(PREFIX)/lib/shotwell
mkdir -p $(DESTDIR)$(PREFIX)/share/shotwell/icons
$(INSTALL_DATA) icons/* $(DESTDIR)$(PREFIX)/share/shotwell/icons
mkdir -p $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps
Index: shotwell-0.13.1/src/AppDirs.vala
===================================================================
--- shotwell-0.13.1.orig/src/AppDirs.vala
+++ shotwell-0.13.1/src/AppDirs.vala
@@ -109,7 +109,7 @@ class AppDirs {
// not installed yet - use wherever we were run from
libexec_dir = get_exec_dir();
} else {
- libexec_dir = File.new_for_path(Resources.PREFIX + "/libexec/shotwell");
+ libexec_dir = File.new_for_path(Resources.PREFIX + "/lib/shotwell");
}
}