Package: libglyr-dev
Version: 1.0.0-1
Severity: important
User: multiarch-de...@lists.alioth.debian.org
Usertags: multiarch

libglyr-dev is marked as "Multi-Arch: same", but the following files are architecture-dependent:

/usr/share/doc/libglyr-dev/html/ch01.html
/usr/share/doc/libglyr-dev/html/libglyr-Cache.html
/usr/share/doc/libglyr-dev/html/libglyr-Config.html
/usr/share/doc/libglyr-dev/html/libglyr-Glyr.html

An example diff between i386 and mips is attached.

--
Jakub Wilk
diff -ur libglyr-dev_1.0.0-1_mips/usr/share/doc/libglyr-dev/html/ch01.html 
libglyr-dev_1.0.0-1_i386/usr/share/doc/libglyr-dev/html/ch01.html
--- libglyr-dev_1.0.0-1_mips/usr/share/doc/libglyr-dev/html/ch01.html   
2012-09-25 00:26:34.000000000 +0200
+++ libglyr-dev_1.0.0-1_i386/usr/share/doc/libglyr-dev/html/ch01.html   
2012-09-25 00:17:51.000000000 +0200
@@ -21,7 +21,7 @@
 </tr></table>
 <div class="chapter">
 <div class="titlepage"><div><div><h2 class="title">
-<a name="idp17495168"></a>[Insert title here]</h2></div></div></div>
+<a name="idp6013832"></a>[Insert title here]</h2></div></div></div>
 <div class="toc"><dl>
 <dt>
 <span class="refentrytitle"><a href="libglyr-Cache.html">Cache</a></span><span 
class="refpurpose"> — A fast SQLite cache for glyr's results</span>
diff -ur 
libglyr-dev_1.0.0-1_mips/usr/share/doc/libglyr-dev/html/libglyr-Cache.html 
libglyr-dev_1.0.0-1_i386/usr/share/doc/libglyr-dev/html/libglyr-Cache.html
--- libglyr-dev_1.0.0-1_mips/usr/share/doc/libglyr-dev/html/libglyr-Cache.html  
2012-09-25 00:26:34.000000000 +0200
+++ libglyr-dev_1.0.0-1_i386/usr/share/doc/libglyr-dev/html/libglyr-Cache.html  
2012-09-25 00:17:51.000000000 +0200
@@ -103,8 +103,22 @@
   <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
     <tbody>
       <tr>
-        <td class="listing_lines" align="right"><pre>1</pre></td>
-        <td class="listing_code"><pre class="programlisting"></pre></td>
+        <td class="listing_lines" align="right"><pre>1
+2
+3
+4
+5
+6
+7
+8</pre></td>
+        <td class="listing_code"><pre class="programlisting"><span 
class="gtkdoc slc">// Create a new &quot;dummy&quot; cache</span>
+GlyrMemCache <span class="gtkdoc opt">*</span> ct <span class="gtkdoc 
opt">=</span> <span class="function"><a 
href="libglyr-Cache.html#glyr-db-make-dummy">glyr_db_make_dummy</a></span><span 
class="gtkdoc opt">();</span>
+
+<span class="gtkdoc slc">// Query with filled in artist, album, title, 
type,</span>
+<span class="gtkdoc slc">// and opened db</span>
+<span class="function"><a 
href="libglyr-Cache.html#glyr-db-insert">glyr_db_insert</a></span><span 
class="gtkdoc opt">(</span>db<span class="gtkdoc opt">,&amp;</span>q<span 
class="gtkdoc opt">,</span>ct<span class="gtkdoc opt">);</span>
+
+<span class="function"><a 
href="libglyr-Glyr.html#glyr-cache-free">glyr_cache_free</a></span><span 
class="gtkdoc opt">(</span>ct<span class="gtkdoc opt">);</span></pre></td>
       </tr>
     </tbody>
   </table>
@@ -198,8 +212,38 @@
   <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
     <tbody>
       <tr>
