r53873 - in /trunk/libgstreamer-interfaces-perl: ./ debian/ examples/ t/ xs/

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sun Mar 7 16:14:24 UTC 2010


Author: gregoa
Date: Sun Mar  7 16:14:09 2010
New Revision: 53873

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=53873
Log:
New upstream release.

Added:
    trunk/libgstreamer-interfaces-perl/ChangeLog.pre-git
      - copied unchanged from r53872, branches/upstream/libgstreamer-interfaces-perl/current/ChangeLog.pre-git
    trunk/libgstreamer-interfaces-perl/MAINTAINERS
      - copied unchanged from r53872, branches/upstream/libgstreamer-interfaces-perl/current/MAINTAINERS
    trunk/libgstreamer-interfaces-perl/examples/
      - copied from r53872, branches/upstream/libgstreamer-interfaces-perl/current/examples/
Removed:
    trunk/libgstreamer-interfaces-perl/ChangeLog
Modified:
    trunk/libgstreamer-interfaces-perl/Interfaces.pm
    trunk/libgstreamer-interfaces-perl/MANIFEST
    trunk/libgstreamer-interfaces-perl/MANIFEST.SKIP
    trunk/libgstreamer-interfaces-perl/META.yml
    trunk/libgstreamer-interfaces-perl/Makefile.PL
    trunk/libgstreamer-interfaces-perl/NEWS
    trunk/libgstreamer-interfaces-perl/debian/changelog
    trunk/libgstreamer-interfaces-perl/gstinterfacesperl.h
    trunk/libgstreamer-interfaces-perl/t/GstPropertyProbe.t
    trunk/libgstreamer-interfaces-perl/t/GstXOverlay.t
    trunk/libgstreamer-interfaces-perl/xs/GstInterfaces.xs
    trunk/libgstreamer-interfaces-perl/xs/GstPropertyProbe.xs
    trunk/libgstreamer-interfaces-perl/xs/GstXOverlay.xs

Modified: trunk/libgstreamer-interfaces-perl/Interfaces.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgstreamer-interfaces-perl/Interfaces.pm?rev=53873&op=diff
==============================================================================
--- trunk/libgstreamer-interfaces-perl/Interfaces.pm (original)
+++ trunk/libgstreamer-interfaces-perl/Interfaces.pm Sun Mar  7 16:14:09 2010
@@ -1,6 +1,4 @@
 package GStreamer::Interfaces;
-
-# $Id: Interfaces.pm,v 1.7 2008/03/16 12:43:42 kaffeetisch Exp $
 
 use strict;
 use warnings;
@@ -11,7 +9,7 @@
 
 our @ISA = qw(DynaLoader);
 
-our $VERSION = '0.04';
+our $VERSION = '0.05';
 
 sub dl_load_flags { $^O eq 'darwin' ? 0x00 : 0x01 }
 

Modified: trunk/libgstreamer-interfaces-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgstreamer-interfaces-perl/MANIFEST?rev=53873&op=diff
==============================================================================
--- trunk/libgstreamer-interfaces-perl/MANIFEST (original)
+++ trunk/libgstreamer-interfaces-perl/MANIFEST Sun Mar  7 16:14:09 2010
@@ -1,8 +1,10 @@
-ChangeLog
+ChangeLog.pre-git
 copyright.pod
+examples/gst-video-player.pl
 gstinterfacesperl.h
 Interfaces.pm
 LICENSE
+MAINTAINERS
 Makefile.PL
 MANIFEST			This list of files
 MANIFEST.SKIP

Modified: trunk/libgstreamer-interfaces-perl/MANIFEST.SKIP
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgstreamer-interfaces-perl/MANIFEST.SKIP?rev=53873&op=diff
==============================================================================
--- trunk/libgstreamer-interfaces-perl/MANIFEST.SKIP (original)
+++ trunk/libgstreamer-interfaces-perl/MANIFEST.SKIP Sun Mar  7 16:14:09 2010
@@ -1,6 +1,10 @@
-CVS
-.cvsignore$
+blib
 build
+\.git
+\.gitignore$
+Interfaces.bs
 Makefile$
 \.bak$
 \.releaserc$
