flac-picture 0.1.0 → 0.1.1
raw patch · 4 files changed
+13/−72 lines, 4 filesdep ~flac-picturedep ~temporaryPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: flac-picture, temporary
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- Codec/Audio/FLAC/Metadata/Picture.hs +3/−3
- flac-picture.cabal +6/−37
- tests/Codec/Audio/FLAC/Metadata/PictureSpec.hs +0/−32
CHANGELOG.md view
@@ -1,3 +1,7 @@+## FLAC Picture 0.1.1++* Improved documentation and metadata.+ ## FLAC Picture 0.1.0 * Initial release.
Codec/Audio/FLAC/Metadata/Picture.hs view
@@ -3,12 +3,12 @@ -- Copyright : © 2017 Mark Karpov -- License : BSD 3 clause ----- Maintainer : Mark Karpov <markkarpov@openmailbox.org>+-- Maintainer : Mark Karpov <markkarpov92@gmail.com> -- Stability : experimental -- Portability : portable -- -- Juicy-Pixels-powered helpers to read\/write images to FLAC metadata--- blocks. For maximal player support, use PNG or JPEG (we don't provide+-- blocks. For best player support, use PNG or JPEG (we don't provide -- helpers for other formats at the time anyway). {-# LANGUAGE OverloadedStrings #-}@@ -24,7 +24,7 @@ import Data.Word import qualified Data.ByteString.Lazy as BL --- | Read specific picture from FLAC metadata as 'DynamicImage'.+-- | Read specific type of picture from FLAC metadata as a 'DynamicImage'. retrieveImage :: PictureType
flac-picture.cabal view
@@ -1,42 +1,11 @@------ Cabal configuration for ‘flac-picture’ package.------ Copyright © 2017 Mark Karpov <markkarpov@openmailbox.org>------ Redistribution and use in source and binary forms, with or without--- modification, are permitted provided that the following conditions are--- met:------ * Redistributions of source code must retain the above copyright notice,--- this list of conditions and the following disclaimer.------ * Redistributions in binary form must reproduce the above copyright--- notice, this list of conditions and the following disclaimer in the--- documentation and/or other materials provided with the distribution.------ * Neither the name Mark Karpov nor the names of contributors may be used--- to endorse or promote products derived from this software without--- specific prior written permission.------ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS “AS IS” AND ANY--- EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED--- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE--- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY--- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL--- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS--- OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)--- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,--- STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN--- ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE--- POSSIBILITY OF SUCH DAMAGE.- name: flac-picture-version: 0.1.0+version: 0.1.1 cabal-version: >= 1.10+tested-with: GHC==7.10.3, GHC==8.0.2, GHC==8.2.1 license: BSD3 license-file: LICENSE.md-author: Mark Karpov <markkarpov@openmailbox.org>-maintainer: Mark Karpov <markkarpov@openmailbox.org>+author: Mark Karpov <markkarpov92@gmail.com>+maintainer: Mark Karpov <markkarpov92@gmail.com> homepage: https://github.com/mrkkrp/flac-picture bug-reports: https://github.com/mrkkrp/flac-picture/issues category: Codec, Audio, Image@@ -79,9 +48,9 @@ , base >= 4.7 && < 5.0 , bytestring >= 0.2 && < 0.11 , data-default-class- , directory >= 1.2.2 && < 1.3+ , directory >= 1.2.2 && < 1.4 , flac >= 0.1 && < 0.2- , flac-picture >= 0.1.0+ , flac-picture , hspec >= 2.0 && < 3.0 , temporary >= 1.1 && < 1.3 if flag(dev)
tests/Codec/Audio/FLAC/Metadata/PictureSpec.hs view
@@ -1,35 +1,3 @@------ Tests for the ‘flac-picture’ package.------ Copyright © 2017 Mark Karpov <markkarpov@openmailbox.org>------ Redistribution and use in source and binary forms, with or without--- modification, are permitted provided that the following conditions are--- met:------ * Redistributions of source code must retain the above copyright notice,--- this list of conditions and the following disclaimer.------ * Redistributions in binary form must reproduce the above copyright--- notice, this list of conditions and the following disclaimer in the--- documentation and/or other materials provided with the distribution.------ * Neither the name Mark Karpov nor the names of contributors may be used--- to endorse or promote products derived from this software without--- specific prior written permission.------ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS “AS IS” AND ANY--- EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED--- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE--- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY--- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL--- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS--- OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)--- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,--- STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN--- ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE--- POSSIBILITY OF SUCH DAMAGE.- {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RecordWildCards #-}