From: Alexey Shabalin <a.shabalin@gmail.com> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] I: superuser menu entries policy draft (menu entry policy extension) Date: Tue, 30 Aug 2011 01:14:32 +0400 Message-ID: <CAEdvWkSQ8hk9VfSjMORXQxqA+WSz2GAKHHaCreMvr1z=_JsguQ@mail.gmail.com> (raw) In-Reply-To: <20110829185307.GB30634@altlinux.org> [-- Attachment #1: Type: text/plain, Size: 690 bytes --] 29 августа 2011 г. 22:53 пользователь Dmitry V. Levin написал: > On Mon, Aug 29, 2011 at 08:02:29PM +0300, Igor Vlasenko wrote: >> On Mon, Aug 29, 2011 at 06:29:31PM +0300, Igor Vlasenko wrote: >> > Гм. ничего там переписывать не нужно - consolehelper это >> > родная RedHat'овская утилита, и апстрим давно уже портировал >> > его исходники под glib2 (см. usermode-1.107-1.fc16.src.rpm) >> > Нам надо только обновиться. >> >> Cорри, ошибся. Наш consolehelper - форк. >> Т.е. все не так просто. > > Там простой интейфейс, любому знатоку gtk2 не составит труда переписать > его. Да меня больше удивило что портировали на gtk+2, но оставили glib1. Патчи в атаче устроят? -- Alexey Shabalin [-- Attachment #2: 0001-glib1-->-glib2.patch --] [-- Type: text/x-patch, Size: 924 bytes --] From 0f29debb39201c90cab3b6d3dd7f700ed548e0e0 Mon Sep 17 00:00:00 2001 From: Alexey Shabalin <shaba@altlinux.org> Date: Tue, 30 Aug 2011 01:03:23 +0400 Subject: [PATCH] glib1 -> glib2 --- consolehelper/src/server/Makefile | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/consolehelper/src/server/Makefile b/consolehelper/src/server/Makefile index f47aa99..3b449d5 100644 --- a/consolehelper/src/server/Makefile +++ b/consolehelper/src/server/Makefile @@ -18,8 +18,8 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # -CPPFLAGS = $(RPM_OPT_FLAGS) -D_GNU_SOURCE -I../include $(shell glib-config --cflags) -LDLIBS = -lglib -lpam -lpam_misc +CPPFLAGS = $(RPM_OPT_FLAGS) -D_GNU_SOURCE -I../include $(shell pkg-config glib-2.0 --cflags) +LDLIBS = $(shell pkg-config glib-2.0 --libs) -lpam -lpam_misc INSTALL = install SUBST = subst -p PACKAGE = auth -- 1.7.6.1 [-- Attachment #3: 0002-build-with-glib2.patch --] [-- Type: text/x-patch, Size: 729 bytes --] From 2e5f37c1c7b51fd4924cdecb4e1503e1c185e66a Mon Sep 17 00:00:00 2001 From: Alexey Shabalin <shaba@altlinux.org> Date: Tue, 30 Aug 2011 01:09:01 +0400 Subject: [PATCH] build with glib2 --- consolehelper/consolehelper.spec | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/consolehelper/consolehelper.spec b/consolehelper/consolehelper.spec index eacd0e6..6c26b99 100644 --- a/consolehelper/consolehelper.spec +++ b/consolehelper/consolehelper.spec @@ -11,7 +11,7 @@ Source: %name-%version.tar Obsoletes: usermode -BuildPreReq: glib-devel libgtk+2-devel libpam-devel pkgconfig +BuildPreReq: glib2-devel libgtk+2-devel libpam-devel pkgconfig %define conshelpdir %_libexecdir/%name -- 1.7.6.1
next prev parent reply other threads:[~2011-08-29 21:14 UTC|newest] Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-08-29 11:05 Igor Vlasenko 2011-08-29 13:08 ` Peter V. Saveliev 2011-08-29 14:10 ` Igor Vlasenko 2011-08-29 14:21 ` Peter V. Saveliev 2011-08-29 15:22 ` Paul Wolneykien 2011-08-29 16:37 ` Peter V. Saveliev 2011-08-29 16:54 ` Mykola S. Grechukh 2011-08-29 14:43 ` Alexey Shabalin 2011-08-29 15:29 ` Igor Vlasenko 2011-08-29 17:02 ` Igor Vlasenko 2011-08-29 18:53 ` Dmitry V. Levin 2011-08-29 21:14 ` Alexey Shabalin [this message] 2011-08-29 21:31 ` Dmitry V. Levin 2011-08-30 10:46 ` Alexey Shabalin 2011-08-30 13:52 ` Dmitry V. Levin 2011-08-30 14:49 ` Alexey Shabalin 2011-08-30 9:52 ` Радик Юсупов 2011-08-30 10:09 ` Igor Vlasenko 2011-09-20 20:02 ` Igor Vlasenko
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='CAEdvWkSQ8hk9VfSjMORXQxqA+WSz2GAKHHaCreMvr1z=_JsguQ@mail.gmail.com' \ --to=a.shabalin@gmail.com \ --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