Lastfmsubmitd version 0.35 - How to Download and Install on Mac OS X
Wednesday the 4th of November, 2009

    lastfmsubmitd  most recent diff


    version 0.35

      View the most recent changes for the lastfmsubmitd port at: lastfmsubmitd.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for lastfmsubmitd.
      The raw portfile for lastfmsubmitd 0.35 is located here:
      http://lastfmsubmitd.darwinports.com/dports/audio/lastfmsubmitd/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/lastfmsubmitd


      The lastfmsubmitd Portfile 51955 2009-06-07 10:04:10Z arthurk macports.org $

      PortSystem 1.0
      PortGroup python25 1.0

      Name: lastfmsubmitd
      Version: 0.35
      Description: LastFM Music Submitter
      Category: audio
      Maintainers: sfiera
      Long Description: lastfmsubmitd is a replacement for the traditional Last.fm plugin model. Instead of re-implementing networking and caching code in each plugin, player plugins can simply send song information to the daemon, which will take care of the rest.

      Homepage: http://www.red-bean.com/~decklin/software/lastfmsubmitd/
      Platform: darwin
      Master Sites: ${homepage}
      use_bzip2 yes
      Checksums: md5 0da502e0ecbbaef373c9849e33187367 sha1 98fb020a54f8e49b16090fb1af07912a12351d8f rmd160 c6a06aa3931b823ee8de2e863812b1a8542ffa47

      set dirs { /var/spool/lastfm /var/run/lastfm /var/log/lastfm }
      set conf lastfmsubmitd.conf.sample
      set user "lastfm"

      post-extract {
      file copy ${filespath}/${conf} ${worksrcpath}
      }

      Patch Files: patch-config.py.diff patch-setup.py.diff patch-lastfmsubmitd.1.diff
      post-patch {
      reinplace "s| PREFIX |${prefix}|" doc/lastfmsubmitd.1
      reinplace "s| PREFIX |${prefix}|" lib/lastfm/config.py
      reinplace "s| PREFIX |${prefix}|" ${conf}
      }

      post-destroot {
      addgroup ${user}
      set gid [existsgroup ${user}]
      adduser ${user} gid=${gid} realname=LastFM\ Submit\ Daemon

      foreach dir ${dirs} {
      xinstall -m 755 -o ${user} -g ${user} -d ${destroot}${prefix}${dir}
      destroot.keepdirs-append ${destroot}${prefix}${dir}
      }
      xinstall -m 600 -o ${user} -g ${user} ${worksrcpath}/${conf} ${destroot}${prefix}/etc/${conf}
      }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/lastfmsubmitd
      % sudo port install lastfmsubmitd
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching lastfmsubmitd
      ---> Verifying checksum for lastfmsubmitd
      ---> Extracting lastfmsubmitd
      ---> Configuring lastfmsubmitd
      ---> Building lastfmsubmitd with target all
      ---> Staging lastfmsubmitd into destroot
      ---> Installing lastfmsubmitd
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using lastfmsubmitd with these commands:
      %  man lastfmsubmitd
      % apropos lastfmsubmitd
      % which lastfmsubmitd
      % locate lastfmsubmitd

     Where to find more information:

    Darwin Ports



    Lightbox this page.