+xs/.*\.c$
+xs/.*\.o$

Modified: trunk/libgstreamer-interfaces-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgstreamer-interfaces-perl/META.yml?rev=53873&op=diff
==============================================================================
--- trunk/libgstreamer-interfaces-perl/META.yml (original)
+++ trunk/libgstreamer-interfaces-perl/META.yml Sun Mar  7 16:14:09 2010
@@ -1,21 +1,28 @@
 --- #YAML:1.0
-name:                GStreamer-Interfaces
-version:             0.04
-abstract:            Perl interface to the GStreamer Interfaces library
-license:             ~
-author:              ~
-generated_by:        ExtUtils::MakeMaker version 6.44
-distribution_type:   module
-requires:     
-    ExtUtils::Depends:             0.205
-    ExtUtils::PkgConfig:           1.07
-    Glib:                          1.180
-    GStreamer:                     0.06
+name:               GStreamer-Interfaces
+version:            0.05
+abstract:           Perl interface to the GStreamer Interfaces library
+author:  []
+license:            unknown
+distribution_type:  module
+configure_requires:
+    ExtUtils::Depends:    0.205
+    ExtUtils::MakeMaker:  0
+    ExtUtils::PkgConfig:  1.07
+    Glib:                 1.180
+    GStreamer:            0.06
+build_requires:
+    ExtUtils::MakeMaker:  0
+requires:
+    ExtUtils::Depends:    0.205
+    ExtUtils::PkgConfig:  1.07
+    Glib:                 1.180
+    GStreamer:            0.06
+no_index:
+    directory:
+        - t
+        - inc
+generated_by:       ExtUtils::MakeMaker version 6.56
 meta-spec:
-    url:     http://module-build.sourceforge.net/META-spec-v1.3.html
-    version: 1.3
-configure_requires:
-   GStreamer: 0.06
-   ExtUtils::Depends: 0.205
-   Glib: 1.180
-   ExtUtils::PkgConfig: 1.07
+    url:      http://module-build.sourceforge.net/META-spec-v1.4.html
+    version:  1.4

Modified: trunk/libgstreamer-interfaces-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgstreamer-interfaces-perl/Makefile.PL?rev=53873&op=diff
==============================================================================
--- trunk/libgstreamer-interfaces-perl/Makefile.PL (original)
+++ trunk/libgstreamer-interfaces-perl/Makefile.PL Sun Mar  7 16:14:09 2010
@@ -9,7 +9,7 @@
 use Cwd qw(cwd);
 use File::Spec;
 
-# $Id: Makefile.PL,v 1.6 2008/03/16 12:43:43 kaffeetisch Exp $
+# $Id$
 
 our %build_reqs = (
   'perl-ExtUtils-Depends'       => '0.205',
@@ -41,7 +41,16 @@
   exit 1; # not reached
 }
 
-my %pkgcfg = ExtUtils::PkgConfig->find("gstreamer-plugins-base-0.10 >= $build_reqs{'gstreamer-plugins-base-0.10'}");
+# If the package can't be found, warn and exit with status 0 to indicate to
+# CPAN testers that their system is not supported.
+my %pkgcfg;
+unless (eval { %pkgcfg = ExtUtils::PkgConfig->find (
+                 "gstreamer-plugins-base-0.10 >= $build_reqs{'gstreamer-plugins-base-0.10'}");
+	       1; })
+{
+	warn $@;
+	exit 0;
+}
 
 mkdir 'build', 0777;
 
