Package Details: canta-gtk-theme-git 2021.09.08.r6.332fdec-1

Git Clone URL: https://aur.archlinux.org/canta-theme-git.git (read-only, click to copy)
Package Base: canta-theme-git
Description: Flat Material Design theme for GTK 3, GTK 2 and Gnome-Shell
Upstream URL: https://github.com/vinceliuice/Canta-theme
Licenses: GPL2
Submitter: dcelasun
Maintainer: Sherlock-Holo
Last Packager: Sherlock-Holo
Votes: 13
Popularity: 0.000000
First Submitted: 2018-04-05 07:23 (UTC)
Last Updated: 2022-03-02 04:03 (UTC)

Latest Comments

1 2 Next › Last »

yochananmarqos commented on 2020-09-27 04:06 (UTC)

sassc is only required for the install script, it's not a runtime dependency. The Numix Circle icon theme is recommended, not required. The GTK theme and icon theme do not share any dependencies, they should be listed by package. See my PKGBUILD.

Sherlock-Holo commented on 2019-04-09 13:21 (UTC)

@chvp fixed

chvp commented on 2019-04-08 17:32 (UTC)

This package fails to build since the latest commit. The icons were moved from src to the root of the repository.

Sherlock-Holo commented on 2018-09-29 06:59 (UTC)

@j1simon I try your PKGBUILD it works well but if I use -b option, the --dest is invalid, let's wait author to fix this bug

j1simon commented on 2018-09-27 12:02 (UTC)

@Sherlock-Holo The developer of this theme/icon set is very fast ;-) and he has fixed the error in install script, now your PKGBUILD could be so simply like this:

# Maintainer: Sherlock Holo <sherlockya at gmail dot com>
# Contributor: Can Celasun <can [at] dcc [dot] im>

pkgbase=canta-theme-git
_pkgname=canta-theme
pkgname=('canta-gtk-theme-git' 'canta-icon-theme-git')
pkgdesc="Flat Material Design theme for GTK 3, GTK 2 and Gnome-Shell"
pkgver=2018_05_15.r16.d0b2439
pkgrel=1
arch=('any')
url="https://github.com/vinceliuice/Canta-theme"
license=('GPL2')
depends=('numix-circle-icon-theme-git'
            'gtk-engine-murrine'
            'gnome-themes-standard'
            'sassc')
makedepends=('gtk3' 'git')

source=("${_pkgname}::git+https://github.com/vinceliuice/Canta-theme.git")
md5sums=('SKIP')

pkgver() {
    cd "${srcdir}/${_pkgname}"
    git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g'
}

package_canta-gtk-theme-git() {
  cd "${srcdir}/${_pkgname}"
  mkdir -p "${pkgdir}/usr/share/themes"
  ./install.sh --dest "${pkgdir}/usr/share/themes"
}

package_canta-icon-theme-git() {
    pkgdesc="Flat icons for Canta GTK theme"

    mkdir -p "${pkgdir}"/usr/share/icons/Canta
    cp "${srcdir}"/${_pkgname}/src/icons/Canta/* "${pkgdir}"/usr/share/icons/Canta -R
}

The background image in Nautilus, IMHO, is unnecessary and sometimes hinders the visibility of the content. I suppose that's precisely why the creator of this theme has made 2 installers: the main one without that image. In any case, if you want to install the image by default with this package, you should wait for developer to fix this error: https://github.com/vinceliuice/Canta-theme/issues/39

j1simon commented on 2018-09-26 14:59 (UTC)

@Sherlock-Holo The folder structure should be (inside /usr/share/themes/):

Canta
Canta-compact
Canta-compact-square
Canta-dark
Canta-dark-compact
Canta-dark-compact-square
Canta-dark-square
Canta-light
Canta-light-compact
Canta-light-compact-square
Canta-light-square
Canta-square

One folder for variant. And inside of every variant folder must be these:

AUTHORS
COPYING
gnome-shell
gtk-2.0
gtk-3.0
gtk-assets
index.theme
metacity-1
unity
xfwm4

In your case, inside /usr/share/themes/ only there is the folder Canta.

But also the installation script is wrong: https://github.com/vinceliuice/Canta-theme/issues/38

When he fixes that error, the package step should be easy (the build step is unnecessary):

...
package_canta-gtk-theme-git() {
  cd "${srcdir}/${_pkgname}"
  mkdir -p "${pkgdir}/usr/share/themes"
  ./install.sh --dest "${pkgdir}/usr/share/themes"
}
...

Sherlock-Holo commented on 2018-09-26 01:05 (UTC) (edited on 2018-09-26 01:05 (UTC) by Sherlock-Holo)

actually with my gnome-tweak-tools, I can see all canta theme such as canta-dark canta-light and others, don't you choose those? I can use them normally and pacman -Ql canta-gtk-theme-git can see like /usr/share/themes/Canta/metacity-1/build/Canta-square/metacity-1/build/Canta-square/unity/launcher_pip_btt_37.svg things

j1simon commented on 2018-09-25 16:07 (UTC)

@allen2003 @Sherlock-Holo the Nautilus background image is optional. Canta has 2 installers: one with background image and another (the default) without it. Personally I prefer without image.

j1simon commented on 2018-09-25 16:01 (UTC) (edited on 2018-09-25 16:02 (UTC) by j1simon)

This theme has several variants but this PKGBUILD only install one. If you see the install.sh script in github:

...
THEME_NAME=Canta
COLOR_VARIANTS=('' '-dark' '-light')
SIZE_VARIANTS=('' '-compact')
RADIUS_VARIANTS=('' '-square')
...

You should see the PKGBUILD of materia-theme-git: https://aur.archlinux.org/packages/materia-theme-git/

Sherlock-Holo commented on 2018-09-19 08:29 (UTC)

@alien2003

it should be fixed now