[perl-Glib/gio-support: 12/12] [gio] Move Glib::IO into its own .pm file
- From: Torsten Schönfeld <tsch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-Glib/gio-support: 12/12] [gio] Move Glib::IO into its own .pm file
- Date: Mon, 12 Apr 2010 21:12:55 +0000 (UTC)
commit da1d5da17fa5883555b7607fb0a04184b1fb100e
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date: Mon Apr 12 22:49:01 2010 +0200
[gio] Move Glib::IO into its own .pm file
MANIFEST | 2 ++
Makefile.PL | 2 ++
lib/Glib.pm | 15 ---------------
lib/Glib/IO.pm | 15 +++++++++++++++
4 files changed, 19 insertions(+), 15 deletions(-)
---
diff --git a/MANIFEST b/MANIFEST
index 75cef7d..ebf8390 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -15,6 +15,7 @@ Glib.xs
GLog.xs
GMainLoop.xs
GObject.xs
+GObjectIntrospection.xs
GOption.xs
GParamSpec.xs
gperl-gtypes.c
@@ -29,6 +30,7 @@ GValue.xs
lib/Glib.pm
lib/Glib/CodeGen.pm
lib/Glib/GenPod.pm
+lib/Glib/IO.pm
lib/Glib/MakeHelper.pm
lib/Glib/Object/Subclass.pm
lib/Glib/ParseXSDoc.pm
diff --git a/Makefile.PL b/Makefile.PL
index 7a1780e..efbc15d 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -100,6 +100,7 @@ if (1) {
our %pm_files = (
'lib/Glib.pm' => '$(INST_LIBDIR)/Glib.pm',
'lib/Glib/Object/Subclass.pm' => '$(INST_LIBDIR)/Glib/Object/Subclass.pm',
+ 'lib/Glib/IO.pm' => '$(INST_LIBDIR)/Glib/IO.pm',
'lib/Glib/ParseXSDoc.pm' => '$(INST_LIBDIR)/Glib/ParseXSDoc.pm',
'lib/Glib/GenPod.pm' => '$(INST_LIBDIR)/Glib/GenPod.pm',
'lib/Glib/CodeGen.pm' => '$(INST_LIBDIR)/Glib/CodeGen.pm',
@@ -109,6 +110,7 @@ our %pm_files = (
our %pod_files = (
'lib/Glib.pm' => '$(INST_MAN3DIR)/Glib.$(MAN3EXT)',
'lib/Glib/Object/Subclass.pm' => '$(INST_MAN3DIR)/Glib::Object::Subclass.$(MAN3EXT)',
+ 'lib/Glib/IO.pm' => '$(INST_MAN3DIR)/Glib::IO.$(MAN3EXT)',
'lib/Glib/ParseXSDoc.pm' => '$(INST_MAN3DIR)/Glib::ParseXSDoc.$(MAN3EXT)',
'lib/Glib/GenPod.pm' => '$(INST_MAN3DIR)/Glib::GenPod.$(MAN3EXT)',
'lib/Glib/CodeGen.pm' => '$(INST_MAN3DIR)/Glib::CodeGen.$(MAN3EXT)',
diff --git a/lib/Glib.pm b/lib/Glib.pm
index 349cc09..c763fc3 100644
--- a/lib/Glib.pm
+++ b/lib/Glib.pm
@@ -247,21 +247,6 @@ sub setup {
}
}
-package Glib::IO;
-
-use strict;
-
-our $BASENAME = 'Gio';
-our $VERSION = '2.0';
-our $PACKAGE = 'Glib::IO';
-
-sub setup {
- Glib::Object::_Introspection->setup(basename => $BASENAME,
- version => $VERSION,
- package => $PACKAGE);
-
-}
-
package Glib;
1;
diff --git a/lib/Glib/IO.pm b/lib/Glib/IO.pm
new file mode 100644
index 0000000..425bf2d
--- /dev/null
+++ b/lib/Glib/IO.pm
@@ -0,0 +1,15 @@
+package Glib::IO;
+
+use strict;
+use Glib;
+
+our $BASENAME = 'Gio';
+our $VERSION = '2.0';
+our $PACKAGE = 'Glib::IO';
+
+sub import {
+ Glib::Object::_Introspection->setup(basename => $BASENAME,
+ version => $VERSION,
+ package => $PACKAGE);
+
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]