PerlGameDev Annonces, Aftermath YAPC::NA

2011-07-01 Thread Kartik Thakore
 technology for doing OpenGL
context/display lists better. Can you mention it again chip? I seem to
have forgotten it. 

The hope will be to make a declarative for OpenGL constructs that can be
sent straight to the hardware. Adam Kennedy has some work start in this
area (OpenGL::List).  


Regards,
-- 
Kartik Thakore kthak...@cpan.org



Handling C++ structs with XSpp

2011-04-26 Thread Kartik Thakore
Hi,

I am trying to bind Box2D to Perl using XSpp. This is my code so far:
https://github.com/PerlGameDev/Box2D-perl

I am using Module::Build::WithXSpp and ExtUtils::XSpp. The first thing I
need to bind are a bunch of C++ style structs (not pure C struct). 

http://paste.scsys.co.uk/99657 

It has operator overloads and so on. 

The ExtUtils::XSpp is not clear on how I should handle this. I tried
doing 

https://github.com/PerlGameDev/Box2D-perl/blob/master/xsp/Box2D.xsp

but when I compile and run I get:


Building Box2D
Generating main XS file...
Error: line 7 (Current token type: 'OPCURLY') (Current value: '{') Buffer:  

Expecting: ('OPPAR')
Error reading from pipe '/home/kthakore/.perl5/perls/perl-5.12.2/bin/perl5.12.2 
-MExtUtils::XSpp::Cmd -e xspp --  
/home/kthakore/Documents/Development/Box2D-perl/Box2D/xsp/Box2D.xsp':  in 
main.xs, line 22


Any help will be appreciated. 

Regards,
-- 
Kartik Thakore thakore.kar...@gmail.com



Re: Handling C++ structs with XSpp

2011-04-26 Thread Kartik Thakore
I seem to have gotten a bit further by mimic the early ZeroMQ perl
module tsee made.

This is my class xsp now:

https://github.com/PerlGameDev/Box2D-perl/blob/master/xsp/b2Vec2.xsp

But now I am running into:

cc
-I/home/kthakore/.perl5/perls/perl-5.12.2/lib/5.12.2/x86_64-linux-thread-multi/CORE
 -DXS_VERSION=0.01 -DVERSION=0.01 -fPIC -xc++ -Isrc -Ibuildtmp -c 
-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector 
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o 
buildtmp/Box2D.o buildtmp/Box2D.c
buildtmp/Box2D.c:97: error: expected class-name before ‘extern’
error building buildtmp/Box2D.o from 'buildtmp/Box2D.c'
at /home/kthakore/.perl5/perls/perl-5.12.2/lib/5.12.2/ExtUtils/CBuilder/Base.pm 
line 112.

Regards,
Kartik Thakore

On Tue, 2011-04-26 at 11:02 -0400, Kartik Thakore wrote:
 Hi,
 
 I am trying to bind Box2D to Perl using XSpp. This is my code so far:
 https://github.com/PerlGameDev/Box2D-perl
 
 I am using Module::Build::WithXSpp and ExtUtils::XSpp. The first thing I
 need to bind are a bunch of C++ style structs (not pure C struct). 
 
 http://paste.scsys.co.uk/99657 
 
 It has operator overloads and so on. 
 
 The ExtUtils::XSpp is not clear on how I should handle this. I tried
 doing 
 
 https://github.com/PerlGameDev/Box2D-perl/blob/master/xsp/Box2D.xsp
 
 but when I compile and run I get:
 
 
 Building Box2D
 Generating main XS file...
 Error: line 7 (Current token type: 'OPCURLY') (Current value: '{') Buffer:  
 
 Expecting: ('OPPAR')
 Error reading from pipe 
 '/home/kthakore/.perl5/perls/perl-5.12.2/bin/perl5.12.2 -MExtUtils::XSpp::Cmd 
 -e xspp --  
 /home/kthakore/Documents/Development/Box2D-perl/Box2D/xsp/Box2D.xsp':  in 
 main.xs, line 22
 
 
 Any help will be appreciated. 
 
 Regards,

-- 
Kartik Thakore thakore.kar...@gmail.com



Re: Permissions Problem (was: Failed: PAUSE indexer report KTHAKORE/SDL-2.524.tar.gz)

2010-12-01 Thread Kartik Thakore
Thank you,

My autocomplete failed on that. I thought I had sent it to
modu...@perl.org 

On Wed, 2010-12-01 at 08:24 -0500, Jonathan Yu wrote:
 Kartik,
 
 As it says in the original mail from the PAUSE indexer, you should be
 contacting the PAUSE admins about this -- e.g. modu...@perl.org
 
 Cheers,
 
 Jonathan
 
 On Tue, Nov 30, 2010 at 6:36 PM, Kartik Thakore
 ... wrote:
 
  Hello Folks,
 
  My co-maint has gone on a vacation to Scotland, which would be awesome
  but he has perms on one of the package in the SDL module. SDLx::Text
  in this case. Can someone provide me access for this ?
 
 Status: Permission missing
 ==
 
  module: SDLx::Text
 version: undef
 in file: lib/SDLx/Text.pm
  status: Not indexed because permission missing. Current
 registered
  primary maintainer is FROGGS. Hint: you can always
 find the
  legitimate maintainer(s) on PAUSE under View
 Permissions.
 
  Thanks
 
  --
  Kartik Thakore kthak...@cpan.org
 
 
  -- Forwarded message --
  From: PAUSE upl...@pause.perl.org
  To: thakore.kar...@gmail.com, andreas.koenig.gmwojprw+pa...@franz.ak.mind.de
  Date: Tue, 30 Nov 2010 19:03:23 +0100
  Subject: Failed: PAUSE indexer report KTHAKORE/SDL-2.524.tar.gz
  The following report has been written by the PAUSE namespace indexer.
  Please contact modu...@perl.org if there are any open questions.
   Id
 
User: KTHAKORE (Kartik Thakore)
   Distribution file: SDL-2.524.tar.gz
 Number of files: 331
  *.pm files: 82
  README: SDL-2.524/README
META.yml: SDL-2.524/META.yml
 YAML-Parser: YAML::XS 0.32
   META-driven index: yes
   Timestamp of file: Tue Nov 30 18:01:41 2010 UTC
Time of this run: Tue Nov 30 18:03:23 2010 UTC
 
  Status of this distro: Permission missing
  =
 
  The following packages (grouped by status) have been found in the distro:
 
  Status: Permission missing
  ==
 
  module: SDLx::Text
 version: undef
 in file: lib/SDLx/Text.pm
  status: Not indexed because permission missing. Current registered
  primary maintainer is FROGGS. Hint: you can always find the
  legitimate maintainer(s) on PAUSE under View Permissions.
 
  Status: Successfully indexed
  
 
  module: SDL
 version: 2.524
 in file: lib/SDL.pm
  status: indexed
 
  module: SDL::Audio
 version: undef
 in file: lib/SDL/Audio.pm
  status: indexed
 
  module: SDL::AudioCVT
 version: undef
 in file: lib/SDL/AudioCVT.pm
  status: indexed
 
  module: SDL::AudioSpec
 version: undef
 in file: lib/SDL/AudioSpec.pm
  status: indexed
 
  module: SDL::CD
 version: undef
 in file: lib/SDL/CD.pm
  status: indexed
 
  module: SDL::CDROM
 version: undef
 in file: lib/SDL/CDROM.pm
  status: indexed
 
  module: SDL::CDTrack
 version: undef
 in file: lib/SDL/CDTrack.pm
  status: indexed
 
  module: SDL::Color
 version: undef
 in file: lib/SDL/Color.pm
  status: indexed
 
  module: SDL::Config
 version: undef
 in file: lib/SDL/Config.pm
  status: indexed
 
  module: SDL::Constants
 version: undef
 in file: lib/SDL/Constants.pm
  status: indexed
 
  module: SDL::Cursor
 version: undef
 in file: lib/SDL/Cursor.pm
  status: indexed
 
  module: SDL::Event
 version: undef
 in file: lib/SDL/Event.pm
  status: indexed
 
  module: SDL::Events
 version: undef
 in file: lib/SDL/Events.pm
  status: indexed
 
  module: SDL::GFX
 version: undef
 in file: lib/SDL/GFX.pm
  status: indexed
 
  module: SDL::GFX::BlitFunc
 version: undef
 in file: lib/SDL/GFX/BlitFunc.pm
  status: indexed
 
  module: SDL::GFX::FPSManager
 version: undef
 in file: lib/SDL/GFX/FPSManager.pm
  status: indexed
 
  module: SDL::GFX::Framerate
 version: undef
 in file: lib/SDL/GFX/Framerate.pm
  status: indexed
 
  module: SDL::GFX::ImageFilter
 version: undef
 in file: lib/SDL/GFX/ImageFilter.pm
  status: indexed
 
  module: SDL::GFX::Primitives
 version: undef
 in file: lib/SDL/GFX/Primitives.pm
  status: indexed
 
  module: SDL::GFX::Rotozoom
 version: undef
 in file: lib/SDL/GFX/Rotozoom.pm
  status: indexed
 
  module: SDL::Image
 version: undef
 in file: lib/SDL/Image.pm
  status: indexed
 
  module: SDL::Internal::Loader
 version: undef
 in file: lib/SDL/Internal/Loader.pm
  status: indexed
 
  module: SDL::Joystick
 version: undef
 in file: lib/SDL/Joystick.pm
  status: indexed
 
  module: SDL::MPEG
 version: undef
 in file: lib/SDL/MPEG.pm

