Gentoo Archives: gentoo-commits

From: "Piotr Jaroszynski (peper)" <peper@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/paludis/files: paludis-0.26.0_alpha4-news_test.patch
Date: Tue, 01 Jan 2008 18:53:34
Message-Id: E1J9mEy-0005ve-VW@stork.gentoo.org
1 peper 08/01/01 18:53:28
2
3 Modified: paludis-0.26.0_alpha4-news_test.patch
4 Log:
5 Use new eselect-news for 0.26.0_alpha4 and the old one for the rest.
6 (Portage version: 2.1.4_rc14)
7
8 Revision Changes Path
9 1.4 sys-apps/paludis/files/paludis-0.26.0_alpha4-news_test.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/paludis/files/paludis-0.26.0_alpha4-news_test.patch?rev=1.4&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/paludis/files/paludis-0.26.0_alpha4-news_test.patch?rev=1.4&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/paludis/files/paludis-0.26.0_alpha4-news_test.patch?r1=1.3&r2=1.4
14
15 Index: paludis-0.26.0_alpha4-news_test.patch
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sys-apps/paludis/files/paludis-0.26.0_alpha4-news_test.patch,v
18 retrieving revision 1.3
19 retrieving revision 1.4
20 diff -u -r1.3 -r1.4
21 --- paludis-0.26.0_alpha4-news_test.patch 30 Dec 2007 18:13:46 -0000 1.3
22 +++ paludis-0.26.0_alpha4-news_test.patch 1 Jan 2008 18:53:28 -0000 1.4
23 @@ -1,3 +1,17 @@
24 +diff --git a/hooks/Makefile.am.m4 b/hooks/Makefile.am.m4
25 +index 5c46d22..a32565a 100644
26 +--- a/hooks/Makefile.am.m4
27 ++++ b/hooks/Makefile.am.m4
28 +@@ -7,7 +7,7 @@ MAINTAINERCLEANFILES = Makefile.in Makefile.am
29 + CLEANFILES = *~ gmon.out *.gcov *.gcno *.gcda .keep
30 + SUBDIRS = . demos
31 +
32 +-installvarlibpaludisnewsdir = $(localstatedir)/paludis/news
33 ++installvarlibpaludisnewsdir = $(localstatedir)/gentoo/news
34 +
35 + installhookcommonprogdir = $(libexecdir)/paludis/hooks/common
36 + installhookinstallallpostdir = $(libexecdir)/paludis/hooks/install_all_post
37 +
38 diff --git a/hooks/news_TEST_setup.sh b/hooks/news_TEST_setup.sh
39 index ceccb99..c895b1c 100755
40 --- a/hooks/news_TEST_setup.sh
41 @@ -22,3 +36,19 @@
42 monkey
43 END
44
45 +diff --git a/paludis/repositories/e/e_repository_news.cc b/paludis/repositories/e/e_repository_news.cc
46 +index 9ebd737..6b25a74 100644
47 +--- a/paludis/repositories/e/e_repository_news.cc
48 ++++ b/paludis/repositories/e/e_repository_news.cc
49 +@@ -67,9 +67,9 @@ namespace paludis
50 + environment(e),
51 + e_repository(p),
52 + params(k),
53 +- skip_file(e->root() / "var" / "lib" / "paludis" / "news" /
54 ++ skip_file(e->root() / "var" / "lib" / "gentoo" / "news" /
55 + ("news-" + stringify(e_repository->name()) + ".skip")),
56 +- unread_file(e->root() / "var" / "lib" / "paludis" / "news" /
57 ++ unread_file(e->root() / "var" / "lib" / "gentoo" / "news" /
58 + ("news-" + stringify(e_repository->name()) + ".unread"))
59 + {
60 + }
61
62
63
64 --
65 gentoo-commits@g.o mailing list