diff --git a/srcpkgs/lxlauncher/patches/0001-Add-CSS-selectors-for-GTK-3.20-and-newer.patch b/srcpkgs/lxlauncher/patches/0001-Add-CSS-selectors-for-GTK-3.20-and-newer.patch new file mode 100644 index 0000000000..60f3bbeb6b --- /dev/null +++ b/srcpkgs/lxlauncher/patches/0001-Add-CSS-selectors-for-GTK-3.20-and-newer.patch @@ -0,0 +1,51 @@ +From ee4d4947584d5b6bec6968aa16aa1f2e902eea81 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= +Date: Tue, 21 Feb 2017 04:41:58 +0100 +Subject: [PATCH] Add CSS selectors for GTK+ 3.20 and newer + +And keep the compatibility with older versions. +--- + gtk.css | 10 +++++++++- + 1 file changed, 9 insertions(+), 1 deletion(-) + +diff --git a/gtk.css b/gtk.css +index 93407ee..a1035e9 100644 +--- a/gtk.css ++++ b/gtk.css +@@ -1,25 +1,33 @@ ++viewport, + GtkViewport { + background: none; + } + ++notebook tab, + .notebook { + background: #3675AD; +- font: Sans Bold 11; ++ font-weight: bold; + } + ++notebook header, ++notebook stack, + .notebook > .frame, + .notebook > .vertical { + background: #B7D6EA; ++ font-weight: bold; + } + ++notebook tab label, + .notebook > .horizontal .label { + color: #B7D6EA; + } + ++notebook tab:checked label, + .notebook > .horizontal.active-page .label { + color: #FFFFFF; + } + ++notebook stack label, + .notebook > .vertical .label, + .button .label { + color: #3675AD; +-- +2.11.1 diff --git a/srcpkgs/lxlauncher/patches/fix-invisible-icons.patch b/srcpkgs/lxlauncher/patches/fix-invisible-icons.patch new file mode 100644 index 0000000000..3a7254d3b4 --- /dev/null +++ b/srcpkgs/lxlauncher/patches/fix-invisible-icons.patch @@ -0,0 +1,15 @@ +diff -Naur lxlauncher-0.2.5.orig/src/lxlauncher.c lxlauncher-0.2.5/src/lxlauncher.c +--- lxlauncher-0.2.5.orig/src/lxlauncher.c 2018-01-12 23:31:21.116719000 +0100 ++++ lxlauncher-0.2.5/src/lxlauncher.c 2018-01-12 23:31:39.190805710 +0100 +@@ -1021,9 +1021,9 @@ + + get_working_area( gtk_widget_get_screen(main_window), &working_area ); + gtk_window_move( GTK_WINDOW(main_window), working_area.x, working_area.y ); ++ gtk_widget_show_all( main_window ); + gtk_window_resize( GTK_WINDOW(main_window), working_area.width, working_area.height ); + +- gtk_widget_show_all( main_window ); + gtk_main(); + + gdk_window_remove_filter( gtk_widget_get_root_window(main_window), evt_filter, NULL ); + diff --git a/srcpkgs/lxlauncher/template b/srcpkgs/lxlauncher/template index 7060a4ca04..74c9d57cef 100644 --- a/srcpkgs/lxlauncher/template +++ b/srcpkgs/lxlauncher/template @@ -1,17 +1,19 @@ # Template file for 'lxlauncher' pkgname=lxlauncher version=0.2.5 -revision=1 +revision=2 build_style=gnu-configure +configure_args="--enable-gtk3" hostmakedepends="pkg-config intltool" -makedepends="gtk+-devel startup-notification-devel menu-cache-devel" +makedepends="gtk+3-devel startup-notification-devel menu-cache-devel" conf_files=" /etc/xdg/lxlauncher/gtkrc /etc/xdg/lxlauncher/settings.conf /etc/xdg/lxlauncher/gtk.css" short_desc="LXDE launcher for netbooks" -homepage="http://lxde.org/" -license="GPL-2" maintainer="Juan RP " +license="GPL-2.0-or-later" +homepage="http://lxde.org/" distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz" checksum=cd14b59cf337e7ba0d67efc95cd79859ab5f0f85af5a84c7aff771f868c3dca7 +patch_args="-Np1"