Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/bustle/files/
Date: Wed, 01 Jul 2020 19:59:47
Message-Id: 1593633515.2e3d645cafffa9033db05d4ac931cd0a05c96ca9.bman@gentoo
1 commit: 2e3d645cafffa9033db05d4ac931cd0a05c96ca9
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Tue Jun 30 18:21:07 2020 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 1 19:58:35 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e3d645c
7
8 dev-util/bustle: remove unused patch(es)
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.23
11 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
12 Closes: https://github.com/gentoo/gentoo/pull/16511
13 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
14
15 ...le-0.4.2-restrict-gtk2hs-deps-to-gtkplus2.patch | 61 --------
16 dev-util/bustle/files/bustle-0.4.7-gtk-0.13.patch | 172 ---------------------
17 2 files changed, 233 deletions(-)
18
19 diff --git a/dev-util/bustle/files/bustle-0.4.2-restrict-gtk2hs-deps-to-gtkplus2.patch b/dev-util/bustle/files/bustle-0.4.2-restrict-gtk2hs-deps-to-gtkplus2.patch
20 deleted file mode 100644
21 index 74ab26ff8fc..00000000000
22 --- a/dev-util/bustle/files/bustle-0.4.2-restrict-gtk2hs-deps-to-gtkplus2.patch
23 +++ /dev/null
24 @@ -1,61 +0,0 @@
25 ---- bustle-0.4.2-orig/bustle.cabal 2012-11-15 02:19:34.000000000 +1100
26 -+++ bustle-0.4.2/bustle.cabal 2013-04-03 15:07:35.381569187 +1100
27 -@@ -82,15 +82,15 @@
28 -
29 - Build-Depends: base >= 4 && < 5
30 - , bytestring
31 -- , cairo
32 -+ , cairo < 0.13
33 - , containers
34 - , dbus >= 0.10
35 - , directory
36 - , filepath
37 -- , glib
38 -- , gtk >= 0.12.3
39 -+ , glib < 0.13
40 -+ , gtk >= 0.12.3 && < 0.13
41 - , mtl
42 -- , pango
43 -+ , pango < 0.13
44 - , parsec
45 - , pcap
46 - , process
47 -@@ -111,15 +111,15 @@
48 - pkgconfig-depends: glib-2.0
49 - Build-Depends: base >= 4 && < 5
50 - , bytestring
51 -- , cairo
52 -+ , cairo < 0.13
53 - , containers
54 - , dbus
55 - , directory
56 - , filepath
57 -- , gtk > 0.12
58 -- , glib
59 -+ , gtk > 0.12 && < 0.13
60 -+ , glib < 0.13
61 - , mtl
62 -- , pango
63 -+ , pango < 0.13
64 - , parsec
65 - , pcap
66 - , text
67 -@@ -163,15 +163,15 @@
68 - main-is: Test/Renderer.hs
69 - other-modules: Bustle.Renderer
70 - Build-Depends: base
71 -- , cairo
72 -+ , cairo < 0.13
73 - , containers
74 - , dbus >= 0.10
75 - , directory
76 - , filepath
77 -- , gtk
78 -+ , gtk < 0.13
79 - , mtl
80 - , text
81 -- , pango
82 -+ , pango < 0.13
83 - , test-framework
84 - , test-framework-hunit
85 - , HUnit
86
87 diff --git a/dev-util/bustle/files/bustle-0.4.7-gtk-0.13.patch b/dev-util/bustle/files/bustle-0.4.7-gtk-0.13.patch
88 deleted file mode 100644
89 index f2691521c4b..00000000000
90 --- a/dev-util/bustle/files/bustle-0.4.7-gtk-0.13.patch
91 +++ /dev/null
92 @@ -1,172 +0,0 @@
93 -diff --git a/Bustle/Diagram.hs b/Bustle/Diagram.hs
94 -index d558beb..ef96d60 100644
95 ---- a/Bustle/Diagram.hs
96 -+++ b/Bustle/Diagram.hs
97 -@@ -450,7 +450,7 @@ mkLayout :: (MonadIO m)
98 - mkLayout s e a = liftIO $ do
99 - ctx <- cairoCreateContext Nothing
100 - layout <- layoutEmpty ctx
101 -- layoutSetMarkup layout (Markup.unMarkup s)
102 -+ layoutSetMarkup layout (Markup.unMarkup s) :: IO String
103 - layoutSetFontDescription layout (Just font)
104 - layoutSetEllipsize layout e
105 - layoutSetAlignment layout a
106 -diff --git a/Bustle/UI.hs b/Bustle/UI.hs
107 -index a78797e..9843b29 100644
108 ---- a/Bustle/UI.hs
109 -+++ b/Bustle/UI.hs
110 -@@ -30,6 +30,7 @@ import Data.IORef
111 - import qualified Data.Set as Set
112 - import Data.List (intercalate)
113 - import Data.Time
114 -+import qualified Data.Text as T
115 - import Data.Monoid (mempty)
116 - import Text.Printf
117 -
118 -@@ -281,6 +282,7 @@ promptToSave wi = io $ do
119 - case mdetails of
120 - Just (RecordedLog tempFilePath) -> do
121 - let tempFileName = takeFileName tempFilePath
122 -+ title :: String
123 - title = printf (__ "Save log '%s' before closing?") tempFileName
124 - prompt <- messageDialogNew (Just (wiWindow wi))
125 - [DialogModal]
126 -@@ -459,7 +461,7 @@ wiSetLogDetails :: WindowInfo
127 - -> IO ()
128 - wiSetLogDetails wi logDetails = do
129 - writeIORef (wiLogDetails wi) (Just logDetails)
130 -- windowSetTitle (wiWindow wi) (printf (__ "%s - Bustle") (logWindowTitle logDetails))
131 -+ windowSetTitle (wiWindow wi) (printf (__ "%s - Bustle") (logWindowTitle logDetails) :: String)
132 -
133 - setPage :: MonadIO io
134 - => WindowInfo
135 -@@ -525,7 +527,7 @@ loadPixbuf :: FilePath -> IO (Maybe Pixbuf)
136 - loadPixbuf filename = do
137 - iconName <- getDataFileName $ "data/" ++ filename
138 - C.catch (fmap Just (pixbufNewFromFile iconName))
139 -- (\(GError _ _ msg) -> warn msg >> return Nothing)
140 -+ (\(GError _ _ msg) -> warn (T.unpack msg) >> return Nothing)
141 -
142 - openDialogue :: Window -> B ()
143 - openDialogue window = embedIO $ \r -> do
144 -diff --git a/Bustle/UI/Canvas.hs b/Bustle/UI/Canvas.hs
145 -index 46c1582..5a28761 100644
146 ---- a/Bustle/UI/Canvas.hs
147 -+++ b/Bustle/UI/Canvas.hs
148 -@@ -1,3 +1,4 @@
149 -+{-# LANGUAGE OverloadedStrings #-}
150 - {-
151 - Bustle.UI.Canvas: displays diagrams
152 - Copyright © 2008–2012 Collabora Ltd.
153 -@@ -58,7 +59,7 @@ canvasNew :: Eq a
154 - -> (Maybe a -> IO ())
155 - -> IO (Canvas a)
156 - canvasNew builder showBounds selectionChangedCb = do
157 -- layout <- builderGetObject builder castToLayout "diagramLayout"
158 -+ layout <- builderGetObject builder castToLayout ("diagramLayout" :: String)
159 - idRef <- newIORef Nothing
160 - shapesRef <- newIORef []
161 - widthRef <- newIORef 0
162 -diff --git a/Bustle/UI/DetailsView.hs b/Bustle/UI/DetailsView.hs
163 -index 35e80d6..d1b9d96 100644
164 ---- a/Bustle/UI/DetailsView.hs
165 -+++ b/Bustle/UI/DetailsView.hs
166 -@@ -55,7 +55,7 @@ addValue :: Table
167 - -> Int
168 - -> IO Label
169 - addValue table row = do
170 -- label <- labelNew Nothing
171 -+ label <- labelNew (Nothing :: Maybe String)
172 - miscSetAlignment label 0 0
173 - labelSetEllipsize label EllipsizeStart
174 - labelSetSelectable label True
175 -@@ -77,7 +77,7 @@ detailsViewNew = do
176 - , tableColumnSpacing := 6
177 - ]
178 -
179 -- title <- labelNew Nothing
180 -+ title <- labelNew (Nothing :: Maybe String)
181 - miscSetAlignment title 0 0
182 - tableAttach table title 0 2 0 1 [Fill] [Fill] 0 0
183 -
184 -diff --git a/Bustle/UI/FilterDialog.hs b/Bustle/UI/FilterDialog.hs
185 -index 9560507..152931e 100644
186 ---- a/Bustle/UI/FilterDialog.hs
187 -+++ b/Bustle/UI/FilterDialog.hs
188 -@@ -99,7 +99,7 @@ runFilterDialog parent names currentlyHidden = do
189 - nameStore <- makeStore names currentlyHidden
190 - sw <- makeView nameStore
191 -
192 -- instructions <- labelNew Nothing
193 -+ instructions <- labelNew (Nothing :: Maybe String)
194 - widgetSetSizeRequest instructions 600 (-1)
195 - labelSetMarkup instructions
196 - (__ "Unticking a service hides its column in the diagram, \
197 -diff --git a/Bustle/UI/Recorder.hs b/Bustle/UI/Recorder.hs
198 -index 1e98a68..085eea2 100644
199 ---- a/Bustle/UI/Recorder.hs
200 -+++ b/Bustle/UI/Recorder.hs
201 -@@ -27,6 +27,7 @@ import Control.Monad (when, liftM)
202 - import Control.Concurrent.MVar
203 - import qualified Data.Map as Map
204 - import Data.Monoid
205 -+import qualified Data.Text as T
206 - import Control.Monad.State (runStateT)
207 - import Text.Printf
208 -
209 -@@ -77,8 +78,7 @@ processBatch pendingRef n label incoming = do
210 - -- message from the user's perspective.
211 - i <- takeMVar n
212 - let j = i + (length pending)
213 -- labelSetMarkup label $
214 -- printf (__ "Logged <b>%u</b> messages…") j
215 -+ labelSetMarkup label $ (printf (__ "Logged <b>%u</b> messages…") j :: String)
216 - putMVar n j
217 -
218 - incoming rr'
219 -@@ -97,8 +97,8 @@ recorderRun filename mwindow incoming finished = C.handle newFailed $ do
220 - maybe (return ()) (windowSetTransientFor dialog) mwindow
221 - dialog `set` [ windowModal := True ]
222 -
223 -- label <- labelNew Nothing
224 -- labelSetMarkup label $ printf (__ "Logged <b>%u</b> messages…") (0 :: Int)
225 -+ label <- labelNew (Nothing :: Maybe String)
226 -+ labelSetMarkup label $ (printf (__ "Logged <b>%u</b> messages…") (0 :: Int) :: String)
227 - loaderStateRef <- newMVar Map.empty
228 - pendingRef <- newMVar []
229 - let updateLabel µs body = do
230 -@@ -142,7 +142,7 @@ recorderRun filename mwindow incoming finished = C.handle newFailed $ do
231 - widgetShowAll dialog
232 - where
233 - newFailed (GError _ _ message) = do
234 -- displayError mwindow message Nothing
235 -+ displayError mwindow (T.unpack message) Nothing
236 -
237 - recorderChooseFile :: FilePath
238 - -> Maybe Window
239 -diff --git a/bustle.cabal b/bustle.cabal
240 -index 4ac107c..2d1f907 100644
241 ---- a/bustle.cabal
242 -+++ b/bustle.cabal
243 -@@ -106,10 +106,10 @@ Executable bustle
244 - , directory
245 - , filepath
246 - , glib
247 -- , gtk >= 0.12.4
248 -+ , gtk >= 0.13
249 - , hgettext >= 0.1.5
250 - , mtl
251 -- , pango
252 -+ , pango >= 0.13
253 - , parsec
254 - , pcap
255 - , process
256 -@@ -136,7 +136,7 @@ Executable test-monitor
257 - , dbus
258 - , directory
259 - , filepath
260 -- , gtk > 0.12
261 -+ , gtk >= 0.13
262 - , glib
263 - , hgettext
264 - , mtl