-        <td class="listing_lines" align="right"><pre>1</pre></td>
-        <td class="listing_code"><pre class="programlisting"></pre></td>
+        <td class="listing_lines" align="right"><pre>1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16</pre></td>
+        <td class="listing_code"><pre class="programlisting"><span 
class="gtkdoc kwb">int</span> <span class="function"><a 
href="libglyr-Cache.html#glyr-db-edit">glyr_db_edit</a></span><span 
class="gtkdoc opt">(</span>GlyrDatabase <span class="gtkdoc opt">*</span> 
db<span class="gtkdoc opt">,</span> GlyrQuery <span class="gtkdoc opt">*</span> 
query<span class="gtkdoc opt">,</span> GlyrMemCache <span class="gtkdoc 
opt">*</span> edited<span class="gtkdoc opt">)</span>
+<span class="gtkdoc opt">{</span>
+  <span class="gtkdoc kwb">int</span> result <span class="gtkdoc opt">=</span> 
<span class="number">0</span><span class="gtkdoc opt">;</span>
+  <span class="keyword">if</span><span class="gtkdoc opt">(</span>db <span 
class="gtkdoc opt">&amp;&amp;</span> query<span class="gtkdoc opt">)</span>
+  <span class="gtkdoc opt">{</span>
+      result <span class="gtkdoc opt">=</span> <span class="function"><a 
href="libglyr-Cache.html#glyr-db-delete">glyr_db_delete</a></span><span 
class="gtkdoc opt">(</span>db<span class="gtkdoc opt">,</span>query<span 
class="gtkdoc opt">);</span>
+      <span class="keyword">if</span><span class="gtkdoc opt">(</span>result 
<span class="gtkdoc opt">!=</span> <span class="number">0</span><span 
class="gtkdoc opt">)</span>
+      <span class="gtkdoc opt">{</span>
+          <span class="keyword">for</span><span class="gtkdoc 
opt">(</span>GlyrMemCache <span class="gtkdoc opt">*</span> elem <span 
class="gtkdoc opt">=</span> edited<span class="gtkdoc opt">;</span> elem<span 
class="gtkdoc opt">;</span> elem <span class="gtkdoc opt">=</span> elem<span 
class="gtkdoc opt">-&gt;</span>next<span class="gtkdoc opt">)</span>
+          <span class="gtkdoc opt">{</span>
+              <span class="function"><a 
href="libglyr-Cache.html#glyr-db-insert">glyr_db_insert</a></span><span 
class="gtkdoc opt">(</span>db<span class="gtkdoc opt">,</span>query<span 
class="gtkdoc opt">,</span>edited<span class="gtkdoc opt">);</span>
+          <span class="gtkdoc opt">}</span>
+      <span class="gtkdoc opt">}</span>
+  <span class="gtkdoc opt">}</span>
+  <span class="keyword">return</span> result<span class="gtkdoc opt">;</span>
+<span class="gtkdoc opt">}</span></pre></td>
       </tr>
     </tbody>
   </table>
@@ -405,8 +449,22 @@
   <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
     <tbody>
       <tr>
