diff options
author | Sam James <sam@gentoo.org> | 2021-04-19 07:58:38 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-19 20:10:24 +0100 |
commit | 92cb02bbc81117e20303992c1079ef37045eb05d (patch) | |
tree | c056905dc20a32e9c3787e278af43b8f697753c9 /x11-misc/openbox-menu | |
parent | x11-misc/gromit: respect PKG_CONFIG (diff) | |
download | gentoo-92cb02bbc81117e20303992c1079ef37045eb05d.tar.gz gentoo-92cb02bbc81117e20303992c1079ef37045eb05d.tar.bz2 gentoo-92cb02bbc81117e20303992c1079ef37045eb05d.zip |
x11-misc/openbox-menu: respect PKG_CONFIG
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-misc/openbox-menu')
-rw-r--r-- | x11-misc/openbox-menu/files/openbox-menu-0.8.1-gtk3.patch | 18 | ||||
-rw-r--r-- | x11-misc/openbox-menu/files/openbox-menu-0.8.1-makefile.patch | 1 |
2 files changed, 2 insertions, 17 deletions
diff --git a/x11-misc/openbox-menu/files/openbox-menu-0.8.1-gtk3.patch b/x11-misc/openbox-menu/files/openbox-menu-0.8.1-gtk3.patch index 6b16b8a0ff8d..20643a6a1516 100644 --- a/x11-misc/openbox-menu/files/openbox-menu-0.8.1-gtk3.patch +++ b/x11-misc/openbox-menu/files/openbox-menu-0.8.1-gtk3.patch @@ -2,23 +2,13 @@ From 8fe1e7fa9239ed8b604a59ef2202f183f1f56eb6 Mon Sep 17 00:00:00 2001 From: Fabrice THIROUX <fabrice.thiroux@net-c.com> Date: Sat, 13 Feb 2021 14:46:53 +0100 Subject: [PATCH] Updated for gtk3. Remove icon_theme annoying variable - ---- - Makefile | 4 ++-- - src/menu.c | 1 - - src/openbox-menu.h | 1 + - src/utils.c | 16 ++++++---------- - 4 files changed, 9 insertions(+), 13 deletions(-) - -diff --git a/Makefile b/Makefile -index 5d8af49..5e09ef2 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -LIBS= `pkg-config --libs glib-2.0 gtk+-2.0 libmenu-cache` -CFLAGS+= -g -Wall `pkg-config --cflags glib-2.0 gtk+-2.0 libmenu-cache` -+LIBS= `pkg-config --libs glib-2.0 gtk+-3.0 libmenu-cache` -+CFLAGS+= -g -Wall `pkg-config --cflags glib-2.0 gtk+-3.0 libmenu-cache` ++LIBS= `${PKG_CONFIG} --libs glib-2.0 gtk+-3.0 libmenu-cache` ++CFLAGS+= -Wall `${PKG_CONFIG} --cflags glib-2.0 gtk+-3.0 libmenu-cache` CC=gcc #-DG_DISABLE_DEPRECATED @@ -34,8 +24,6 @@ index 5b7e8f8..3b752d9 100644 #endif if ((ob_context = configure (argc, argv)) == NULL) -diff --git a/src/openbox-menu.h b/src/openbox-menu.h -index 7035e9d..f5a7bce 100644 --- a/src/openbox-menu.h +++ b/src/openbox-menu.h @@ -19,6 +19,7 @@ @@ -46,8 +34,6 @@ index 7035e9d..f5a7bce 100644 #include <menu-cache.h> #ifdef WITH_ICONS -diff --git a/src/utils.c b/src/utils.c -index 7a68316..2f4f95b 100644 --- a/src/utils.c +++ b/src/utils.c @@ -169,8 +169,6 @@ clean_exec (MenuCacheApp *app) diff --git a/x11-misc/openbox-menu/files/openbox-menu-0.8.1-makefile.patch b/x11-misc/openbox-menu/files/openbox-menu-0.8.1-makefile.patch index a2848bf464bf..acf623885720 100644 --- a/x11-misc/openbox-menu/files/openbox-menu-0.8.1-makefile.patch +++ b/x11-misc/openbox-menu/files/openbox-menu-0.8.1-makefile.patch @@ -76,7 +76,6 @@ Misc enhancements to file globbing. doc: robodoc --src . --doc doc/ --multidoc --index --html --cmode -diff --git a/README.md b/README.md --- a/README.md +++ b/README.md @@ -6,17 +6,17 @@ Type `make` then, with superuser privileges, `make install` to install it. openb |