summaryrefslogtreecommitdiff
path: root/textproc/gnome-subtitles
diff options
context:
space:
mode:
authorkefren <kefren@pkgsrc.org>2009-01-06 08:56:58 +0000
committerkefren <kefren@pkgsrc.org>2009-01-06 08:56:58 +0000
commit550620fadf80c28317c013f2f263e6a3aa0f7217 (patch)
tree6ebdd6bb703d5213a3088bec913502c0b0a1436c /textproc/gnome-subtitles
parent34557a78434daa3cbcdfae39f35a1b5dd25065c4 (diff)
downloadpkgsrc-550620fadf80c28317c013f2f263e6a3aa0f7217.tar.gz
Initial import of gnome-subtitles 0.8, a subtitle editor for the GNOME
desktop
Diffstat (limited to 'textproc/gnome-subtitles')
-rw-r--r--textproc/gnome-subtitles/DESCR3
-rw-r--r--textproc/gnome-subtitles/Makefile26
-rw-r--r--textproc/gnome-subtitles/PLIST49
-rw-r--r--textproc/gnome-subtitles/distinfo6
-rw-r--r--textproc/gnome-subtitles/patches/patch-aa13
5 files changed, 97 insertions, 0 deletions
diff --git a/textproc/gnome-subtitles/DESCR b/textproc/gnome-subtitles/DESCR
new file mode 100644
index 00000000000..d25e3764b23
--- /dev/null
+++ b/textproc/gnome-subtitles/DESCR
@@ -0,0 +1,3 @@
+Gnome Subtitles is a subtitle editor for the GNOME desktop. It supports
+the most common text-based subtitle formats and allows for subtitle
+editing, translation and synchronization.
diff --git a/textproc/gnome-subtitles/Makefile b/textproc/gnome-subtitles/Makefile
new file mode 100644
index 00000000000..4138d023d92
--- /dev/null
+++ b/textproc/gnome-subtitles/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/01/06 08:56:58 kefren Exp $
+
+DISTNAME= gnome-subtitles-0.8
+CATEGORIES= multimedia textproc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnome-subtitles/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://gnome-subtitles.sourceforge.net/
+COMMENT= Subtitle editor for the GNOME desktop
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/share
+USE_TOOLS+= bash:run gmake msgfmt perl pkg-config
+REPLACE_BASH= src/GnomeSubtitles/Execution/gnome-subtitles.in
+
+.include "../../lang/mono/buildlink3.mk"
+.include "../../multimedia/gst-plugins0.10-base/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../textproc/enchant/buildlink3.mk"
+.include "../../textproc/gnome-doc-utils/buildlink3.mk"
+.include "../../textproc/gtkspell/buildlink3.mk"
+.include "../../textproc/sublib/buildlink3.mk"
+.include "../../x11/gnome-sharp/buildlink3.mk"
+.include "../../x11/gtk-sharp/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/gnome-subtitles/PLIST b/textproc/gnome-subtitles/PLIST
new file mode 100644
index 00000000000..d9d8778e14f
--- /dev/null
+++ b/textproc/gnome-subtitles/PLIST
@@ -0,0 +1,49 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/06 08:56:58 kefren Exp $
+bin/gnome-subtitles
+share/gconf/schemas/gnome-subtitles.schemas
+lib/gnome-subtitles/GStreamerPlaybin.dll
+lib/gnome-subtitles/gnome-subtitles.exe
+lib/gnome-subtitles/gnome-subtitles.exe.config
+lib/gnome-subtitles/libgstreamer_playbin.so
+man/man1/gnome-subtitles.1
+share/applications/gnome-subtitles.desktop
+share/gnome/help/gnome-subtitles/C/gnome-subtitles.xml
+share/gnome/help/gnome-subtitles/C/legal.xml
+share/gnome/help/gnome-subtitles/ca/gnome-subtitles.xml
+share/gnome/help/gnome-subtitles/el/gnome-subtitles.xml
+share/gnome/help/gnome-subtitles/es/gnome-subtitles.xml
+share/gnome/help/gnome-subtitles/fr/gnome-subtitles.xml
+share/gnome/help/gnome-subtitles/oc/gnome-subtitles.xml
+share/gnome/help/gnome-subtitles/sv/gnome-subtitles.xml
+share/locale/ar/LC_MESSAGES/gnome-subtitles.mo
+share/locale/ca/LC_MESSAGES/gnome-subtitles.mo
+share/locale/dz/LC_MESSAGES/gnome-subtitles.mo
+share/locale/el/LC_MESSAGES/gnome-subtitles.mo
+share/locale/en_GB/LC_MESSAGES/gnome-subtitles.mo
+share/locale/es/LC_MESSAGES/gnome-subtitles.mo
+share/locale/fi/LC_MESSAGES/gnome-subtitles.mo
+share/locale/fr/LC_MESSAGES/gnome-subtitles.mo
+share/locale/he/LC_MESSAGES/gnome-subtitles.mo
+share/locale/oc/LC_MESSAGES/gnome-subtitles.mo
+share/locale/pl/LC_MESSAGES/gnome-subtitles.mo
+share/locale/pt/LC_MESSAGES/gnome-subtitles.mo
+share/locale/pt_BR/LC_MESSAGES/gnome-subtitles.mo
+share/locale/sv/LC_MESSAGES/gnome-subtitles.mo
+share/omf/gnome-subtitles/gnome-subtitles-C.omf
+share/omf/gnome-subtitles/gnome-subtitles-ca.omf
+share/omf/gnome-subtitles/gnome-subtitles-el.omf
+share/omf/gnome-subtitles/gnome-subtitles-es.omf
+share/omf/gnome-subtitles/gnome-subtitles-fr.omf
+share/omf/gnome-subtitles/gnome-subtitles-oc.omf
+share/omf/gnome-subtitles/gnome-subtitles-sv.omf
+share/pixmaps/gnome-subtitles.png
+@dirrm share/omf/gnome-subtitles
+@dirrm share/gnome/help/gnome-subtitles/C
+@dirrm share/gnome/help/gnome-subtitles/ca
+@dirrm share/gnome/help/gnome-subtitles/el
+@dirrm share/gnome/help/gnome-subtitles/es
+@dirrm share/gnome/help/gnome-subtitles/fr
+@dirrm share/gnome/help/gnome-subtitles/oc
+@dirrm share/gnome/help/gnome-subtitles/sv
+@dirrm share/gnome/help/gnome-subtitles
+@dirrm lib/gnome-subtitles
diff --git a/textproc/gnome-subtitles/distinfo b/textproc/gnome-subtitles/distinfo
new file mode 100644
index 00000000000..9ddcaba0312
--- /dev/null
+++ b/textproc/gnome-subtitles/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/01/06 08:56:58 kefren Exp $
+
+SHA1 (gnome-subtitles-0.8.tar.gz) = 14fe9eabf4288fc23072988f4423b5f447642352
+RMD160 (gnome-subtitles-0.8.tar.gz) = e326876698ddb052e0a78090e78ee84195722417
+Size (gnome-subtitles-0.8.tar.gz) = 756247 bytes
+SHA1 (patch-aa) = 35360c5b436d409b870a63b6819868bbf7ca7b73
diff --git a/textproc/gnome-subtitles/patches/patch-aa b/textproc/gnome-subtitles/patches/patch-aa
new file mode 100644
index 00000000000..f712d5ce156
--- /dev/null
+++ b/textproc/gnome-subtitles/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/01/06 08:56:58 kefren Exp $
+--- src/GnomeSubtitles/Execution/Executable.cs.orig 2009-01-05 21:23:03.000000000 +0200
++++ src/GnomeSubtitles/Execution/Executable.cs 2009-01-05 21:23:47.000000000 +0200
+@@ -36,6 +36,9 @@
+ Console.Error.WriteLine("Error setting process name with prctl: " + Mono.Unix.Native.Stdlib.GetLastError());
+ }
+ }
++ catch (EntryPointNotFoundException) {
++ return false; // Silent fallback to setproctitle
++ }
+ catch (Exception e) {
+ Console.Error.WriteLine("Setting the process name using prctl has thrown an exception:");
+ Console.Error.WriteLine(e);