diff --git a/gtk2/gtk2-common-themes.json b/gtk2/gtk2-common-themes.json index 18208aaa..6de3fc46 100644 --- a/gtk2/gtk2-common-themes.json +++ b/gtk2/gtk2-common-themes.json @@ -1,287 +1,301 @@ { - "name": "gtk2-common-themes", - "buildsystem": "simple", - "build-commands": [], - "modules": [ - { - "name": "sassc", - "// NOTE": "This is used by Yaru, Greybird, and Materia", - "cleanup": ["*"], - "sources": [ + "name": "gtk2-common-themes", + "buildsystem": "simple", + "build-commands": [], + "modules": [ { - "type": "archive", - "url": "https://github.com/sass/sassc/archive/3.5.0.tar.gz", - "sha256": "26f54e31924b83dd706bc77df5f8f5553a84d51365f0e3c566df8de027918042" + "name": "sassc", + "// NOTE": "This is used by Yaru, Greybird, and Materia", + "cleanup": [ + "*" + ], + "sources": [ + { + "type": "archive", + "url": "https://github.com/sass/sassc/archive/3.5.0.tar.gz", + "sha256": "26f54e31924b83dd706bc77df5f8f5553a84d51365f0e3c566df8de027918042" + }, + { + "type": "script", + "commands": [ + "autoreconf -si" + ] + } + ], + "modules": [ + { + "name": "libsass", + "cleanup": [ + "*" + ], + "sources": [ + { + "type": "archive", + "url": "https://github.com/sass/libsass/archive/3.5.4.tar.gz", + "sha256": "5f61cbcddaf8e6ef7a725fcfa5d05297becd7843960f245197ebb655ff868770" + }, + { + "type": "script", + "commands": [ + "autoreconf -si" + ] + } + ] + } + ] }, { - "type": "script", - "commands": ["autoreconf -si"] - } - ], - "modules": [ - { - "name": "libsass", - "cleanup": ["*"], - "sources": [ - { - "type": "archive", - "url": "https://github.com/sass/libsass/archive/3.5.4.tar.gz", - "sha256": "5f61cbcddaf8e6ef7a725fcfa5d05297becd7843960f245197ebb655ff868770" - }, - { - "type": "script", - "commands": ["autoreconf -si"] - } - ] - } - ] - }, - { - "name": "gtk2-murrine-engine", - "rm-configure": true, - "// NOTE": "Used by Arc and CrosAdapta", - "cleanup": [ - "*.la" - ], - "sources": [ - { - "type": "archive", - "url": "https://download.gnome.org/sources/murrine/0.98/murrine-0.98.2.tar.xz", - "sha256": "e9c68ae001b9130d0f9d1b311e8121a94e5c134b82553ba03971088e57d12c89" + "name": "gtk2-murrine-engine", + "rm-configure": true, + "// NOTE": "Used by Arc and CrosAdapta", + "cleanup": [ + "*.la" + ], + "sources": [ + { + "type": "archive", + "url": "https://download.gnome.org/sources/murrine/0.98/murrine-0.98.2.tar.xz", + "sha256": "e9c68ae001b9130d0f9d1b311e8121a94e5c134b82553ba03971088e57d12c89" + }, + { + "type": "patch", + "path": "murrine-engine-fix-crash.patch" + }, + { + "type": "script", + "commands": [ + "rm config.guess", + "autoreconf -si" + ] + } + ] }, { - "type": "patch", - "path": "murrine-engine-fix-crash.patch" + "name": "cros-adapta-gtk2-theme", + "// NOTE": "This is used by Chrome OS", + "buildsystem": "simple", + "build-commands": [ + "install -Dm644 index.theme ${FLATPAK_DEST}/share/themes/CrosAdapta/index.theme", + "cp -r gtk-2.0 ${FLATPAK_DEST}/share/themes/CrosAdapta" + ], + "sources": [ + { + "type": "git", + "url": "https://chromium.googlesource.com/chromiumos/third_party/cros-adapta", + "commit": "eb6d8c1832b9181926df107faf41a80887fd982c" + } + ] }, { - "type": "script", - "commands": [ - "rm config.guess", - "autoreconf -si" - ] - } - ] - }, - { - "name": "cros-adapta-gtk2-theme", - "// NOTE": "This is used by Chrome OS", - "buildsystem": "simple", - "build-commands": [ - "install -Dm644 index.theme ${FLATPAK_DEST}/share/themes/CrosAdapta/index.theme", - "cp -r gtk-2.0 ${FLATPAK_DEST}/share/themes/CrosAdapta" - ], - "sources": [ - { - "type": "git", - "url": "https://chromium.googlesource.com/chromiumos/third_party/cros-adapta", - "commit": "eb6d8c1832b9181926df107faf41a80887fd982c" - } - ] - }, - { - "name": "arc-gtk2-theme", - "// NOTE": "This is used by Solus and is popular", - "// FIXME": "This has a dependency on inkscape and my patch isn't quite good enough sadly", - "disabled": true, - "config-opts": [ - "--disable-gnome-shell", - "--disable-cinnamon", - "--disable-gtk3", - "--disable-metacity", - "--disable-xfwm", - "--disable-plank", - "--disable-openbox", - "--disable-unity" - ], - "sources": [ - { - "type": "archive", - "url": "https://github.com/jnsh/arc-theme/releases/download/20200513/arc-theme-20200513.tar.xz", - "sha256": "cd268b878d6ad7c81b7acc0f89b66e26ee9a9a92eafb03b792318d51707f1962" + "name": "arc-gtk2-theme", + "// NOTE": "This is used by Solus and is popular", + "// FIXME": "This has a dependency on inkscape and my patch isn't quite good enough sadly", + "disabled": true, + "config-opts": [ + "--disable-gnome-shell", + "--disable-cinnamon", + "--disable-gtk3", + "--disable-metacity", + "--disable-xfwm", + "--disable-plank", + "--disable-openbox", + "--disable-unity" + ], + "sources": [ + { + "type": "archive", + "url": "https://github.com/jnsh/arc-theme/releases/download/20200513/arc-theme-20200513.tar.xz", + "sha256": "cd268b878d6ad7c81b7acc0f89b66e26ee9a9a92eafb03b792318d51707f1962" + }, + { + "type": "patch", + "path": "arc-gtk2-theme-Replace-Inkscape-dependency-with-rsvg-convert.patch" + }, + { + "type": "shell", + "commands": [ + "sed -i 's|\"$srcdir/configure\" $@||' autogen.sh" + ] + } + ], + "modules": [ + { + "name": "optipng", + "cleanup": [ + "*" + ], + "sources": [ + { + "type": "archive", + "url": "https://prdownloads.sourceforge.net/optipng/optipng-0.7.7.tar.gz", + "sha256": "4f32f233cef870b3f95d3ad6428bfe4224ef34908f1b42b0badf858216654452" + } + ] + } + ] }, { - "type": "patch", - "path": "arc-gtk2-theme-Replace-Inkscape-dependency-with-rsvg-convert.patch" + "name": "breeze-gtk2-theme", + "// NOTE": "This is used by KDE by default.", + "buildsystem": "simple", + "build-commands": [ + "find breeze-gtk/src -name '*.scss' -print -execdir sed -i 's#\\.\\./assets/#./assets/#' {} \\;", + "cd breeze-gtk/src && sed -i 's/@PYTHON_EXECUTABLE@/python3/g' build_theme.sh.cmake && ./build_theme.sh.cmake -c BreezeLight -t ${FLATPAK_BUILDER_BUILDDIR}/Breeze -r ${FLATPAK_BUILDER_BUILDDIR}/breeze/colors", + "mkdir -p ${FLATPAK_DEST}/share/themes/Breeze/", + "cp -rv --no-preserve=ownership ${FLATPAK_BUILDER_BUILDDIR}/Breeze/gtk-2.0 ${FLATPAK_DEST}/share/themes/Breeze/", + "cp -rv --no-preserve=ownership ${FLATPAK_BUILDER_BUILDDIR}/Breeze/assets ${FLATPAK_DEST}/share/themes/Breeze/" + ], + "sources": [ + { + "type": "archive", + "url": "https://download.kde.org/stable/plasma/6.2.4/breeze-gtk-6.2.4.tar.xz", + "sha256": "610c24d4686be08a92337516b67e9f09c7e365dddc3e02976d24af364233bca0", + "dest": "breeze-gtk", + "x-checker-data": { + "type": "anitya", + "project-id": 8761, + "stable-only": true, + "url-template": "https://download.kde.org/stable/plasma/$version/breeze-gtk-$version.tar.xz" + } + }, + { + "type": "archive", + "url": "https://download.kde.org/stable/plasma/6.2.4/breeze-6.2.4.tar.xz", + "sha256": "4d9613896082f336413abb24ef8f8d86513f7e99a4c0bcdf2f45cd7c5bbd7c20", + "dest": "breeze", + "x-checker-data": { + "type": "anitya", + "project-id": 8761, + "stable-only": true, + "url-template": "https://download.kde.org/stable/plasma/$version/breeze-$version.tar.xz" + } + } + ], + "modules": [ + { + "name": "python3-cairo", + "cleanup": [ + "*" + ], + "buildsystem": "simple", + "build-commands": [ + "pip3 install --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=\"${FLATPAK_DEST}\" pycairo" + ], + "sources": [ + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/07/4a/42b26390181a7517718600fa7d98b951da20be982a50cd4afb3d46c2e603/pycairo-1.27.0.tar.gz", + "sha256": "5cb21e7a00a2afcafea7f14390235be33497a2cce53a98a19389492a60628430", + "x-checker-data": { + "type": "pypi", + "name": "pycairo" + } + }, + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/43/54/292f26c208734e9a7f067aea4a7e282c080750c4546559b58e2e45413ca0/setuptools-75.6.0.tar.gz", + "sha256": "8199222558df7c86216af4f84c30e9b34a61d8ba19366cc914424cdbd28252f6", + "x-checker-data": { + "type": "pypi", + "name": "setuptools" + } + }, + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/8a/98/2d9906746cdc6a6ef809ae6338005b3f21bb568bea3165cfc6a243fdc25c/wheel-0.45.1.tar.gz", + "sha256": "661e1abd9198507b1409a20c02106d9670b2576e916d58f520316666abca6729", + "x-checker-data": { + "type": "pypi", + "name": "wheel" + } + } + ] + } + ] }, { - "type": "shell", - "commands": ["sed -i 's|\"$srcdir/configure\" $@||' autogen.sh"] - } - ], - "modules": [ - { - "name": "optipng", - "cleanup": ["*"], - "sources": [ - { - "type": "archive", - "url": "https://prdownloads.sourceforge.net/optipng/optipng-0.7.7.tar.gz", - "sha256": "4f32f233cef870b3f95d3ad6428bfe4224ef34908f1b42b0badf858216654452" - } - ] - } - ] - }, - { - "name": "breeze-gtk2-theme", - "// NOTE": "This is used by KDE by default.", - "buildsystem": "simple", - "build-commands": [ - "find breeze-gtk/src -name '*.scss' -print -execdir sed -i 's#\\.\\./assets/#./assets/#' {} \\;", - "cd breeze-gtk/src && sed -i 's/@PYTHON_EXECUTABLE@/python3/g' build_theme.sh.cmake && ./build_theme.sh.cmake -c BreezeLight -t ${FLATPAK_BUILDER_BUILDDIR}/Breeze -r ${FLATPAK_BUILDER_BUILDDIR}/breeze/colors", - "mkdir -p ${FLATPAK_DEST}/share/themes/Breeze/", - "cp -rv --no-preserve=ownership ${FLATPAK_BUILDER_BUILDDIR}/Breeze/gtk-2.0 ${FLATPAK_DEST}/share/themes/Breeze/", - "cp -rv --no-preserve=ownership ${FLATPAK_BUILDER_BUILDDIR}/Breeze/assets ${FLATPAK_DEST}/share/themes/Breeze/" - ], - "sources": [ - { - "type": "archive", - "url": "https://download.kde.org/stable/plasma/5.27.6/breeze-gtk-5.27.6.tar.xz", - "sha256": "ac2aab13b9224ddea6560fdbac9fe9d93a08a86787f95b95c43a95b134836bda", - "dest": "breeze-gtk", - "x-checker-data": { - "type": "anitya", - "project-id": 8761, - "stable-only": true, - "url-template": "https://download.kde.org/stable/plasma/$version/breeze-gtk-$version.tar.xz" - } + "name": "elementary-gtk2-theme", + "// NOTE": "This is used by Elementary OS", + "buildsystem": "meson", + "cleanup": [ + "/share/themes/elementary/gtk-3.0", + "/share/themes/elementary/plank", + "/share/plank" + ], + "sources": [ + { + "type": "archive", + "url": "https://github.com/elementary/stylesheet/archive/5.4.2.tar.gz", + "sha256": "3bc37723daf4ce0b7c9ce4c125ef0055affe8d6654981388ec87d4a23a1ae0ec" + } + ] }, { - "type": "archive", - "url": "https://download.kde.org/stable/plasma/5.27.6/breeze-5.27.6.tar.xz", - "sha256": "5d9a8d7e5b061ce4183c4f842b0e82e6132b6c8e7ebc2c1d579baa066ffa6c6c", - "dest": "breeze", - "x-checker-data": { - "type": "anitya", - "project-id": 8761, - "stable-only": true, - "url-template": "https://download.kde.org/stable/plasma/$version/breeze-$version.tar.xz" - } - } - ], - "modules": [ - { - "name": "python3-cairo", - "cleanup": ["*"], - "buildsystem": "simple", - "build-commands": [ - "pip3 install --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=\"${FLATPAK_DEST}\" pycairo" - ], - "sources": [ - { - "type": "file", - "url": "https://files.pythonhosted.org/packages/69/ca/9e9fa2e8be0876a9bbf046a1be7ee33e61d4fdfbd1fd25c76c1bdfddf8c4/pycairo-1.23.0.tar.gz", - "sha256": "9b61ac818723adc04367301317eb2e814a83522f07bbd1f409af0dada463c44c", - "x-checker-data": { - "type": "pypi", - "name": "pycairo" - } - }, - { - "type": "file", - "url": "https://files.pythonhosted.org/packages/25/f3/d68c20919bc774c6cb127f1762f2f2f999d700a58198556e883dd3700e58/setuptools-67.6.0.tar.gz", - "sha256": "2ee892cd5f29f3373097f5a814697e397cf3ce313616df0af11231e2ad118077", - "x-checker-data": { - "type": "pypi", - "name": "setuptools" - } - }, - { - "type": "file", - "url": "https://files.pythonhosted.org/packages/a2/b8/6a06ff0f13a00fc3c3e7d222a995526cbca26c1ad107691b6b1badbbabf1/wheel-0.38.4.tar.gz", - "sha256": "965f5259b566725405b05e7cf774052044b1ed30119b5d586b2703aafe8719ac", - "x-checker-data": { - "type": "pypi", - "name": "wheel" - } - } - ] - } - ] - }, - { - "name": "elementary-gtk2-theme", - "// NOTE": "This is used by Elementary OS", - "buildsystem": "meson", - "cleanup": [ - "/share/themes/elementary/gtk-3.0", - "/share/themes/elementary/plank", - "/share/plank" - ], - "sources": [ - { - "type": "archive", - "url": "https://github.com/elementary/stylesheet/archive/5.4.2.tar.gz", - "sha256": "3bc37723daf4ce0b7c9ce4c125ef0055affe8d6654981388ec87d4a23a1ae0ec" - } - ] - }, - { - "name": "yaru-gtk2-theme", - "// NOTE": "This is used by Ubuntu", - "buildsystem": "meson", - "config-opts": [ - "-Dicons=false", - "-Dsounds=false", - "-Dgnome-shell=false", - "-Dsessions=false" - ], - "cleanup": [ - "/share/themes/Yaru*/gtk-3.0", - "/share/themes/Yaru*/gtk-3.20", - "/share/themes/Yaru*/unity" - ], - "sources": [ - { - "type": "archive", - "url": "https://github.com/ubuntu/yaru/archive/20.10.1.tar.gz", - "sha256": "9da2605088674edf2694a8215b7344fb5209b308dd8220ea21667a914dc8c55d" - } - ] - }, - { - "name": "greybird-gtk2-theme", - "// NOTE": "This is used by many XFCE distros", - "buildsystem": "meson", - "cleanup": [ - "/share/themes/Greybird*/xfwm4", - "/share/themes/Greybird*/gnome-shell", - "/share/themes/Greybird*/gtk-3.0", - "/share/themes/Greybird*/metacity-1", - "/share/themes/Greybird*/xfce-notify-4.0", - "/share/themes/Greybird*/plank", - "/share/themes/Greybird*/unity", - "/share/themes/Greybird*/*.emerald" - ], - "sources": [ + "name": "yaru-gtk2-theme", + "// NOTE": "This is used by Ubuntu", + "buildsystem": "meson", + "config-opts": [ + "-Dicons=false", + "-Dsounds=false", + "-Dgnome-shell=false", + "-Dsessions=false" + ], + "cleanup": [ + "/share/themes/Yaru*/gtk-3.0", + "/share/themes/Yaru*/gtk-3.20", + "/share/themes/Yaru*/unity" + ], + "sources": [ + { + "type": "archive", + "url": "https://github.com/ubuntu/yaru/archive/20.10.1.tar.gz", + "sha256": "9da2605088674edf2694a8215b7344fb5209b308dd8220ea21667a914dc8c55d" + } + ] + }, { - "type": "archive", - "url": "https://github.com/shimmerproject/Greybird/archive/v3.22.12.tar.gz", - "sha256": "410804cd5daca33cbc5c7c4a179f3a334ced87f408e515fc5d9c083a04bec4bc" - } - ] - }, - { - "name": "materia-gtk2-theme", - "// NOTE": "This is used by Ubuntu Studio", - "buildsystem": "meson", - "cleanup": [ - "/share/themes/Materia*/xfwm4", - "/share/themes/Materia*/gnome-shell", - "/share/themes/Materia*/gtk-3.0", - "/share/themes/Materia*/metacity-1", - "/share/themes/Materia*/cinnamon", - "/share/themes/Materia*/chrome", - "/share/themes/Materia*/plank", - "/share/themes/Materia*/unity" - ], - "sources": [ + "name": "greybird-gtk2-theme", + "// NOTE": "This is used by many XFCE distros", + "buildsystem": "meson", + "cleanup": [ + "/share/themes/Greybird*/xfwm4", + "/share/themes/Greybird*/gnome-shell", + "/share/themes/Greybird*/gtk-3.0", + "/share/themes/Greybird*/metacity-1", + "/share/themes/Greybird*/xfce-notify-4.0", + "/share/themes/Greybird*/plank", + "/share/themes/Greybird*/unity", + "/share/themes/Greybird*/*.emerald" + ], + "sources": [ + { + "type": "archive", + "url": "https://github.com/shimmerproject/Greybird/archive/v3.22.12.tar.gz", + "sha256": "410804cd5daca33cbc5c7c4a179f3a334ced87f408e515fc5d9c083a04bec4bc" + } + ] + }, { - "type": "git", - "url": "https://github.com/nana-4/materia-theme.git", - "commit": "b36b379c9256b67e5f63a60c6faf6912f1845b66" + "name": "materia-gtk2-theme", + "// NOTE": "This is used by Ubuntu Studio", + "buildsystem": "meson", + "cleanup": [ + "/share/themes/Materia*/xfwm4", + "/share/themes/Materia*/gnome-shell", + "/share/themes/Materia*/gtk-3.0", + "/share/themes/Materia*/metacity-1", + "/share/themes/Materia*/cinnamon", + "/share/themes/Materia*/chrome", + "/share/themes/Materia*/plank", + "/share/themes/Materia*/unity" + ], + "sources": [ + { + "type": "git", + "url": "https://github.com/nana-4/materia-theme.git", + "commit": "b36b379c9256b67e5f63a60c6faf6912f1845b66" + } + ] } - ] - } - ] + ] }