[Fwd: Failed: PAUSE indexer report KTHAKORE/SDL-2.524.tar.gz]

2010-11-30 Thread Kartik Thakore

Hello Folks,

My co-maint has gone on a vacation to Scotland, which would be awesome
but he has perms on one of the package in the SDL module. SDLx::Text
in this case. Can someone provide me access for this ? 

Status: Permission missing
==

 module: SDLx::Text
version: undef
in file: lib/SDLx/Text.pm
 status: Not indexed because permission missing. Current
registered
 primary maintainer is FROGGS. Hint: you can always
find the
 legitimate maintainer(s) on PAUSE under View
Permissions.

Thanks 

-- 
Kartik Thakore kthak...@cpan.org
---BeginMessage---
The following report has been written by the PAUSE namespace indexer.
Please contact modu...@perl.org if there are any open questions.
  Id

   User: KTHAKORE (Kartik Thakore)
  Distribution file: SDL-2.524.tar.gz
Number of files: 331
 *.pm files: 82
 README: SDL-2.524/README
   META.yml: SDL-2.524/META.yml
YAML-Parser: YAML::XS 0.32
  META-driven index: yes
  Timestamp of file: Tue Nov 30 18:01:41 2010 UTC
   Time of this run: Tue Nov 30 18:03:23 2010 UTC

Status of this distro: Permission missing
=

The following packages (grouped by status) have been found in the distro:

Status: Permission missing
==

 module: SDLx::Text
version: undef
in file: lib/SDLx/Text.pm
 status: Not indexed because permission missing. Current registered
 primary maintainer is FROGGS. Hint: you can always find the
 legitimate maintainer(s) on PAUSE under View Permissions.

Status: Successfully indexed


 module: SDL
version: 2.524
in file: lib/SDL.pm
 status: indexed

 module: SDL::Audio
version: undef
in file: lib/SDL/Audio.pm
 status: indexed

 module: SDL::AudioCVT
version: undef
in file: lib/SDL/AudioCVT.pm
 status: indexed

 module: SDL::AudioSpec
version: undef
in file: lib/SDL/AudioSpec.pm
 status: indexed

 module: SDL::CD
version: undef
in file: lib/SDL/CD.pm
 status: indexed

 module: SDL::CDROM
version: undef
in file: lib/SDL/CDROM.pm
 status: indexed

 module: SDL::CDTrack
version: undef
in file: lib/SDL/CDTrack.pm
 status: indexed

 module: SDL::Color
version: undef
in file: lib/SDL/Color.pm
 status: indexed

 module: SDL::Config
version: undef
in file: lib/SDL/Config.pm
 status: indexed

 module: SDL::Constants
version: undef
in file: lib/SDL/Constants.pm
 status: indexed

 module: SDL::Cursor
version: undef
in file: lib/SDL/Cursor.pm
 status: indexed

 module: SDL::Event
version: undef
in file: lib/SDL/Event.pm
 status: indexed

 module: SDL::Events
version: undef
in file: lib/SDL/Events.pm
 status: indexed

 module: SDL::GFX
version: undef
in file: lib/SDL/GFX.pm
 status: indexed

 module: SDL::GFX::BlitFunc
version: undef
in file: lib/SDL/GFX/BlitFunc.pm
 status: indexed

 module: SDL::GFX::FPSManager
version: undef
in file: lib/SDL/GFX/FPSManager.pm
 status: indexed

 module: SDL::GFX::Framerate
version: undef
in file: lib/SDL/GFX/Framerate.pm
 status: indexed

 module: SDL::GFX::ImageFilter
version: undef
in file: lib/SDL/GFX/ImageFilter.pm
 status: indexed

 module: SDL::GFX::Primitives
version: undef
in file: lib/SDL/GFX/Primitives.pm
 status: indexed

 module: SDL::GFX::Rotozoom
version: undef
in file: lib/SDL/GFX/Rotozoom.pm
 status: indexed

 module: SDL::Image
version: undef
in file: lib/SDL/Image.pm
 status: indexed

 module: SDL::Internal::Loader
version: undef
in file: lib/SDL/Internal/Loader.pm
 status: indexed

 module: SDL::Joystick
version: undef
in file: lib/SDL/Joystick.pm
 status: indexed

 module: SDL::MPEG
version: undef
in file: lib/SDL/MPEG.pm
 status: indexed

 module: SDL::Mixer
version: undef
in file: lib/SDL/Mixer.pm
 status: indexed

 module: SDL::Mixer::Channels
version: undef
in file: lib/SDL/Mixer/Channels.pm
 status: indexed

 module: SDL::Mixer::Effects
version: undef
in file: lib/SDL/Mixer/Effects.pm
 status: indexed

 module: SDL::Mixer::Groups
version: undef
in file: lib/SDL/Mixer/Groups.pm
 status: indexed

 module: SDL::Mixer::MixChunk
version: undef
in file: lib/SDL/Mixer/MixChunk.pm
 status: indexed

 module: SDL::Mixer::MixMusic
version: undef
in file: lib/SDL/Mixer/MixMusic.pm
 status: indexed

 module: SDL::Mixer::Music
version: undef
in file: lib/SDL/Mixer/Music.pm
 status: indexed

 module

Re: advice on submitting new module

2010-08-26 Thread Kartik Thakore

Use modulemaker to help you make a module. 
http://search.cpan.org/dist/ExtUtils-ModuleMaker/scripts/modulemaker

Make a good MANIFEST.skip and run

perl Build.PL

perl Build manifest

perl Build dist

This will make a tar file which you should upload.

Kartik Thakore

On 2010-08-26, at 8:34 AM, Ben Bimber bbim...@gmail.com wrote:


Hello,

I am trying to submit a new module for the first time and would like
to be sure I'm doing everything correctly.  The module itself is
extremely simple: one file written in pure perl (attached).  I
followed what I believe I needed to create in terms of other files
(like build.PL).  I am new to this process, so would anyone be willing
to quickly look at it?  Is there another process for validating a
module prior to submission?

Thanks for any help and sorry if I missed something.

-Ben
Labkey-query.zip


Re: Frozen Bubble 2.2.1

2010-08-05 Thread Kartik Thakore



Kartik Thakore

On 2010-08-05, at 7:07 AM, David Golden xda...@gmail.com wrote:

On Thu, Aug 5, 2010 at 3:20 AM, Guillaume Cottenceau gcott...@gmail.com 
 wrote:

