Hello community,

here is the log from the commit of package ghc-wave for openSUSE:Factory 
checked in at 2017-06-22 10:39:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-wave (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-wave.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-wave"

Thu Jun 22 10:39:42 2017 rev:2 rq:504121 version:0.1.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-wave/ghc-wave.changes        2017-04-12 
18:09:57.583038579 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-wave.new/ghc-wave.changes   2017-06-22 
10:39:46.762813497 +0200
@@ -1,0 +2,5 @@
+Wed May 31 14:01:11 UTC 2017 - psim...@suse.com
+
+- Update to version 0.1.5.
+
+-------------------------------------------------------------------

Old:
----
  wave-0.1.4.tar.gz

New:
----
  wave-0.1.5.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-wave.spec ++++++
--- /var/tmp/diff_new_pack.oCLhQA/_old  2017-06-22 10:39:47.310736246 +0200
+++ /var/tmp/diff_new_pack.oCLhQA/_new  2017-06-22 10:39:47.310736246 +0200
@@ -19,7 +19,7 @@
 %global pkg_name wave
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.1.4
+Version:        0.1.5
 Release:        0
 Summary:        Work with WAVE and RF64 files
 License:        BSD-3-Clause

++++++ wave-0.1.4.tar.gz -> wave-0.1.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wave-0.1.4/CHANGELOG.md new/wave-0.1.5/CHANGELOG.md
--- old/wave-0.1.4/CHANGELOG.md 2016-12-30 10:52:42.000000000 +0100
+++ new/wave-0.1.5/CHANGELOG.md 2017-05-24 11:35:09.000000000 +0200
@@ -1,3 +1,7 @@
+## Wave 0.1.5
+
+* Improved documentation and metadata.
+
 ## Wave 0.1.4
 
 * The library now doesn't write zero extra format information size when
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wave-0.1.4/Codec/Audio/Wave.hs 
new/wave-0.1.5/Codec/Audio/Wave.hs
--- old/wave-0.1.4/Codec/Audio/Wave.hs  2017-01-01 12:41:37.000000000 +0100
+++ new/wave-0.1.5/Codec/Audio/Wave.hs  2017-05-24 10:47:36.000000000 +0200
@@ -3,7 +3,7 @@
 -- Copyright   :  © 2016–2017 Mark Karpov
 -- License     :  BSD 3 clause
 --
--- Maintainer  :  Mark Karpov <markkar...@openmailbox.org>
+-- Maintainer  :  Mark Karpov <markkarpo...@gmail.com>
 -- Stability   :  experimental
 -- Portability :  portable
 --
@@ -20,16 +20,16 @@
 -- 'waveBlockAlign'. The same is done for channels. Channel mask is a more
 -- general means of providing information about number of channels and
 -- corresponding speaker positions, thus we only store channel mask in
--- user-friendly form, but number of channels can be derived from that
+-- user-friendly form, and number of channels can be derived from that
 -- information.
 --
 -- Another feature of the library is that it does not dictate how to
 -- read\/write audio data. What we give is the information about audio data
--- and offset in file where it begins. To write data user may use a callback
--- that receives a 'Handle' as argument. Size of data block is deduced
--- automatically for you. Exclusion of audio data from consideration makes
--- the library pretty fast and open to different ways to handle audio data
--- itself, including using foreign code (such as C).
+-- and offset in file where it begins. To write data the user may use a
+-- callback that receives a 'Handle' as an argument. Size of data block is
+-- deduced automatically for you. Exclusion of audio data from consideration
+-- makes the library pretty fast and open to different ways to handle audio
+-- data itself, including using foreign code (such as C).
 --
 -- The library provides control over all parts of WAVE file that may be of
 -- interest. In particular, it even allows to write arbitrary chunks between
@@ -104,8 +104,8 @@
 
 data Wave = Wave
   { waveFileFormat   :: !WaveFormat
-    -- ^ This specifies format of file this 'Wave' record was extracted\/to
-    -- be written to, 'WaveFormat'. Default value is: 'WaveVanilla'.
+    -- ^ Format of file this 'Wave' record was extracted\/to be written to,
+    -- 'WaveFormat'. Default value is: 'WaveVanilla'.
   , waveSampleRate   :: !Word32
     -- ^ Sample rate in Hz, default is: 44100.
   , waveSampleFormat :: !SampleFormat
@@ -224,8 +224,7 @@
   def = Ds64
     { ds64RiffSize     = 0
     , ds64DataSize     = 0
-    , ds64SamplesTotal = 0
-    }
+    , ds64SamplesTotal = 0 }
 
 -- | A helper type synonym for give up function signatures.
 
@@ -366,7 +365,7 @@
 -- throws 'WaveException' if the file is malformed and cannot be read.
 --
 -- You can feed vanilla WAVE and RF64 files. The actual format is detected
--- automatically from contents of the file, not by extension.
+-- automatically from the contents of the file, not by extension.
 --
 -- PCM with samples in form of integers and floats only are supported, see
 -- 'SampleFormat'. Addition of other formats will be performed on request,
@@ -402,7 +401,7 @@
     "RF64" -> readWaveRF64    h giveup liftGet
     _      -> giveup (BadFileFormat "Can't locate RIFF/RF64 tag")
 
--- | Parse classic WAVE file.
+-- | Parse a classic WAVE file.
 
 readWaveVanilla
   :: Handle            -- ^ 'Handle' to read from
@@ -414,7 +413,7 @@
   grabWaveChunks h giveup liftGet Nothing Nothing
     def { waveFileFormat = WaveVanilla } -- just to be explicit
 
--- | Parse RF64 file.
+-- | Parse an RF64 file.
 
 readWaveRF64
   :: Handle            -- ^ 'Handle' to read from
@@ -489,7 +488,7 @@
             wave { waveOtherChunks = (tag, body) : waveOtherChunks wave }
 
 -- | Read a “ds64” chunk which contains RIFF chunk\/data chunk lengths as 64
--- bit values and total number of samples.
+-- bit values and the total number of samples.
 
 readDs64 :: ByteString -> Either String Ds64
 readDs64 bytes = flip S.runGet bytes $ do
@@ -498,8 +497,8 @@
   ds64SamplesTotal <- S.getWord64le
   return Ds64 {..}
 
--- | Parse WAVE format chunk from given 'ByteString'. Return error in 'Left'
--- in case of failure.
+-- | Parse the WAVE format chunk from given 'ByteString'. Return error in
+-- 'Left' in case of failure.
 
 readWaveFmt :: Wave -> ByteString -> Either String Wave
 readWaveFmt wave = S.runGet $ do
@@ -582,7 +581,7 @@
 -- 'waveDataSize' from 'Wave' are ignored, instead the values are inferred
 -- dynamically after using the callback. Further, the function takes care of
 -- the requirement that WAVE data should end on “even byte boundary”. The
--- pad byte is written for you if necessary and included in data size.
+-- pad byte is written for you if necessary and included in the data size.
 --
 -- The 'waveSamplesTotal' field will be inferred for PCM (including formats
 -- with samples represented as floats, i.e. always right now), so the
@@ -602,7 +601,7 @@
     WaveVanilla -> writeWaveVanilla h wave writeData
     WaveRF64    -> writeWaveRF64    h wave writeData
 
--- | Write vanilla WAVE format.
+-- | Write a vanilla WAVE file.
 
 writeWaveVanilla
   :: Handle            -- ^ 'Handle' to write to
@@ -645,6 +644,8 @@
   hSeek h AbsoluteSeek beforeOuter
   writeChunk h (Chunk "RIFF" riffSize writeNoData)
 
+-- | Write an RF64 file.
+
 writeWaveRF64 :: Handle -> Wave -> (Handle -> IO ()) -> IO ()
 writeWaveRF64 h wave writeData = do
   -- Write the outer RF64 chunk.
@@ -675,7 +676,7 @@
   hSeek h AbsoluteSeek beforeDs64
   writeBsChunk h "ds64" (renderDs64Chunk ds64Chunk)
 
--- | Write no data, at all.
+-- | Write no data at all.
 
 writeNoData :: Either (Handle -> IO ()) a
 writeNoData = (Left . const . return) ()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wave-0.1.4/README.md new/wave-0.1.5/README.md
--- old/wave-0.1.4/README.md    2017-01-04 12:00:46.000000000 +0100
+++ new/wave-0.1.5/README.md    2017-05-24 10:40:30.000000000 +0200
@@ -19,16 +19,16 @@
 however, a way to calculate it given `Wave` record, see `waveBlockAlign`.
 The same is done for channels. Channel mask is a more general means of
 providing information about number of channels and corresponding speaker
-positions, thus we only store channel mask in user-friendly form, but number
+positions, thus we only store channel mask in user-friendly form, and number
 of channels can be derived from that information.
 
 Another feature of the library is that it does not dictate how to read/write
 audio data. What we give is the information about audio data and offset in
-file where it begins. To write data user may use a callback that receives a
-`Handle` as argument. Size of data block is deduced automatically for you.
-Exclusion of audio data from consideration makes the library pretty fast and
-open to different ways to handle audio data itself, including using foreign
-code (such as C).
+file where it begins. To write data the user may use a callback that
+receives a `Handle` as an argument. Size of data block is deduced
+automatically for you. Exclusion of audio data from consideration makes the
+library pretty fast and open to different ways to handle audio data itself,
+including using foreign code (such as C).
 
 The library provides control over all parts of WAVE file that may be of
 interest. In particular, it even allows to write arbitrary chunks between
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wave-0.1.4/tests/Codec/Audio/WaveSpec.hs 
new/wave-0.1.5/tests/Codec/Audio/WaveSpec.hs
--- old/wave-0.1.4/tests/Codec/Audio/WaveSpec.hs        2017-01-01 
12:41:43.000000000 +0100
+++ new/wave-0.1.5/tests/Codec/Audio/WaveSpec.hs        2017-05-24 
10:37:18.000000000 +0200
@@ -1,35 +1,3 @@
---
--- Test suite for the ‘wave’ package.
---
--- Copyright © 2016–2017 Mark Karpov <markkar...@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 BangPatterns         #-}
 {-# LANGUAGE CPP                  #-}
 {-# LANGUAGE OverloadedStrings    #-}
@@ -59,9 +27,9 @@
 -- we generate random WAVE files and write them to temporary files, then
 -- read the files back and compare. This way we ensure that 1) the library
 -- supports reading arbitrary valid files 2) since reading is valid, we can
--- assume that writing is valid too if the read results looks OK.
+-- assume that writing is valid too if the read results look OK.
 --
--- If any problems will be discovered in the future, it's simple to extend
+-- Should any problems be discovered in the future, it's simple to extend
 -- the first part of the test suite to check for those cases.
 
 spec :: Spec
@@ -408,7 +376,7 @@
   hClose h
   action path
 
--- | Write specified number of NULL bytes to given 'Handle'.
+-- | Write the specified number of NULL bytes to given 'Handle'.
 
 writeBytes :: Word64 -> Handle -> IO ()
 writeBytes 0  _ = return ()
@@ -420,7 +388,7 @@
 totalExtraLength =
   fromIntegral . sum . fmap (B.length . snd) . waveOtherChunks
 
--- | Estimate total number of samples for a PCM audio stream.
+-- | Estimate the total number of samples for a PCM audio stream.
 
 pcmSamplesTotal :: Wave -> Word64
 pcmSamplesTotal wave =
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wave-0.1.4/wave.cabal new/wave-0.1.5/wave.cabal
--- old/wave-0.1.4/wave.cabal   2017-01-04 12:01:52.000000000 +0100
+++ new/wave-0.1.5/wave.cabal   2017-05-24 11:39:39.000000000 +0200
@@ -1,42 +1,11 @@
---
--- Cabal configuration for ‘wave’ package.
---
--- Copyright © 2016–2017 Mark Karpov <markkar...@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:                 wave
-version:              0.1.4
+version:              0.1.5
 cabal-version:        >= 1.10
+tested-with:          GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.1
 license:              BSD3
 license-file:         LICENSE.md
-author:               Mark Karpov <markkar...@openmailbox.org>
-maintainer:           Mark Karpov <markkar...@openmailbox.org>
+author:               Mark Karpov <markkarpo...@gmail.com>
+maintainer:           Mark Karpov <markkarpo...@gmail.com>
 homepage:             https://github.com/mrkkrp/wave
 bug-reports:          https://github.com/mrkkrp/wave/issues
 category:             Codec, Audio
@@ -83,7 +52,7 @@
                     , data-default-class
                     , hspec            >= 2.0    && < 3.0
                     , temporary        >= 1.1    && < 1.3
-                    , wave             >= 0.1.4
+                    , wave
   if flag(dev)
     ghc-options:      -Wall -Werror
   else


Reply via email to