-        <td class="listing_lines" align="right"><pre>1</pre></td>
-        <td class="listing_code"><pre class="programlisting"></pre></td>
+        <td class="listing_lines" align="right"><pre>1
+2
+3
+4
+5
+6
+7
+8</pre></td>
+        <td class="listing_code"><pre class="programlisting"><span 
class="gtkdoc slc">// If you have a cache called 'c', that's already</span>
+<span class="gtkdoc slc">// In the Database:</span>
+<span class="gtkdoc slc">// Save the old checksum, edit it, update the 
database.</span>
+<span class="gtkdoc kwb">unsigned char</span> old_md5sum<span class="gtkdoc 
opt">[</span><span class="number">16</span><span class="gtkdoc opt">] = 
{</span><span class="number">0</span><span class="gtkdoc opt">};</span>
+<span class="function">memcpy</span><span class="gtkdoc 
opt">(</span>old_md5sum<span class="gtkdoc opt">,</span>c<span class="gtkdoc 
opt">-&gt;</span>md5sum<span class="gtkdoc opt">,</span><span 
class="number">16</span><span class="gtkdoc opt">);</span>
+<span class="function"><a 
href="libglyr-Glyr.html#glyr-cache-set-data">glyr_cache_set_data</a></span><span
 class="gtkdoc opt">(</span>c<span class="gtkdoc opt">,</span><span 
class="function">g_strdup</span><span class="gtkdoc opt">(</span><span 
class="string">&quot;Changed the data - muahahah&quot;</span><span 
class="gtkdoc opt">),-</span><span class="number">1</span><span class="gtkdoc 
opt">);</span>
+c<span class="gtkdoc opt">-&gt;</span>rating <span class="gtkdoc opt">=</span> 
<span class="number">4200</span><span class="gtkdoc opt">;</span>
+<span class="function"><a 
href="libglyr-Cache.html#glyr-db-replace">glyr_db_replace</a></span><span 
class="gtkdoc opt">(</span>s<span class="gtkdoc opt">-&gt;</span>local_db<span 
class="gtkdoc opt">,</span> old_md5sum<span class="gtkdoc opt">,</span> s<span 
class="gtkdoc opt">,</span> c<span class="gtkdoc opt">);</span></pre></td>
       </tr>
     </tbody>
   </table>
diff -ur 
libglyr-dev_1.0.0-1_mips/usr/share/doc/libglyr-dev/html/libglyr-Config.html 
libglyr-dev_1.0.0-1_i386/usr/share/doc/libglyr-dev/html/libglyr-Config.html
--- libglyr-dev_1.0.0-1_mips/usr/share/doc/libglyr-dev/html/libglyr-Config.html 
2012-09-25 00:26:34.000000000 +0200
+++ libglyr-dev_1.0.0-1_i386/usr/share/doc/libglyr-dev/html/libglyr-Config.html 
2012-09-25 00:17:51.000000000 +0200
@@ -79,8 +79,12 @@
   <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
     <tbody>
       <tr>
-        <td class="listing_lines" align="right"><pre>1</pre></td>
-        <td class="listing_code"><pre class="programlisting"></pre></td>
+        <td class="listing_lines" align="right"><pre>1
+2
+3</pre></td>
+        <td class="listing_code"><pre class="programlisting"><span 
class="gtkdoc ppc">#if GLYR_CHECK_VERSION(0,8,7)</span>
+     <span class="function">puts</span><span class="gtkdoc opt">(</span><span 
class="string">&quot;Version is at least 0.87!&quot;</span><span class="gtkdoc 
opt">);</span>
+<span class="gtkdoc ppc">#endif</span></pre></td>
       </tr>
     </tbody>
   </table>
diff -ur 
libglyr-dev_1.0.0-1_mips/usr/share/doc/libglyr-dev/html/libglyr-Glyr.html 
libglyr-dev_1.0.0-1_i386/usr/share/doc/libglyr-dev/html/libglyr-Glyr.html
--- libglyr-dev_1.0.0-1_mips/usr/share/doc/libglyr-dev/html/libglyr-Glyr.html   
2012-09-25 00:26:34.000000000 +0200
+++ libglyr-dev_1.0.0-1_i386/usr/share/doc/libglyr-dev/html/libglyr-Glyr.html   
2012-09-25 00:17:51.000000000 +0200
@@ -439,8 +439,10 @@
   <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
     <tbody>
       <tr>
-        <td class="listing_lines" align="right"><pre>1</pre></td>
-        <td class="listing_code"><pre class="programlisting"></pre></td>
+        <td class="listing_lines" align="right"><pre>1
+2</pre></td>
+        <td class="listing_code"><pre class="programlisting"><span 
class="function"><a 
href="libglyr-Glyr.html#glyr-init">glyr_init</a></span><span class="gtkdoc 
opt">();</span>
+<span class="function">atexit</span><span class="gtkdoc 
opt">(</span>glyr_destroy<span class="gtkdoc opt">);</span></pre></td>
       </tr>
     </tbody>
   </table>
@@ -574,8 +576,34 @@
   <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
     <tbody>
       <tr>
-        <td class="listing_lines" align="right"><pre>1</pre></td>
-        <td class="listing_code"><pre class="programlisting"></pre></td>
+        <td class="listing_lines" align="right"><pre>1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14</pre></td>
+        <td class="listing_code"><pre 
class="programlisting">GLYR_FIELD_REQUIREMENT reqs <span class="gtkdoc 
opt">=</span> <span class="function"><a 
href="libglyr-Glyr.html#glyr-get-requirements">glyr_get_requirements</a></span><span
 class="gtkdoc opt">(</span>GLYR_GET_COVERART<span class="gtkdoc opt">);</span>
+<span class="keyword">if</span><span class="gtkdoc opt">(</span>reqs <span 
class="gtkdoc opt">&amp;</span> GLYR_REQUIRES_ALBUM<span class="gtkdoc 
opt">)</span>
+<span class="gtkdoc opt">{</span>
+   <span class="gtkdoc slc">// do something when artist is required</span>
+<span class="gtkdoc opt">}</span>
+<span class="keyword">else</span>
+<span class="keyword">if</span><span class="gtkdoc opt">(</span>reqs <span 
class="gtkdoc opt">&amp;</span> GLYR_OPTIONAL_TITLE<span class="gtkdoc 
opt">)</span>
+<span class="gtkdoc opt">{</span>
+  <span class="gtkdoc slc">// Title is optional</span>
+<span class="gtkdoc opt">}</span>
+<span class="keyword">else</span>
+<span class="gtkdoc opt">{</span>
+  <span class="gtkdoc slc">// None of both</span>
+<span class="gtkdoc opt">}</span></pre></td>
       </tr>
     </tbody>
   </table>
@@ -648,13 +676,45 @@
 It is best understood by an example:
 </p>
 <div class="example">
-<a name="idp22824544"></a><p class="title"><b>Example 1. Using 
GlyrFetcherInfo:</b></p>
+<a name="idp11825576"></a><p class="title"><b>Example 1. Using 
GlyrFetcherInfo:</b></p>
 <div class="example-contents">
   <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
     <tbody>
       <tr>
-        <td class="listing_lines" align="right"><pre>1</pre></td>
-        <td class="listing_code"><pre class="programlisting"></pre></td>
+        <td class="listing_lines" align="right"><pre>1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17</pre></td>
+        <td class="listing_code"><pre class="programlisting"><span 
class="gtkdoc kwb">static void</span> <span 
class="function">visualize_from_options</span><span class="gtkdoc 
opt">(</span><span class="gtkdoc kwb">void</span><span class="gtkdoc 
opt">)</span>
+<span class="gtkdoc opt">{</span>
+    GlyrFetcherInfo <span class="gtkdoc opt">*</span> info <span class="gtkdoc 
opt">=</span> <span class="function"><a 
href="libglyr-Glyr.html#glyr-info-get">glyr_info_get</a></span><span 
class="gtkdoc opt">();</span>
+    <span class="keyword">if</span><span class="gtkdoc opt">(</span>info <span 
class="gtkdoc opt">!=</span> NULL<span class="gtkdoc opt">)</span>
+    <span class="gtkdoc opt">{</span>
+        <span class="keyword">for</span><span class="gtkdoc 
opt">(</span>GlyrFetcherInfo <span class="gtkdoc opt">*</span> elem0 <span 
class="gtkdoc opt">=</span> info<span class="gtkdoc opt">;</span> elem0<span 
class="gtkdoc opt">;</span> elem0 <span class="gtkdoc opt">=</span> elem0<span 
class="gtkdoc opt">-&gt;</span>next<span class="gtkdoc opt">)</span>
+        <span class="gtkdoc opt">{</span>
+            <span class="function">printf</span><span class="gtkdoc 
opt">(</span><span class="string">&quot;%s</span><span class="gtkdoc 
esc">\n</span><span class="string">&quot;</span><span class="gtkdoc 
opt">,</span>elem0<span class="gtkdoc opt">-&gt;</span>name<span class="gtkdoc 
opt">);</span>
+            <span class="keyword">for</span><span class="gtkdoc 
opt">(</span>GlyrSourceInfo <span class="gtkdoc opt">*</span> elem1 <span 
class="gtkdoc opt">=</span> elem0<span class="gtkdoc opt">-&gt;</span>head<span 
class="gtkdoc opt">;</span> elem1<span class="gtkdoc opt">;</span> elem1 <span 
class="gtkdoc opt">=</span> elem1<span class="gtkdoc opt">-&gt;</span>next<span 
class="gtkdoc opt">)</span>
+            <span class="gtkdoc opt">{</span>
+                <span class="function">printf</span><span class="gtkdoc 
opt">(</span><span class="string">&quot;  [%c] %s</span><span class="gtkdoc 
esc">\n</span><span class="string">&quot;</span><span class="gtkdoc 
opt">,</span>elem1<span class="gtkdoc opt">-&gt;</span>key<span class="gtkdoc 
opt">,</span>elem1<span class="gtkdoc opt">-&gt;</span>name<span class="gtkdoc 
opt">);</span>
+            <span class="gtkdoc opt">}</span>
+            <span class="function">printf</span><span class="gtkdoc 
opt">(</span><span class="string">&quot;</span><span class="gtkdoc 
esc">\n</span><span class="string">&quot;</span><span class="gtkdoc 
opt">);</span>
+        <span class="gtkdoc opt">}</span>
+   <span class="gtkdoc opt">}</span>
+   <span class="function"><a 
href="libglyr-Glyr.html#glyr-info-free">glyr_info_free</a></span><span 
class="gtkdoc opt">(</span>info<span class="gtkdoc opt">);</span>
+<span class="gtkdoc opt">}</span></pre></td>
       </tr>
     </tbody>
   </table>
@@ -945,7 +1005,7 @@
     <tbody>
       <tr>
         <td class="listing_lines" align="right"><pre>1</pre></td>
-        <td class="listing_code"><pre class="programlisting"></pre></td>
+        <td class="listing_code"><pre class="programlisting">GLYR_ERROR <span 
class="function">my_callback</span><span class="gtkdoc 
opt">(</span>GlyrMemCache <span class="gtkdoc opt">*</span> dl<span 
class="gtkdoc opt">,</span> <span class="gtkdoc kwb">struct</span> GlyrQuery 
<span class="gtkdoc opt">*</span> s<span class="gtkdoc opt">);</span></pre></td>
       </tr>
     </tbody>
   </table>
@@ -1066,7 +1126,7 @@
     <tbody>
       <tr>
         <td class="listing_lines" align="right"><pre>1</pre></td>
-        <td class="listing_code"><pre class="programlisting"></pre></td>
+        <td class="listing_code"><pre class="programlisting"><span 
class="string">&quot;lastfm;google&quot;</span></pre></td>
       </tr>
     </tbody>
   </table>
@@ -1083,7 +1143,7 @@
     <tbody>
       <tr>
         <td class="listing_lines" align="right"><pre>1</pre></td>
-        <td class="listing_code"><pre class="programlisting"></pre></td>
+        <td class="listing_code"><pre class="programlisting"><span 
class="string">&quot;all;-lastfm;&quot;</span></pre></td>
       </tr>
     </tbody>
   </table>
@@ -1328,7 +1388,7 @@
     <tbody>
       <tr>
         <td class="listing_lines" align="right"><pre>1</pre></td>
-        <td class="listing_code"><pre class="programlisting"></pre></td>
+        <td class="listing_code"><pre class="programlisting"><span 
class="function"><a 
href="libglyr-Glyr.html#glyr-opt-from">glyr_opt_from</a></span><span 
class="gtkdoc opt">(</span>s<span class="gtkdoc opt">,</span><span 
class="string">&quot;all;-local&quot;</span><span class="gtkdoc 
opt">);</span></pre></td>
       </tr>
     </tbody>
   </table>
@@ -1373,13 +1433,51 @@
 For reference the actual C code is given (${artist} gets expanded):
 </p>
 <div class="example">
-<a name="idp22961704"></a><p class="title"><b>Example 2. Used regexes and 
recurse_depth</b></p>
+<a name="idp11962736"></a><p class="title"><b>Example 2. Used regexes and 
recurse_depth</b></p>
 <div class="example-contents">
   <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
     <tbody>
       <tr>
-        <td class="listing_lines" align="right"><pre>1</pre></td>
-        <td class="listing_code"><pre class="programlisting"></pre></td>
+        <td class="listing_lines" align="right"><pre>1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20</pre></td>
+        <td class="listing_code"><pre class="programlisting"><span 
class="keyword">case</span> GLYR_GET_COVERART<span class="gtkdoc opt">:</span>
+    search_regex <span class="gtkdoc opt">=</span> <span 
class="string">&quot;^(folder|front|cover|.*${album}.*)</span><span 
class="gtkdoc esc">\\</span><span 
class="string">.(jpg|png|jpeg|gif)&quot;</span><span class="gtkdoc opt">;</span>
+    recurse_depth <span class="gtkdoc opt">=</span> <span 
class="number">2</span><span class="gtkdoc opt">;</span>
+    <span class="keyword">break</span><span class="gtkdoc opt">;</span>
+<span class="keyword">case</span> GLYR_GET_ARTIST_PHOTOS<span class="gtkdoc 
opt">:</span>
+    search_regex <span class="gtkdoc opt">=</span> <span 
class="string">&quot;^(${artist}|artist)</span><span class="gtkdoc 
esc">\\</span><span class="string">.(jpg|png|jpeg|gif)$&quot;</span><span 
class="gtkdoc opt">;</span>
+    recurse_depth <span class="gtkdoc opt">=</span> <span 
class="number">3</span><span class="gtkdoc opt">;</span>
+    <span class="keyword">break</span><span class="gtkdoc opt">;</span>
+<span class="keyword">case</span> GLYR_GET_ALBUM_REVIEW<span class="gtkdoc 
opt">:</span>
+    search_regex <span class="gtkdoc opt">=</span> <span 
class="string">&quot;^(${album})</span><span class="gtkdoc esc">\\</span><span 
class="string">.(info|txt)$&quot;</span><span class="gtkdoc opt">;</span>
+    recurse_depth <span class="gtkdoc opt">=</span> <span 
class="number">2</span><span class="gtkdoc opt">;</span>
+    <span class="keyword">break</span><span class="gtkdoc opt">;</span>
+<span class="keyword">case</span> GLYR_GET_ARTIST_BIO<span class="gtkdoc 
opt">:</span>
+    search_regex <span class="gtkdoc opt">=</span> <span 
class="string">&quot;^BIOGRAPHY(</span><span class="gtkdoc esc">\\</span><span 
class="string">.txt)?$&quot;</span><span class="gtkdoc opt">;</span>
+    recurse_depth <span class="gtkdoc opt">=</span> <span 
class="number">2</span><span class="gtkdoc opt">;</span>
+    <span class="keyword">break</span><span class="gtkdoc opt">;</span>
+<span class="keyword">default</span><span class="gtkdoc opt">:</span>
+    search_regex <span class="gtkdoc opt">=</span> NULL<span class="gtkdoc 
opt">;</span>
+    recurse_depth <span class="gtkdoc opt">=</span> <span 
class="number">0</span><span class="gtkdoc opt">;</span>
+    <span class="keyword">break</span><span class="gtkdoc 
opt">;</span></pre></td>
       </tr>
     </tbody>
   </table>
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to