Kartik and friends rewrote SDL_perl (a Perl module with SDL bindings)
using a different API. Then they ported my Perl-based game to using
that new Perl module, and to be CPAN-friendly. My game previous
versions were 2.0.0, 2.1.0, 2.2.0, so now I would like it to be
versioned 2.2.1. But prior to that, I would like to release a beta
version because I suspect a couple of corner cases to contain bugs.  
So

we're looking for a way to version it 2.2.1-beta1 or something
similar, in order for it to NOT be included in stable distributions  
or

replace 2.2.0 for regular users. Then we'll release 2.2.1 in a couple
of weeks when no more important bugs are known.

Thanks for your patience :)


Let me restate what I think the situation is:

* Frozen Bubble is now (or will be) a CPAN distribution rather than a
standalone program distributed independently


Yes.

* You would like the CPAN version to indicate a beta status so that
OS packagers don't blindly replace it for users

No, only the one on the main site. CPAN already has a differing  
versions.


2.111 on CPAN is 2.1.1beta1 for gc's os releases.

The problem we are having is we cant force a non numerical VERSION in  
M::B for the non CPAN release.


Our code uses the VERSION to compile a fb-server with output saying  
what version it is. This is why we need it in VERSION.



I don't know exactly what criteria OS packagers use for deciding what
is or isn't beta, but presumably the tarball name is significant.
They may or may not be Perl experts familiar with CPAN conventions.

I would suggest the following:

* To be consistent with your prior versioning (dotted-decimal),
require a minimum version of Perl that understands v1.2.3 numbering.
That means 5.6.0 at a minimum, 5.8.1 is better, 5.10.0 is best but you
might not want to impose that requimrent on end-users.

* For the *modules* inside the distribution, follow CPAN conventions
and include an underscore in the version number within the modules if
they are beta  e.g.

   our $VERSION = v2.2_1

Your final release should bump the last number and use a decimal

   our $VERSION = v2.2.2

(For the sake of simplicity and compatibility with Perl  5.10.0, I
suggest that you NOT use the version.pm module.)

* For the *distribution* (i.e. the tarball) you have more choices.
For Perl people it would be sufficient to have this:

   Frozen-Bubble-v2.2_1.tar.gz

But for people unfamiliar with CPAN conventions, I suggest one of  
the following:


   a) Frozen-Bubble-beta-v2.2_1.tar.gz
   b) Frozen-Bubble-v2.2_1-TRIAL.tar.gz
   c) Frozen-Bubble-v2.2.1-TRIAL.tar.gz


This makes sense too.


In (a), you put beta in the title of the distribution, but leave
the underscore in the version number. This tells PAUSE (the CPAN
indexer) not to index this distribution, which is what you want for a
beta.  You might confuse some parts of the ecosystem like CPAN
Testers, which will think that Frozen-Bubble is a different
distribution than Frozen-Bubble-beta, but that's a fairly small
price to pay.


thia dist_name = in M::B correct?

The (b) and (c) forms are not very common and take advantage of a
little-known feature of PAUSE.  Appending -TRIAL to the version
number is another way of telling PAUSE not to index the distribution.
If you do that, you have the choice of (b) or (c) as the underscore is
no longer significant in the tarball name.  Hopefully, that is also
enough to warn off packagers.

* If you accept -TRIAL as the answer that gives you a tarball name
that packagers will know not to distribute and are consistent in
always using it for your betas, then you could even stop using an
underscore in the $VERSION variable and just use a period.

   our $VERSION = v2.2.1;

* Just as a reminder, you still always want to bump the version
numbers of your modules as you go from beta to final.  CPAN
conventions don't really support the concept of 2.2.1-beta followed
by 2.2.1 (final).  Numbers are expected to be monotonically
increasing.  You might want to adopt your own convention of odd
numbers being development/beta and even numbers being releases.

That's probably far more complex that you ever imagined, but I hope it
gives you some useful direction.  As I said in my article, it's really
too bad that version numbers aren't boring.

Thank you for writing such a cool game in Perl!


PS: is an XY problem bound to a specific gender? do you think giving
the problem to an XX person would solve it faster? :)


The XY problem refers to wanting to do X, thinking Y is the
right approach and asking how to do Y, but X is vital context and
people might have better solutions than just Y.  c.f.
http://www.perlmonks.org/index.pl?node_id=542341


Thank you so much for lots of cool things in Perl :)


-- David


Kartik


Re: -TRIAL dists (was: Frozen Bubble 2.2.1)

2010-08-05 Thread Kartik Thakore

So how can we force the VERSION for  the non CPAN release?

Kartik Thakore

On 2010-08-05, at 3:24 PM, David Golden xda...@gmail.com wrote:

On Thu, Aug 5, 2010 at 2:46 PM, Eric Wilhelm enoba...@gmail.com  
wrote:

Does search.cpan.org understand -TRIAL now?  Last I looked, it was
properly handled (i.e. not indexed) by PAUSE, but would leak  
through in

a few other places where it appears that an assumption was being made
without checking the index.


CPAN::DistnameInfo added support for '-TRIAL' in 0.10 back in March of
this year and I'm pretty sure that's what Graham is using for
search.cpan.org.

It's certainly possible that it's leaking through elsewhere.  rjbs has
been doing -TRIAL releases of Dist::Zilla and may have a better sense
of where any remaining issues are.


It also looked like '-TRIAL' was intended to be used as a pre-release
without bumping any version numbers, so you could have -TRIAL1,
-TRIAL2, etc all with the version e.g. 5.6.2.  Am I understanding  
that

right?


I believe that was specific to perl distributions, not CPAN
distributions, but it may work for those as well.

-- David


Re: Frozen Bubble 2.2.1

2010-08-05 Thread Kartik Thakore



Kartik Thakore

On 2010-08-05, at 5:11 PM, David Nicol davidni...@gmail.com wrote:


It appears that your use case -- you want to publish the beta version
on CPAN without having the non-beta-testers get it too -- is not
supported by xdg's essay.


I dont know where you are getting this from.

Suppose I have a Module::Build module that I never ever want to put on  
CPAN. How do I force the our $VERSION to be non numeric.





I see two possible approaches:

1: leapfrogging. Release the beta versions with version numbers that
are less than the latest release version. This approach might require
some planning, possibly including bumping the version number on the
current stable to make space. The beta testers will have to jump
through something of a hoop, depending on their tools and skill with
them, so you'll have to support them in that.


No. Nothing to do with CPAN. 'non-CPAN'.



2: release beta versions in an entirely separate name-space, so
instead of having the beta after Awesome::Application 3.003 having
confusing version number just call it Awesome::Application_betatest
3.004 and let them coexist. Some research may be required to figure
out the best way to do that -- you don't want CPAN.pm pulling in the
Betatest version of something unreleased because it includes something
that it thinks is a proper upgrade, for instance. The additional
end-user control over what code is participating in the testing, for
a module, with less risk, could be good, too, for a module.


'non-CPAN'

regards,
Kartik


Re: Frozen Bubble 2.2.1

2010-08-05 Thread Kartik Thakore
With David's (xdg) help we have come up with a simple solution (which should
have been more obvious).

http://github.com/kthakore/frozen-bubble/blob/e5fe8243e67ca552c02099db8f5a274c6171e1b1/lib/Games/FrozenBubble.pm

Please give that a run. The 'display' version is RELEASE_VERSION.

Regards,
Kartik


Re: Frozen Bubble 2.2.1

2010-08-04 Thread Kartik Thakore

Hello,

Is it possible to have

2.2.1beta1 VERSION, for a perl module?

Kartik Thakore

On 2010-08-04, at 2:21 PM, Guillaume Cottenceau gcott...@gmail.com  
wrote:


On Wed, Aug 4, 2010 at 7:08 PM, Kartik Thakore thakore.kar...@gmail.com 
 wrote:

I dont think you can have that version.

What if you did '2.2.1_2' that means a development version.


