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 12:33:31 +0400
Message-ID: <20050909083331.GM3539@solemn.turbinal.org> (raw)
In-Reply-To: <20050909042419.GH3539@solemn.turbinal.org>


[-- Attachment #1.1: Type: text/plain, Size: 1662 bytes --]

On Fri, Sep 09, 2005 at 08:24:19AM +0400, Alexey Tourbin wrote:
> Проверка других кусков показывает, что они тоже никак не задевают ABI.
> Значит, отдельных интерфейсов для 2.8.{1,2,3} не нужно.

Может, мне сделать NMU?  Какие библиотеки ещё стоит посмотреть?
Лучше подгадать к "значимому" релизу, т.е. напр. 2.6.7 -> 2.8.0.

--- RPM/SPECS/libgtk2.spec-	2005-08-29 21:07:45 +0000
+++ RPM/SPECS/libgtk2.spec	2005-09-09 05:15:50 +0000
@@ -16,6 +16,11 @@
 
 Icon: gtk+-logo.xpm
 Source: ftp://ftp.gnome.org/pub/gnome/sources/%_name/%ver_major/%_name-%version.tar.bz2
+
+Source1: %name-2.8-gdk.map
+Source2: %name-2.8-gdk_pixbuf.map
+Source3: %name-2.8-gtk.map
+
 Patch: gtk+-2.6.5-Lai-gtkfilesel.patch.bz2
 Patch1: gtk+-2.2.4-Lai-images_types-2004.04.04.patch.gz
 
@@ -104,6 +109,9 @@
 
 %prep
 %setup -q -n %_name-%version
+%__install -p -m644 %SOURCE1 gdk/symver.map
+%__install -p -m644 %SOURCE2 gdk-pixbuf/symver.map
+%__install -p -m644 %SOURCE3 gtk/symver.map
 %patch -p1
 %patch1 -p1
 
@@ -119,7 +127,7 @@
     --enable-fbmanager
 
 # SMP-incompatible build
-%make
+%make LIBTOOL_EXPORT_OPTIONS=-Wl,--version-script=symver.map
 
 %install
 %makeinstall
End of patch

Получается вот что (по пакету libgtk+2):

PreReq: glib2 >= 2.7.1
Requires: libglib-2.0.so.0
Provides: libgdk-x11-2.0.so.0(GDK_2.8),
	libgdk-x11-2.0.so.0(GDK_PRIVATE),
	libgdk_pixbuf-2.0.so.0(GDK_2.8),
	libgtk-x11-2.0.so.0(GTK_2.8)

Это уже собрано в среде с libglib-2.0.so.0(GLIB_2.8).  Т.к. зависимость
на новый интерфейc glib2 не проставилась, то, возможно, вручную
проставленная зависимость на glib2 >= 2.7.1 является необоснованной.

[-- Attachment #1.2: libgtk+2-2.8-gdk.map --]
[-- Type: text/plain, Size: 540 bytes --]

GDK_PRIVATE {
    global:
	gdk_*_libgtk_only;
    local:
	_*;
};
GDK_2.8 {
    global:
	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;
	gdk_screen_get_rgba_visual;
	gdk_window_move_region;
	gdk_window_set_urgency_hint;
	gdk_x11_display_get_user_time;
	gdk_x11_display_set_cursor_theme;
	gdk_x11_window_move_to_current_desktop;
};

[-- Attachment #1.3: libgtk+2-2.8-gdk_pixbuf.map --]
[-- Type: text/plain, Size: 178 bytes --]

GDK_2.8 {
    global:
	gdk_pixbuf_simple_anim_add_frame;
	gdk_pixbuf_simple_anim_get_type;
	gdk_pixbuf_simple_anim_iter_get_type;
	gdk_pixbuf_simple_anim_new;
    local:
	_*;
};

[-- Attachment #1.4: libgtk+2-2.8-gtk.map --]
[-- Type: text/plain, Size: 2028 bytes --]

GTK_2.8 {
    global:
	gtk_about_dialog_get_wrap_license;
	gtk_about_dialog_set_wrap_license;
	gtk_action_get_accel_closure;
	gtk_dialog_get_response_for_widget;
	gtk_drag_set_icon_name;
	gtk_drag_source_set_icon_name;
	gtk_entry_completion_get_popup_set_width;
	gtk_entry_completion_get_popup_single_match;
	gtk_entry_completion_set_popup_set_width;
	gtk_entry_completion_set_popup_single_match;
	gtk_file_chooser_confirmation_get_type;
	gtk_file_chooser_get_do_overwrite_confirmation;
	gtk_file_chooser_set_do_overwrite_confirmation;
	gtk_file_system_get_bookmark_label;
	gtk_file_system_set_bookmark_label;
	gtk_icon_view_create_drag_icon;
	gtk_icon_view_drop_position_get_type;
	gtk_icon_view_enable_model_drag_dest;
	gtk_icon_view_enable_model_drag_source;
	gtk_icon_view_get_cursor;
	gtk_icon_view_get_dest_item_at_pos;
	gtk_icon_view_get_drag_dest_item;
	gtk_icon_view_get_item_at_pos;
	gtk_icon_view_get_reorderable;
	gtk_icon_view_get_visible_range;
	gtk_icon_view_scroll_to_path;
	gtk_icon_view_set_cursor;
	gtk_icon_view_set_drag_dest_item;
	gtk_icon_view_set_reorderable;
	gtk_icon_view_unset_model_drag_dest;
	gtk_icon_view_unset_model_drag_source;
	gtk_image_clear;
	gtk_menu_bar_get_child_pack_direction;
	gtk_menu_bar_get_pack_direction;
	gtk_menu_bar_set_child_pack_direction;
	gtk_menu_bar_set_pack_direction;
	gtk_menu_shell_get_take_focus;
	gtk_menu_shell_set_take_focus;
	gtk_pack_direction_get_type;
	gtk_scrolled_window_get_hscrollbar;
	gtk_scrolled_window_get_vscrollbar;
	gtk_size_group_get_ignore_hidden;
	gtk_size_group_set_ignore_hidden;
	gtk_stock_set_translate_func;
	gtk_text_iter_backward_visible_line;
	gtk_text_iter_backward_visible_lines;
	gtk_text_iter_forward_visible_line;
	gtk_text_iter_forward_visible_lines;
	gtk_tool_button_get_icon_name;
	gtk_tool_button_set_icon_name;
	gtk_tree_row_reference_get_model;
	gtk_tree_view_column_queue_resize;
	gtk_tree_view_get_visible_range;
	gtk_window_get_urgency_hint;
	gtk_window_present_with_time;
	gtk_window_set_urgency_hint;
    local:
	_*;
};

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

  reply	other threads:[~2005-09-09  8:33 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 ` [devel] " Alexey Tourbin
2005-09-09  8:33   ` Alexey Tourbin [this message]
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=20050909083331.GM3539@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