ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@altlinux.org>
Subject: [devel] Re: version script for libgtk+2
Date: Fri, 9 Sep 2005 08:24:20 +0400
Message-ID: <20050909042419.GH3539@solemn.turbinal.org> (raw)
In-Reply-To: <20050904210622.GG3539@solemn.turbinal.org>

[-- Attachment #1: Type: text/plain, Size: 3120 bytes --]

On Mon, Sep 05, 2005 at 01:06:22AM +0400, Alexey Tourbin wrote:
> $ rpmsymver /var/cache/apt/archives/libgtk+2_2.6.7-alt1_i586.rpm /var/cache/apt/archives/libgtk+2_2.8.3-alt1_i586.rpm
> --- libgtk+2_2.6.7-alt1_i586.rpm/usr/lib/libgdk-x11-2.0.so.0.sym	2005-09-05 00:53:01 +0400
> +++ libgtk+2_2.8.3-alt1_i586.rpm/usr/lib/libgdk-x11-2.0.so.0.sym	2005-09-05 00:53:01 +0400
> @@ -12,2 +12,7 @@
>  T gdk_byte_order_get_type
> +T gdk_cairo_create
> +T gdk_cairo_rectangle
> +T gdk_cairo_region
> +T gdk_cairo_set_source_color
> +T gdk_cairo_set_source_pixbuf
>  T gdk_cap_style_get_type

Далее нужно проверить, какие изменения были сделаны в 2.8.1-2.8.3,
то есть достаточно ли будет одного интерфейса для 2.8.

$ diff -abBpruw gtk+-2.8.0 gtk+-2.8.1 >2.8.0-2.8.1.diff
$ diff -abBpruw gtk+-2.8.1 gtk+-2.8.2 >2.8.1-2.8.2.diff
$ diff -abBpruw gtk+-2.8.2 gtk+-2.8.3 >2.8.2-2.8.3.diff

Список новых функций помещаем в файл fun:

$ head fun
gdk_cairo_create
gdk_cairo_rectangle
gdk_cairo_region
gdk_cairo_set_source_color
gdk_cairo_set_source_pixbuf
gdk_cursor_get_image
gdk_cursor_new_from_name
gdk_display_warp_pointer
gdk_pixmap_impl_x11_get_type
gdk_screen_get_rgba_colormap
$

Ищем упоминание этих функций в диффах:

$ grepdiff -H -f fun 2.8.?-2.8.?.diff |grep -v 'html$'
2.8.0-2.8.1.diff:gtk+-2.8.0/ChangeLog
2.8.0-2.8.1.diff:gtk+-2.8.0/docs/reference/gdk-pixbuf/html/gdk-pixbuf.devhelp
2.8.0-2.8.1.diff:gtk+-2.8.0/gtk/gtkiconview.c
2.8.0-2.8.1.diff:gtk+-2.8.0/gtk/gtksettings.c
2.8.1-2.8.2.diff:gtk+-2.8.1/docs/reference/gdk-pixbuf/html/gdk-pixbuf.devhelp
2.8.2-2.8.3.diff:gtk+-2.8.2/ChangeLog
2.8.2-2.8.3.diff:gtk+-2.8.2/docs/reference/gdk-pixbuf/html/gdk-pixbuf.devhelp
2.8.2-2.8.3.diff:gtk+-2.8.2/gdk/x11/gdkcursor-x11.c
2.8.2-2.8.3.diff:gtk+-2.8.2/gtk/gtksettings.c
$

Далее последовательно проверяем эти куски, напр:

$ filterdiff -i gtk+-2.8.0/gtk/gtkiconview.c 2.8.0-2.8.1.diff
--- gtk+-2.8.0/gtk/gtkiconview.c        2005-07-11 13:14:04 +0000
+++ gtk+-2.8.1/gtk/gtkiconview.c        2005-08-20 20:16:34 +0000
@@ -172,6 +173,12 @@ struct _GtkIconViewPrivate
   GtkTreeRowReference *dest_item;
   GtkIconViewDropPosition dest_pos;

+  /* scroll to */
+  GtkTreeRowReference *scroll_to_path;
+  gfloat scroll_to_row_align;
+  gfloat scroll_to_col_align;
+  guint scroll_to_use_align : 1;
+
   guint source_set : 1;
   guint dest_set : 1;
   guint reorderable : 1;
...
$

Видно, что этот кусок никак не задевает ABI, хотя в нём и встречаются
упоминания некоторых новых функций:

$ filterdiff -i gtk+-2.8.0/gtk/gtkiconview.c 2.8.0-2.8.1.diff |grep -f fun
+      gtk_icon_view_scroll_to_path (icon_view, path,
@@ -1712,6 +1745,7 @@ gtk_icon_view_set_cursor (GtkIconView
@@ -1733,7 +1767,11 @@ gtk_icon_view_set_cursor (GtkIconView
   gtk_icon_view_set_cursor_item (icon_view, item, cell_pos);
+    gtk_icon_view_scroll_to_path (icon_view, path,
@@ -3917,15 +3955,33 @@ gtk_icon_view_scroll_to_path (GtkIconVie
$

Проверка других кусков показывает, что они тоже никак не задевают ABI.
Значит, отдельных интерфейсов для 2.8.{1,2,3} не нужно.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2005-09-09  4:24 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-04 21:06 [devel] " Alexey Tourbin
2005-09-04 21:30 ` Mikhail Zabaluev
2005-09-04 21:48   ` Dmitry V. Levin
2005-10-07 21:41     ` [devel] version script for libdb4.3 Dmitry V. Levin
2005-09-04 22:27   ` [devel] Re: version script for libgtk+2 Alexey Tourbin
2005-09-04 21:38 ` [devel] " Dmitry V. Levin
2005-09-04 22:02   ` [devel] " Alexey Tourbin
2005-09-04 22:46   ` [devel] " Mikhail Zabaluev
2005-09-09  4:24 ` Alexey Tourbin [this message]
2005-09-09  8:33   ` [devel] " Alexey Tourbin
2005-09-09  8:55     ` Epiphanov Sergei
2005-09-09  8:53       ` Sergey Pinaev
2005-09-09  9:13         ` [devel] Re: version script for libgtk+2 [JT] Vitaly Lipatov
2005-09-09 17:37     ` [devel] Re: version script for libgtk+2 Alexey Rusakov
2005-09-11  9:07     ` Alexey Tourbin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050909042419.GH3539@solemn.turbinal.org \
    --to=at@altlinux.ru \
    --cc=devel@altlinux.org \
    --cc=devel@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git