debian/0000755000000000000000000000000012263262541007171 5ustar debian/compat0000644000000000000000000000000212263262541010367 0ustar 9 debian/changelog0000644000000000000000000004604212263262541011051 0ustar libglib-perl (3:1.304-1) unstable; urgency=medium * New upstream release. * Declare compliance with Standards-Version 3.9.5. * Add a Lintian override for debian-watch-may-check-gpg-signature. Upstream does not provide detached signatures, but they sign Git tags, and we (well, at least I) verify it and compare to the imported tarball content before uploading to Debian. * Refresh Debian patches. -- intrigeri Wed, 08 Jan 2014 15:44:55 +0100 libglib-perl (3:1.302-1) unstable; urgency=low * New upstream release. * Update upstream copyright years. -- intrigeri Tue, 01 Oct 2013 15:34:40 +0200 libglib-perl (3:1.301-1) unstable; urgency=low * New upstream release. * Drop obsolete cherry-picked hash-randomization.patch: it is part of the new upstream release. * Add build-dependency on libtest-consistentversion-perl. -- intrigeri Fri, 12 Jul 2013 17:30:18 +0200 libglib-perl (3:1.280-3) unstable; urgency=low * Team upload. * Add patch hash-randomization.patch, taken from upstream git (ebf5519). "This also avoids fallout from the change to hash randomization in perl 5.17.6." (Closes: #708758) * Refresh patch remove-version-checking (offset). * Use debhelper 9.20120312 to get all hardening flags. * Remove unused (at least by lintian in experimental) lintian override. -- gregor herrmann Sat, 18 May 2013 21:11:07 +0200 libglib-perl (3:1.280-2) unstable; urgency=low [ intrigeri ] * Bump Standards-Version to 3.9.4, no change required. * Upload to unstable. [ Alessandro Ghedini ] * Remove myself from Uploaders -- intrigeri Sun, 12 May 2013 22:51:11 +0200 libglib-perl (3:1.280-1) experimental; urgency=low [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs [ intrigeri ] * Imported Upstream version 1.280: - Correctly handle the boxed type for GError. - Ensure that custom signal marshallers are always used irregardless of the spelling used for the signal name. - Make the stack handling of some marshallers more robust, in preparation for custom Glib::Boxed converters that call back into Perl code. - Add new C API gperl_register_boxed_synonym. - Properly specify dependencies. - Distribute a missing test file. * Drop obsolete fix-tests patch: it was a workaround for #520484, that was fixed in glib2.0 4 years ago. -- intrigeri Sat, 09 Feb 2013 11:14:33 +0100 libglib-perl (3:1.261-1) experimental; urgency=low * Imported Upstream version 1.261 -- intrigeri Mon, 09 Jul 2012 00:12:26 -0600 libglib-perl (3:1.260-1) unstable; urgency=low [ intrigeri ] * Imported Upstream version 1.260 * Checkout upstream files that were erroneously different in the master (Debian) branch. * Override hardening-no-fortify-functions Lintian warning. [ Alessandro Ghedini ] * Drop fix-pod-spelling.patch (merged upstream) -- intrigeri Tue, 22 May 2012 14:42:14 +0200 libglib-perl (3:1.242-2) unstable; urgency=low [ Alessandro Ghedini ] * Email change: Alessandro Ghedini -> ghedo@debian.org [ intrigeri ] * Downgrade to upstream 1.242 stable release: 1.25x is an unstable series, not meant for production use. * Revert "Drop fix-pod-spelling.patch (merged upstream)": it was merged upstream in the development 1.25x series only. * Add myself to uploaders. -- intrigeri Sun, 29 Apr 2012 16:28:10 +0200 libglib-perl (2:1.251-1) unstable; urgency=low * New upstream release * Drop fix-pod-spelling.patch (merged upstream) * Update upstream copyright years * Bump debhelper compat level to 9 * Update debian/copyright format as in Debian Policy 3.9.3 * Bump Standards-Version to 3.9.3 * Fix upstream copyirght holder * Use NEWS file as upstream changelog -- Alessandro Ghedini Fri, 02 Mar 2012 15:35:04 +0100 libglib-perl (2:1.242-1) unstable; urgency=low * Team upload. * Imported Upstream version 1.242 * Refresh fix-gtks-whatis patch (offsets) -- Salvatore Bonaccorso Fri, 30 Dec 2011 10:29:32 +0100 libglib-perl (2:1.241-1) unstable; urgency=low * New upstream release -- Alessandro Ghedini Tue, 22 Nov 2011 13:54:47 +0100 libglib-perl (2:1.240-1) unstable; urgency=low * New upstream release * Refresh and update patches -- Alessandro Ghedini Fri, 14 Oct 2011 13:25:08 +0200 libglib-perl (2:1.224-1) unstable; urgency=low [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ Salvatore Bonaccorso ] * debian/copyright: Replace DEP5 Format-Specification URL from svn.debian.org to anonscm.debian.org URL. [ Alessandro Ghedini ] * New upstream release * Bump Standards-Version to 3.9.2 (no changes needed) * Add myself to Uploaders * Refresh fix-man-pages patch * Bump debhelper compat level to 8 * Re-order (Build-)Depends (just cosmetics) * Drop versioned Build-Depends on libextutils-depends-perl and libglib2.0-dev * Update upstream copyright years * Use search.cpan.org URL instead of sf.net in watch file * Update comment for the LGPL-2.1+ license [ gregor herrmann ] * Improve DEP3 headers in patches. -- Alessandro Ghedini Sun, 07 Aug 2011 15:25:45 +0200 libglib-perl (2:1.223-1) unstable; urgency=low * New upstream release * Bumped epoch to replace previous (unstable) release with this stable one. * Standards-Version 3.9.1 (no changes) * Add myself to Uploaders * Update patched file paths, refresh all patches * Updated watchfile to only report stable releases -- Jeffrey Ratcliffe Wed, 28 Jul 2010 07:36:48 +0200 libglib-perl (1:1.230-1) unstable; urgency=low [ Jonathan Yu ] * New upstream release * Use new 3.0 (quilt) source format * Update patched file paths, refresh all patches * Standards-Version 3.8.4 (drop perl version dep) * Add myself to Uploaders and Copyright * No longer requires quilt for building * Use new DEP5 copyright format * Add overrides to build + install changelogs * Rewrite control description * Add a patch to fix POD spelling errors [ Ryan Niebur ] * Update ryan52's email address [ gregor herrmann ] * debian/copyright: update years of upstream copyright. -- Jonathan Yu Sat, 01 May 2010 18:15:04 -0400 libglib-perl (1:1.222-1) unstable; urgency=low [ Ryan Niebur ] * remove patch to ignore glog segfaults, all is fixed upstream * the g_log tests are now only skipped when using the bad versions of glib (Closes: #520168) * New upstream release * Debian Policy 3.8.2 [ gregor herrmann ] * Refresh patch fix-man-pages. -- Ryan Niebur Sat, 04 Jul 2009 11:29:18 -0700 libglib-perl (1:1.221-1) unstable; urgency=low * New upstream release * redo ignore-glog-segfaults-on-{powerpc,s390} patch -- Ryan Niebur Sun, 29 Mar 2009 10:45:51 -0700 libglib-perl (1:1.220-1) unstable; urgency=low * New upstream release * add patch to work around the segfault in g_log by skipping those tests. fixes FTBFS, making #520168 not RC (will downgrade instead of closing). Bug in the C glib filed as #520484. -- Ryan Niebur Fri, 20 Mar 2009 00:55:32 -0700 libglib-perl (1:1.214-2) unstable; urgency=low * add a patch to try to smartly figure out a suitable whatis for Gnome2 and Gtk2 * policy 3.8.1 -- Ryan Niebur Thu, 12 Mar 2009 23:08:55 -0700 libglib-perl (1:1.214-1) unstable; urgency=low * New upstream release * refresh patches * remove fix-pod-generation-for-copyright patch, it's applied upstream -- Ryan Niebur Sun, 08 Mar 2009 15:22:26 -0700 libglib-perl (1:1.213-1) unstable; urgency=low [ Ryan Niebur ] * New upstream release - refresh patches * new version of fix-pod-generation-for-copyright patch from Torsten Schoenfeld [ gregor herrmann ] * debian/copyright: point to /usr/share/common-licenses/LGPL-2.1 (instead of LPGL-2). -- Ryan Niebur Wed, 18 Feb 2009 18:40:57 -0800 libglib-perl (1:1.212-1) unstable; urgency=low * New upstream release - refresh patches - update debian/copyright for 2009 -- Ryan Niebur Mon, 09 Feb 2009 18:27:07 -0800 libglib-perl (1:1.211-2) unstable; urgency=low * fix pod generation when the COPYRIGHT section is overriden, like in libgnome2-canvas-perl -- Ryan Niebur Sat, 31 Jan 2009 14:57:59 -0800 libglib-perl (1:1.211-1) unstable; urgency=low * Take over for the Debian Perl Group on maintainer's request (http://lists.debian.org/debian-perl/2008/12/msg00163.html) * Add me to uploaders, remove old maintainer(s) * New upstream release * improve packaging a little bit - fix watch file - move to quilt - add README.source - run tests, fix broken tests - dh 7 - convert to machine readable copyright format -- Ryan Niebur Sun, 04 Jan 2009 14:53:55 -0800 libglib-perl (1:1.190-2) unstable; urgency=low * Patch out annoying libglib version check, the debian shlib dep system is better anyway. (Closes: #492209) -- Marc 'HE' Brockschmidt Fri, 25 Jul 2008 00:48:23 +0200 libglib-perl (1:1.190-1) unstable; urgency=low * New upstream release -- Marc 'HE' Brockschmidt Fri, 04 Jul 2008 09:33:27 +0200 libglib-perl (1:1.183-1) unstable; urgency=low * New upstream release (mostly doc fixes) * debian/control: + Bump Standards-Version to 3.8.0 (no changes needed) + Bump Extutils-Depends build-dep version to 0.300 -- Marc 'HE' Brockschmidt Sat, 07 Jun 2008 16:04:46 +0200 libglib-perl (1:1.181-1) unstable; urgency=low * New upstream release (only changes in the build system irrelevant for Debian, but for completeness' sake...) -- Marc 'HE' Brockschmidt Sat, 15 Mar 2008 09:40:14 +0100 libglib-perl (1:1.180-1) unstable; urgency=low * New upstream release -- Marc 'HE' Brockschmidt Thu, 13 Mar 2008 21:53:02 +0100 libglib-perl (1:1.173-1) unstable; urgency=low * New upstream release -- Marc 'HE' Brockschmidt Thu, 14 Feb 2008 17:37:37 +0100 libglib-perl (1:1.172-1) unstable; urgency=low * New unstable upstream release; compatible with Perl5.10 * debian/copyright: Now UTF8-encoded, yay * debian/control: Bump Standards-Version * MakeHelper.pm: Patch to generate valid whatis entries for the index manpage generated along the rest of the documentation. -- Marc 'HE' Brockschmidt Fri, 08 Feb 2008 09:40:12 +0100 libglib-perl (1:1.161-1) unstable; urgency=low * New upstream release. -- Marc 'HE' Brockschmidt Tue, 16 Oct 2007 14:13:56 +0200 libglib-perl (1:1.152-1) unstable; urgency=low * New upstream development release. -- Marc 'HE' Brockschmidt Thu, 02 Aug 2007 11:40:01 +0200 libglib-perl (1:1.144-1) unstable; urgency=low * New upstream release * debian/control: Bump Standards-Version to 3.7.2 * debian/compat: Update to use debhelper compat level 5 -- Marc 'HE' Brockschmidt Sun, 06 May 2007 22:58:23 +0200 libglib-perl (1:1.140-1) unstable; urgency=low * New upstream release -- Marc 'HE' Brockschmidt Mon, 25 Sep 2006 23:42:21 +0200 libglib-perl (1:1.120-1) unstable; urgency=low * New stable upstream release. -- Marc 'HE' Brockschmidt Mon, 3 Apr 2006 15:11:00 +0200 libglib-perl (1:1.105-1) unstable; urgency=low * New upstream release -- Marc 'HE' Brockschmidt Thu, 16 Feb 2006 23:21:42 +0100 libglib-perl (1:1.103-2) UNRELEASED; urgency=low * Updated Uploaders field with my new mail address. -- Florian Ragwitz Sat, 28 Jan 2006 14:35:57 +0100 libglib-perl (1:1.103-1) unstable; urgency=low * New upstream release. -- Marc 'HE' Brockschmidt Sun, 22 Jan 2006 18:10:14 +0100 libglib-perl (1:1.102-1) unstable; urgency=low * New stable upstream release. -- Marc 'HE' Brockschmidt Tue, 20 Dec 2005 22:01:20 +0100 libglib-perl (1:1.101-1) unstable; urgency=low * New stable upstream release. -- Marc 'HE' Brockschmidt Thu, 6 Oct 2005 19:29:21 +0200 libglib-perl (1:1.100-2) unstable; urgency=low * debian/control: + Change Maintainer field to point to the Gtk2-Perl list + Add me to Uploaders -- Florian Ragwitz Sun, 2 Oct 2005 02:24:03 +0200 libglib-perl (1:1.100-1) unstable; urgency=low * New stable upstream release. (Closes: #327084) * debian/control: Bumped Standards-Version to 3.6.2 (no changes needed) -- Marc 'HE' Brockschmidt Wed, 7 Sep 2005 18:16:34 +0200 libglib-perl (1:1.093-1) experimental; urgency=low * New unstable upstream release. -- Marc 'HE' Brockschmidt Sun, 31 Jul 2005 13:35:41 +0200 libglib-perl (1:1.092-1) experimental; urgency=low * New unstable upstream release. -- Marc 'HE' Brockschmidt Fri, 15 Jul 2005 20:46:07 +0200 libglib-perl (1:1.091-1) experimental; urgency=low * New unstable upstream release. -- Marc 'HE' Brockschmidt Thu, 9 Jun 2005 12:15:44 +0200 libglib-perl (1:1.090-1) experimental; urgency=low * New unstable upstream release. -- Marc 'HE' Brockschmidt Tue, 26 Apr 2005 18:47:00 +0200 libglib-perl (1:1.081-1) unstable; urgency=low * New upstream release. -- Marc 'HE' Brockschmidt Wed, 13 Apr 2005 11:35:45 +0200 libglib-perl (1:1.080-1) unstable; urgency=low * New stable upstream release. -- Marc 'HE' Brockschmidt Tue, 8 Mar 2005 17:10:18 +0100 libglib-perl (1:1.074-1) experimental; urgency=low * New unstable upstream release. -- Marc 'HE' Brockschmidt Tue, 1 Mar 2005 22:49:38 +0100 libglib-perl (1:1.073-1) experimental; urgency=low * New unstable upstream release. -- Marc 'HE' Brockschmidt Tue, 8 Feb 2005 19:02:56 +0100 libglib-perl (1:1.072-1) experimental; urgency=low * New unstable upstream release. -- Marc 'HE' Brockschmidt Mon, 10 Jan 2005 23:22:04 +0100 libglib-perl (1:1.071-1) experimental; urgency=low * New unstable upstream release. -- Marc 'HE' Brockschmidt Mon, 29 Nov 2004 22:40:19 +0100 libglib-perl (1:1.070-1) experimental; urgency=low * New unstable upstream release. -- Marc 'HE' Brockschmidt Tue, 2 Nov 2004 21:28:27 +0100 libglib-perl (1:1.062-1) unstable; urgency=low * New upstream release. -- Marc 'HE' Brockschmidt Mon, 31 Jan 2005 23:47:48 +0100 libglib-perl (1:1.061-1) unstable; urgency=low * New upstream release. -- Marc 'HE' Brockschmidt Fri, 1 Oct 2004 23:12:04 +0200 libglib-perl (1:1.060-1) unstable; urgency=low * New stable upstream release. -- Marc 'HE' Brockschmidt Sun, 12 Sep 2004 23:13:53 +0200 libglib-perl (1:1.055-1) experimental; urgency=low * New unstable upstream release. -- Marc 'HE' Brockschmidt Mon, 30 Aug 2004 21:04:38 +0200 libglib-perl (1:1.053-1) experimental; urgency=low * New unstable upstream release. -- Marc 'HE' Brockschmidt Tue, 3 Aug 2004 17:35:23 +0200 libglib-perl (1:1.052-1) experimental; urgency=low * New unstable upstream release. -- Marc 'HE' Brockschmidt Mon, 19 Jul 2004 17:35:34 +0200 libglib-perl (1:1.051-1) experimental; urgency=low * New unstable upstream release. -- Marc 'HE' Brockschmidt Mon, 28 Jun 2004 10:36:46 +0200 libglib-perl (1:1.050-1) experimental; urgency=low * New unstable upstream release, uploading to experimental. -- Marc 'HE' Brockschmidt Thu, 3 Jun 2004 20:13:24 +0200 libglib-perl (1:1.043-1) unstable; urgency=low * New upstream release. -- Marc 'HE' Brockschmidt Mon, 14 Jun 2004 13:23:01 +0200 libglib-perl (1:1.042-2) unstable; urgency=low * debian/control: Tighten build-deps to force rebuilt against glib2.4. -- Marc 'HE' Brockschmidt Mon, 24 May 2004 00:17:33 +0200 libglib-perl (1:1.042-1) unstable; urgency=low * New upstream release. -- Marc 'HE' Brockschmidt Mon, 12 Apr 2004 12:22:05 +0200 libglib-perl (1:1.041-1) unstable; urgency=low * New upstream release. * Add epoch to work around the 1.0391 release. -- Marc 'HE' Brockschmidt Fri, 9 Apr 2004 15:36:33 +0200 libglib-perl (1.040-1) unstable; urgency=low * New stable upstream release, uploading the thing to unstable again. * debian/control: Updated long description to use the same format for all Gtk2-Perl packages. -- Marc 'HE' Brockschmidt Wed, 24 Mar 2004 14:45:19 +0100 libglib-perl (1.0391-1) experimental; urgency=low * New upstream release, built against glib 2.4 from experimental. -- Marc 'HE' Brockschmidt Fri, 19 Mar 2004 13:54:55 +0100 libglib-perl (1.039-1) experimental; urgency=low * New upstream release. -- Marc 'HE' Brockschmidt Fri, 12 Mar 2004 16:02:36 +0100 libglib-perl (1.038-1) experimental; urgency=low * New upstream release. -- Marc 'HE' Brockschmidt Tue, 2 Mar 2004 19:02:05 +0100 libglib-perl (1.037-1) experimental; urgency=low * New upstream release. -- Marc 'HE' Brockschmidt Fri, 27 Feb 2004 16:56:59 +0100 libglib-perl (1.036-1) experimental; urgency=low * New upstream release. * debian/changelog: Happy new year, gtk2-perl team! * debian/control: I'm a DD now! :) * debian/{rules,libglib-perl.docs}: Moved/Added NEWS file * debian/rules: The changelog file here is called ChangeLog. Changes is ancient. -- Marc 'HE' Brockschmidt Fri, 20 Feb 2004 21:06:33 +0100 libglib-perl (1.035-1) experimental; urgency=low * New upstream release. * Upload of unstable gtk2-perl to experimental. * debian/control: Bumped dependency of libEU-depends-perl. -- Marc Brockschmidt Mon, 16 Feb 2004 00:56:58 +0100 libglib-perl (1.022-1) unstable; urgency=low * New upstream release, fixing build errors on alpha and ia64. * Patch around b0rken glib. Fixes build fails on mips(el). (Closes: #229231) -- Marc Brockschmidt Fri, 6 Feb 2004 16:47:26 +0100 libglib-perl (1.021-1) unstable; urgency=low * New upstream release. * debian/rules: Call test target of the upstream makefile -- Marc Brockschmidt Thu, 22 Jan 2004 11:13:33 +0100 libglib-perl (1.020-1) unstable; urgency=low * New upstream release. * debian/control: Fixed descriptions (Thanks to Joe Drew) -- Marc Brockschmidt Mon, 29 Dec 2003 11:10:47 +0100 libglib-perl (1.011-1) unstable; urgency=low * Initial Release. (Closes: #221679) -- Marc Brockschmidt Wed, 19 Nov 2003 16:03:13 +0100 debian/rules0000755000000000000000000000023012263262541010244 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_configure: PERL5LIB=./lib dh_auto_configure override_dh_installchangelogs: dh_installchangelogs NEWS debian/libglib-perl.docs0000644000000000000000000000000512263262541012402 0ustar TODO debian/patches/0000755000000000000000000000000012263262541010620 5ustar debian/patches/remove-version-checking0000644000000000000000000000145212263262541015276 0ustar Description: Debian has a proper lib dependency system and doesn't need this check Origin: vendor Forwarded: not-needed Author: Ryan Niebur --- a/Glib.xs +++ b/Glib.xs @@ -472,6 +472,7 @@ #endif /* GLIB_CHECK_VERSION (2, 12, 0) */ /* make sure that we're running/linked against a version at least as * new as we built against, otherwise bad things will happen. */ +/* if ((((int)glib_major_version) < GLIB_MAJOR_VERSION) || (glib_major_version == GLIB_MAJOR_VERSION && @@ -485,6 +486,7 @@ " old. We'll continue, but expect problems!\n", GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION, glib_major_version, glib_minor_version, glib_micro_version); + */ ## ## NOTE: in order to avoid overwriting the docs for the main Glib.pm, debian/patches/fix-gtks-whatis0000644000000000000000000000352312263262541013577 0ustar Description: if a man page doesn't have a whatis, try to figure out which ctype corresponds to that (using regexps), check if they really do (using the Glib::Type register stuff), and if they do add a whatis that says "wrapper for $ctype" Forwarded: no Author: Ryan Niebur --- a/lib/Glib/GenPod.pm +++ b/lib/Glib/GenPod.pm @@ -278,7 +278,15 @@ # end. But all the other =head1 below need a closing =cut. print "=head1 NAME\n\n$package"; - print ' - '.$pkgdata->{blurb} if (exists ($pkgdata->{blurb})); + if(exists ($pkgdata->{blurb})) { + print ' - '.$pkgdata->{blurb}; + } elsif($package =~ m/^Gtk2::Pango/) { + my $newname = $package; + $newname =~ s/Gtk2:://; + print ' - moved to ' . $newname . ', kept for backwards compatibility' + } elsif(convert_to_cname($package)) { + print ' - wrapper for '.convert_to_cname($package); + } print "\n\n=cut\n\n"; # pods , position @@ -1156,6 +1164,8 @@ sub set_main_mod { $MAIN_MOD = shift; + eval "use $MAIN_MOD"; + die($@) if($@); } sub preprocess_pod @@ -1522,6 +1532,27 @@ } while (@dirs); } +sub convert_to_cname { + my $perlname = shift; + my $cname = $perlname; + if($perlname =~ /^Gtk2::Gdk::/) { + $cname =~ s/^Gtk2::Gdk::/Gdk/; + } elsif($perlname =~ m/^Gtk2::/) { + $cname =~ s/^Gtk2::/Gtk/; + } elsif($perlname =~ m/^Gnome2::Bonobo::/) { + $cname =~ s/^Gnome2::Bonobo::/Bonobo/; + } elsif($perlname =~ m/^Gnome2::/) { + $cname =~ s/^Gnome2::/Gnome/; + } + $cname =~ s/:://g; + my $tmp; + eval { $tmp = Glib::Type->package_from_cname($cname); }; + if($@ || $tmp ne $perlname) { + return; + } + return $cname; +} + 1; __END__ debian/patches/series0000644000000000000000000000006612263262541012037 0ustar fix-gtks-whatis remove-version-checking fix-man-pages debian/patches/fix-man-pages0000644000000000000000000003227212263262541013205 0ustar Description: improves man pages Origin: vendor Forwarded: no Author: Ryan Niebur --- a/GParamSpec.xs +++ b/GParamSpec.xs @@ -83,7 +83,7 @@ if (g_str_equal ((const char *) value, fd->package)) { fd->found_type = (GType) key; return TRUE; - } else + } else return FALSE; } #else @@ -185,6 +185,8 @@ MODULE = Glib::ParamSpec PACKAGE = Glib::ParamSpec PREFIX = g_param_spec_ +=for object Glib::ParamSpec Wrapper to encapsulate metadate needed to specify parameters + void DESTROY (GParamSpec * pspec) CODE: @@ -198,12 +200,12 @@ You will see these most often when creating new Glib::Object types; see C<< Glib::Type->register >> and L. -Parameter specifications allow you to provide limits for validation as +Parameter specifications allow you to provide limits for validation as well as nicknames and blurbs to document the parameters. Blurbs show up in reference documentation such as this page or the gtk+ C API reference; i'm not really sure where the nicknames get used. The Perl bindings for the most part ignore the difference between dashes and underscores in -the paramspec names, which typically find use as the actual keys for +the paramspec names, which typically find use as the actual keys for object parameters. It's worth noting that Glib offers various sizes of integer and floating @@ -280,9 +282,9 @@ ### the right sizes). ### -## GParamSpec* g_param_spec_char (const gchar *name, const gchar *nick, const gchar *blurb, gint8 minimum, gint8 maximum, gint8 default_value, GParamFlags flags) -## GParamSpec* g_param_spec_int (const gchar *name, const gchar *nick, const gchar *blurb, gint minimum, gint maximum, gint default_value, GParamFlags flags) -## GParamSpec* g_param_spec_long (const gchar *name, const gchar *nick, const gchar *blurb, glong minimum, glong maximum, glong default_value, GParamFlags flags) +## GParamSpec* g_param_spec_char (const gchar *name, const gchar *nick, const gchar *blurb, gint8 minimum, gint8 maximum, gint8 default_value, GParamFlags flags) +## GParamSpec* g_param_spec_int (const gchar *name, const gchar *nick, const gchar *blurb, gint minimum, gint maximum, gint default_value, GParamFlags flags) +## GParamSpec* g_param_spec_long (const gchar *name, const gchar *nick, const gchar *blurb, glong minimum, glong maximum, glong default_value, GParamFlags flags) GParamSpec* IV (class, name, nick, blurb, minimum, maximum, default_value, flags) const gchar *name @@ -320,7 +322,7 @@ OUTPUT: RETVAL -## GParamSpec* g_param_spec_int64 (const gchar *name, const gchar *nick, const gchar *blurb, gint64 minimum, gint64 maximum, gint64 default_value, GParamFlags flags) +## GParamSpec* g_param_spec_int64 (const gchar *name, const gchar *nick, const gchar *blurb, gint64 minimum, gint64 maximum, gint64 default_value, GParamFlags flags) GParamSpec* g_param_spec_int64 (class, name, nick, blurb, minimum, maximum, default_value, flags) const gchar *name @@ -333,9 +335,9 @@ C_ARGS: name, nick, blurb, minimum, maximum, default_value, flags -## GParamSpec* g_param_spec_uchar (const gchar *name, const gchar *nick, const gchar *blurb, guint8 minimum, guint8 maximum, guint8 default_value, GParamFlags flags) -## GParamSpec* g_param_spec_uint (const gchar *name, const gchar *nick, const gchar *blurb, guint minimum, guint maximum, guint default_value, GParamFlags flags) -## GParamSpec* g_param_spec_ulong (const gchar *name, const gchar *nick, const gchar *blurb, gulong minimum, gulong maximum, gulong default_value, GParamFlags flags) +## GParamSpec* g_param_spec_uchar (const gchar *name, const gchar *nick, const gchar *blurb, guint8 minimum, guint8 maximum, guint8 default_value, GParamFlags flags) +## GParamSpec* g_param_spec_uint (const gchar *name, const gchar *nick, const gchar *blurb, guint minimum, guint maximum, guint default_value, GParamFlags flags) +## GParamSpec* g_param_spec_ulong (const gchar *name, const gchar *nick, const gchar *blurb, gulong minimum, gulong maximum, gulong default_value, GParamFlags flags) GParamSpec* UV (class, name, nick, blurb, minimum, maximum, default_value, flags) const gchar *name @@ -373,7 +375,7 @@ OUTPUT: RETVAL -## GParamSpec* g_param_spec_uint64 (const gchar *name, const gchar *nick, const gchar *blurb, guint64 minimum, guint64 maximum, guint64 default_value, GParamFlags flags) +## GParamSpec* g_param_spec_uint64 (const gchar *name, const gchar *nick, const gchar *blurb, guint64 minimum, guint64 maximum, guint64 default_value, GParamFlags flags) GParamSpec* g_param_spec_uint64 (class, name, nick, blurb, minimum, maximum, default_value, flags) const gchar *name @@ -386,7 +388,7 @@ C_ARGS: name, nick, blurb, minimum, maximum, default_value, flags -## GParamSpec* g_param_spec_boolean (const gchar *name, const gchar *nick, const gchar *blurb, gboolean default_value, GParamFlags flags) +## GParamSpec* g_param_spec_boolean (const gchar *name, const gchar *nick, const gchar *blurb, gboolean default_value, GParamFlags flags) GParamSpec* g_param_spec_boolean (class, name, nick, blurb, default_value, flags) const gchar *name @@ -398,13 +400,13 @@ name, nick, blurb, default_value, flags -### GParamSpec* g_param_spec_unichar (const gchar *name, const gchar *nick, const gchar *blurb, gunichar default_value, GParamFlags flags) +### GParamSpec* g_param_spec_unichar (const gchar *name, const gchar *nick, const gchar *blurb, gunichar default_value, GParamFlags flags) GParamSpec* -g_param_spec_unichar (class, const gchar *name, const gchar *nick, const gchar *blurb, gunichar default_value, GParamFlags flags) +g_param_spec_unichar (class, const gchar *name, const gchar *nick, const gchar *blurb, gunichar default_value, GParamFlags flags) C_ARGS: name, nick, blurb, default_value, flags -### GParamSpec* g_param_spec_enum (const gchar *name, const gchar *nick, const gchar *blurb, GType enum_type, gint default_value, GParamFlags flags) +### GParamSpec* g_param_spec_enum (const gchar *name, const gchar *nick, const gchar *blurb, GType enum_type, gint default_value, GParamFlags flags) GParamSpec* g_param_spec_enum (class, const gchar *name, const gchar *nick, const gchar *blurb, const char * enum_type, SV * default_value, GParamFlags flags) PREINIT: @@ -418,9 +420,9 @@ gperl_convert_enum (gtype, default_value), flags); OUTPUT: - RETVAL + RETVAL -### GParamSpec* g_param_spec_flags (const gchar *name, const gchar *nick, const gchar *blurb, GType flags_type, guint default_value, GParamFlags flags) +### GParamSpec* g_param_spec_flags (const gchar *name, const gchar *nick, const gchar *blurb, GType flags_type, guint default_value, GParamFlags flags) GParamSpec* g_param_spec_flags (class, const gchar *name, const gchar *nick, const gchar *blurb, const char * flags_type, SV * default_value, GParamFlags flags) PREINIT: @@ -434,11 +436,11 @@ gperl_convert_flags (gtype, default_value), flags); OUTPUT: - RETVAL + RETVAL -## GParamSpec* g_param_spec_float (const gchar *name, const gchar *nick, const gchar *blurb, gfloat minimum, gfloat maximum, gfloat default_value, GParamFlags flags) -## GParamSpec* g_param_spec_double (const gchar *name, const gchar *nick, const gchar *blurb, gdouble minimum, gdouble maximum, gdouble default_value, GParamFlags flags) +## GParamSpec* g_param_spec_float (const gchar *name, const gchar *nick, const gchar *blurb, gfloat minimum, gfloat maximum, gfloat default_value, GParamFlags flags) +## GParamSpec* g_param_spec_double (const gchar *name, const gchar *nick, const gchar *blurb, gdouble minimum, gdouble maximum, gdouble default_value, GParamFlags flags) GParamSpec* g_param_spec_double (class, name, nick, blurb, minimum, maximum, default_value, flags) const gchar *name @@ -462,7 +464,7 @@ OUTPUT: RETVAL -## GParamSpec* g_param_spec_string (const gchar *name, const gchar *nick, const gchar *blurb, const gchar *default_value, GParamFlags flags) +## GParamSpec* g_param_spec_string (const gchar *name, const gchar *nick, const gchar *blurb, const gchar *default_value, GParamFlags flags) ## ## "default_value" can be NULL. Not actually described in the docs as ## of 2.18, but used that way in lots of the builtin classes @@ -477,9 +479,9 @@ C_ARGS: name, nick, blurb, default_value, flags -### GParamSpec* g_param_spec_param (const gchar *name, const gchar *nick, const gchar *blurb, GType param_type, GParamFlags flags) -## GParamSpec* g_param_spec_boxed (const gchar *name, const gchar *nick, const gchar *blurb, GType boxed_type, GParamFlags flags) -## GParamSpec* g_param_spec_object (const gchar *name, const gchar *nick, const gchar *blurb, GType object_type, GParamFlags flags) +### GParamSpec* g_param_spec_param (const gchar *name, const gchar *nick, const gchar *blurb, GType param_type, GParamFlags flags) +## GParamSpec* g_param_spec_boxed (const gchar *name, const gchar *nick, const gchar *blurb, GType boxed_type, GParamFlags flags) +## GParamSpec* g_param_spec_object (const gchar *name, const gchar *nick, const gchar *blurb, GType object_type, GParamFlags flags) =for apidoc object =for arg package name of the class, derived from Glib::Object, of the objects this property will hold. @@ -550,11 +552,11 @@ ### plain pointers are dangerous, and i don't even know how you'd create ### them from perl since there are no pointers in perl (references are SVs) -## GParamSpec* g_param_spec_pointer (const gchar *name, const gchar *nick, const gchar *blurb, GParamFlags flags) +## GParamSpec* g_param_spec_pointer (const gchar *name, const gchar *nick, const gchar *blurb, GParamFlags flags) -#### we don't have full pspec support, and probably don't really need +#### we don't have full pspec support, and probably don't really need #### value arrays. -### GParamSpec* g_param_spec_value_array (const gchar *name, const gchar *nick, const gchar *blurb, GParamSpec *element_spec, GParamFlags flags) +### GParamSpec* g_param_spec_value_array (const gchar *name, const gchar *nick, const gchar *blurb, GParamSpec *element_spec, GParamFlags flags) #if GLIB_CHECK_VERSION(2, 4, 0) @@ -891,7 +893,7 @@ ## similarly, all unsigned integer types -=for object Glib::Param::UInt +=for object Glib::Param::UInt Wrapper for uint parameters in GLib =for position post_hierarchy @@ -962,7 +964,7 @@ MODULE = Glib::ParamSpec PACKAGE = Glib::Param::Int64 -=for object Glib::Param::Int64 +=for object Glib::Param::Int64 Wrapper for int64 parameters in GLib =head1 DESCRIPTION @@ -989,7 +991,7 @@ MODULE = Glib::ParamSpec PACKAGE = Glib::Param::UInt64 -=for object Glib::Param::UInt64 +=for object Glib::Param::UInt64 Wrapper for uint64 parameters in GLib =head1 DESCRIPTION @@ -1018,7 +1020,7 @@ ## and again for the floating-point types -=for object Glib::Param::Double +=for object Glib::Param::Double Wrapper for double parameters in GLib =for position post_hierarchy @@ -1037,6 +1039,21 @@ =cut +=for object Glib::Param::Boolean Wrapper for boolean parameters in GLib +=cut + +=for object Glib::Param::Enum Wrapper for enum parameters in GLib +=cut + +=for object Glib::Param::Flags Wrapper for flag parameters in GLib +=cut + +=for object Glib::Param::String Wrapper for string parameters in GLib +=cut + +=for object Glib::Param::Unichar Wrapper for unichar parameters in GLib +=cut + =for see_also Glib::ParamSpec =cut @@ -1122,6 +1139,8 @@ #if GLIB_CHECK_VERSION(2, 10, 0) +=for object Glib::Param::GType - Paramspecs for glib types + =for section DESCRIPTION =head1 DESCRIPTION --- a/GType.xs +++ b/GType.xs @@ -2746,6 +2746,8 @@ MODULE = Glib::Type PACKAGE = Glib::Flags +=for object Glib::Flags Overloaded operators representing GLib flags + =for position DESCRIPTION =head1 DESCRIPTION --- a/GUtils.xs +++ b/GUtils.xs @@ -469,6 +469,9 @@ MODULE = Glib::Utils PACKAGE = Glib::Markup PREFIX = g_markup_ +=for object Glib::Markup Wrapper for markup handling functions in GLib +=cut + =for apidoc __function__ =cut # gchar* g_markup_escape_text (const gchar *text, gssize length); --- a/GOption.xs +++ b/GOption.xs @@ -610,6 +610,14 @@ gperl_register_fundamental (GPERL_TYPE_OPTION_ARG, "Glib::OptionArg"); gperl_register_fundamental (GPERL_TYPE_OPTION_FLAGS, "Glib::OptionFlags"); +=for object Glib::OptionContext defines options accepted by the commandline option parser + +=cut + +=for object Glib::OptionGroup group of options for command line option parsing + +=cut + =for position SYNOPSIS =head1 SYNOPSIS --- a/lib/Glib/MakeHelper.pm +++ b/lib/Glib/MakeHelper.pm @@ -440,7 +440,7 @@ \$(INST_LIB)/\$(FULLEXT)/index.pod :: \$(INST_LIB)/\$(FULLEXT)/ build/podindex \$(NOECHO) \$(ECHO) Creating POD index... - \$(NOECHO) $^X -e "print qq(\\n=head1 NAME\\n\\n\$(NAME) - API Reference Pod Index\\n\\n=head1 PAGES\\n\\n=over\\n\\n)" \\ + \$(NOECHO) $^X -e "print qq(\\n=head1 NAME\\n\\n\$(NAME) \\\\- API Reference Pod Index\\n\\n=head1 PAGES\\n\\n=over\\n\\n)" \\ > \$(INST_LIB)/\$(FULLEXT)/index.pod \$(NOECHO) $^X -ne "print q(=item L<) . (split q( ))[1] . qq(>\\n\\n);" < build/podindex >> \$(INST_LIB)/\$(FULLEXT)/index.pod \$(NOECHO) $^X -e "print qq(=back\\n\\n);" >> \$(INST_LIB)/\$(FULLEXT)/index.pod debian/watch0000644000000000000000000000014612263262541010223 0ustar version=3 https://metacpan.org/release/Glib/ .*/Glib-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/source/0000755000000000000000000000000012263262541010471 5ustar debian/source/lintian-overrides0000644000000000000000000000036312263262541014054 0ustar # Upstream does not provide detached signatures, but they sign Git tags, # and we (well, at least I) verify it and compare to the imported tarball # content before uploading to Debian. libglib-perl source: debian-watch-may-check-gpg-signature debian/source/format0000644000000000000000000000001412263262541011677 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000145512263262541011131 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Glib Upstream-Contact: Torsten Schoenfeld Source: https://metacpan.org/release/Glib/ Files: * Copyright: 2003-2013, the gtk2-perl team License: LGPL-2.1+ Files: debian/* Copyright: 2010, Jonathan Yu 2009, Ryan Niebur License: LGPL-2.1+ License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . On Debian systems, the complete text of version 2.1 of the GNU Library General Public License can be found in `/usr/share/common-licenses/LGPL-2.1' debian/control0000644000000000000000000000233512263262541010577 0ustar Source: libglib-perl Maintainer: Debian Perl Group Uploaders: Ryan Niebur , Jonathan Yu , Jeffrey Ratcliffe , intrigeri Section: perl Priority: optional Build-Depends: debhelper (>= 9.20120312), perl, libextutils-depends-perl, libextutils-pkgconfig-perl, libglib2.0-dev, libtest-consistentversion-perl Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libglib-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libglib-perl.git Homepage: http://gtk2-perl.sourceforge.net/ Package: libglib-perl Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends} Description: interface to the GLib and GObject libraries Glib provides a Perl interface to the GLib and GObject libraries, as part of gtk2-perl. It attempts to provide a perlish interface while remaining as true as possible to the underlying C API, so perusing the reference manual is recommended (see ).