Skip to content
Snippets Groups Projects
Commit be9f233b authored by Julien Bonjean's avatar Julien Bonjean
Browse files

[#2445] Moved debian files to build system

parent e31877b3
No related branches found
No related tags found
No related merge requests found
Showing
with 374 additions and 0 deletions
Source: mozilla-telify-sflphone
Section: web
Priority: optional
Maintainer: Julien Bonjean <julien.bonjean@savoirfairelinux.com>
Uploaders: Julien Bonjean <julien.bonjean@savoirfairelinux.com>
Build-Depends: debhelper (>= 7), unzip
Homepage: http://www.sflphone.org
Standards-Version: 3.8.3
DM-Upload-Allowed: yes
Package: mozilla-telify-sflphone
Depends: firefox-gnome-support, sflphone-client-gnome
Architecture: all
Description: This package provides telify firefox plugin and handler for SFLphone.
Telify recognizes phone numbers on web pages and converts them to clickable links.
Additionally, any text can be selected and handled as a phone number (including
vanity number conversion) by selecting the corresponding context menu item.
http://www.codepad.de/en/software/firefox-add-ons/telify.html
usr/share/telify usr/lib/firefox-addons/extensions/{6c5f349a-ddda-49ad-bdf0-326d3fe1f938}
Package: mozilla-telify-sflphone
Version: 0.4.7.3
Architecture: all
Maintainer: Julien Bonjean <julien.bonjean@savoirfairelinux.com>
Installed-Size: 1296
Depends: firefox-gnome-support, sflphone-client-gnome
Section: web
Priority: optional
Homepage: http://www.sflphone.org
Description: This package provides telify firefox plugin and handler for SFLphone.
Telify recognizes phone numbers on web pages and converts them to clickable links.
Additionally, any text can be selected and handled as a phone number (including
vanity number conversion) by selecting the corresponding context menu item.
http://www.codepad.de/en/software/firefox-add-ons/telify.html
#!/bin/sh
#
# This script can be used as a callto: (or other) protocol handler in
# Mozilla Firefox-based browser.
# In Firefox use Preferences > Applications and set the callto handler
# to this script.
# The sflphone daemon config file
RESFILE=~/.config/sflphone/sflphonedrc
# Parse sflphonedrc and get default account id string
if [ -f "$RESFILE" ]; then
# Use first ID
ACCOUNTID=`grep Accounts.order $RESFILE | sed -e 's/Accounts.order=//' -e 's/\/.*//'`
# Accounts.order is not set
if [ -z $ACCOUNTID ]; then
# Use first account declared in sflphone config
ACCOUNTID="`grep -m 1 Account: $RESFILE | sed -e 's/\[//' -e 's/\]//'`"
fi
else
echo Fatal: Cant find sflphonedrc config file.
exit 1
fi
# Check 1st argument (phone number)
if [ -z $1 ]; then
echo "Error: argument 1 (phone number) not provided."
exit 1
fi
# Cleanup destination, keeping numbers only
TO="`echo $1 | sed -e 's/[^0123456789]//g'`"
# Generate call id.
CALLID=${RANDOM}$$
dbus-send \
--type="method_call" \
--dest="org.sflphone.SFLphone" \
"/org/sflphone/SFLphone/CallManager" \
"org.sflphone.SFLphone.CallManager.placeCall" \
string:"$ACCOUNTID" \
string:"$CALLID" \
string:"$TO"
exit 0
# EOF
content telify chrome/content/
locale telify en-US chrome/locale/en-US/
locale telify de-DE chrome/locale/de-DE/
overlay chrome://browser/content/browser.xul chrome://telify/content/browser.xul
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment