diff options
author | Thomas Tuegel <ttuegel@secure.mailbox.org> | 2017-02-25 12:21:44 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-25 12:21:44 -0600 |
commit | 0ed156a2167fb5a23fa3b798bc8e148f5045f922 (patch) | |
tree | 67f90f8ba5a3bf8905a433bcb5c496bd61a0d75d /pkgs/misc | |
parent | a1431f35db8263d8ee440b75cc988366eac7294d (diff) | |
parent | fbf12d9f702bc3d994af9de8eb4ded99e55ea75e (diff) |
Merge pull request #22977 from ttuegel/triage-kde4
Remove KDE 4 desktop packages
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/themes/gtk2/oxygen-gtk/default.nix | 24 | ||||
-rw-r--r-- | pkgs/misc/themes/gtk3/oxygen-gtk3/default.nix | 23 | ||||
-rw-r--r-- | pkgs/misc/themes/qtcurve/default.nix | 43 | ||||
-rw-r--r-- | pkgs/misc/themes/qtcurve/qtcurve-1.8.18-install-paths.patch | 24 | ||||
-rw-r--r-- | pkgs/misc/themes/qtcurve/qtcurve-1.8.18-toolbar-alpha.patch | 34 |
5 files changed, 0 insertions, 148 deletions
diff --git a/pkgs/misc/themes/gtk2/oxygen-gtk/default.nix b/pkgs/misc/themes/gtk2/oxygen-gtk/default.nix deleted file mode 100644 index ad13b5f17ab6..000000000000 --- a/pkgs/misc/themes/gtk2/oxygen-gtk/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ stdenv, fetchurl, - cmake, dbus_glib, glib, gtk2, gdk_pixbuf, pkgconfig, xorg }: - -stdenv.mkDerivation rec { - version = "1.4.6"; - name = "oxygen-gtk2-${version}"; - - src = fetchurl { - url = "mirror://kde/stable/oxygen-gtk2/${version}/src/${name}.tar.bz2"; - sha256 = "09mz4szsz3yswbj0nbw6qzlc5bc4id0f9r6ifm60b5nc8x1l72d2"; - }; - - buildInputs = [ cmake dbus_glib glib gtk2 gdk_pixbuf - pkgconfig xorg.libXau xorg.libXdmcp xorg.libpthreadstubs - xorg.libxcb xorg.pixman ]; - - meta = with stdenv.lib; { - description = "Port of the default KDE widget theme (Oxygen), to gtk"; - homepage = https://projects.kde.org/projects/playground/artwork/oxygen-gtk; - license = licenses.lgpl2; - maintainers = [ maintainers.goibhniu ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/misc/themes/gtk3/oxygen-gtk3/default.nix b/pkgs/misc/themes/gtk3/oxygen-gtk3/default.nix deleted file mode 100644 index 2cceee62447d..000000000000 --- a/pkgs/misc/themes/gtk3/oxygen-gtk3/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ stdenv, fetchurl -, cmake, dbus_glib, glib, gtk3, gdk_pixbuf, pkgconfig, xorg }: - -stdenv.mkDerivation rec { - version = "1.4.1"; - name = "oxygen-gtk3-${version}"; - - src = fetchurl { - url = "mirror://kde/stable/oxygen-gtk3/${version}/src/${name}.tar.bz2"; - sha256 = "0pd7wjzh5xgd24yg6b2avaiz1aq6rmh13d7c0jclffkmhmy24r0f"; - }; - - buildInputs = [ cmake dbus_glib glib gtk3 gdk_pixbuf - pkgconfig xorg.libXau xorg.libXdmcp xorg.libpthreadstubs - xorg.libxcb xorg.pixman ]; - - meta = with stdenv.lib; { - description = "Port of the default KDE widget theme (Oxygen), to gtk 3"; - homepage = https://projects.kde.org/projects/playground/artwork/oxygen-gtk; - license = licenses.lgpl2; - platforms = platforms.linux; - }; -} diff --git a/pkgs/misc/themes/qtcurve/default.nix b/pkgs/misc/themes/qtcurve/default.nix deleted file mode 100644 index cc11aab81cd8..000000000000 --- a/pkgs/misc/themes/qtcurve/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ stdenv, fetchurl, automoc4, cmake, gettext, perl, pkgconfig -, gtk2, kde_workspace, kdelibs # Toolkit dependencies -, libpthreadstubs, libXdmcp, libxcb, xorg # X11 dependencies -}: - -stdenv.mkDerivation { - name = "qtcurve-1.8.18"; - src = fetchurl { - url = "https://github.com/QtCurve/qtcurve/archive/1.8.18.tar.gz"; - sha256 = "19kk11hgi6md1cl0hr0pklcczbl66jczahlkf5fr8j59ljgpr6c5"; - }; - - nativeBuildInputs = [ automoc4 cmake gettext perl pkgconfig ]; - - buildInputs = [ - gtk2 - kde_workspace - kdelibs - libpthreadstubs - libXdmcp - libxcb - pkgconfig - xorg.libxshmfence - ]; - - patches = [ - ./qtcurve-1.8.18-install-paths.patch - ./qtcurve-1.8.18-toolbar-alpha.patch - ]; - - cmakeFlags = '' - -DENABLE_QT5=OFF - -DQTC_QT4_ENABLE_KWIN=ON - ''; - - meta = with stdenv.lib; { - homepage = https://github.com/QtCurve/qtcurve; - description = "Widget styles for Qt4/KDE4 and gtk2"; - platforms = platforms.linux; - license = licenses.lgpl21Plus; - maintainers = [ maintainers.ttuegel ]; - }; -} diff --git a/pkgs/misc/themes/qtcurve/qtcurve-1.8.18-install-paths.patch b/pkgs/misc/themes/qtcurve/qtcurve-1.8.18-install-paths.patch deleted file mode 100644 index 345ac25bbbb0..000000000000 --- a/pkgs/misc/themes/qtcurve/qtcurve-1.8.18-install-paths.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index b2be588..4cb9115 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -116,6 +116,7 @@ if(ENABLE_GTK2) - find_package(PkgConfig REQUIRED) - unset(__pkg_config_checked_GTK2 CACHE) - pkg_check_modules(GTK2 REQUIRED gtk+-2.0) -+ set(GTK2_THEME_PREFIX "${CMAKE_INSTALL_PREFIX}") - if(GTK2_THEME_PREFIX) - set(GTK2_PREFIX "${GTK2_THEME_PREFIX}") - elseif(NOT GTK2_PREFIX) -diff --git a/gtk2/style/CMakeLists.txt b/gtk2/style/CMakeLists.txt -index 01e8891..a2c767e 100644 ---- a/gtk2/style/CMakeLists.txt -+++ b/gtk2/style/CMakeLists.txt -@@ -88,6 +88,6 @@ target_link_libraries(qtcurve-gtk2 - qtcurve-utils qtcurve-cairo m) - - install(TARGETS qtcurve-gtk2 LIBRARY DESTINATION -- ${GTK2_LIBDIR}/gtk-2.0/${GTK2_BIN_VERSION}/engines) -+ lib/gtk-2.0/${GTK2_BIN_VERSION}/engines) - install(FILES gtkrc icons3 icons4 map_kde_icons.pl kdeglobals - DESTINATION ${GTK2_THEME_DIR}/gtk-2.0) diff --git a/pkgs/misc/themes/qtcurve/qtcurve-1.8.18-toolbar-alpha.patch b/pkgs/misc/themes/qtcurve/qtcurve-1.8.18-toolbar-alpha.patch deleted file mode 100644 index 85400e6f0f67..000000000000 --- a/pkgs/misc/themes/qtcurve/qtcurve-1.8.18-toolbar-alpha.patch +++ /dev/null @@ -1,34 +0,0 @@ -diff --git a/qt4/style/qtcurve.cpp b/qt4/style/qtcurve.cpp -index d7659f5..aede882 100644 ---- a/qt4/style/qtcurve.cpp -+++ b/qt4/style/qtcurve.cpp -@@ -12436,7 +12436,12 @@ Style::drawMenuOrToolBarBackground(const QWidget *widget, QPainter *p, - if (!qtcIsCustomBgnd(&opts) || !qtcIsFlat(app) || - (menu && SHADE_NONE != opts.shadeMenubars)) { - p->save(); -+#if 0 -+ // Revert for now -+ // This is necessary for correct opacity on the menubar but may -+ // break transparent gradient. - p->setCompositionMode(QPainter::CompositionMode_Source); -+#endif - QRect rx(r); - QColor col(menu && (option->state & State_Enabled || - SHADE_NONE != opts.shadeMenubars) ? -diff --git a/qt5/style/qtcurve.cpp b/qt5/style/qtcurve.cpp -index c43b8a3..135eddc 100644 ---- a/qt5/style/qtcurve.cpp -+++ b/qt5/style/qtcurve.cpp -@@ -3398,7 +3398,12 @@ Style::drawMenuOrToolBarBackground(const QWidget *widget, QPainter *p, - if (!qtcIsCustomBgnd(&opts) || !qtcIsFlat(app) || - (menu && opts.shadeMenubars != SHADE_NONE)) { - p->save(); -+#if 0 -+ // Revert for now -+ // This is necessary for correct opacity on the menubar but may -+ // break transparent gradient. - p->setCompositionMode(QPainter::CompositionMode_Source); -+#endif - QRect rx(r); - QColor col(menu && (option->state & State_Enabled || - opts.shadeMenubars != SHADE_NONE) ? |