Sorry, I would really like to say yes, but I've done quite some
packaging work for Mandriva, and honestly this doesn't look like dev
version (it looks awkward actually),


We can ask perl module devel mailing list for help?


If that would help why not :)



Kartik Thakore

On 2010-08-04, at 12:40 PM, Guillaume Cottenceau  
gcott...@gmail.com wrote:



I of course do.

[...@meuh /tmp/fb/frozen-bubble] git diff lib/Games/FrozenBubble.pm
diff --git a/lib/Games/FrozenBubble.pm b/lib/Games/FrozenBubble.pm
index b494f36..4bd46e7 100644
--- a/lib/Games/FrozenBubble.pm
+++ b/lib/Games/FrozenBubble.pm
@@ -1,6 +1,6 @@
package Games::FrozenBubble;

-our $VERSION = '2.2.1';
+our $VERSION = '2.2.1beta1';

1;

[...@meuh /tmp/fb/frozen-bubble] ./Build clean ; perl Build.PL 
./Build  sudo ./Build install
Cleaning up build files
[Alien::SDL] Testing header(s): iconv.h
[Alien::SDL] Testing header(s): math.h
[Alien::SDL] Testing header(s): SDL.h
[Alien::SDL] Testing header(s): SDL_mixer.h
Creating new 'MYMETA.yml' with configuration results
Can't find dist packages without a MANIFEST file
Run 'Build manifest' to generate one

WARNING: Possible missing or corrupt 'MANIFEST' file.
Nothing to enter for 'provides' field in metafile.
Creating new 'Build' script for 'Games-FrozenBubble' version  
'v2.2.1'




On Wed, Aug 4, 2010 at 6:38 PM, Kartik Thakore thakore.kar...@gmail.com 


wrote:


ReRun

perl Build.PL


Kartik Thakore

On 2010-08-04, at 11:18 AM, Guillaume Cottenceau gcott...@gmail.com 


wrote:


On Wed, Aug 4, 2010 at 1:58 PM, Kartik Thakore
thakore.kar...@gmail.com
wrote:


No go ahead and change that. I made a new branch for CPAN.


I'm not able to set the version in your new build system. When I  
do that

change

--- a/lib/Games/FrozenBubble.pm
+++ b/lib/Games/FrozenBubble.pm
@@ -1,6 +1,6 @@
package Games::FrozenBubble;

-our $VERSION = '2.2.1';
+our $VERSION = '2.2.1beta1';

1;


the build script still says:

Creating new 'Build' script for 'Games-FrozenBubble' version  
'v2.2.1'


additionally, the build breaks server/fb-server.c; e.g. it  
replaces

the C string concatenation of VERSION (before your breakage of
e6f581b438c163ce1d9edd932b07dc3caba24987) to the actual version




On Wed, Aug 4, 2010 at 4:35 AM, Guillaume Cottenceau
gcott...@gmail.com
wrote:


On Wed, Aug 4, 2010 at 10:19 AM, Guillaume Cottenceau
gcott...@gmail.com wrote:


On Tue, Aug 3, 2010 at 8:04 PM, Kartik Thakore
thakore.kar...@gmail.com wrote:


The code is ready for you in Github.


it seems that this fixes the version issue but the other  
questions in


actually, it doesn't fully: it fixes the 2.210 = 2.2.1 issue  
but it
doesn't additionally mark the beta status in the version (e.g.  
for

example 2.2.1beta1). any problem with that?

--
Guillaume Cottenceau - http://zarb.org/~gc/







--
Guillaume Cottenceau - http://zarb.org/~gc/






--
Guillaume Cottenceau - http://zarb.org/~gc/






--
Guillaume Cottenceau - http://zarb.org/~gc/


Excluding Module::Build from PAR

2010-05-13 Thread Kartik Thakore

Hello fellow authors,

In an attempt to make SDL games distributable I have been looking at  
how to package with PAR. In the first run using:


pp -B -p -o shooter.par shooter.pl

PAR was picking up all of CPAN::* and the multitude of deps that came  
with it.


After hunting around I found that SDL::ConfigData was requiring  
Module::Build in the autogenerated sub feature(). Ironically it has a  
comment saying to remove this in future releases.


Until then I decided to try:

pp -X Module::Build -B -p -o shooter.par shooter.pl

The file size did not change much so I
unziped shooter.par. And sure enough lib/Module/Builder.pm is gone but  
tge rest of lib/Module/Builder.pm and the multiple deps still presisted.


How can I do the equivalent of -X Module::Build* ?

Here is the shooter.pl script.


http://gist.github.com/301949



Kartik Thakore


Adding a Co-maintainer to SDL_perl modules

2010-03-13 Thread Kartik Thakore
Hi David,

I have contacted you several times over the last 2 weeks to try and get
FROGGS (pause id) co-maint access to the SDL_perl modules. Most of the
recent releases have his work already in it. I cannot give him the access to
upload versions ( which forces me to do it when sometimes I don't have the
time), as I only have co-maint access. If you don't have the time to do this
I will have to as PAUSE admins for help. I will just get acccess a primary
maintainer to give FROGGS access and then pass the primary maintainer status
back to you if you want it.


Regards,
Kartik Thakore


Re: PAUSE ID request (FROGGS; Tobias Leich)

2010-03-04 Thread Kartik Thakore
Hi David,

Can FROGGS get co-maint access on SDL modules? Thank you

On Thu, Mar 4, 2010 at 7:15 AM, Tobias Leich em...@froggs.de wrote:


 Hi, I requested a PAUSE ID yesterday and I didnt got an answer till yet.
 Maybe the spamfilter got it.

 Can you help me?

 Thanks, Tobias Leich.

 -Ursprüngliche Nachricht-
 Von: Perl Authors Upload Server [mailto:upl...@pause.perl.org]
 Gesendet: Mittwoch, 3. März 2010 13:38
 An: em...@froggs.de
 Betreff: PAUSE ID request (FROGGS; Tobias Leich)

 Request to register new user

 fullname: Tobias Leich
  userid: FROGGS
mail: CENSORED
 homepage:
 why:

I need to help out KTHAKORE.


 The following links are only valid for PAUSE maintainers:

 Registration form with editing capabilities:

 https://pause.perl.org/pause/authenquery?ACTION=add_userUSERID=6110_10a44684a7e33a85SUBMIT_pause99_add_user_sub=1
 Immediate (one click) registration:

 https://pause.perl.org/pause/authenquery?ACTION=add_userUSERID=6110_10a44684a7e33a85SUBMIT_pause99_add_user_Definitely=1




Re: PAUSE ID request (FROGGS; Tobias Leich)

2010-03-04 Thread Kartik Thakore

Hi David,

Under the making a co-maintainer I don't see SDL::* modules. Just  
Alien::SDL and the ones I made. Also when I try to add FROGGS for  
Alien::SDL it says FROGGS is not a valid userid.


Thanks

Kartik Thakore

On 2010-03-04, at 7:52 AM, David Golden xda...@gmail.com wrote:


Kartik, you can do this yourself on PAUSE.  Login and click on the
link for Change Permissions.  Or just go here:

https://pause.perl.org/pause/authenquery?ACTION=share_perms

-- David


On Thu, Mar 4, 2010 at 7:23 AM, Kartik Thakore thakore.kar...@gmail.com 
 wrote:

Hi David,

Can FROGGS get co-maint access on SDL modules? Thank you

On Thu, Mar 4, 2010 at 7:15 AM, Tobias Leich em...@froggs.de wrote:


Hi, I requested a PAUSE ID yesterday and I didnt got an answer  
till yet.

Maybe the spamfilter got it.

Can you help me?

Thanks, Tobias Leich.

-Ursprüngliche Nachricht-
Von: Perl Authors Upload Server [mailto:upl...@pause.perl.org]
Gesendet: Mittwoch, 3. März 2010 13:38
An: em...@froggs.de
Betreff: PAUSE ID request (FROGGS; Tobias Leich)

Request to register new user

