summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xhttp/palemoon/DETAILS1
-rw-r--r--http/palemoon/HISTORY6
-rwxr-xr-xhttp/palemoon/INSTALL8
-rwxr-xr-xhttp/palemoon/PRE_BUILD4
-rw-r--r--http/palemoon/desktop/palemoon.desktop9
5 files changed, 26 insertions, 2 deletions
diff --git a/http/palemoon/DETAILS b/http/palemoon/DETAILS
index bcefb1832f..15b1865a00 100755
--- a/http/palemoon/DETAILS
+++ b/http/palemoon/DETAILS
@@ -1,5 +1,6 @@
SPELL=palemoon
VERSION=25.5.0
+ PATCHLEVEL=1
SOURCE=${SPELL}-${VERSION}-source.7z
SOURCE2=${SOURCE}.sig
SOURCE_URL[0]=ftp://source:current@ftp.palemoon.org/${SOURCE}
diff --git a/http/palemoon/HISTORY b/http/palemoon/HISTORY
index 8ed9268f49..65dc028ad3 100644
--- a/http/palemoon/HISTORY
+++ b/http/palemoon/HISTORY
@@ -1,3 +1,9 @@
+2015-07-25 Vlad Glagolev <stealth@sourcemage.org>
+ * DETAILS: PATCHLEVEL=1
+ * INSTALL: install application icons
+ * PRE_BUILD: more careful file permissions' handling
+ * desktop/palemoon.desktop: added, desktop spec file
+
2015-07-23 Vlad Glagolev <stealth@sourcemage.org>
* DETAILS, DEPENDS, {PRE_,}BUILD, INSTALL, CONFIGURE, PROVIDES,
moonchild.gpg, cairo-system.patch: created spell, version 25.5.0
diff --git a/http/palemoon/INSTALL b/http/palemoon/INSTALL
index b5d3fb3e50..9931501209 100755
--- a/http/palemoon/INSTALL
+++ b/http/palemoon/INSTALL
@@ -4,4 +4,12 @@ make package &&
cd dist &&
cp -av palemoon "${INSTALL_ROOT}/usr/lib/" &&
+for size in 16 32 48; do
+ mkdir -vp "${INSTALL_ROOT}/usr/share/icons/hicolor/${size}x${size}/apps" &&
+ install -vm 644 branding/default${size}.png "${INSTALL_ROOT}/usr/share/icons/hicolor/${size}x${size}/apps/palemoon.png"
+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" &&
+
ln -vsf "${TRACK_ROOT}/usr/lib/palemoon/palemoon" "${INSTALL_ROOT}/usr/bin/palemoon"
diff --git a/http/palemoon/PRE_BUILD b/http/palemoon/PRE_BUILD
index 282d79ce03..05e58edb32 100755
--- a/http/palemoon/PRE_BUILD
+++ b/http/palemoon/PRE_BUILD
@@ -7,8 +7,8 @@ verify_file &&
# resurrect permissions not stored by 7zip
find . -type d -exec chmod 755 '{}' \; &&
find . -type f -exec chmod 644 '{}' \; &&
-find . -name '*.sh' -exec chmod +x {} \; &&
-chmod -R +x build/autoconf/* python/* &&
+find build/autoconf -type f -not -name '*.m4' -exec chmod +x '{}' \; &&
+chmod +x python/mozbuild/mozbuild/mozconfig_loader &&
if is_depends_enabled $SPELL cairo; then
patch -p0 < "${SPELL_DIRECTORY}/cairo-system.patch"
diff --git a/http/palemoon/desktop/palemoon.desktop b/http/palemoon/desktop/palemoon.desktop
new file mode 100644
index 0000000000..fa393edac3
--- /dev/null
+++ b/http/palemoon/desktop/palemoon.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Pale Moon
+Comment=Web Browser
+Exec=palemoon %U
+Icon=palemoon
+Terminal=false
+Type=Application
+MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
+Categories=Network;Browsers;