Gentoo Archives: gentoo-commits

From: Alexandre Restovtsev <tetromino@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:gnome-next commit in: app-editors/ghex/files/, app-editors/ghex/
Date: Tue, 27 Sep 2011 18:14:32
Message-Id: 7c7064e769b733589c35739659a34414e5e47cb5.tetromino@gentoo
1 commit: 7c7064e769b733589c35739659a34414e5e47cb5
2 Author: Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
3 AuthorDate: Tue Sep 27 18:04:59 2011 +0000
4 Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
5 CommitDate: Tue Sep 27 18:11:14 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=7c7064e7
7
8 app-editors/ghex: unslot (#384557) and remove 3.0.0 (now in gx86)
9
10 After a discussion on IRC, it appears that nobody wants to support a
11 slotted ghex, so slotmoving "3" back to "2". Since the (unslotted)
12 ghex-3.0.0 is already in gx86, remove it and replace with a live ebuild.
13
14 ---
15 .../files/ghex-2.24.0-build-libgtkhex-only.patch | 116 --------------------
16 app-editors/ghex/ghex-2.24.0-r200.ebuild | 43 -------
17 .../ghex/{ghex-3.0.0.ebuild => ghex-9999.ebuild} | 16 ++--
18 3 files changed, 8 insertions(+), 167 deletions(-)
19
20 diff --git a/app-editors/ghex/files/ghex-2.24.0-build-libgtkhex-only.patch b/app-editors/ghex/files/ghex-2.24.0-build-libgtkhex-only.patch
21 deleted file mode 100644
22 index 5e8e4e8..0000000
23 --- a/app-editors/ghex/files/ghex-2.24.0-build-libgtkhex-only.patch
24 +++ /dev/null
25 @@ -1,116 +0,0 @@
26 -diff --git a/Makefile.am b/Makefile.am
27 -index e121e68..53bb8b1 100644
28 ---- a/Makefile.am
29 -+++ b/Makefile.am
30 -@@ -2,10 +2,10 @@
31 -
32 - DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper --disable-schemas-install
33 -
34 --SUBDIRS = po src help icons
35 -+SUBDIRS = po src
36 -
37 --schemadir = $(GCONF_SCHEMA_FILE_DIR)
38 --schema_DATA = ghex2.schemas
39 -+#schemadir = $(GCONF_SCHEMA_FILE_DIR)
40 -+#schema_DATA = ghex2.schemas
41 -
42 - pkgconfigdir = $(libdir)/pkgconfig
43 - pkgconfig_DATA = gtkhex.pc
44 -@@ -25,22 +25,22 @@ EXTRA_DIST = \
45 - dist-hook: ghex.spec
46 - cp ghex.spec $(distdir)
47 -
48 --desktopdir = $(datadir)/applications
49 --desktop_in_files = ghex.desktop.in
50 --desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
51 -+#desktopdir = $(datadir)/applications
52 -+#desktop_in_files = ghex.desktop.in
53 -+#desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
54 -
55 --@INTLTOOL_DESKTOP_RULE@
56 -+##@INTLTOOL_DESKTOP_RULE@
57 -
58 - #Install the ghex2 schema file
59 --if GCONF_SCHEMAS_INSTALL
60 --install-data-local:
61 -- GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$(schema_DATA)
62 --else
63 --install-data-local:
64 --endif
65 --
66 --CLEANFILES = \
67 -- $(desktop_DATA)
68 -+#if GCONF_SCHEMAS_INSTALL
69 -+#install-data-local:
70 -+# GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$(schema_DATA)
71 -+#else
72 -+#install-data-local:
73 -+#endif
74 -+
75 -+#CLEANFILES = \
76 -+# $(desktop_DATA)
77 -
78 - DISTCLEANFILES = \
79 - intltool-extract \
80 -diff --git a/src/Makefile.am b/src/Makefile.am
81 -index 28b460c..00c0b9b 100644
82 ---- a/src/Makefile.am
83 -+++ b/src/Makefile.am
84 -@@ -13,13 +13,13 @@ BUILT_SOURCES = \
85 - ghex-marshal.c \
86 - ghex-marshal.h
87 -
88 --bin_PROGRAMS = ghex2
89 -+#bin_PROGRAMS = ghex2
90 -
91 - lib_LTLIBRARIES = libgtkhex.la
92 -
93 - libgtkhexdir = $(includedir)/gtkhex/
94 -
95 --uidir = $(datadir)/gnome-2.0/ui/
96 -+#uidir = $(datadir)/gnome-2.0/ui/
97 -
98 - libgtkhex_la_SOURCES = \
99 - hex-document.c \
100 -@@ -41,15 +41,15 @@ libgtkhex_HEADERS = \
101 - hex-document.h \
102 - gtkhex.h
103 -
104 --ghex2_SOURCES = \
105 -- hex-document-ui.c preferences.c findreplace.c converter.c \
106 -- config.c main.c ui.c chartable.c session.c \
107 -- print.c ghex-window.c ghex-window.h \
108 -- gnome-print-font-dialog.c gnome-print-font-dialog.h \
109 -- gnome-print-font-picker.c gnome-print-font-picker.h \
110 -- factory.c factory.h hex-dialog.c hex-dialog.h \
111 -- configuration.h preferences.h findreplace.h print.h \
112 -- converter.h chartable.h ui.h session.h
113 -+#ghex2_SOURCES = \
114 -+# hex-document-ui.c preferences.c findreplace.c converter.c \
115 -+# config.c main.c ui.c chartable.c session.c \
116 -+# print.c ghex-window.c ghex-window.h \
117 -+# gnome-print-font-dialog.c gnome-print-font-dialog.h \
118 -+# gnome-print-font-picker.c gnome-print-font-picker.h \
119 -+# factory.c factory.h hex-dialog.c hex-dialog.h \
120 -+# configuration.h preferences.h findreplace.h print.h \
121 -+# converter.h chartable.h ui.h session.h
122 -
123 - ghex-marshal.h: ghex-marshal.list $(GLIB_GENMARSHAL)
124 - $(GLIB_GENMARSHAL) $< --header --prefix=ghex_marshal > $@
125 -@@ -57,11 +57,12 @@ ghex-marshal.c: ghex-marshal.list $(GLIB_GENMARSHAL)
126 - echo "#include \"ghex-marshal.h\"" > $@ && \
127 - $(GLIB_GENMARSHAL) $< --body --prefix=ghex_marshal >> $@
128 -
129 --ui_DATA = ghex-ui.xml
130 -+#ui_DATA = ghex-ui.xml
131 -
132 --EXTRA_DIST = \
133 -- $(ui_DATA) \
134 -- ghex-marshal.list
135 -+#EXTRA_DIST = \
136 -+# $(ui_DATA) \
137 -+# ghex-marshal.list
138 -+EXTRA_DIST = ghex-marshal.list
139 -
140 - LDADD = \
141 - $(POPT_LIBS) \
142
143 diff --git a/app-editors/ghex/ghex-2.24.0-r200.ebuild b/app-editors/ghex/ghex-2.24.0-r200.ebuild
144 deleted file mode 100644
145 index a687296..0000000
146 --- a/app-editors/ghex/ghex-2.24.0-r200.ebuild
147 +++ /dev/null
148 @@ -1,43 +0,0 @@
149 -# Copyright 1999-2011 Gentoo Foundation
150 -# Distributed under the terms of the GNU General Public License v2
151 -# $Header: /var/cvsroot/gentoo-x86/app-editors/ghex/ghex-2.24.0.ebuild,v 1.11 2011/01/24 13:12:44 eva Exp $
152 -
153 -EAPI="3"
154 -GCONF_DEBUG="no"
155 -GNOME2_LA_PUNT="yes"
156 -
157 -inherit autotools eutils gnome2
158 -
159 -DESCRIPTION="Gnome hexadecimal editor library"
160 -HOMEPAGE="http://www.gnome.org/"
161 -
162 -LICENSE="GPL-2 FDL-1.1"
163 -SLOT="2"
164 -KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux"
165 -IUSE=""
166 -
167 -RDEPEND=">=x11-libs/gtk+-2.13:2
168 - dev-libs/popt
169 - >=dev-libs/atk-1
170 - gnome-base/gconf:2
171 - >=gnome-base/libgnomeui-2.6
172 - >=gnome-base/libgnomeprintui-2.2"
173 -DEPEND="${RDEPEND}
174 - >=dev-util/pkgconfig-0.9
175 - app-text/scrollkeeper
176 - >=dev-util/intltool-0.35
177 - >=app-text/gnome-doc-utils-0.3.2"
178 -# Most people who install ghex will be looking to get a hex editor program
179 -PDEPEND="app-editors/ghex:3"
180 -
181 -pkg_setup() {
182 - DOCS="AUTHORS ChangeLog NEWS README"
183 - G2CONF="${G2CONF} --disable-static"
184 -}
185 -
186 -src_prepare() {
187 - # build only the gtkhex library; the executable will be provided by ghex:3
188 - epatch "${FILESDIR}/${P}-build-libgtkhex-only.patch"
189 - eautoreconf
190 - gnome2_src_prepare
191 -}
192
193 diff --git a/app-editors/ghex/ghex-3.0.0.ebuild b/app-editors/ghex/ghex-9999.ebuild
194 similarity index 65%
195 rename from app-editors/ghex/ghex-3.0.0.ebuild
196 rename to app-editors/ghex/ghex-9999.ebuild
197 index 84d501e..4632491 100644
198 --- a/app-editors/ghex/ghex-3.0.0.ebuild
199 +++ b/app-editors/ghex/ghex-9999.ebuild
200 @@ -1,30 +1,30 @@
201 # Copyright 1999-2011 Gentoo Foundation
202 # Distributed under the terms of the GNU General Public License v2
203 -# $Header: /var/cvsroot/gentoo-x86/app-editors/ghex/ghex-2.24.0.ebuild,v 1.11 2011/01/24 13:12:44 eva Exp $
204 +# $Header: $
205
206 EAPI="4"
207 GCONF_DEBUG="no"
208 GNOME2_LA_PUNT="yes"
209
210 inherit gnome2
211 +if [[ ${PV} = 9999 ]]; then
212 + inherit gnome2-live
213 +fi
214
215 DESCRIPTION="Gnome hexadecimal editor"
216 HOMEPAGE="http://www.gnome.org/"
217
218 LICENSE="GPL-2 FDL-1.1"
219 -SLOT="3"
220 +SLOT="2"
221 KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux"
222 IUSE=""
223
224 -COMMON_DEPEND=">=dev-libs/glib-2.26:2
225 +RDEPEND=">=dev-libs/glib-2.26:2
226 >=x11-libs/gtk+-3.0:3
227 >=dev-libs/atk-1"
228 -# File collisions with gtk2-based program's icons etc.
229 -RDEPEND="${COMMON_DEPEND}
230 - !<app-editors/ghex-2.24.0-r200:2"
231 -DEPEND="${COMMON_DEPEND}
232 +DEPEND="${RDEPEND}
233 >=dev-util/pkgconfig-0.9
234 - >=dev-util/intltool-0.41.0
235 + >=dev-util/intltool-0.41.1
236 >=app-text/gnome-doc-utils-0.9.0
237 >=sys-devel/gettext-0.17"