fullname: Tobias Leich
 userid: FROGGS
   mail: CENSORED
homepage:
why:

   I need to help out KTHAKORE.


The following links are only valid for PAUSE maintainers:

Registration form with editing capabilities:

 
https://pause.perl.org/pause/authenquery?ACTION=add_userUSERID=6110_10a44684a7e33a85SUBMIT_pause99_add_user_sub=1
Immediate (one click) registration:

 
https://pause.perl.org/pause/authenquery?ACTION=add_userUSERID=6110_10a44684a7e33a85SUBMIT_pause99_add_user_Definitely=1






Re: Automating installation of a C library

2010-03-02 Thread Kartik Thakore

I made a bug report for it. Bug the author to accept it :)

regards,
Kartik Thakore

On 2010-03-02, at 3:13 PM, cr...@animalhead.com wrote:


Thank you, JE and your patch are the answer to my problem!

Someone ought to do something about the fact that JE doesn't come
up on a search.cpan.org search for javascript until page 12!

Might it be possible you could please put a version of
HTTP::ProxyPac that uses JE on CPAN?

Thanks much,
cmac


On Mar 2, 2010, at 10:31 AM, Kartik Thakore wrote:




Kartik Thakore

On 2010-03-01, at 10:47 PM, cr...@animalhead.com wrote:


Hi module authors,

