[152515] users/devans/GNOME-3/stable/dports/gnome/gnome-calculator

devans at macports.org devans at macports.org
Sun Sep 11 17:17:39 PDT 2016


Revision: 152515
          https://trac.macports.org/changeset/152515
Author:   devans at macports.org
Date:     2016-09-11 17:17:39 -0700 (Sun, 11 Sep 2016)
Log Message:
-----------
GNOME-3/stable: gnome-calculator, build fix, add history-*.ui files missing from 3.20.2 tarball (#52213).

Modified Paths:
--------------
    users/devans/GNOME-3/stable/dports/gnome/gnome-calculator/Portfile

Added Paths:
-----------
    users/devans/GNOME-3/stable/dports/gnome/gnome-calculator/files/history-entry.ui
    users/devans/GNOME-3/stable/dports/gnome/gnome-calculator/files/history-view.ui

Modified: users/devans/GNOME-3/stable/dports/gnome/gnome-calculator/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gnome-calculator/Portfile	2016-09-11 23:18:29 UTC (rev 152514)
+++ users/devans/GNOME-3/stable/dports/gnome/gnome-calculator/Portfile	2016-09-12 00:17:39 UTC (rev 152515)
@@ -43,6 +43,8 @@
 
 post-patch {
     xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
+    xinstall -m 644 ${filespath}/history-entry.ui ${worksrcpath}/data
+    xinstall -m 644 ${filespath}/history-view.ui ${worksrcpath}/data
 }
 
 configure.cmd       ./autogen.sh

Added: users/devans/GNOME-3/stable/dports/gnome/gnome-calculator/files/history-entry.ui
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gnome-calculator/files/history-entry.ui	                        (rev 0)
+++ users/devans/GNOME-3/stable/dports/gnome/gnome-calculator/files/history-entry.ui	2016-09-12 00:17:39 UTC (rev 152515)
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.19.0 -->
+<interface>
+  <requires lib="gtk+" version="3.16"/>
+  <template class="HistoryEntry" parent="GtkListBoxRow">
+    <child>
+      <object class="GtkGrid" id="grid">
+        <property name="visible">True</property>
+        <property name="can_focus">False</property>
+        <property name="column_homogeneous">True</property>
+        <child>
+          <object class="GtkLabel" id="equation_label">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="events">GDK_BUTTON_PRESS_MASK | GDK_STRUCTURE_MASK</property>
+            <property name="xalign">0.0</property>
+            <property name="yalign">0.0</property>
+            <property name="ellipsize">end</property>
+            <property name="max_width_chars">1</property>
+            <signal name="button-press-event" handler="equation_clicked_cb" swapped="no"/>
+          </object>
+          <packing>
+            <property name="left_attach">0</property>
+            <property name="top_attach">0</property>
+            <property name="width">3</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GtkLabel" id="answer_label">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="events">GDK_BUTTON_PRESS_MASK | GDK_STRUCTURE_MASK</property>
+            <property name="xalign">0.0</property>
+            <property name="yalign">0.0</property>
+            <property name="ellipsize">end</property>
+            <property name="max_width_chars">1</property>
+            <attributes>
+              <attribute name="weight" value="bold"/>
+            </attributes>
+            <signal name="button-press-event" handler="answer_clicked_cb" swapped="no"/>
+          </object>
+          <packing>
+            <property name="left_attach">3</property>
+            <property name="top_attach">0</property>
+          </packing>
+        </child>
+      </object>
+    </child>
+  </template>
+</interface>

Added: users/devans/GNOME-3/stable/dports/gnome/gnome-calculator/files/history-view.ui
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gnome-calculator/files/history-view.ui	                        (rev 0)
+++ users/devans/GNOME-3/stable/dports/gnome/gnome-calculator/files/history-view.ui	2016-09-12 00:17:39 UTC (rev 152515)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.19.0 -->
+<interface>
+  <requires lib="gtk+" version="3.16"/>
+  <template class="HistoryView" parent="GtkScrolledWindow">
+    <property name="width_request">100</property>
+    <property name="height_request">100</property>
+    <property name="visible">True</property>
+    <property name="can_focus">True</property>
+    <property name="vexpand">True</property>
+    <property name="hscrollbar_policy">never</property>
+    <property name="shadow_type">etched-out</property>
+    <signal name="size-allocate" handler="scroll_bottom" swapped="no"/>
+    <child>
+      <object class="GtkViewport" id="viewport">
+        <property name="visible">True</property>
+        <property name="can_focus">False</property>
+        <child>
+          <object class="GtkListBox" id="listbox">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="vexpand">True</property>
+            <property name="border_width">5</property>
+            <property name="selection_mode">none</property>
+          </object>
+        </child>
+      </object>
+    </child>
+  </template>
+</interface>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160911/215e6b8c/attachment.html>


More information about the macports-changes mailing list