571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
26 lines
941 B
Diff
26 lines
941 B
Diff
diff --git a/Makefile.am b/Makefile.am
|
|
index 24c1a85..cfabbbf 100644
|
|
--- a/Makefile.am
|
|
+++ b/Makefile.am
|
|
@@ -6,6 +6,6 @@ plugin_LTLIBRARIES = top.la
|
|
top_la_SOURCES=\
|
|
src/top.c
|
|
|
|
-top_la_CFLAGS= @glib_CFLAGS@ @rofi_CFLAGS@
|
|
-top_la_LIBADD= @glib_LIBS@ @rofi_LIBS@
|
|
+top_la_CFLAGS= @glib_CFLAGS@ @rofi_CFLAGS@ @cairo_CFLAGS@
|
|
+top_la_LIBADD= @glib_LIBS@ @rofi_LIBS@ @cairo_LIBS@
|
|
top_la_LDFLAGS= -module -avoid-version
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 4d2df69..f340a7a 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -53,6 +53,7 @@ dnl PKG_CONFIG based dependencies
|
|
dnl ---------------------------------------------------------------------
|
|
PKG_CHECK_MODULES([glib], [glib-2.0 >= 2.40 gio-unix-2.0 gmodule-2.0 libgtop-2.0])
|
|
PKG_CHECK_MODULES([rofi], [rofi])
|
|
+PKG_CHECK_MODULES([cairo], [cairo cairo-xcb])
|
|
|
|
[rofi_PLUGIN_INSTALL_DIR]="`$PKG_CONFIG --variable=pluginsdir rofi`"
|
|
AC_SUBST([rofi_PLUGIN_INSTALL_DIR])
|