ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Mikhail Zabaluev <mhz@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] New package: gamin
Date: Fri, 06 Jan 2006 11:48:31 +0300
Message-ID: <1136537311.4041.25.camel@localhost.localdomain> (raw)
In-Reply-To: <43BE196E.6010405@altlinux.org>


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

В Птн, 06/01/2006 в 10:17 +0300, Alexey Rusakov пишет:
> >Для перевода пакета с fam на gamin нужно сменить явные зависимости на
> >fam там, где они есть, на gamin libgamin-fam. В BuildRequires
> >libfam-devel меняется на gamin-devel. Пакеты, требующие только
> >libfam.so.0, теоретически не почувствуют разницы, работая с
> >libgamin-fam. gnome-vfs2 собирается и работает, с минимальными
> >модификациями в spec.
> >Сейчас пакеты libgamin-fam и gamin-devel конфликтуют с libfam и
> >libfam-devel, соответственно.
> >  
> >
> Требуется ли пересборка програмы с gamin для работы с оным? Или можно 
> наивно взять нынешний gnome-vfs2, подсунуть ему под видом libfam 
> libgamin-fam, и оно заработает?

gnome-vfs2 явно требует fam, так что не получится.
Прилагаю diff со своим spec (но там, как обычно, более одного
изменения).

По зрелом размышлении, так можно быстро внести конфликты в
пользовательские наборы пакетов: явно зависят от fam/libfam еще
gnome-commander, fileschanged, prelude-lml, libopensync-plugin-file.
Нужно либо разводить альтернативы (что очень не хочется, да и
неправильно в данном случае), либо быстро перевести их всех.

[-- Attachment #1.2: gnome-vfs2.spec.diff --]
[-- Type: text/x-patch, Size: 3563 bytes --]

--- /home/mhz/RPM/SPECS/gnome-vfs2.spec	2005-11-15 01:36:51 +0300
+++ gnome-vfs2.spec	2006-01-05 21:42:51 +0300
@@ -1,5 +1,5 @@
 %define _name gnome-vfs
-%define ver_major 2.13
+%define ver_major 2.12
 %define localstatedir %_var/lib
 %def_enable howl
 %def_enable hal
@@ -7,8 +7,8 @@
 %def_disable static
 
 Name: gnome-vfs2
-Version: %ver_major.1
-Release: alt1
+Version: %ver_major.2
+Release: alt0.1mhz1
 
 Summary: The GNOME virtual file-system libraries
 Group: System/Libraries
@@ -17,8 +17,6 @@
 
 Source: ftp://ftp.gnome.org/pub/gnome/sources/%_name/%ver_major/%_name-%version.tar.bz2
 Patch: %_name-2.6.1.1-alt-gnomevfs-ls.patch
-# http://www.linuxfromscratch.org/blfs/downloads/svn/gnome-vfs-2.10.1-hal_0.5.0-1.patch
-#Patch1: %_name-2.10.1-hal_0.5.0-1.patch
 
 Obsoletes: gnome-vfs2-extras
 Provides: gnome-vfs2-extras = %version-%release
@@ -36,7 +34,7 @@
 Requires: gnome-mime-data >= %gnome_mime_data_ver
 Requires: shared-mime-info >= %shared_mime_info_ver
 Requires: openssh-clients
-Requires: fam
+Requires: gamin libgamin-fam
 
 %if_enabled hal
 Requires: hal
@@ -59,8 +57,11 @@
 BuildPreReq: libcdparanoia-devel
 %endif
 
-# Automatically added by buildreq on Sat Jan 29 2005
-BuildRequires: GConf2 bzlib-devel docbook-dtds docbook-style-xsl gcc-c++ glib2-devel gnome-mime-data gtk-doc libGConf2-devel libbonobo2-devel libe2fs-devel libfam-devel libgpg-error libkrb5-devel libpopt-devel libsmbclient-devel libssl-devel perl-XML-Parser xsltproc zlib-devel
+BuildRequires: bzlib-devel docbook-dtds docbook-style-xsl gamin-devel
+BuildRequires: glib2-devel gnome-mime-data gtk-doc libe2fs-devel
+BuildRequires: libgcrypt-devel libgnutls-devel libgpg-error-devel
+BuildRequires: libkrb5-devel libpopt-devel libsmbclient-devel libtasn1-devel
+BuildRequires: perl-XML-Parser pkgconfig xml-common xsltproc zlib-devel
 
 %description
 GNOME VFS is the GNOME virtual file system. It is the foundation of the
@@ -119,8 +120,7 @@
 
 %prep
 %setup -q -n %_name-%version
-%patch -p1
-#%%patch1 -p1 
+%patch0 -p1
 
 %build
 export ac_cv_prog_AWK=/bin/awk
@@ -130,6 +130,8 @@
 	    %{subst_enable howl} \
 	    %{subst_enable hal} \
 	    %{subst_enable cdda} \
+	    --enable-gnutls \
+	    --disable-openssl \
 	    --disable-schemas-install \
 	    --localstatedir=%localstatedir \
 	    --enable-gtk-doc
@@ -150,12 +152,9 @@
 
 %__bzip2 -9fk ChangeLog
 
-#%%gconf2_stripschemas
 %find_lang --output=files_list %_name-2.0
+
 %define schemas desktop_default_applications desktop_gnome_url_handlers system_http_proxy system_smb system_dns_sd system_storage
-for s in %schemas; do
-    echo "%%config %_sysconfdir/gconf/schemas/$s.schemas"
-done >>files_list
 
 %post
 %gconf2_install %schemas
@@ -176,12 +175,10 @@
 %_libexecdir/gnome-vfs-daemon
 %_libdir/bonobo/monikers/*.so
 %_libdir/bonobo/servers/*
-#%_datadir/gconf/locale/*
 %dir %_sysconfdir/gnome-vfs-2.0
 %dir %_sysconfdir/gnome-vfs-2.0/modules
 %config %_sysconfdir/gnome-vfs-2.0/*/*
 %config %_sysconfdir/gconf/schemas/*.schemas
-#%%config %_sysconfdir/gconf/schemas/%{expand: %(echo %schemas | sed -e 's/ /,/g')}.schemas
 %doc AUTHORS ChangeLog.* NEWS README
 
 %files devel
@@ -206,6 +203,12 @@
 %_bindir/*
 
 %changelog
+* Thu Jan 05 2006 Mikhail Zabaluev <mhz@altlinux.ru> 2.12.2-alt0.1mhz1
+- Reverted to 2.12 branch
+- Use Gamin instead of FAM
+- Use GnuTLS instead of OpenSSL
+- Spec cleanup
+
 * Tue Nov 15 2005 Alexey Rusakov <ktirf@altlinux.ru> 2.13.1-alt1
 - new version
 

[-- Attachment #2: Эта часть сообщения подписана цифровой подписью --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-01-06  8:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-05 19:43 Mikhail Zabaluev
2006-01-06  7:17 ` Alexey Rusakov
2006-01-06  8:48   ` Mikhail Zabaluev [this message]
2006-01-06 14:12     ` Alex Murygin
2006-01-06 14:36       ` Mikhail Zabaluev
2006-01-06 20:23     ` Alexey Rusakov
2006-01-07 11:25       ` Mikhail Zabaluev
2006-01-07 13:54         ` Alexey Rusakov

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=1136537311.4041.25.camel@localhost.localdomain \
    --to=mhz@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /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