Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/aegisub/, media-video/aegisub/files/
Date: Tue, 28 Jun 2016 18:06:58
Message-Id: 1467135467.9713a0e9f1408d3781692384d6159abc74518d16.monsieurp@gentoo
1 commit: 9713a0e9f1408d3781692384d6159abc74518d16
2 Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
3 AuthorDate: Sat Jun 4 17:01:13 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 28 17:37:47 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9713a0e9
7
8 media-video/aegisub: remove 3.0.4
9
10 It's time for 3.0.4 to go.
11
12 Package-Manager: portage-2.3.0_rc1
13
14 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
15
16 media-video/aegisub/Manifest | 1 -
17 media-video/aegisub/aegisub-3.0.4-r1.ebuild | 112 ---------------------
18 ...isub-3.0.4-fix-install-with-empty-LINGUAS.patch | 23 -----
19 .../files/aegisub-3.0.4-fix-lua-macro.patch | 13 ---
20 ...aegisub-3.0.4-respect-user-compiler-flags.patch | 30 ------
21 5 files changed, 179 deletions(-)
22
23 diff --git a/media-video/aegisub/Manifest b/media-video/aegisub/Manifest
24 index 9589891..d977b38 100644
25 --- a/media-video/aegisub/Manifest
26 +++ b/media-video/aegisub/Manifest
27 @@ -1,3 +1,2 @@
28 -DIST aegisub-3.0.4.tar.xz 4155728 SHA256 7d5d8b94da02278b3327f24dd546c0c897c4b369bd2da9e094dc60371422019a SHA512 2917195a61d16578a83ce0b69006dd0269c086c6eff2f622c47d9880697e4e531a7c0c0232c187f9023635c9d3857a1d6a0cee4f6251e49d22e2b625ac5dda7f WHIRLPOOL 60bd3e0374a60f6af62fe450488e8c68e18957283fff59d704f40e192da624bdf90d68c3cea41122e5b9ca440d218c3bd6d9d8091ed5226a2e9d1b9fdc2ce689
29 DIST aegisub-3.2.2.tar.xz 5252052 SHA256 c55e33945b82d8513c02ea6e782f0d72c726adcd3707e95b8c0022f6151e6885 SHA512 54f825e52f238fef8d5cc31c37436e21355aee27883347f905271e5d2a8ff2a77e1b67d5aef38b0f8468bd0bad851fe944e02de27ec96310b902fbe5b1086722 WHIRLPOOL fe948edbb01f11385e14d1912b73942605df18325fcd95f4284a3c2edb73778d90d73038ac4a062e211fd56879590040e3c558fe1e361ec9fe2eee6a5c016448
30 DIST aegisub-3.2.2_p20160306.tar.gz 7436713 SHA256 1b70f67c3b3d6ecce482bc1f4beb1ceffd4c523aa060556658e403ea98fcc58c SHA512 815775b64b1ad5cd09eda6106561a8a0d4dc129d4c2e08e057eab881289526a7b67bab2f4d2f48748ef2015ea21f2839ed8f84d168bf9127c62c9a35caa1abd5 WHIRLPOOL caaa6b1d69c7e4d1da4abfd0382d263585c5216d9ed5e63f515d8bce98b2e0dad2848552f3f097a8db9e39dad5d2c00d3b752f0407490d0d2c777aaa8fc6dc38
31
32 diff --git a/media-video/aegisub/aegisub-3.0.4-r1.ebuild b/media-video/aegisub/aegisub-3.0.4-r1.ebuild
33 deleted file mode 100644
34 index 572569e..0000000
35 --- a/media-video/aegisub/aegisub-3.0.4-r1.ebuild
36 +++ /dev/null
37 @@ -1,112 +0,0 @@
38 -# Copyright 1999-2016 Gentoo Foundation
39 -# Distributed under the terms of the GNU General Public License v2
40 -# $Id$
41 -
42 -EAPI=5
43 -
44 -AUTOTOOLS_AUTORECONF=1
45 -AUTOTOOLS_IN_SOURCE_BUILD=1
46 -PLOCALES="ar ca cs da de el es eu fa fi fr_FR hu id it ja ko nl pl pt_BR pt_PT ru sr_RS@latin sr_RS vi zh_CN zh_TW"
47 -WX_GTK_VER="2.9"
48 -
49 -inherit autotools-utils fdo-mime gnome2-utils l10n wxwidgets
50 -
51 -DESCRIPTION="Advanced subtitle editor"
52 -HOMEPAGE="http://www.aegisub.org/"
53 -SRC_URI="
54 - http://ftp.aegisub.org/pub/releases/${P}.tar.xz
55 - ftp://ftp.aegisub.org/pub/releases/${P}.tar.xz
56 -"
57 -
58 -LICENSE="BSD"
59 -SLOT="0"
60 -KEYWORDS="~amd64 ~x86"
61 -IUSE="alsa debug +ffmpeg +fftw +libass lua openal oss portaudio pulseaudio spell"
62 -
63 -# configure.ac specifies minimal versions for some of the dependencies below.
64 -# However, most of these minimal versions date back to 2006-2012 yy.
65 -# Such version specifiers are meaningless nowadays, so they are omitted.
66 -RDEPEND="
67 - >=x11-libs/wxGTK-2.9.3:${WX_GTK_VER}[X,opengl,debug?]
68 - media-libs/fontconfig
69 - media-libs/freetype
70 - virtual/libiconv
71 - virtual/opengl
72 -
73 - alsa? ( media-libs/alsa-lib )
74 - openal? ( media-libs/openal )
75 - portaudio? ( =media-libs/portaudio-19* )
76 - pulseaudio? ( media-sound/pulseaudio )
77 -
78 - ffmpeg? ( media-libs/ffmpegsource:= )
79 - fftw? ( >=sci-libs/fftw-3.3:= )
80 -
81 - libass? ( media-libs/libass:=[fontconfig] )
82 - lua? ( =dev-lang/lua-5.1*:= )
83 - spell? ( app-text/hunspell )
84 -"
85 -DEPEND="${RDEPEND}
86 - oss? ( virtual/os-headers )
87 - dev-util/intltool
88 - sys-devel/gettext
89 - virtual/pkgconfig
90 -"
91 -REQUIRED_USE="
92 - || ( alsa openal oss portaudio pulseaudio )
93 -"
94 -
95 -PATCHES=(
96 - "${FILESDIR}/${P}-fix-lua-macro.patch"
97 - "${FILESDIR}/${P}-fix-install-with-empty-LINGUAS.patch"
98 - "${FILESDIR}/${P}-respect-user-compiler-flags.patch"
99 -)
100 -
101 -S="${WORKDIR}/${PN}/${PN}"
102 -
103 -src_prepare() {
104 - cp /usr/share/gettext/config.rpath . || die
105 -
106 - remove_locale() {
107 - sed -i -e "s/${1}\.po//" po/Makefile || die
108 - }
109 -
110 - l10n_find_plocales_changes 'po' '' '.po'
111 - l10n_for_each_disabled_locale_do remove_locale
112 -
113 - autotools-utils_src_prepare
114 -}
115 -
116 -src_configure() {
117 - # Prevent sandbox violation from OpenAL detection. Gentoo bug #508184.
118 - use openal && export agi_cv_with_openal="yes"
119 - local myeconfargs=(
120 - --disable-crash-reporter
121 - --disable-update-checker
122 - $(use_enable debug)
123 - $(use_with alsa)
124 - $(use_with ffmpeg ffms2)
125 - $(use_with fftw fftw3)
126 - $(use_with libass)
127 - $(use_with lua)
128 - $(use_with openal)
129 - $(use_with oss)
130 - $(use_with portaudio)
131 - $(use_with pulseaudio libpulse)
132 - $(use_with spell hunspell)
133 - )
134 - autotools-utils_src_configure
135 -}
136 -
137 -pkg_preinst() {
138 - gnome2_icon_savelist
139 -}
140 -
141 -pkg_postinst() {
142 - fdo-mime_desktop_database_update
143 - gnome2_icon_cache_update
144 -}
145 -
146 -pkg_postrm() {
147 - fdo-mime_desktop_database_update
148 - gnome2_icon_cache_update
149 -}
150
151 diff --git a/media-video/aegisub/files/aegisub-3.0.4-fix-install-with-empty-LINGUAS.patch b/media-video/aegisub/files/aegisub-3.0.4-fix-install-with-empty-LINGUAS.patch
152 deleted file mode 100644
153 index 0bd1b5d..0000000
154 --- a/media-video/aegisub/files/aegisub-3.0.4-fix-install-with-empty-LINGUAS.patch
155 +++ /dev/null
156 @@ -1,23 +0,0 @@
157 -Upstream always installs all available localization files. We workaround this
158 -by sed'ing out the unused languages from PO variable in `aegisub/po/Makefile'.
159 -This can result in an empty PO definition, in which case install target fails.
160 -Thus a simple guard is introduced to prevent this fail.
161 -
162 -diff --git a/aegisub/po/Makefile b/aegisub/po/Makefile
163 -index 0b73bde..957c123 100644
164 ---- a/aegisub/po/Makefile
165 -+++ b/aegisub/po/Makefile
166 -@@ -38,11 +38,13 @@ all: $(MO)
167 - $(BIN_MSGFMT) -o $@ $<
168 -
169 - install:
170 -+ifdef PO
171 - @$(BIN_MKDIR) -p $(addsuffix /LC_MESSAGES/, $(addprefix $(DESTDIR)$(P_LOCALE)/, $(basename $(PO))))
172 - @for i in $(basename $(PO)); do \
173 - echo $(BIN_INSTALL) $$i.mo $(DESTDIR)$(P_LOCALE)/$$i/LC_MESSAGES/$(AEGISUB_CATALOG).mo; \
174 - $(BIN_INSTALL) $$i.mo $(DESTDIR)$(P_LOCALE)/$$i/LC_MESSAGES/$(AEGISUB_CATALOG).mo; \
175 - done
176 -+endif
177 -
178 -
179 - CLEANFILES = $(MO)
180
181 diff --git a/media-video/aegisub/files/aegisub-3.0.4-fix-lua-macro.patch b/media-video/aegisub/files/aegisub-3.0.4-fix-lua-macro.patch
182 deleted file mode 100644
183 index 253fb3e..0000000
184 --- a/media-video/aegisub/files/aegisub-3.0.4-fix-lua-macro.patch
185 +++ /dev/null
186 @@ -1,13 +0,0 @@
187 -diff --git a/aegisub/configure.ac b/aegisub/configure.ac
188 -index d961bd6..17df012 100644
189 ---- a/aegisub/configure.ac
190 -+++ b/aegisub/configure.ac
191 -@@ -369,7 +369,7 @@ AC_ARG_WITH(lua,
192 - AS_HELP_STRING([--without-lua],
193 - [build without lua 5.1 (auto4)]))
194 -
195 --AS_IF([test x$with_lua = xno], [$with_auto4_lua="no"; lua_disabled="(disabled)"], [
196 -+AS_IF([test x$with_lua = xno], [with_auto4_lua="no"; lua_disabled="(disabled)"], [
197 - # First try pkg-config with several names
198 - PKG_CHECK_MODULES(LUA, lua5.1 >= 5.1 lua5.1 < 5.2, [with_auto4_lua="yes"], [
199 - PKG_CHECK_MODULES(LUA, lua-5.1 >= 5.1 lua-5.1 < 5.2, [with_auto4_lua="yes"], [
200
201 diff --git a/media-video/aegisub/files/aegisub-3.0.4-respect-user-compiler-flags.patch b/media-video/aegisub/files/aegisub-3.0.4-respect-user-compiler-flags.patch
202 deleted file mode 100644
203 index 408fb8d..0000000
204 --- a/media-video/aegisub/files/aegisub-3.0.4-respect-user-compiler-flags.patch
205 +++ /dev/null
206 @@ -1,30 +0,0 @@
207 -diff --git a/aegisub/configure.ac b/aegisub/configure.ac
208 -index d961bd6..e0bdc46 100644
209 ---- a/aegisub/configure.ac
210 -+++ b/aegisub/configure.ac
211 -@@ -157,23 +157,18 @@ AS_IF([test x$enable_compiler_flags != xno], [
212 - AC_C_FLAG([-Wextra],[AC_C_FLAG([-W])])
213 - AC_C_FLAG([-Wno-unused-parameter])
214 - AC_C_FLAG([-std=gnu99])
215 -- AC_C_FLAG([-pipe])
216 -- AC_C_FLAG([-g])
217 - AC_CXX_FLAG([-Wall])
218 - AC_CXX_FLAG([-Wextra],[AC_CXX_FLAG([-W])])
219 - AC_CXX_FLAG([-Wno-unused-parameter])
220 - AC_CXX_FLAG([-Wno-long-long])
221 - AC_CXX_FLAG([-fno-strict-aliasing])
222 -- AC_CXX_FLAG([-pipe])
223 -- AC_CXX_FLAG([-g])
224 -
225 - # -O* messes with debugging.
226 - AS_IF([test x$enable_debug = xyes], [
227 - AC_C_FLAG([-O0])
228 -+ AC_C_FLAG([-g])
229 - AC_CXX_FLAG([-O0])
230 -- ], [
231 -- AC_C_FLAG([-O2])
232 -- AC_CXX_FLAG([-O2])
233 -+ AC_CXX_FLAG([-g])
234 - ])
235 - ])
236 -