summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorwiz <wiz>2007-09-08 11:33:55 +0000
committerwiz <wiz>2007-09-08 11:33:55 +0000
commit7cd2aea708fa203cb6a227a8dbe3f4aef7abe863 (patch)
tree4b6ec6ec3b88b34947bc1df1729cdff802c1b6ec /multimedia
parent85dda4339cc03ce92ae1c993a54bed8a4725fd57 (diff)
downloadpkgsrc-7cd2aea708fa203cb6a227a8dbe3f4aef7abe863.tar.gz
Initial import of subtitleeditor-0.13.6. Originally packaged for
pkgsrc-wip by Cesar Catrian C., updated by myself. Subtitle Editor is a GTK+2 tool to edit subtitles. It can be used for new subtitles or as a tool to transform, edit, correct and refine existing subtitle. This program also shows sound waves, which makes it easier to synchronise subtitles to voices. Subtitle Editor is free software released under the GNU General Public License (GPL).
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/subtitleeditor/DESCR7
-rw-r--r--multimedia/subtitleeditor/Makefile28
-rw-r--r--multimedia/subtitleeditor/PLIST29
-rw-r--r--multimedia/subtitleeditor/distinfo7
-rw-r--r--multimedia/subtitleeditor/patches/patch-aa15
-rw-r--r--multimedia/subtitleeditor/patches/patch-ab36
6 files changed, 122 insertions, 0 deletions
diff --git a/multimedia/subtitleeditor/DESCR b/multimedia/subtitleeditor/DESCR
new file mode 100644
index 00000000000..92a6e1a4324
--- /dev/null
+++ b/multimedia/subtitleeditor/DESCR
@@ -0,0 +1,7 @@
+Subtitle Editor is a GTK+2 tool to edit subtitles. It can be used
+for new subtitles or as a tool to transform, edit, correct and
+refine existing subtitle. This program also shows sound waves,
+which makes it easier to synchronise subtitles to voices.
+
+Subtitle Editor is free software released under the GNU General
+Public License (GPL).
diff --git a/multimedia/subtitleeditor/Makefile b/multimedia/subtitleeditor/Makefile
new file mode 100644
index 00000000000..adbd168ae41
--- /dev/null
+++ b/multimedia/subtitleeditor/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/09/08 11:33:55 wiz Exp $
+#
+
+DISTNAME= subtitleeditor-0.13.6
+CATEGORIES= multimedia
+MASTER_SITES= http://kitone.free.fr/subtitleeditor/files/
+
+MAINTAINER= ccatrian@eml.cc
+HOMEPAGE= http://kitone.free.fr/subtitleeditor/
+COMMENT= GTK+2 tool to edit movie subtitles
+
+USE_DIRS+= xdg-1.4
+USE_PKGLOCALEDIR= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
+
+.include "../../devel/libglademm/buildlink3.mk"
+.include "../../devel/pcre/buildlink3.mk"
+.include "../../multimedia/gstreamer0.10/buildlink3.mk"
+.include "../../multimedia/gst-plugins0.10-base/buildlink3.mk"
+.include "../../multimedia/gst-plugins0.10-good/buildlink3.mk"
+.include "../../textproc/enchant/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../x11/gtkmm/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/subtitleeditor/PLIST b/multimedia/subtitleeditor/PLIST
new file mode 100644
index 00000000000..9da2feb8d0b
--- /dev/null
+++ b/multimedia/subtitleeditor/PLIST
@@ -0,0 +1,29 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/09/08 11:33:55 wiz Exp $
+bin/subtitleeditor
+man/man1/subtitleeditor.1
+share/applications/subtitleeditor.desktop
+share/locale/ca/LC_MESSAGES/subtitleeditor.mo
+share/locale/cs/LC_MESSAGES/subtitleeditor.mo
+share/locale/es/LC_MESSAGES/subtitleeditor.mo
+share/locale/fr/LC_MESSAGES/subtitleeditor.mo
+share/locale/hu/LC_MESSAGES/subtitleeditor.mo
+share/locale/nl/LC_MESSAGES/subtitleeditor.mo
+share/locale/pl/LC_MESSAGES/subtitleeditor.mo
+share/locale/pt_BR/LC_MESSAGES/subtitleeditor.mo
+share/locale/pt_PT/LC_MESSAGES/subtitleeditor.mo
+share/subtitleeditor/dialog-change-fps.glade
+share/subtitleeditor/dialog-encodings-chooser.glade
+share/subtitleeditor/dialog-find-and-replace.glade
+share/subtitleeditor/dialog-move-subtitles.glade
+share/subtitleeditor/dialog-preferences.glade
+share/subtitleeditor/dialog-scale.glade
+share/subtitleeditor/dialog-script-properties.glade
+share/subtitleeditor/dialog-spell-checking.glade
+share/subtitleeditor/dialog-split.glade
+share/subtitleeditor/dialog-style-editor.glade
+share/subtitleeditor/menubar.xml
+share/subtitleeditor/subtitleeditor-icon.png
+share/subtitleeditor/subtitleeditor.glade
+share/subtitleeditor/subtitleeditor.png
+@dirrm share/subtitleeditor
+@comment in xdg-dirs: @dirrm share/applications
diff --git a/multimedia/subtitleeditor/distinfo b/multimedia/subtitleeditor/distinfo
new file mode 100644
index 00000000000..821f0748e68
--- /dev/null
+++ b/multimedia/subtitleeditor/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/09/08 11:33:55 wiz Exp $
+
+SHA1 (subtitleeditor-0.13.6.tar.gz) = ea932a3530bd70d379ea48d2ed316f0f55059a01
+RMD160 (subtitleeditor-0.13.6.tar.gz) = 28c8760a85f9e6106dcb0a6c7adc550858b8cf2a
+Size (subtitleeditor-0.13.6.tar.gz) = 579871 bytes
+SHA1 (patch-aa) = c9dd004b4b5e1047d02e591c5f16b8ac81ca6881
+SHA1 (patch-ab) = eaf3f75ed042f82c89d3ce536cdc5fdc7a73ec5d
diff --git a/multimedia/subtitleeditor/patches/patch-aa b/multimedia/subtitleeditor/patches/patch-aa
new file mode 100644
index 00000000000..9bba14ee436
--- /dev/null
+++ b/multimedia/subtitleeditor/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/09/08 11:33:55 wiz Exp $
+
+--- configure.orig 2007-04-29 10:33:12.000000000 +0000
++++ configure
+@@ -9117,8 +9117,8 @@ else
+ echo "${ECHO_T}no" >&6; }
+ fi
+
+-if test "$have_iso_code_639" == "yes"; then
+- if test "$have_iso_code_3166" == "yes"; then
++if test "$have_iso_code_639" = "yes"; then
++ if test "$have_iso_code_3166" = "yes"; then
+
+
+ cat >>confdefs.h <<\_ACEOF
diff --git a/multimedia/subtitleeditor/patches/patch-ab b/multimedia/subtitleeditor/patches/patch-ab
new file mode 100644
index 00000000000..87483525689
--- /dev/null
+++ b/multimedia/subtitleeditor/patches/patch-ab
@@ -0,0 +1,36 @@
+$NetBSD: patch-ab,v 1.1.1.1 2007/09/08 11:33:55 wiz Exp $
+
+--- src/MenuBar.cc.orig 2006-10-28 07:29:01.000000000 -0300
++++ src/MenuBar.cc 2007-04-15 15:23:18.000000000 -0400
+@@ -117,19 +117,25 @@
+ _("_Move Subtitles")), SIGNAL(on_move_subtitles));
+
+ m_refActionGroup->add(Gtk::Action::create("add-100-ms", Gtk::Stock::ADD,
+- _("Add 100 Milliseconds")), SIGNAL(on_add_100_ms));
++ _("Add 100 Milliseconds")),
++ Gtk::AccelKey(GDK_KP_Add, (Gdk::ModifierType)0), SIGNAL(on_add_100_ms));
+ m_refActionGroup->add(Gtk::Action::create("remove-100-ms", Gtk::Stock::REMOVE,
+- _("Remove 100 Milliseconds")), SIGNAL(on_remove_100_ms));
++ _("Remove 100 Milliseconds")),
++ Gtk::AccelKey(GDK_KP_Subtract, (Gdk::ModifierType)0), SIGNAL(on_remove_100_ms));
+
+ m_refActionGroup->add(Gtk::Action::create("add-100-ms-to-start", Gtk::Stock::ADD,
+- _("Add 100 Milliseconds To Start")), SIGNAL(on_add_100_ms_to_start));
++ _("Add 100 Milliseconds To Start")),
++ Gtk::AccelKey(GDK_KP_Add, Gdk::SHIFT_MASK), SIGNAL(on_add_100_ms_to_start));
+ m_refActionGroup->add(Gtk::Action::create("remove-100-ms-to-start", Gtk::Stock::REMOVE,
+- _("Remove 100 Milliseconds To Start")), SIGNAL(on_remove_100_ms_to_start));
++ _("Remove 100 Milliseconds To Start")),
++ Gtk::AccelKey(GDK_KP_Subtract, Gdk::SHIFT_MASK), SIGNAL(on_remove_100_ms_to_start));
+
+ m_refActionGroup->add(Gtk::Action::create("add-100-ms-to-duration", Gtk::Stock::ADD,
+- _("Add 100 Milliseconds To Duration")), SIGNAL(on_add_100_ms_to_duration));
++ _("Add 100 Milliseconds To Duration")),
++ Gtk::AccelKey(GDK_KP_Add, Gdk::CONTROL_MASK), SIGNAL(on_add_100_ms_to_duration));
+ m_refActionGroup->add(Gtk::Action::create("remove-100-ms-to-duration", Gtk::Stock::REMOVE,
+- _("Remove 100 Milliseconds To Duration")), SIGNAL(on_remove_100_ms_to_duration));
++ _("Remove 100 Milliseconds To Duration")),
++ Gtk::AccelKey(GDK_KP_Subtract, Gdk::CONTROL_MASK), SIGNAL(on_remove_100_ms_to_duration));
+
+ /*
+ m_refActionGroup->add(Gtk::Action::create("move-subtitle-text-forward", Gtk::Stock::GO_FORWARD,