I'm working on a module that has an accompanying script that can
be scheduled (cron'ed on Unix/Linux) to update its database from
the internet.  The biggest problem with this, that is not covered  
by LWP,

is that of proxies.

I know how to access environment variables plus the CPAN config to
automatically take care of many systems that include a proxy.
Nevertheless if none of these contain anything, I feel that I have  
to
include a query during Build.PL execution, to ask if there's a  
proxy.
(Of course there will be a default n to take care of smoke- 
testing.)


If the query (which is only asked if the environment/CPAN variables
don't identify a proxy) comes back y, I know how to run a WPAD
protocol, and if that doesn't yield anything, how to search on  
Windows

for *.pac.

Q1: where should one search for *.pac on non-Windows systems?


In internet settings for IE

But my main problem is when a wpad or pac search succeeds.  Now I
have a Javascript file that can tell my script what proxy should be
used for a URL that it wants to access.  The only viable module that
I've been able to find on CPAN to help with this is called  
HTTP::ProxyPAC.



I have fixed this with using JE and this patch for Http::ProxyPAC

http://paste.scsys.co.uk/40102



HTTP::ProxyPAC has JavaScript as a prerequisite.  The JavaScript
bindings expect that the user must have 'libjs' from Mozilla  
installed
(by hand) before it will install.  And if jslib is present, the  
JavaScript
installer asks 3 scary questions about how it was installed, to  
which

only a true wizard would know the answers.


With JE no compile needed.
I would like to use ProxyPAC and JavaScript but don't want to  
subject
my installers to such pain.  I can put the .tar.gz of libjs from  
Mozilla
inside my module, and drive the installation from Build.PL if it  
is needed.
(Running a proxy.pac or wpad.dat file hardly needs the latest  
version!)


Q2: can libjs can be installed by Build.PL before the CPAN code
prepends HTTP::ProxyPAC and then JavaScript and tries to
install them (based on META.yml) before it ever runs my Build.PL?

Answers to these Qs, and any other comments or advice on the best
way to handle this matter, will be much appreciated.

Thanks,
cmac
www.animalhead.com





Re: Automating installation of a C library

2010-03-02 Thread Kartik Thakore

Hi Craig,

How do I use the WPAD query to get the .pac file? It would be awsome  
to add this for Alien::SDL build.


Kartik Thakore

On 2010-03-02, at 3:13 PM, cr...@animalhead.com wrote:


Thank you, JE and your patch are the answer to my problem!

Someone ought to do something about the fact that JE doesn't come
up on a search.cpan.org search for javascript until page 12!

Might it be possible you could please put a version of
HTTP::ProxyPac that uses JE on CPAN?

Thanks much,
cmac


On Mar 2, 2010, at 10:31 AM, Kartik Thakore wrote:




Kartik Thakore

On 2010-03-01, at 10:47 PM, cr...@animalhead.com wrote:


Hi module authors,

I'm working on a module that has an accompanying script that can
be scheduled (cron'ed on Unix/Linux) to update its database from
the internet.  The biggest problem with this, that is not covered  
by LWP,

is that of proxies.

I know how to access environment variables plus the CPAN config to
automatically take care of many systems that include a proxy.
Nevertheless if none of these contain anything, I feel that I have  
to
include a query during Build.PL execution, to ask if there's a  
proxy.
(Of course there will be a default n to take care of smoke- 
testing.)


If the query (which is only asked if the environment/CPAN variables
don't identify a proxy) comes back y, I know how to run a WPAD
protocol, and if that doesn't yield anything, how to search on  
Windows

for *.pac.

Q1: where should one search for *.pac on non-Windows systems?


In internet settings for IE

But my main problem is when a wpad or pac search succeeds.  Now I
have a Javascript file that can tell my script what proxy should be
used for a URL that it wants to access.  The only viable module that
I've been able to find on CPAN to help with this is called  
HTTP::ProxyPAC.



I have fixed this with using JE and this patch for Http::ProxyPAC

http://paste.scsys.co.uk/40102



HTTP::ProxyPAC has JavaScript as a prerequisite.  The JavaScript
bindings expect that the user must have 'libjs' from Mozilla  
installed
(by hand) before it will install.  And if jslib is present, the  
JavaScript
installer asks 3 scary questions about how it was installed, to  
which

only a true wizard would know the answers.


With JE no compile needed.
I would like to use ProxyPAC and JavaScript but don't want to  
subject
my installers to such pain.  I can put the .tar.gz of libjs from  
Mozilla
inside my module, and drive the installation from Build.PL if it  
is needed.
(Running a proxy.pac or wpad.dat file hardly needs the latest  
version!)


Q2: can libjs can be installed by Build.PL before the CPAN code
prepends HTTP::ProxyPAC and then JavaScript and tries to
install them (based on META.yml) before it ever runs my Build.PL?

Answers to these Qs, and any other comments or advice on the best
way to handle this matter, will be much appreciated.

Thanks,
cmac
www.animalhead.com





weird errors for Perl packager for SDL apps

2010-02-21 Thread Kartik Thakore
Hi,

I am trying to package SDL_perl games.

here is how I package them:

 pp -l /usr/local/lib/libSDL.so -l /usr/local/lib/libSDL_gfx.so -l
/usr/lib/libc.so -o shooter shooter.pl

you can get these things by install

Alien::SDL, http://github.com/kthakore/SDL_perl/tarball/redesign and
http://gist.github.com/301949

here are the package generated

http://sdlperl.ath.cx/releases/shooter64.tar.gz
http://sdlperl.ath.cx/releases/shooter32.tar.gz

When other users run it I get errors like

./shooter
IO object version 1.25 does not match bootstrap parameter 1.23_01 at
/usr/lib/perl/5.10/DynaLoader.pm line 219.
Compilation failed in require at /usr/lib/perl/5.10/IO/Handle.pm line 9.
BEGIN failed--compilation aborted at /usr/lib/perl/5.10/IO/Handle.pm line 9.
Compilation failed in require at /usr/lib/perl/5.10/IO/Seekable.pm line 9.
BEGIN failed--compilation aborted at /usr/lib/perl/5.10/IO/Seekable.pm line 9.
Compilation failed in require at /usr/lib/perl/5.10/IO/File.pm line 11.
BEGIN failed--compilation aborted at /usr/lib/perl/5.10/IO/File.pm line 11.


Compilation failed in require at -e line 351.


Fwd: Betonmarkets CTO position

2010-02-11 Thread Kartik Thakore

yup spam.

Kartik Thakore

Begin forwarded message:


Dear Kartik,

Betonmarkets.com, the leading financial betting company, is looking to
recruit a CTO.  As a Perl expert, I was wondering whether you may be
interested in the position?

The Betonmarkets website and underlying systems are developed entirely
in Perl and typically conduct 20,000 transactions per day. We are
looking for a CTO who is expert and enthusiastic about Perl, as well  
as

experienced in management and team leadership, and able to assume the
role of CTO of a successful e-commerce company.

We are located in Cyberjaya, Malaysia, which offers a high quality as
well as low cost of living.  We are a multi-national company, with
staff from 14 countries (including the US, Europe, and Asia).  Our
company, and its location in Cyberjaya, offer a unique living and
working experience for expatriates.

If you would be interested to know more about this position, kindly
email me your CV.  Please feel free to forward this email to any  
person

in the Perl community who may be interested in the opportunity.

Best regards,
Jean-Yves Sireau

--
Jean-Yves Sireau, CEO
Regent Markets Group Ltd.
Genseq Ltd.


Re: flame bait: execution speed Perl vs. C (Date::Calc::PP vs. Date::Calc::XS)

2009-11-23 Thread Kartik Thakore
Working on it a little :) and I would like Blair's 3 am pepper extract  
(50 USD).


Kartik Thakore

On 23-Nov-09, at 1:47 AM, Jonathan Leto jal...@gmail.com wrote:


Howdy,


I seem to recall that we have a pressing need for another perl5 VM to
deliver on the promise of being able to run your perl5 code in perl6
programs.

--Eric


This is called Blizkost [0], a project stared by Jonathan Worthington
[1], one of the core Rakudo developers. It allows Parrot to run Perl 5
code. Currently we need to get loading of XS from Perl 5 working on
Blizkost, it is described in detail in the TODO [2]. If you get use
Data::Dumper; working in Blizkost, I will buy you a beverage of your
choice.

Fork some repos and write some tests/code and docs, people!

git clone git://github.com/jnthn/blizkost.git

Duke

[0] - http://github.com/jnthn/blizkost
[1] - http://www.jnthn.net
[2] - http://github.com/jnthn/blizkost/blob/master/TODO

--
Jonathan Duke Leto
jonat...@leto.net
http://leto.net


Re: Alien::SDL not available in cpan?

2009-11-19 Thread Kartik Thakore
Hi,

It looks like the CPAN hasn't picked up the new version from my last upload.
I also deleted 0.07.2 as the version number and the files in were wrong. So
it looks like CPAN has nothing to fall back on. Until this get fixed try
this:

pip
http://search.cpan.org/CPAN/authors/id/K/KT/KTHAKORE/Alien-SDL-v0.7.3.tar.gz

Regards and Apologies

@module-authors ... how long before the new version comes on line?

Kartik Thakore


On Thu, Nov 19, 2009 at 7:02 PM, Ben jben...@gmail.com wrote:

 Hi Kartik,

 I'm wondering if Alien::SDL should be available from the cpan client after
 a clean download of strawberry perl?  It cannot seem to find it.

 Thanks for your hard work!

 -Ben




Re: flame bait: execution speed Perl vs. C (Date::Calc::PP vs. Date::Calc::XS)

2009-11-18 Thread Kartik Thakore
Maybe he thought there were a debate on XS v.s PP performance. If only  
we could be this flame retardent in the uneeded perl5 v.s perl6 debate.




Kartik Thakore

On 18-Nov-09, at 7:29 AM, Aristotle Pagaltzis pagalt...@gmx.de wrote:


* O. STeffen BEYer ost...@gmail.com [2009-11-18 13:10]:

One can see from these results that the XS version quite
consistently runs approximately about 15 times faster than the
PP version.


This is flame bait? Why is this flame bait?

Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/


Re: Help with Mac Bundling

2009-11-11 Thread Kartik Thakore

Yes this is exactly what we need!

Kartik Thakore

On 11-Nov-09, at 6:15 AM, Mattia Barbon \mattia\.barb...@libero\.it 
\ mattia.bar...@libero.it wrote:



 Hi,

I am the maintainer for SDL Perl. We are having trouble bundling  
for MacOSX.

We are using perl Build bundle.

We have some success with it but we can't even run 'cpan -t .' on  
it. I have
asked around an padre users say wxperl bundles well on MacOSX.  But  
it uses
Makefile.PL. Is there a good example of MacOSX bundling (that  
works) with

Module::Build.


 If by 'bundling' you mean how wxPerl creates a 'wxPerl' binary that
can access the display/get the focus/etc, it's done with some custom  
code that should be easy to translate to Module::Build.


Regards,
Mattia




Help with Mac Bundling

2009-11-10 Thread Kartik Thakore
Hi Folks,

I am the maintainer for SDL Perl. We are having trouble bundling for MacOSX.
We are using perl Build bundle.

We have some success with it but we can't even run 'cpan -t .' on it. I have
asked around an padre users say wxperl bundles well on MacOSX.  But it uses
Makefile.PL. Is there a good example of MacOSX bundling (that works) with
Module::Build.

How do I accomplish this magical feat?

Thank you,

Kartik Thakore


Re: Failed: PAUSE indexer report KTHAKORE/SDL_Perl-v2.2.1.tar.gz

2009-08-21 Thread Kartik Thakore
What the hell? I thought I had co-maintain permissions for SDL_perl. Only
SDL.pm was allowed up ? What is going on?

On Fri, Aug 21, 2009 at 9:48 PM, PAUSE upl...@pause.perl.org wrote:

 The following report has been written by the PAUSE namespace indexer.
 Please contact modu...@perl.org if there are any open questions.
  Id

   User: KTHAKORE (Kartik Thakore)
  Distribution file: SDL_Perl-v2.2.1.tar.gz
Number of files: 136
 *.pm files: 39
 README: SDL_Perl-v2.2.1/README
   META.yml: SDL_Perl-v2.2.1/META.yml
YAML-Parser: YAML::XS 0.32
  META-driven index: yes
  Timestamp of file: Sat Aug 22 01:47:07 2009 UTC
   Time of this run: Sat Aug 22 01:48:36 2009 UTC

 Status of this distro: Permission missing
 =

 The following packages (grouped by status) have been found in the distro:

 Status: Permission missing
 ==

 module: SDL::App
version:
in file: lib/SDL/App.pm
 status: Not indexed because permission missing. Current registered
 primary maintainer is DGOEHRIG. Hint: you can always find
 the legitimate maintainer(s) on PAUSE under View
 Permissions.

 module: SDL::Cdrom
version:
in file: lib/SDL/Cdrom.pm
 status: Not indexed because permission missing. Current registered
 primary maintainer is DGOEHRIG. Hint: you can always find
 the legitimate maintainer(s) on PAUSE under View
 Permissions.

 module: SDL::Color
version:
in file: lib/SDL/Color.pm
 status: Not indexed because permission missing. Current registered
 primary maintainer is DGOEHRIG. Hint: you can always find
 the legitimate maintainer(s) on PAUSE under View
 Permissions.

 module: SDL::Constants
version:
in file: lib/SDL/Constants.pm
 status: Not indexed because permission missing. Current registered
 primary maintainer is DGOEHRIG. Hint: you can always find
 the legitimate maintainer(s) on PAUSE under View
 Permissions.

 module: SDL::Cursor
version:
in file: lib/SDL/Cursor.pm
 status: Not indexed because permission missing. Current registered
 primary maintainer is DGOEHRIG. Hint: you can always find
 the legitimate maintainer(s) on PAUSE under View
 Permissions.

 module: SDL::Event
version:
in file: lib/SDL/Event.pm
 status: Not indexed because permission missing. Current registered
 primary maintainer is DGOEHRIG. Hint: you can always find
 the legitimate maintainer(s) on PAUSE under View
 Permissions.

 module: SDL::Font
version:
in file: lib/SDL/Font.pm
 status: Not indexed because permission missing. Current registered
 primary maintainer is DGOEHRIG. Hint: you can always find
 the legitimate maintainer(s) on PAUSE under View
 Permissions.

 module: SDL::MPEG
version:
in file: lib/SDL/MPEG.pm
 status: Not indexed because permission missing. Current registered
 primary maintainer is DGOEHRIG. Hint: you can always find
 the legitimate maintainer(s) on PAUSE under View
 Permissions.

 module: SDL::Mixer
version:
in file: lib/SDL/Mixer.pm
 status: Not indexed because permission missing. Current registered
 primary maintainer is DGOEHRIG. Hint: you can always find
 the legitimate maintainer(s) on PAUSE under View
 Permissions.

 module: SDL::Music
version:
in file: lib/SDL/Music.pm
 status: Not indexed because permission missing. Current registered
 primary maintainer is DGOEHRIG. Hint: you can always find
 the legitimate maintainer(s) on PAUSE under View
 Permissions.

 module: SDL::OpenGL
version:
in file: lib/SDL/OpenGL.pm
 status: Not indexed because permission missing. Current registered
 primary maintainer is DGOEHRIG. Hint: you can always find
 the legitimate maintainer(s) on PAUSE under View
 Permissions.

 module: SDL::OpenGL::Constants
version:
in file: lib/SDL/OpenGL/Constants.pm
 status: Not indexed because permission missing. Current registered
 primary maintainer is DGOEHRIG. Hint: you can always find
 the legitimate maintainer(s) on PAUSE under View
 Permissions.

 module: SDL::Palette
version:
in file: lib/SDL/Palette.pm
 status: Not indexed because permission missing. Current registered
 primary maintainer is DGOEHRIG. Hint: you can always find
 the legitimate maintainer(s) on PAUSE under View
 Permissions.

 module: SDL::Rect
version:
in file: lib/SDL/Rect.pm
 status: Not indexed because permission missing. Current registered

Re: Failed: PAUSE indexer report KTHAKORE/SDL_Perl-v2.2.1.tar.gz

2009-08-21 Thread Kartik Thakore

Sorry. My apologies for trolling. Hopefully I can be forgiven.

Kartik Thakore

On 21-Aug-09, at 11:03 PM, Jonathan Yu jonathan.i...@gmail.com wrote:


Hi Kartik:

Keep in mind that all modules are tracked separately. So, while you
might have rights to teh SDL.pm namespace, the original author needs
to give you the co-maintain bit on all of the other ones in the dist.
This is what leads to what is called unauthorized releases -- your
package was accepted and is being actively mirrored on CPAN, but it is
not downloadable via the CPAN shell. (Well, it is, but you'd need to
specify your userid like: install K/KTHAKORE/Dist-Name.tar.gz)

Please read this page
(https://pause.perl.org/pause/authenquery?ACTION=pause_04about), which
is an FAQ list of common gotchas when it comes to authoring Perl
modules. Causing lots of noise on the authors list like this while
clearly not having read the appropriate documentation beforehand, and
doing so in such an unprofessional manner, is a rude thing to do and
unlikely to get you the result you are looking for.

Things are tracked per-module-name rather than per-package because
packages often contain many things. The first person to upload a
package with a specific name has dibs on it, which is useful for a
variety of reasons discussed on the FAQ page. Again, Read The Fine
Manual. Ask the author for co-maint bits on the remaining dist
packages. You can easily see what the author has permissions on here:
https://pause.perl.org/pause/authenquery?pause99_peek_perms_by=apause99_peek_perms_query=DGOEHRIGpause99_peek_perms_sub=Submit

Cheers,

Jonathan

On Fri, Aug 21, 2009 at 10:38 PM, Kartik
Thakorethakore.kar...@gmail.com wrote:
What the hell? I thought I had co-maintain permissions for  
SDL_perl. Only

SDL.pm was allowed up ? What is going on?

On Fri, Aug 21, 2009 at 9:48 PM, PAUSE upl...@pause.perl.org wrote:


The following report has been written by the PAUSE namespace  
indexer.

Please contact modu...@perl.org if there are any open questions.
 Id

  User: KTHAKORE (Kartik Thakore)
 Distribution file: SDL_Perl-v2.2.1.tar.gz
   Number of files: 136
*.pm files: 39
README: SDL_Perl-v2.2.1/README
  META.yml: SDL_Perl-v2.2.1/META.yml
   YAML-Parser: YAML::XS 0.32
 META-driven index: yes
 Timestamp of file: Sat Aug 22 01:47:07 2009 UTC
  Time of this run: Sat Aug 22 01:48:36 2009 UTC

Status of this distro: Permission missing
=

The following packages (grouped by status) have been found in the  
distro:


Status: Permission missing
==

module: SDL::App
   version:
   in file: lib/SDL/App.pm
status: Not indexed because permission missing. Current  
registered
primary maintainer is DGOEHRIG. Hint: you can always  
find

the legitimate maintainer(s) on PAUSE under View
Permissions.

module: SDL::Cdrom
   version:
   in file: lib/SDL/Cdrom.pm
status: Not indexed because permission missing. Current  
registered
primary maintainer is DGOEHRIG. Hint: you can always  
find

the legitimate maintainer(s) on PAUSE under View
Permissions.

module: SDL::Color
   version:
   in file: lib/SDL/Color.pm
status: Not indexed because permission missing. Current  
registered
primary maintainer is DGOEHRIG. Hint: you can always  
find

the legitimate maintainer(s) on PAUSE under View
Permissions.

module: SDL::Constants
   version:
   in file: lib/SDL/Constants.pm
status: Not indexed because permission missing. Current  
registered
primary maintainer is DGOEHRIG. Hint: you can always  
find

the legitimate maintainer(s) on PAUSE under View
Permissions.

module: SDL::Cursor
   version:
   in file: lib/SDL/Cursor.pm
status: Not indexed because permission missing. Current  
registered
primary maintainer is DGOEHRIG. Hint: you can always  
find

the legitimate maintainer(s) on PAUSE under View
Permissions.

module: SDL::Event
   version:
   in file: lib/SDL/Event.pm
status: Not indexed because permission missing. Current  
registered
primary maintainer is DGOEHRIG. Hint: you can always  
find

the legitimate maintainer(s) on PAUSE under View
Permissions.

module: SDL::Font
   version:
   in file: lib/SDL/Font.pm
status: Not indexed because permission missing. Current  
registered
primary maintainer is DGOEHRIG. Hint: you can always  
find

the legitimate maintainer(s) on PAUSE under View
Permissions.

module: SDL::MPEG
   version:
   in file: lib/SDL/MPEG.pm
status: Not indexed because permission missing. Current  
registered
primary maintainer is DGOEHRIG. Hint: you can always  
find

the legitimate maintainer(s) on PAUSE under View
Permissions

Fwd: Access to bug queue

2009-08-18 Thread Kartik Thakore


Hi people how do I get access to bug queue if I cannot find the  
contact of the person who set it up. This is the rt on the cpan module.

Kartik Thakore

Begin forwarded message:


From: David Goehrig d...@nexttolast.com
Date: August 18, 2009 3:50:53 PM GMT-04:00
To: Kartik Thakore thakore.kar...@gmail.com
Subject: Re: Access to bug queue



hrmmm... Wayne was the one who set that up so I don't even know  
how :)


Dave

On Tue, Aug 18, 2009 at 1:30 PM, Kartik Thakorethakore.kar...@gmail.com 
 wrote:

Can I get access to the sdl bug queue so that I can close and update
information on them.

Kartik Thakore





--
-=-=-=-=-=-=-=-=-=-=- http://blog.dloh.org/


New module: Alien::SDL

2009-08-07 Thread Kartik Thakore


I have started work on Alien module similiar to the wxwidgets except  
for SDL and related libs. It purpose will be to provide details on how  
SDL is installed on the host system. Moreover if SDL is missing it  
will download either source or binaries. Since this will be my first  
CPAN module, how do I upload the module? I already have a cpan account.

Kartik Thakore


Binary building of XS components

2009-08-06 Thread Kartik Thakore
After having a discussion with cromatic about SDL perl bindings, we  
came to the conclusion that providing binary packages of xs libraries  
would solve our build issues. Where do I get contributers to compile  
sdl bindings for  several different platforms?


Kartik Thakore


Testers needed New SDL_perl module.

2009-08-03 Thread Kartik Thakore
Hi,
I am currently working on getting SDL_perl off the ground. This
is what I have done so far
http://github.com/kthakore/SDL_perl/tree/master.
I need people to test the module's building and give me some
feed back.

Thank You
Kartik Thakore
thakore.kar...@gmail.com


Re: Test Windows Build on Module

2009-08-03 Thread Kartik Thakore
yup this is a problem. Let me see what I can do. Maybe an auto-downloader is
needed. Also I forgot a step below. in setenv.bat you need to manually set
MY_DEV_ROOT=d:\sdlpl .

On Mon, Aug 3, 2009 at 3:13 PM, Andreas Lund fl...@atc.no wrote:

 Mon, 3 Aug 2009 13:04:57 -0400, Kartik Thakore thakore.kar...@gmail.com
 wrote:
  Can I get some windows testing to see if the build works?
  Here is the repo http://github.com/kthakore/SDL_perl/tree/patch
 
  $ git clone git://github.com/kthakore/SDL_perl.git
  $ git checkout -b patch --track origin/patch
  $ setenv.bat
  $ perl Build.PL
  $ perl Build test
 
 
  please put feed back in http://github.com/kthakore/SDL_perl/issues
 
  Thank you.
 
  Kartik Thakore

 Is there any way you could create an archive of the required SDL libs and
 make
 it available for download?

 Every time I decide to give SDL-perl another try, I eventually give up
 because
 the libs are scattered all across the 'net in all sorts of weird code repos
 and have to be checked out using all sorts of funny tools. I have several
 megs
 worth of SDL libs but as long as there's always atleast one piece missing
 I'll
 never know if they actually fit together...

 I would really like to be able to help out with the Perl/XS bit in any way
 I
 can, particularly the OpenGL bits.


 --
 Andreas Lund (fl...@atc.no)
 Tel: +47 90077162
 #include disclaimer.h
 Look at you hacker, panting and sweating as you run through my corridors.
 How can you challenge a perfect immortal machine? -- SHODAN, System Shock



Re: Test Windows Build on Module

2009-08-03 Thread Kartik Thakore
Hello ppl,

Calling for all help on making Build for windows (Cygwin/Mingw/Native). I
have added the following patch to

http://github.com/kthakore/SDL_perl
branch patch

I am having a lot of trouble doing this as I don't have a windows box. Any
help is much appreciated.

Kartik Thakore



On Mon, Aug 3, 2009 at 4:39 PM, Curtis Jewell p...@csjewell.fastmail.uswrote:

 Here's what I did. I still used the same setup as previously.

 my ($sdl_compile_flags, $sdl_link_flags);

 if ($^O eq 'MSWin32') {
$sdl_compile_flags = qq{-I$ENV{SDL_INST_DIR}\include\SDL
 -D_GNU_SOURCE=1 -Dmain=SDL_main};
$sdl_link_flags = qq{-L$ENV{SDL_INST_DIR}\lib  -lmingw32 -lSDLmain
 -lSDL.dll -mwindows'};
 } else {
$sdl_compile_flags = `sdl-config --cflags`;
$sdl_link_flags= `sdl-config --libs`;
if ($?  8)
{
die SDL doesn't appear to be installed.\n .
Please check that sdl-config is in your path and
 try again.\n;
}
 }

 (the way I installed it means that SDL_INST_DIR=c:\strawberry\c)

 It got as far as:

 C:\Documents and

 Settings\Curtis\Desktop\kthakore-SDL_perl-acbf8053a89d78a3c601fb0b05fc91461c204294perl
 Build.PL
 Environment variable LIBS is empty

 after that - which is correct on a system that has no other compilation
 environment than Strawberry.

  (Helpful debugging hint:

 Carp is in core, so you don't have to install anything extra to use it.
 'use Carp;' and then 'croak' instead of 'die' and  'carp' instead of
 'warn'.

 Then, in a debugging scenario, I can do 'set PERL5OPT=-MCarp=verbose'
 and give you a stacktrace when there's a problem.)

 --Curtis


 On Mon, 03 Aug 2009 16:23 -0400, Kartik Thakore
 thakore.kar...@gmail.com wrote:
  Thank you.
  Also the message have sunk in but I am stuck between a rock and a hard
  place. I am putting a conditional on the sdl-config now.
 
  On Mon, Aug 3, 2009 at 4:10 PM, Curtis Jewell 
  lists.perl.module-auth...@csjewell.fastmail.us wrote:
 
   I'm using Strawberry Perl 5.10.0.6 and the precompiled library at
   http://www.libsdl.org/release/SDL-devel-1.2.13-mingw32.tar.gz - I
   extracted it's bin, lib, and include directories into
   c:\strawberry\c{include, lib, bin}.
  
   Here are the results from trying again on 2003_x86.msopensource.net:
  
  
 H:\Desktop\kthakore-SDL_perl-acbf8053a89d78a3c601fb0b05fc91461c204294perl
   Build
   .PL
   'sdl-config' is not recognized as an internal or external command,
   operable program or batch file.
   'sdl-config' is not recognized as an internal or external command,
   operable program or batch file.
   SDL doesn't appear to be installed.
   Please check that sdl-config is in your path and try again.
  
   The message must not have sunk in the first time: sdl-config is a
   ***shell script***. It will not work, even if it IS in the path. You
   can't rely on it working on Win32.
  
   (Your setenv.bat is also assuming that there is a Microsoft Visual C++
   compilation environment available. That's not always the case.
   Strawberry uses a gcc environment.)
  
   I'll send you a patch in a little bit.
  
   --Curtis
  
   On Mon, 03 Aug 2009 15:30 -0400, Kartik Thakore
   thakore.kar...@gmail.com wrote:
yup this is a problem. Let me see what I can do. Maybe an
 auto-downloader
is
needed. Also I forgot a step below. in setenv.bat you need to
 manually
set
MY_DEV_ROOT=d:\sdlpl .
   
On Mon, Aug 3, 2009 at 3:13 PM, Andreas Lund fl...@atc.no wrote:
   
 Mon, 3 Aug 2009 13:04:57 -0400, Kartik Thakore 
   thakore.kar...@gmail.com
 wrote:
  Can I get some windows testing to see if the build works?
  Here is the repo http://github.com/kthakore/SDL_perl/tree/patch
 
  $ git clone git://github.com/kthakore/SDL_perl.git
  $ git checkout -b patch --track origin/patch
  $ setenv.bat
  $ perl Build.PL
  $ perl Build test
 
 
  please put feed back in
 http://github.com/kthakore/SDL_perl/issues
 
  Thank you.
 
  Kartik Thakore

 Is there any way you could create an archive of the required SDL
 libs
   and
 make
 it available for download?

 Every time I decide to give SDL-perl another try, I eventually give
 up
 because
 the libs are scattered all across the 'net in all sorts of weird
 code
   repos
 and have to be checked out using all sorts of funny tools. I have
   several
 megs
 worth of SDL libs but as long as there's always atleast one piece
   missing
 I'll
 never know if they actually fit together...

 I would really like to be able to help out with the Perl/XS bit in
 any
   way
 I
 can, particularly the OpenGL bits.


 --
 Andreas Lund (fl...@atc.no)
 Tel: +47 90077162
 #include disclaimer.h
 Look at you hacker, panting and sweating as you run through my
   corridors.
 How can you challenge a perfect immortal machine? -- SHODAN,
 System
   Shock

Sdl_Perl forked: testers needed

2009-08-02 Thread Kartik Thakore


Hi people,
I needed test information on the updated module. Also any feature  
requests and bugs reports are welcome. Here is the link http://github.org/kthakore/SDL_perl 
. The most problems seems to be with the building. I have also added a  
lot of patches and features.


P.S yes I will put this on cpan when I get access. It's already in the  
works.


Thank you,
Kartik Thakore