1 |
loki_val 09/08/23 14:59:11 |
2 |
|
3 |
Added: gnome-subtitles-0.9.1-as-needed.patch |
4 |
Log: |
5 |
Bump, bug 278286. Thanks to Pedro Castro <mail@×××××××××××.org> for reporting. Patch which changes the build-system to use libtool to create plugin .so included, reported upstream at http://bugzilla.gnome.org/show_bug.cgi?id=592784 . |
6 |
(Portage version: 2.2_rc39/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 media-video/gnome-subtitles/files/gnome-subtitles-0.9.1-as-needed.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/gnome-subtitles/files/gnome-subtitles-0.9.1-as-needed.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/gnome-subtitles/files/gnome-subtitles-0.9.1-as-needed.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: gnome-subtitles-0.9.1-as-needed.patch |
15 |
=================================================================== |
16 |
http://bugzilla.gnome.org/show_bug.cgi?id=592784 |
17 |
|
18 |
diff -NrU5 gnome-subtitles-0.9.1.orig/configure.ac gnome-subtitles-0.9.1/configure.ac |
19 |
--- gnome-subtitles-0.9.1.orig/configure.ac 2009-08-23 03:15:48.000000000 +0200 |
20 |
+++ gnome-subtitles-0.9.1/configure.ac 2009-08-23 03:32:40.000000000 +0200 |
21 |
@@ -4,19 +4,20 @@ |
22 |
GNOME_COMMON_INIT |
23 |
|
24 |
GNOME_DOC_INIT |
25 |
GTK_DOC_CHECK([1.0]) |
26 |
|
27 |
- |
28 |
AC_CONFIG_MACRO_DIR([m4]) |
29 |
AC_CONFIG_SRCDIR([configure.ac]) |
30 |
|
31 |
AM_INIT_AUTOMAKE([1.9 tar-ustar]) |
32 |
AM_MAINTAINER_MODE |
33 |
|
34 |
IT_PROG_INTLTOOL([0.35.0]) |
35 |
|
36 |
+AC_PROG_LIBTOOL |
37 |
+ |
38 |
AC_PROG_INSTALL |
39 |
AC_PREFIX_PROGRAM(mono) |
40 |
|
41 |
dnl Gettext stuff. |
42 |
|
43 |
diff -NrU5 gnome-subtitles-0.9.1.orig/Makefile.am gnome-subtitles-0.9.1/Makefile.am |
44 |
--- gnome-subtitles-0.9.1.orig/Makefile.am 2009-08-23 03:15:48.000000000 +0200 |
45 |
+++ gnome-subtitles-0.9.1/Makefile.am 2009-08-23 03:35:59.000000000 +0200 |
46 |
@@ -1,14 +1,10 @@ |
47 |
SUBDIRS = src data po help |
48 |
|
49 |
ACLOCAL_AMFLAGS = -I m4 |
50 |
|
51 |
gstpbdir = $(pkglibdir) |
52 |
-gstpb_SCRIPTS = build/libgstreamer_playbin.so |
53 |
- |
54 |
-$(gstpb_SCRIPTS): |
55 |
- cp -f src/libgstreamer_playbin.so build |
56 |
|
57 |
dist-hook: |
58 |
@if test -d "$(srcdir)/.git"; \ |
59 |
then \ |
60 |
echo Creating ChangeLog && \ |
61 |
diff -NrU5 gnome-subtitles-0.9.1.orig/src/Makefile.am gnome-subtitles-0.9.1/src/Makefile.am |
62 |
--- gnome-subtitles-0.9.1.orig/src/Makefile.am 2009-08-23 03:15:48.000000000 +0200 |
63 |
+++ gnome-subtitles-0.9.1/src/Makefile.am 2009-08-23 04:03:41.000000000 +0200 |
64 |
@@ -1,18 +1,20 @@ |
65 |
gnomesubtitlesdir = $(pkglibdir) |
66 |
gnomesubtitles_SCRIPTS = $(ASSEMBLY) |
67 |
gnomesubtitles_DATA = $(ASSEMBLY_CONFIG) |
68 |
+ |
69 |
GS_BUILDDIR = $(srcdir)/../build |
70 |
GS_DATADIR = $(srcdir)/../data |
71 |
|
72 |
ASSEMBLY = $(GS_BUILDDIR)/gnome-subtitles.exe |
73 |
ASSEMBLY_CONFIG = $(ASSEMBLY).config |
74 |
|
75 |
AM_CFLAGS = $(gstreamer_CFLAGS) -Wall -g -fPIC |
76 |
-noinst_PROGRAMS = libgstreamer_playbin.so |
77 |
-libgstreamer_playbin_so_SOURCES = $(srcdir)/External/GStreamerPlaybin/main.c |
78 |
-libgstreamer_playbin_so_LDFLAGS = $(gstreamer_LIBS) -lgstinterfaces-0.10 -shared -Wl,--as-needed,-soname,libgstreamer_playbin.so |
79 |
+gnomesubtitles_LTLIBRARIES = libgstreamer_playbin.la |
80 |
+libgstreamer_playbin_la_SOURCES = $(srcdir)/External/GStreamerPlaybin/main.c |
81 |
+libgstreamer_playbin_la_LIBADD = $(gstreamer_LIBS) -lgstinterfaces-0.10 |
82 |
+libgstreamer_playbin_la_LIBTOOLFLAGS = --tag=disable-static |
83 |
|
84 |
GS_SOURCES = \ |
85 |
$(srcdir)/External/GStreamerPlaybin/*.cs \ |
86 |
$(srcdir)/External/NCharDet/*.cs \ |
87 |
$(srcdir)/GnomeSubtitles/Core/*.cs \ |