mirror of
https://gitlab.com/mateslackbuilds/msb.git
synced 2024-12-25 21:59:36 +01:00
vala: Upgraded to 0.34.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
b25a60d9f8
commit
85dd7a96fc
2 changed files with 55 additions and 2 deletions
50
deps/vala/patch_support-gtk318.diff
vendored
Normal file
50
deps/vala/patch_support-gtk318.diff
vendored
Normal file
|
@ -0,0 +1,50 @@
|
|||
--- vala-0.34.2/vapi/gtk+-3.0.vapi.orig 2016-09-27 22:44:37.000000000 +1000
|
||||
+++ vala-0.34.2/vapi/gtk+-3.0.vapi 2016-11-14 16:24:16.635334244 +1000
|
||||
@@ -840,6 +840,7 @@
|
||||
[CCode (has_construct_function = false, type = "GtkWidget*")]
|
||||
public Button.with_mnemonic (string label);
|
||||
public bool always_show_image { get; set construct; }
|
||||
+ public bool focus_on_click { get; set; }
|
||||
public Gtk.Widget image { get; set; }
|
||||
public Gtk.PositionType image_position { get; set; }
|
||||
public string label { get; set construct; }
|
||||
@@ -1573,6 +1574,7 @@
|
||||
public Gtk.CellArea cell_area { owned get; construct; }
|
||||
public int column_span_column { get; set; }
|
||||
public int entry_text_column { get; set; }
|
||||
+ public bool focus_on_click { get; set; }
|
||||
public bool has_entry { get; construct; }
|
||||
[NoAccessorMethod]
|
||||
public bool has_frame { get; set; }
|
||||
@@ -2080,6 +2082,7 @@
|
||||
[CCode (has_construct_function = false, type = "GtkWidget*")]
|
||||
public FileChooserButton.with_dialog (Gtk.Dialog dialog);
|
||||
public Gtk.FileChooser dialog { construct; }
|
||||
+ public bool focus_on_click { get; set; }
|
||||
public string title { get; set; }
|
||||
public int width_chars { get; set; }
|
||||
public virtual signal void file_set ();
|
||||
@@ -6692,7 +6695,6 @@
|
||||
public unowned Gdk.Display get_display ();
|
||||
public bool get_double_buffered ();
|
||||
public int get_events ();
|
||||
- public bool get_focus_on_click ();
|
||||
public unowned Pango.FontMap? get_font_map ();
|
||||
public unowned Cairo.FontOptions? get_font_options ();
|
||||
public unowned Gdk.FrameClock? get_frame_clock ();
|
||||
@@ -6859,7 +6861,6 @@
|
||||
public void set_direction (Gtk.TextDirection dir);
|
||||
public void set_double_buffered (bool double_buffered);
|
||||
public void set_events (int events);
|
||||
- public void set_focus_on_click (bool focus_on_click);
|
||||
public void set_font_map (Pango.FontMap? font_map);
|
||||
public void set_font_options (Cairo.FontOptions? options);
|
||||
public void set_halign (Gtk.Align align);
|
||||
@@ -6927,7 +6928,6 @@
|
||||
public Gdk.EventMask events { get; set; }
|
||||
[NoAccessorMethod]
|
||||
public bool expand { get; set; }
|
||||
- public bool focus_on_click { get; set; }
|
||||
public Gtk.Align halign { get; set; }
|
||||
[NoAccessorMethod]
|
||||
public bool has_default { get; set; }
|
7
deps/vala/vala.SlackBuild
vendored
7
deps/vala/vala.SlackBuild
vendored
|
@ -25,7 +25,7 @@
|
|||
# Modified by Willy Sudiarto Raharjo for MSB Project
|
||||
|
||||
PRGNAM=vala
|
||||
VERSION=${VERSION:-0.30.2}
|
||||
VERSION=${VERSION:-0.34.4}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_msb}
|
||||
|
||||
|
@ -37,7 +37,7 @@ if [ -z "$ARCH" ]; then
|
|||
esac
|
||||
fi
|
||||
|
||||
wget -c http://ftp.gnome.org/pub/GNOME/sources/vala/0.30/$PRGNAM-$VERSION.tar.xz
|
||||
wget -c http://ftp.gnome.org/pub/GNOME/sources/vala/0.34/$PRGNAM-$VERSION.tar.xz
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/msb}
|
||||
|
@ -73,6 +73,9 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# Patch to support older GTK+3
|
||||
patch -p1 < $CWD/patch_support-gtk318.diff
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
|
Loading…
Reference in a new issue