Adds customavatar service bundle.

cusax-fix
Damian Minkov 13 years ago
parent b7c31e61e0
commit bf9639acb5

@ -948,7 +948,7 @@
bundle-contactsource,bundle-plugin-reconnect,bundle-plugin-securityconfig,
bundle-plugin-advancedconfig,
bundle-credentialsstorage,bundle-credentialsstorage-slick,
bundle-plugin-nimbuzzavatar,
bundle-plugin-nimbuzzavatar,bundle-custom-avatar,
bundle-replacement,bundle-youtube,bundle-dailymotion,bundle-smiley,
bundle-vimeo,bundle-vbox7,bundle-metacafe,bundle-flickr,bundle-hulu,
bundle-twitpic,bundle-directimage,bundle-bliptv,bundle-viddler,
@ -1193,8 +1193,6 @@
<target name="bundle-hid">
<jar compress="false" destfile="${bundles.dest}/hid.jar"
manifest="${src}/net/java/sip/communicator/impl/hid/hid.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/hid"
prefix="net/java/sip/communicator/service/hid"/>
<zipfileset dir="${dest}/net/java/sip/communicator/impl/hid"
prefix="net/java/sip/communicator/impl/hid" />
</jar>
@ -1343,8 +1341,6 @@ javax.swing.event, javax.swing.border"/>
<!-- Creates a bundle containing the protocol provider interfaces.-->
<jar compress="false" destfile="${bundles.dest}/protocol.jar"
manifest="${src}/net/java/sip/communicator/service/protocol/protocol.provider.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/customavatar"
prefix="net/java/sip/communicator/service/customavatar" />
<zipfileset dir="${dest}/net/java/sip/communicator/service/protocol"
prefix="net/java/sip/communicator/service/protocol"/>
<zipfileset dir="${resources}/images"
@ -2489,6 +2485,15 @@ javax.swing.event, javax.swing.border"/>
</jar>
</target>
<!-- BUNDLE-CUSTOM-AVATAR -->
<target name="bundle-custom-avatar">
<jar compress="false" destfile="${bundles.dest}/customavatar-service.jar"
manifest="${src}/net/java/sip/communicator/service/customavatar/customavatar.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/customavatar"
prefix="net/java/sip/communicator/service/customavatar" />
</jar>
</target>
<!-- BUNDLE-REPLACEMENT -->
<target name="bundle-replacement">
<!-- Creates a bundle containing the replacement service.-->

@ -177,6 +177,7 @@ felix.auto.start.67= \
reference:file:sc-bundles/replacement-directimage.jar \
reference:file:sc-bundles/replacement-bliptv.jar \
reference:file:sc-bundles/replacement-viddler.jar \
reference:file:sc-bundles/customavatar-service.jar \
reference:file:sc-bundles/plugin-nimbuzzavatars.jar \
reference:file:sc-bundles/chatconfig.jar \
reference:file:sc-bundles/addrbook.jar \

@ -6,5 +6,5 @@ Bundle-Version: 0.0.1
System-Bundle: yes
Import-Package: org.osgi.framework,
org.jitsi.util,
net.java.sip.communicator.util
Export-Package: net.java.sip.communicator.service.hid
net.java.sip.communicator.util,
net.java.sip.communicator.service.hid

@ -17,8 +17,8 @@ public interface CustomAvatarService
{
/**
* Returns the avatar bytes for the given contact address.
* @param address the address to search for its avatar.
* @param contactAddress the address of a contact to search for its avatar.
* @return image bytes.
*/
public byte[] getAvatar(String address);
public byte[] getAvatar(String contactAddress);
}

@ -0,0 +1,6 @@
Bundle-Name: Custom Avatar Service
Bundle-Description: A bundle that offers custom avatar retrieving.
Bundle-Vendor: jitsi.org
Bundle-Version: 0.0.1
System-Bundle: yes
Export-Package: net.java.sip.communicator.service.customavatar

@ -16,7 +16,6 @@ Import-Package: net.java.sip.communicator.service.credentialsstorage,
org.osgi.framework
Export-Package: net.java.sip.communicator.service.protocol,
net.java.sip.communicator.service.protocol.aimconstants,
net.java.sip.communicator.service.customavatar,
net.java.sip.communicator.service.protocol.event,
net.java.sip.communicator.service.protocol.globalstatus,
net.java.sip.communicator.service.protocol.icqconstants,

Loading…
Cancel
Save