Gentoo Archives: gentoo-commits

From: "Piotr Jaroszynski (peper)" <peper@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-pda/libopensync: ChangeLog libopensync-9999.ebuild libopensync-0.35.ebuild
Date: Fri, 21 Dec 2007 23:02:37
Message-Id: E1J5qss-0004ky-0o@stork.gentoo.org
1 peper 07/12/21 23:02:26
2
3 Modified: ChangeLog libopensync-9999.ebuild
4 Added: libopensync-0.35.ebuild
5 Log:
6 Add 0.35.
7 (Portage version: 2.1.4_rc11)
8
9 Revision Changes Path
10 1.22 app-pda/libopensync/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libopensync/ChangeLog?rev=1.22&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libopensync/ChangeLog?rev=1.22&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libopensync/ChangeLog?r1=1.21&r2=1.22
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-pda/libopensync/ChangeLog,v
19 retrieving revision 1.21
20 retrieving revision 1.22
21 diff -u -r1.21 -r1.22
22 --- ChangeLog 26 Nov 2007 20:12:07 -0000 1.21
23 +++ ChangeLog 21 Dec 2007 23:02:25 -0000 1.22
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-pda/libopensync
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/ChangeLog,v 1.21 2007/11/26 20:12:07 peper Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/ChangeLog,v 1.22 2007/12/21 23:02:25 peper Exp $
29 +
30 +*libopensync-0.35 (21 Dec 2007)
31 +
32 + 21 Dec 2007; Piotr JaroszyƄski <peper@g.o>
33 + +libopensync-0.35.ebuild, libopensync-9999.ebuild:
34 + Add 0.35.
35
36 *libopensync-9999 (26 Nov 2007)
37
38
39
40
41 1.2 app-pda/libopensync/libopensync-9999.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libopensync/libopensync-9999.ebuild?rev=1.2&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libopensync/libopensync-9999.ebuild?rev=1.2&content-type=text/plain
45 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libopensync/libopensync-9999.ebuild?r1=1.1&r2=1.2
46
47 Index: libopensync-9999.ebuild
48 ===================================================================
49 RCS file: /var/cvsroot/gentoo-x86/app-pda/libopensync/libopensync-9999.ebuild,v
50 retrieving revision 1.1
51 retrieving revision 1.2
52 diff -u -r1.1 -r1.2
53 --- libopensync-9999.ebuild 26 Nov 2007 20:12:07 -0000 1.1
54 +++ libopensync-9999.ebuild 21 Dec 2007 23:02:25 -0000 1.2
55 @@ -1,6 +1,6 @@
56 # Copyright 1999-2007 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 -# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/libopensync-9999.ebuild,v 1.1 2007/11/26 20:12:07 peper Exp $
59 +# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/libopensync-9999.ebuild,v 1.2 2007/12/21 23:02:25 peper Exp $
60
61 inherit cmake-utils eutils subversion
62
63 @@ -38,13 +38,19 @@
64 mycmakeargs="${mycmakeargs} -DBUILD_DOCUMENTATION=$(use doc && echo ON || echo OFF)"
65 cmake-utils_src_compile
66
67 - use doc && doxygen Doxyfile
68 + if use doc ; then
69 + cd "${WORKDIR}/${PN}_build"
70 + doxygen Doxyfile || die "Failed to generate docs."
71 + fi
72 }
73
74 src_install() {
75 cmake-utils_src_install
76
77 - use doc && dohtml docs/html/*
78 + if use doc ; then
79 + cd "${WORKDIR}/${PN}_build"
80 + dohtml docs/html/* || die "Failed to install docs."
81 + fi
82 }
83
84 pkg_postinst() {
85
86
87
88 1.1 app-pda/libopensync/libopensync-0.35.ebuild
89
90 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libopensync/libopensync-0.35.ebuild?rev=1.1&view=markup
91 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/libopensync/libopensync-0.35.ebuild?rev=1.1&content-type=text/plain
92
93 Index: libopensync-0.35.ebuild
94 ===================================================================
95 # Copyright 1999-2007 Gentoo Foundation
96 # Distributed under the terms of the GNU General Public License v2
97 # $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync/libopensync-0.35.ebuild,v 1.1 2007/12/21 23:02:25 peper Exp $
98
99 inherit cmake-utils eutils
100
101 DESCRIPTION="OpenSync synchronisation framework library"
102 HOMEPAGE="http://www.opensync.org/"
103 SRC_URI="http://www.opensync.org/download/releases/${PV}/${P}.tar.bz2"
104
105 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
106 SLOT="0"
107 LICENSE="LGPL-2.1"
108 IUSE="debug doc python"
109
110 # Tests don't pass
111 #>=dev-libs/check-0.9.2
112 #mycmakeargs="${mycmakeargs} -DOPENSYNC_UNITTESTS=ON"
113 RESTRICT="test"
114
115 RDEPEND=">=dev-db/sqlite-3
116 >=dev-libs/glib-2
117 dev-libs/libxml2
118 python? ( >=dev-lang/python-2.2 >=dev-lang/swig-1.3.17 )"
119
120 DEPEND="${RDEPEND}
121 >=dev-util/pkgconfig-0.9.0
122 doc? ( app-doc/doxygen )"
123
124 src_compile() {
125 local mycmakeargs
126 mycmakeargs="${mycmakeargs} -DCMAKE_SKIP_RPATH=ON"
127 mycmakeargs="${mycmakeargs} -DOPENSYNC_TRACE=$(use debug && echo ON || echo OFF)"
128 mycmakeargs="${mycmakeargs} -DOPENSYNC_DEBUG_MODULES=$(use debug && echo ON || echo OFF)"
129 mycmakeargs="${mycmakeargs} -DOPENSYNC_PYTHONBINDINGS=$(use python && echo ON || echo OFF)"
130 mycmakeargs="${mycmakeargs} -DBUILD_DOCUMENTATION=$(use doc && echo ON || echo OFF)"
131 cmake-utils_src_compile
132
133 if use doc ; then
134 cd "${WORKDIR}/${PN}_build"
135 doxygen Doxyfile || die "Failed to generate docs."
136 fi
137 }
138
139 src_install() {
140 cmake-utils_src_install
141
142 if use doc ; then
143 cd "${WORKDIR}/${PN}_build"
144 dohtml docs/html/* || die "Failed to install docs."
145 fi
146 }
147
148 pkg_postinst() {
149 elog "Building with 'debug' useflag is highly encouraged"
150 elog "and requiered for bug reports."
151 elog "Also see http://www.opensync.org/wiki/tracing"
152 }
153
154
155
156 --
157 gentoo-commits@g.o mailing list