Skip to content

Commit

Permalink
Preparing for publication to crates.io.
Browse files Browse the repository at this point in the history
  • Loading branch information
sp1ff committed Oct 22, 2020
1 parent ce9793b commit 7223a3f
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 7 deletions.
4 changes: 3 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
2020-10-21 Michael Herstine <sp1ff@pobox.com>
2020-10-22 Michael Herstine <sp1ff@pobox.com>

Preparing for publication to crates.io.

Generalized commands.
I removed the "scribbu" feature & associated commands & replaced
Expand Down
3 changes: 3 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
mpdpopm News -- history of user-visible changes -*- outline -*-

* 0.1.12 build

Minor changes preparatory to publication on crates.io; no user-facing changes.
* 0.1.11 build

** User-visible changes
Expand Down
8 changes: 4 additions & 4 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#+DESCRIPTION: mpdpopm
#+AUTHOR: Michael Herstine
#+EMAIL: sp1ff@pobox.com
#+DATE: <2020-10-21 Wed 12:53>
#+DATE: <2020-10-22 Thu 09:33>
#+AUTODATE: t

* Introduction
Expand All @@ -19,8 +19,8 @@
While I plan on publishing this to [[https://crates.io/][crates.io]], I have not yet done so. You can get a source tarball & install it through the usual =configure && make && make install=:

#+BEGIN_SRC bash
curl -L -O https://github.com/mpdpopm/archive/0.1.11.tar.gz
tar xf mpdpopm-0.1.11.tar.gz && cd mpdpopm-0.1.11
curl -L -O https://github.com/mpdpopm/archive/0.1.12.tar.gz
tar xf mpdpopm-0.1.12.tar.gz && cd mpdpopm-0.1.12
./configure && make all check
sudo make install
#+END_SRC
Expand Down Expand Up @@ -89,7 +89,7 @@ mpdpopm will invoke =/home/mgh/bin/scribbu= like this:

* Status & Roadmap

I am currently using [[https://github.com/sp1ff/mpdpopm][mpdpopm]] day in & day out with my music collection, but it's early days. I have chosen the version number (0.1) in the hopes of indicating that. I'm considering adding another sticker for a tag cloud, and adding a filter feature that would extend the MPD "find" capability to allow queries that include the stickers that [[https://github.com/sp1ff/mpdpopm][mpdpopm]] manages (so you could, for instance, say:
I am currently using [[https://github.com/sp1ff/mpdpopm][mpdpopm]] day in & day out with my music collection, but it's early days. I have chosen the version number (0.1) in the hopes of indicating that. I'm considering adding another sticker for a tag cloud, and adding a filter feature that would extend the MPD "find" capability to allow queries that include the stickers that [[https://github.com/sp1ff/mpdpopm][mpdpopm]] manages-- so you could, for instance, say:

#+BEGIN_EXAMPLE
find (artist =~ foo) and (rating > 175)
Expand Down
2 changes: 2 additions & 0 deletions bootstrap
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/sh
test -L README || ln -s README.org README
emacs --batch --no-site-file -l org --find-file README.org -f org-md-export-to-markdown
mv -v README.md mpdpopm
autoreconf -vfi
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AC_INIT([mpdpopm], [0.1.11], [sp1ff@pobox.com], [mpdpopm], [https://github.com/sp1ff/mpdpopm])
AC_INIT([mpdpopm], [0.1.12], [sp1ff@pobox.com], [mpdpopm], [https://github.com/sp1ff/mpdpopm])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_SRCDIR([mpdpopm/Cargo.toml.in])
AM_INIT_AUTOMAKE([-Wall -Werror -Wno-portability -Wno-override gnits std-options dist-bzip2 dist-xz])
Expand Down
1 change: 1 addition & 0 deletions mpdpopm/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ Cargo.lock
.mpdpopm
Cargo.toml
rusty-tags.emacs
README.md
8 changes: 8 additions & 0 deletions mpdpopm/Cargo.toml.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ name = "mpdpopm"
version = "@PACKAGE_VERSION@"
authors = ["@PACKAGE_AUTHOR@"]
edition = "2018"
license = "GPL-3.0-or-later"
description = "Maintain ratings & playcounts for your mpd server"
homepage = "https://github.com/sp1ff/mpdpopm"
repository = "https://github.com/sp1ff/mpdpopm"
readme = "README.md"
keywords = ["mpd", "music", "daemon"]
categories = ["multimedia", "network-programming", "database"]
exclude = ["Cargo.toml.in", "Cargo.toml.orig", "Makefile", "Makefile.in", "Makefile.am", "rusty-tags.emacs", "src/vars.rs.am.in", "src/vars.rs.am", "flapdoodle.rs", "*.log"]

[dependencies]
async-trait = "0.1.31"
Expand Down
4 changes: 3 additions & 1 deletion mpdpopm/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ bin_PROGRAMS = mppopmd mppopm
$(builddir)/src/flapdoodle.rs: $(builddir)/src/vars.rs.am
sed -e "s|\$${prefix}|$(prefix)|g" $< > $@

CLEANFILES = $(builddir)/Cargo.toml $(builddir)/src/flapdoodle.rs
CLEANFILES = $(builddir)/src/flapdoodle.rs

DISTCLEANFILES = $(builddir)/Cargo.toml

common_sources = clients.rs \
commands.rs \
Expand Down

0 comments on commit 7223a3f

Please sign in to comment.