@@ -53,7 +62,8 @@
 $gst->set_libs($pkgcfg{libs} . ' -lgstinterfaces-0.10');
 $gst->add_xs(<xs/*.xs>);
 $gst->add_pm('Interfaces.pm' => '$(INST_LIBDIR)/Interfaces.pm');
-$gst->add_typemaps(map {File::Spec->catfile(cwd(), $_)} ('build/gstinterfacesperl.typemap'));
+$gst->add_typemaps(map {File::Spec->catfile(cwd(), $_)}
+                       ('build/gstinterfacesperl.typemap'));
 
 $gst->install(qw(gstinterfacesperl.h));
 $gst->save_config('build/IFiles.pm');
@@ -68,9 +78,11 @@
   PREREQ_PM     => \%pre_reqs,
   XSPROTOARG    => '-noprototypes',
 
+  META_MERGE    => {
+    configure_requires => \%pre_reqs,
+  },
+
   $gst->get_makefile_vars,
-
-  EXTRA_META    => $configure_requires,
 );
 
 sub MY::postamble {

Modified: trunk/libgstreamer-interfaces-perl/NEWS
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgstreamer-interfaces-perl/NEWS?rev=53873&op=diff
==============================================================================
--- trunk/libgstreamer-interfaces-perl/NEWS (original)
+++ trunk/libgstreamer-interfaces-perl/NEWS Sun Mar  7 16:14:09 2010
@@ -1,3 +1,9 @@
+Overview of changes in GStreamer::Interfaces 0.05
+=================================================
+
+* Add an example showing how to implement a simplistic video player.
+* Fix a test suite issue.
+
 Overview of changes in GStreamer::Interfaces 0.04
 =================================================
 

Modified: trunk/libgstreamer-interfaces-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgstreamer-interfaces-perl/debian/changelog?rev=53873&op=diff
==============================================================================
--- trunk/libgstreamer-interfaces-perl/debian/changelog (original)
+++ trunk/libgstreamer-interfaces-perl/debian/changelog Sun Mar  7 16:14:09 2010
@@ -1,4 +1,4 @@
-libgstreamer-interfaces-perl (0.04-2) UNRELEASED; urgency=low
+libgstreamer-interfaces-perl (0.05-1) UNRELEASED; urgency=low
 
   [ gregor herrmann ]
   * debian/control: add missing full stop to long description, thanks to
@@ -15,8 +15,9 @@
   [ gregor herrmann ]
   * Add debian/README.source to document quilt usage, as required by
     Debian Policy since 3.8.0.
+  * New upstream release.
 
- -- gregor herrmann <gregoa at debian.org>  Fri, 20 Mar 2009 15:10:07 +0100
+ -- gregor herrmann <gregoa at debian.org>  Sun, 07 Mar 2010 17:12:16 +0100
 
 libgstreamer-interfaces-perl (0.04-1) unstable; urgency=low
 

Modified: trunk/libgstreamer-interfaces-perl/gstinterfacesperl.h
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgstreamer-interfaces-perl/gstinterfacesperl.h?rev=53873&op=diff
==============================================================================
--- trunk/libgstreamer-interfaces-perl/gstinterfacesperl.h (original)
+++ trunk/libgstreamer-interfaces-perl/gstinterfacesperl.h Sun Mar  7 16:14:09 2010
@@ -15,7 +15,7 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  *
- * $Id: gstinterfacesperl.h,v 1.2 2006/01/24 19:53:42 kaffeetisch Exp $
+ * $Id$
  */
 
 #ifndef _GSTINTERFACES2PERL_H_

Modified: trunk/libgstreamer-interfaces-perl/t/GstPropertyProbe.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgstreamer-interfaces-perl/t/GstPropertyProbe.t?rev=53873&op=diff
==============================================================================
--- trunk/libgstreamer-interfaces-perl/t/GstPropertyProbe.t (original)
+++ trunk/libgstreamer-interfaces-perl/t/GstPropertyProbe.t Sun Mar  7 16:14:09 2010
@@ -1,9 +1,7 @@
 #!/usr/bin/perl
 use strict;
 use warnings;
-use Test::More tests => 9;
-
-# $Id: GstPropertyProbe.t,v 1.3 2006/07/07 22:02:22 kaffeetisch Exp $
+use Test::More tests => 5;
 
 use Glib qw(TRUE FALSE);
 use GStreamer -init;
@@ -16,19 +14,31 @@
 isa_ok($element, "GStreamer::PropertyProbe");
 
 my @pspecs = $element -> get_probe_properties();
-isa_ok($pspecs[0], "Glib::ParamSpec");
+SKIP: {
+  skip 'got no probe properties', 8
+    unless @pspecs;
+  isa_ok($pspecs[0], "Glib::ParamSpec");
+}
 
-my $pspec = $element -> get_probe_property("device");
-isa_ok($pspec, "Glib::ParamSpec");
+my $pspec = $element -> get_probe_property($property);
+SKIP: {
+  skip 'did not get desired property', 3
+    unless defined $pspec;
 
-is($element -> needs_probe($pspec), TRUE);
-$element -> probe_property($pspec);
+  isa_ok($pspec, "Glib::ParamSpec");
 
-ok($element -> get_probe_values($pspec));
-ok($element -> probe_and_get_probe_values($pspec));
+  ok(defined $element -> needs_probe($pspec));
+  $element -> probe_property($pspec);
 
-ok(defined $element -> needs_probe_name($property));
-$element -> probe_property_name($property);
+  my @values;
+  # these might return an empty list, apparently
+  @values = $element -> get_probe_values($pspec);
+  @values = $element -> probe_and_get_probe_values($pspec);
 
-ok($element -> get_probe_values_name($property));
-ok($element -> probe_and_get_probe_values_name($property));
+  ok(defined $element -> needs_probe_name($property));
+  $element -> probe_property_name($property);
+
+  # these might return an empty list too, apparently
+  @values = $element -> get_probe_values_name($property);
+  @values = $element -> probe_and_get_probe_values_name($property);
+}

Modified: trunk/libgstreamer-interfaces-perl/t/GstXOverlay.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgstreamer-interfaces-perl/t/GstXOverlay.t?rev=53873&op=diff
==============================================================================
--- trunk/libgstreamer-interfaces-perl/t/GstXOverlay.t (original)
+++ trunk/libgstreamer-interfaces-perl/t/GstXOverlay.t Sun Mar  7 16:14:09 2010
@@ -3,7 +3,7 @@
 use warnings;
 use Test::More tests => 1;
 
-# $Id: GstXOverlay.t,v 1.2 2008/01/19 16:33:36 kaffeetisch Exp $
+# $Id$
 
 use Glib qw(TRUE FALSE);
 use GStreamer -init;

Modified: trunk/libgstreamer-interfaces-perl/xs/GstInterfaces.xs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgstreamer-interfaces-perl/xs/GstInterfaces.xs?rev=53873&op=diff
==============================================================================
--- trunk/libgstreamer-interfaces-perl/xs/GstInterfaces.xs (original)
+++ trunk/libgstreamer-interfaces-perl/xs/GstInterfaces.xs Sun Mar  7 16:14:09 2010
@@ -15,7 +15,7 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  *
- * $Id: GstInterfaces.xs,v 1.1 2005/09/28 16:10:48 kaffeetisch Exp $
+ * $Id$
  */
 
 #include "gstinterfacesperl.h"

Modified: trunk/libgstreamer-interfaces-perl/xs/GstPropertyProbe.xs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgstreamer-interfaces-perl/xs/GstPropertyProbe.xs?rev=53873&op=diff
==============================================================================
--- trunk/libgstreamer-interfaces-perl/xs/GstPropertyProbe.xs (original)
+++ trunk/libgstreamer-interfaces-perl/xs/GstPropertyProbe.xs Sun Mar  7 16:14:09 2010
@@ -15,7 +15,7 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  *
- * $Id: GstPropertyProbe.xs,v 1.2 2006/01/24 19:53:42 kaffeetisch Exp $
+ * $Id$
  */
 
 #include "gstinterfacesperl.h"

Modified: trunk/libgstreamer-interfaces-perl/xs/GstXOverlay.xs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgstreamer-interfaces-perl/xs/GstXOverlay.xs?rev=53873&op=diff
==============================================================================
--- trunk/libgstreamer-interfaces-perl/xs/GstXOverlay.xs (original)
+++ trunk/libgstreamer-interfaces-perl/xs/GstXOverlay.xs Sun Mar  7 16:14:09 2010
@@ -15,7 +15,7 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  *
- * $Id: GstXOverlay.xs,v 1.1 2006/01/24 19:53:42 kaffeetisch Exp $
+ * $Id$
  */
 
 #include "gstinterfacesperl.h"




More information about the Pkg-perl-cvs-commits mailing list