summaryrefslogtreecommitdiff
path: root/gnome-extra/gnome-shell-extension-dash-to-panel
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-extra/gnome-shell-extension-dash-to-panel')
-rw-r--r--gnome-extra/gnome-shell-extension-dash-to-panel/Manifest5
-rw-r--r--gnome-extra/gnome-shell-extension-dash-to-panel/files/gnome-shell-extension-dash-to-panel-26-branding.patch11
-rw-r--r--gnome-extra/gnome-shell-extension-dash-to-panel/files/gnome-shell-extension-dash-to-panel-26-opacity.patch11
-rw-r--r--gnome-extra/gnome-shell-extension-dash-to-panel/gnome-shell-extension-dash-to-panel-26.ebuild74
4 files changed, 101 insertions, 0 deletions
diff --git a/gnome-extra/gnome-shell-extension-dash-to-panel/Manifest b/gnome-extra/gnome-shell-extension-dash-to-panel/Manifest
index 4cfddf7d5e8b..c855e4e02618 100644
--- a/gnome-extra/gnome-shell-extension-dash-to-panel/Manifest
+++ b/gnome-extra/gnome-shell-extension-dash-to-panel/Manifest
@@ -1,3 +1,8 @@
+AUX gnome-shell-extension-dash-to-panel-26-branding.patch 637 BLAKE2B 1e124561143b577413090e16c7ad0c8cbb66911b079ae5844da9cf04e0197aab15fc4f746d3020ab7d4e6756b8a35befa773967c223d29289e13c6b3ffd70234 SHA512 8c176972ff10e87e957cfdda23e86a3e434dc050e8a954e7c2257942301daa5aa7c5b788188768f13c5b009d842fca8b14819a255a6a561dac8fa60e355ec211
+AUX gnome-shell-extension-dash-to-panel-26-opacity.patch 578 BLAKE2B 64feaf9d1acba25d991d52e10c78741dbe9f948639c951e9b11dfbc1ebb7e83c854ffcb4ac2b3661b5482868bf9de8d91b661775f3eb1f6a762ff36e9b737a0b SHA512 0c09afaabcbbe6c10c930dfc9acb72fabf2c458486bc9f62661aab41bbb2b3fd2fbb430e31c36915dd2233c28486597aba5ccd9fb25c9e7945c10cd856b6e26d
DIST gnome-shell-extension-dash-to-panel-23.tar.gz 21075058 BLAKE2B 66a48a2ca1379fb423fbd55e68b13dc8e649aceb89676d80893b56e6bda860937946bc981bca110634c975c8712378e5dbdc67f5749a4f5aa70622b75304b71b SHA512 0f8ea1b5b92213046195e88cd6433f15cf05d73712c88def4ffcfe43e75e8fad11df5a25a2b4e2ace9ac0e4b56c151e20931cfa233c39589ee33d1fec1a8499a
+DIST gnome-shell-extension-dash-to-panel-26.tar.gz 21100594 BLAKE2B da90d4f496e10c14c554edb74065c95bf211f6778c097e3b81d863a46d0d3477f281cebac72f334b461f28b998284a861363b27d6c17ef5b1d47947a1f44bf01 SHA512 45bc148d2419db5943d0c2170ea3739a36c5a928c39d070501c5dfbec3910ba08058af1926c42f75d6b3e5918d8c30aef4f38db0af14115c11027520fa582a2f
+DIST tango-gentoo-v1.1.tar.gz 29322 BLAKE2B 83fa2bf37727e60851dd679054fe1b153ebfea58c9a9a40f891f7d68d3b047b02e8effa1d1b4e08d64500a2072ce7200f159c92a352da7124de27e1b05bb6027 SHA512 87d47ddab68361db6d99866c51705dcb3e198f8345a1096859acf2c6cca5099dd23c7fb30d124f52c4933ea38fd45fadffbbe6ecbdfa84f5b60938a4824f9045
EBUILD gnome-shell-extension-dash-to-panel-23.ebuild 1112 BLAKE2B bdaf9d18f2b067a30b5d19fbe832e7401d15760034761dd071a4a8d2c6cc3c24a406e7d978ad2cb45db716529494ee940207d7df04f2a73522ddca209d9c4822 SHA512 9c3d8319ea56944f7ebf9746570db3099d9726d3254659293a5c22f66656a4148d3819a6a2f7a07ceb2db25ed12b1aaf34995125b15a4753d8c535fffc7aa88e
+EBUILD gnome-shell-extension-dash-to-panel-26.ebuild 1702 BLAKE2B 488517e093cd658c7174d3c3cdf78887bbb544d87cd89d4ebec86a53fa8c43d339a5d656f51906b2ce7f0398636b26c03d15ea2fcaf9db6e6c0b9a376a586c46 SHA512 7f18fdfaef29f4f942d31ff71b45608a1aa3c785e0e57c0e90d76f33c952209e0cc1fb5bea9fb6f566f33d8f64aac09a64308ed844efc85be01a30523ed1fcd4
MISC metadata.xml 216 BLAKE2B 0fbfa16661345362ff89f87adc0bb42fc5f5c9145cdedb36f3f537b39af4023b91c4dfb0d8e83a4f9ac963141f594ba8ae678371c338d992a96e02c11fd84195 SHA512 628a69805356b7458edaa2297901224178b016477a937f77e692a78ce3e7a0b6d2d7b4c4b7e70d0185d7112e6a59a5131e07d8c950e90b9c8722471d7511afc6
diff --git a/gnome-extra/gnome-shell-extension-dash-to-panel/files/gnome-shell-extension-dash-to-panel-26-branding.patch b/gnome-extra/gnome-shell-extension-dash-to-panel/files/gnome-shell-extension-dash-to-panel-26-branding.patch
new file mode 100644
index 000000000000..fde8e190eabc
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-dash-to-panel/files/gnome-shell-extension-dash-to-panel-26-branding.patch
@@ -0,0 +1,11 @@
+--- a/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml~ 2019-11-15 20:43:03.000000000 +0100
++++ b/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml 2019-11-15 21:01:39.754116059 +0100
+@@ -352,7 +352,7 @@
+ <description>Show appplications button in the dash</description>
+ </key>
+ <key type="s" name="show-apps-icon-file">
+- <default>""</default>
++ <default>"/usr/share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/img/gentoo.svg"</default>
+ <summary>Custom Show Applications icon</summary>
+ <description>Customize the Show Applications icon</description>
+ </key>
diff --git a/gnome-extra/gnome-shell-extension-dash-to-panel/files/gnome-shell-extension-dash-to-panel-26-opacity.patch b/gnome-extra/gnome-shell-extension-dash-to-panel/files/gnome-shell-extension-dash-to-panel-26-opacity.patch
new file mode 100644
index 000000000000..013d5d81813f
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-dash-to-panel/files/gnome-shell-extension-dash-to-panel-26-opacity.patch
@@ -0,0 +1,11 @@
+--- a/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml.old 2019-11-15 20:38:17.244421281 +0100
++++ b/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml 2019-11-15 20:43:03.570757200 +0100
+@@ -222,7 +222,7 @@
+ <description>Custom background color for the panel</description>
+ </key>
+ <key type="b" name="trans-use-custom-opacity">
+- <default>false</default>
++ <default>true</default>
+ <summary>Custom background color</summary>
+ <description>Replace current theme background color for the panel</description>
+ </key>
diff --git a/gnome-extra/gnome-shell-extension-dash-to-panel/gnome-shell-extension-dash-to-panel-26.ebuild b/gnome-extra/gnome-shell-extension-dash-to-panel/gnome-shell-extension-dash-to-panel-26.ebuild
new file mode 100644
index 000000000000..48736876ea00
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-dash-to-panel/gnome-shell-extension-dash-to-panel-26.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit gnome2-utils
+
+MY_PN="${PN/gnome-shell-extension-/}"
+MY_P="${MY_PN}-${PV}"
+DESCRIPTION="An icon taskbar for the Gnome Shell"
+HOMEPAGE="https://github.com/home-sweet-gnome/dash-to-panel"
+SRC_URI="
+ https://github.com/home-sweet-gnome/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ branding? ( https://www.mail-archive.com/tango-artists@lists.freedesktop.org/msg00043/tango-gentoo-v1.1.tar.gz )
+"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="branding"
+
+COMMON_DEPEND="dev-libs/glib:2"
+RDEPEND="${COMMON_DEPEND}
+ app-eselect/eselect-gnome-shell-extensions
+ >=gnome-base/gnome-shell-3.18.0
+"
+DEPEND="${COMMON_DEPEND}"
+BDEPEND="
+ dev-util/intltool
+ sys-devel/gettext
+"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+ # Enable by default custom opacity to get panel slightly transparent
+ # as was done in older Gnome versions
+ "${FILESDIR}"/${PN}-26-opacity.patch
+)
+
+src_prepare() {
+ default
+
+ # Set correct version
+ export VERSION="${PV}"
+
+ # Don't install README and COPYING in unwanted locations
+ sed -i -e 's/COPYING//g' -e 's/README.md//g' Makefile || die
+
+ # Provide fancy Gentoo icon when requested
+ use branding && eapply "${FILESDIR}"/${PN}-26-branding.patch
+}
+
+src_install() {
+ default
+ if use branding; then
+ insinto /usr/share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/img
+ doins "${WORKDIR}/tango-gentoo-v1.1/scalable/gentoo.svg"
+ fi
+}
+
+pkg_preinst() {
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ gnome2_schemas_update
+ ebegin "Updating list of installed extensions"
+ eselect gnome-shell-extensions update
+ eend $?
+}
+
+pkg_postrm() {
+ gnome2_schemas_update
+}