Notices: This section not yet converted to new layout. Download stats are rolling back out.

Purple Facebook

0.9.6.166

Package test results are passing.

This package was approved as a trusted package on 9/9/2019.

Purple Facebook implements the Facebook Messenger protocol into pidgin, finch, and libpurple. While the primary implementation is for purple3, this plugin is back-ported for purple2.

The purple-facebook plugin is a replacement for the builtin Facebook XMPP plugin. Facebook is in the process of shutting down their XMPP service, which will inevitably break existing support.

As part of Google Summer of Code (GSoC) 2015, jgeboski worked on a plugin for libpurple to support the newer Facebook Messenger protocol. The plugin is implemented for the development version of libpurple, purple3, which has yet to be released. The purple-facebook project simply back-ports the purple3 plugin to purple2, which is the released version of libpurple.

As of October 18, 2015, jgeboski's GSoC work was merged into the mainline Pidgin project. It will appear in the next major release of Pidgin.

https://github.com/jgeboski/purple-facebook/wiki

**Notes from the Chocolatey package owner(s):

-The purple-facebook project adds support for the Facebook Messenger protocol in pidgin, finch, and libpurple, but this Chocolatey package is for adding Facebook Messenger support for pidgin, specifically.

To install Purple Facebook, run the following command from the command line or from PowerShell:

C:\> choco install purple-facebook

To upgrade Purple Facebook, run the following command from the command line or from PowerShell:

C:\> choco upgrade purple-facebook

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $package_name = 'purple-facebook'
    $version = '0.9.6'
    $build_number = '166'
    $build_date = '20190113'
    $commit_hash = '0250907'
    $release_string = "$build_date-$version-$commit_hash-$build_number"
    $libjson_url="https://github.com/dequis/purple-facebook/releases/download/downloads/libjson-glib-1.0.dll"
    $libjson_checksumType="sha256"
    $libjson_checksum="F6F602D99933A00BFE040330095744FEE788884318F9583149E07F85637EB699"
    $libfb_url="https://cdn.rawgit.com/michaelray/purple-facebook-bin/master/libfacebook.dll/$release_string/libfacebook.dll"
    $libfb_checksumType="sha256"
    $libfb_checksum="4A92CBCEFD49D49FE7FF5ADA75ED7D7E50A30982005B51025BBE085253E84542"
    
    # Find the Pidgin install directory so that the plugin DLLs can be placed into the appropriate location
    $pidgin_subdir = 'Pidgin'
    $pidgin_plugin_subdir = 'plugins'
    $pidgin_file = 'pidgin.exe'
    $pidgin_path = ''
    
    if (Test-Path "${Env:ProgramFiles(x86)}\$pidgin_subdir\$pidgin_file")
    {
      $pidgin_path = "${Env:ProgramFiles(x86)}\$pidgin_subdir\"
    }
    elseif (Test-Path "${Env:ProgramFiles}\$pidgin_subdir\$pidgin_file")
    {
      $pidgin_path = "${Env:ProgramFiles}\$pidgin_subdir\"
    }
    
    if (!$pidgin_path)
    {
      throw 'Could not find Pidgin install directory to install purple-facebook plugin'
    }
    
    # Find or create the temp directory where libjson-glib & libfacebook DLLs will be downloaded
    $app_temp = Join-Path ${Env:Temp} $package_name
    if (!(Test-Path $app_temp))
    {
      New-Item $app_temp -Type Directory
    }
    
    # Get the DLL filename from the URL, get full temp/destination paths, then download (libjson-glib)
    $libjson_filename = $libjson_url -split '/' | Select-Object -Last 1
    $libjson_fulltemppath = Join-Path $app_temp $libjson_filename
    $libjson_fulldestpath = Join-Path $pidgin_path $libjson_filename
    Get-ChocolateyWebFile -PackageName $package_name -FileFullPath $libjson_fulltemppath -Url $libjson_url -ChecksumType $libjson_checksumType -Checksum $libjson_checksum
    
    # Get the DLL filename from the URL, get full temp/destination paths, then download (libfacebook)
    $libfb_filename = $libfb_url -split '/' | Select-Object -Last 1
    $libfb_fulltemppath = Join-Path $app_temp "build$build_number-$libfb_filename"
    $libfb_fulldestpath = Join-Path (Join-Path $pidgin_path $pidgin_plugin_subdir) $libfb_filename
    Get-ChocolateyWebFile -PackageName $package_name -FileFullPath $libfb_fulltemppath -Url $libfb_url -ChecksumType $libfb_checksumType -Checksum $libfb_checksum
    
    # Copy libjson-glib & libfacebook DLLs to the appropriate location
    Copy-Item -Path $libjson_fulltemppath -Destination $libjson_fulldestpath -Force
    Copy-Item -Path $libfb_fulltemppath -Destination $libfb_fulldestpath -Force
    
  • tools\chocolateyUninstall.ps1 Show
    $package_name = 'purple-facebook'
    
    $libjson_filename = 'libjson-glib-1.0.dll'
    $libfb_filename = 'libfacebook.dll'
    
    # Find the Pidgin install directory so that the plugin DLLs can be removed the appropriate location
    $pidgin_subdir = 'Pidgin'
    $pidgin_plugin_subdir = 'plugins'
    $pidgin_file = 'pidgin.exe'
    $pidgin_path = ''
    
    if (Test-Path "${Env:ProgramFiles(x86)}\$pidgin_subdir\$pidgin_file")
    {
      $pidgin_path = "${Env:ProgramFiles(x86)}\$pidgin_subdir\"
    }
    elseif (Test-Path "${Env:ProgramFiles}\$pidgin_subdir\$pidgin_file")
    {
      $pidgin_path = "${Env:ProgramFiles}\$pidgin_subdir\"
    }
    
    if (!$pidgin_path)
    {
      throw 'Could not find Pidgin install directory to install purple-facebook plugin'
    }
    
    # Remove libjson-glib & libfacebook DLLs from the appropriate locations
    $libjson_fullpath = Join-Path $pidgin_path $libjson_filename
    Remove-Item $libjson_fullpath
    
    $libfb_fullpath = Join-Path (Join-Path $pidgin_path $pidgin_plugin_subdir) $libfb_filename
    Remove-Item $libfb_fullpath
    

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

Package Maintainer(s)

Software Author(s)

  • James Geboski

Copyright

Free Software Foundation

Tags

Release Notes

https://github.com/dequis/purple-facebook/blob/master/ChangeLog

Version History

Version Downloads Last updated Status
Purple Facebook 0.9.5.145 182 Sunday, November 25, 2018 approved
Purple Facebook 0.9.5.137 451 Wednesday, October 18, 2017 approved
Purple Facebook 0.9.5.135 243 Tuesday, September 26, 2017 approved
Purple Facebook 0.9.4.128 257 Saturday, June 10, 2017 approved
Purple Facebook 0.9.3.126 250 Friday, March 31, 2017 approved
Purple Facebook 0.0.0.011700 313 Friday, December 23, 2016 approved
Purple Facebook 0.0.0.011600 270 Saturday, October 15, 2016 approved
Purple Facebook 0.0.0.011001 268 Sunday, August 21, 2016 approved
Purple Facebook 0.0.0.011000 259 Monday, May 9, 2016 approved
Show More

Discussion for the Purple Facebook Package

Ground rules:

  • This discussion is only about Purple Facebook and the Purple Facebook package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Purple Facebook, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok