diff options
author | Vlad Glagolev | 2015-07-26 00:26:50 +0300 |
---|---|---|
committer | Vlad Glagolev | 2015-07-26 00:26:50 +0300 |
commit | 28ccd81411cb640d5887488d039f63c5286e6052 (patch) | |
tree | bf30b0161444ca303b9494110b6a7973c3ad0e62 | |
parent | 82542dc979c8214e7f60f514a641da82911fc189 (diff) |
palemoon: polished desktop look
-rwxr-xr-x | http/palemoon/DEPENDS | 3 | ||||
-rwxr-xr-x | http/palemoon/FINAL | 3 | ||||
-rw-r--r-- | http/palemoon/HISTORY | 5 | ||||
-rwxr-xr-x | http/palemoon/INSTALL | 7 | ||||
-rw-r--r-- | http/palemoon/profile.d/palemoon.sh | 14 |
5 files changed, 31 insertions, 1 deletions
diff --git a/http/palemoon/DEPENDS b/http/palemoon/DEPENDS index caaa205b4a..a887325a73 100755 --- a/http/palemoon/DEPENDS +++ b/http/palemoon/DEPENDS @@ -30,6 +30,9 @@ depends libsm && depends libxscrnsaver && depends libxrender && +# misc +depends desktop-file-utils && + optional_depends freetype2 \ "--disable-tree-freetype" \ "--enable-tree-freetype" \ diff --git a/http/palemoon/FINAL b/http/palemoon/FINAL new file mode 100755 index 0000000000..8d6188c748 --- /dev/null +++ b/http/palemoon/FINAL @@ -0,0 +1,3 @@ +update-desktop-database && + +gtk-update-icon-cache -q -t -f "${INSTALL_ROOT}/usr/share/icons/hicolor" diff --git a/http/palemoon/HISTORY b/http/palemoon/HISTORY index 65dc028ad3..325f67b5d4 100644 --- a/http/palemoon/HISTORY +++ b/http/palemoon/HISTORY @@ -1,8 +1,11 @@ 2015-07-25 Vlad Glagolev <stealth@sourcemage.org> * DETAILS: PATCHLEVEL=1 - * INSTALL: install application icons + * INSTALL: install application icons and pre-runtime script + * DEPENDS: added desktop-file-utils * PRE_BUILD: more careful file permissions' handling + * FINAL: added, to regenerate various caches * desktop/palemoon.desktop: added, desktop spec file + * profile.d/palemoon.sh: added, pre-runtime script 2015-07-23 Vlad Glagolev <stealth@sourcemage.org> * DETAILS, DEPENDS, {PRE_,}BUILD, INSTALL, CONFIGURE, PROVIDES, diff --git a/http/palemoon/INSTALL b/http/palemoon/INSTALL index 9931501209..dcfeb75fda 100755 --- a/http/palemoon/INSTALL +++ b/http/palemoon/INSTALL @@ -12,4 +12,11 @@ done && mkdir -vp "${INSTALL_ROOT}/usr/share/icons/hicolor/128x128/apps" && install -vm 644 branding/mozicon128.png "${INSTALL_ROOT}/usr/share/icons/hicolor/128x128/apps/palemoon.png" && +mkdir -vp "${INSTALL_ROOT}/etc/profile.d/" && + +if install_config_file "${SPELL_DIRECTORY}/profile.d/palemoon.sh" \ + "${INSTALL_ROOT}/etc/profile.d/palemoon.sh"; then + chmod +x "${INSTALL_ROOT}/etc/profile.d/palemoon.sh" +fi && + ln -vsf "${TRACK_ROOT}/usr/lib/palemoon/palemoon" "${INSTALL_ROOT}/usr/bin/palemoon" diff --git a/http/palemoon/profile.d/palemoon.sh b/http/palemoon/profile.d/palemoon.sh new file mode 100644 index 0000000000..11a0ba9edb --- /dev/null +++ b/http/palemoon/profile.d/palemoon.sh @@ -0,0 +1,14 @@ +#!/bin/sh +# +# First check if this variable is already set +# then if not set, check it (maybe), then set it +# +# Set MOZ_PLUGIN_PATH for Pale Moon which need +# the plugins (e.g. flash) in default path +# + +if [ -z "$MOZ_PLUGIN_PATH" ]; then + MOZ_PLUGIN_PATH="/usr/lib/palemoon/plugins" +fi && + +export MOZ_PLUGIN_PATH |