seamonkey: add seamonkey-chat.desktop and sasl script for chatzilla
sasl: For users connecting through tor, many internet cafes, or certain ISP's, several irc networks require sasl. Freenode is one of them. ChatZilla doesn't have sasl yet, but there's a script that works very well and very easily for that at http://gry.blinkenshell.org/FreeSoftware/irc/cz/scripts/cz_sasl-0.6.2.js . That should end up copied to /usr/lib/seamonkey-$VERSION/defaults/profile/chatzilla/scripts/cz_sasl/init.js . I don't know how to make it reliably end up there, given it's a Mozilla build.
A menu launcher for ChatZilla is needed. I would call it "seamonkey-chat.desktop" and not "chatzilla.desktop". That matches what we're doing for the mail component, and ChatZilla can also be built as a standalone; if we ever do that, we'll need the name "chatzilla.desktop" available for that. I think the Exec line is 'Exec=/usr/bin/seamonkey -chat'
Comments (8)
-
-
Btw, pls double check the seamonkey is use mozilla-nss in the MAKEDEPEND instead of the old nspr package.
-
reporter I'll post a pull request with these changes some time this week.
-
reporter -
assigned issue to
-
assigned issue to
-
- changed status to resolved
Fixes
#96Merged in roarde/vl72-roarde (pull request #26)seamonkey - add .desktop and sasl for chatzilla
→ <<cset 793f0f8d66ed>>
-
reporter The .desktop is there. The directory for the sasl addon is there, but the script itself didn't make it in.
Edited local copy of the sb, testing with a local build. This will take a few days; started yesterday.
Not re-opening the issue at this time.
-
Check the build log at http://vlcore.vectorlinux.com/buildbot/builders/seamonkey/builds/45/steps/32-bit%20build/logs/stdio
You should use below
cp -a $CWD/cz_sasl-0.6.2.js $PKG/usr/lib${LIBDIRSUFFIX}/seamonkey-$VERSION/defaults/profile/chatzilla/scripts/cz_sasl/init.js
Btw, i think below script is not working...
# Install js/nspr/nss headers. for includedir in nspr nspr/obsolete nspr/private ; do mkdir -p $PKG/usr/include/seamonkey-${VERSION}/$includedir cp -aL mozilla/dist/include/${includedir}/*.h $PKG/usr/include/seamonkey-${VERSION}/$includedir done cp -aL mozilla/dist/include/*.tbl mozilla/dist/include/*.msg $PKG/usr/include/seamonkey-${VERSION} cp -aL mozilla/dist/include/*.h $PKG/usr/include/seamonkey-${VERSION} cp -aL mozilla/dist/sdk/include/* $PKG/usr/include/seamonkey-${VERSION} # compat symlinks ( cd $PKG/usr/include/seamonkey-${VERSION} # make install seems to install js headers into a directory now, so don't make a symlink: #ln -sf . js # Relocate anything that might be in the nss directory, and replace the directory with a symlink. # make install was putting an empty directory here, which was breaking other compiles. if [ -d nss ]; then mv nss/* . rmdir nss fi ln -sf . nss ln -sf . plugin ln -sf . xpcom )
make[2]: Leaving directory '/tmp/builds/seamonkey/tmp/seamonkey-2.39/obj/suite/installer' make[1]: Leaving directory '/tmp/builds/seamonkey/tmp/seamonkey-2.39/obj' cp: cannot stat 'mozilla/dist/include/nspr/*.h': No such file or directory cp: cannot stat 'mozilla/dist/include/nspr/obsolete/*.h': No such file or directory cp: cannot stat 'mozilla/dist/include/nspr/private/*.h': No such file or directory cp: cannot stat 'mozilla/dist/include/*.tbl': No such file or directory cp: cannot stat 'mozilla/dist/include/*.msg': No such file or directory cp: cannot stat 'mozilla/dist/include/*.h': No such file or directory cp: cannot stat 'mozilla/dist/sdk/include/*': No such file or directory seamonkey.SlackBuild: line 349: /tmp/builds/seamonkey/src/cz_sasl*.js: No such file or directory seamonkey.SlackBuild: line 353: cd: mozilla: No such file or directory cp: cannot stat 'LEGAL': No such file or directory cp: cannot stat 'LICENSE': No such file or directory cp: cannot stat 'README.txt': No such file or directory find: `/tmp/builds/seamonkey/tmp/package-seamonkey/usr/man': No such file or directory find: `/tmp/builds/seamonkey/tmp/package-seamonkey/usr/info': No such file or directory awk: fatal: cannot open file `/tmp/builds/seamonkey/tmp/seamonkey-2.39/config.log' for reading (No such file or directory)
-
reporter Installed build 3. Fixed.
- Log in to comment
The seamonkey package in the past used to conflict with our
mozilla-nss
and/ornspr
packages. It should be noted thatnspr
now conflicts with mozilla-nss because mozilla-nss includes the necessary stuff from nspr.After reviewing the current version of the seamonkey.SlackBuild, it looks like this conflict is no longer a problem. You should be able to re-built the seamonkey package to include this.
Here is how to include it.
You will need to download the script into the
$CWD
directory, and then after themake install
directive in the SlackBuild, you should add a section like thisAfter that, you would write your .desktop file with the correct call for the
Exec
directory. You may use a modified version of the existing chatzilla .desktop file. Make sure you change theName
directive and probably theComment
are modified accordingly.This file needs to be placed in
$PKG/usr/share/applications/