Re: [Swftools-common] Standalone version of pdf2swf

2015-02-01 Thread arjunrathee08
Hey,

The reason for compiling with crossbridge is that this will be a part of a 
flash based program which amongst other things will also be used to read pdf 
files and hence we’ll be using crossbridge to compile it as an swf.

Also crossbridge has hashing functions and other requirements that then helps 
with the conversion of c/c++ code into an swf file without too much 
work/fiddling. 




That being said we’re still open to use different methods to compile the code 
into a swf. The final deliverable for the project is an swf file of pdf2swf so 
the method used to obtain that isn’t so much of an issue.




Thanks for the help so far.















From: gliese8...@gmail.com
Sent: ‎Friday‎, ‎January‎ ‎30‎, ‎2015 ‎8‎:‎19‎ ‎PM
To: swftools-common@nongnu.org





On 27 January 2015 at 23:31,  arjunrathe...@gmail.com wrote:
 Hey,

 I’m currently helping a friend who plans on creating an swf/swc file that
 will in turn run pdf2swf in it.
 Unfortunately, the exact purpose of doing that wasn’t provided to me and I
 can only assume that he plans on doing a web applet that will use pdf2swf.
 The version of swftools being used is the latest git from github (
 https://github.com/matthiaskramm/swftools )
 Crossbridge will be used in Windows under Cygwin hence I will be attempting
 to compile swftools under the same.

I assume from the above, that you/he anticipate executing pdf2swf under Windows,
server-side?  if so, maybe you would be wise to initially test out the
pdf2swf pre-
built executable, available from the development build,

   http://swftools.org/swftools-2013-04-09-1007.exe

As far as I am aware, the last Git build dd not compile cleanly, so
it's highly likely
you will have serious issues to resolve.  By all means re-post to this
list, your
findings, should you attempt it.

As for compilation using Crossbridge under Cygwin?  Well to me that seems like
a very arduous and tortuous way of achieving the desired result!  I'm
not familiar
with Crossbridge, but a quick scan of the details doesn't provide any clue as to
the proposed benefits to be got from compiling pdf2swf in this way.  How do you
see it?   Again, if you are adamant on trying it this way, feel free to post any
trials and tribulations to this list, so we can try to assist, and
others can benefit
from your experiences.

The SWFTools project itself, is in a state of indecisive flux at
present.  Further
development has temporarily ceased, and no bug fixing of the last releases
is planned.  The documentation wiki is currently in mothballs also ( though
being worked on )

All I can say is keep watching this space..

Regards,



Chris,

---
SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend an 
existing subscription, please kindly point your favourite web browser 
at:http://lists.nongnu.org/mailman/listinfo/swftools-common
---
SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend an 
existing subscription, please kindly point your favourite web browser 
at:http://lists.nongnu.org/mailman/listinfo/swftools-common

Re: [Swftools-common] Standalone version of pdf2swf

2015-01-30 Thread RDP
On 27 January 2015 at 23:31,  arjunrathe...@gmail.com wrote:
 Hey,

 I’m currently helping a friend who plans on creating an swf/swc file that
 will in turn run pdf2swf in it.
 Unfortunately, the exact purpose of doing that wasn’t provided to me and I
 can only assume that he plans on doing a web applet that will use pdf2swf.
 The version of swftools being used is the latest git from github (
 https://github.com/matthiaskramm/swftools )
 Crossbridge will be used in Windows under Cygwin hence I will be attempting
 to compile swftools under the same.

I assume from the above, that you/he anticipate executing pdf2swf under Windows,
server-side?  if so, maybe you would be wise to initially test out the
pdf2swf pre-
built executable, available from the development build,

   http://swftools.org/swftools-2013-04-09-1007.exe

As far as I am aware, the last Git build dd not compile cleanly, so
it's highly likely
you will have serious issues to resolve.  By all means re-post to this
list, your
findings, should you attempt it.

As for compilation using Crossbridge under Cygwin?  Well to me that seems like
a very arduous and tortuous way of achieving the desired result!  I'm
not familiar
with Crossbridge, but a quick scan of the details doesn't provide any clue as to
the proposed benefits to be got from compiling pdf2swf in this way.  How do you
see it?   Again, if you are adamant on trying it this way, feel free to post any
trials and tribulations to this list, so we can try to assist, and
others can benefit
from your experiences.

The SWFTools project itself, is in a state of indecisive flux at
present.  Further
development has temporarily ceased, and no bug fixing of the last releases
is planned.  The documentation wiki is currently in mothballs also ( though
being worked on )

All I can say is keep watching this space..

Regards,



Chris,

---
SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend an 
existing subscription, please kindly point your favourite web browser 
at:http://lists.nongnu.org/mailman/listinfo/swftools-common

Re: [Swftools-common] Standalone version of pdf2swf

2015-01-26 Thread Steven G. Messervey


From: swftools-common-bounces+nuke48386=yahoo@nongnu.org 
[mailto:swftools-common-bounces+nuke48386=yahoo@nongnu.org] On Behalf Of 
Arjun Rathee
Sent: Monday, January 26, 2015 3:35 AM
To: Steven G. Messervey; swftools-common@nongnu.org
Subject: Re: [Swftools-common] Standalone version of pdf2swf

Hey, I should probably explain what i was trying.
My goal is to compile pdf2swf under an application named crossbridge.
So for that we had written an additional bunch of code and wanted to make sure 
that we have all the necessary files from the actual source in order to 
successfully compile the code.

On Sun, Jan 18, 2015 at 8:44 PM, Steven G. Messervey nuke48...@yahoo.com 
wrote:


From: swftools-common-bounces+nuke48386=yahoo@nongnu.org 
[mailto:swftools-common-bounces+nuke48386=yahoo@nongnu.org] On Behalf Of 
arjunrathe...@gmail.com
Sent: Sunday, January 18, 2015 6:27 PM
To: swftools-common@nongnu.org
Subject: [Swftools-common] Standalone version of pdf2swf

Hey,
Im trying to create a standalone version of pdf2swf and was coming up with 
errors when I attempt to compile the code without making any changes to it.

Compiling was done by: gcc pdf2swf.c pdf2pdf.c and also by compiling each of 
them individually
The error is attached with the mail



Sent from Windows Mail
---
Did you run the 'configure' script first?
I would be surprised if you did...

Also, pdf2swf and pdf2pdf are two distinct programs that cannot be compiled 
into the same executable,
because both define 'main', a program entry point.

The canonical way to make programs from source packages on linux is:

$ tar -C /path/to/output/directory -xzf somepackage.tar.gz
$ cd /path/to/output/directory/somepackage
$ ./configure
$ make

Run './configure --help' for a summary of options.

Additionally and optionally, you can become root using 'su', and then run 'make 
install'.

Hope this helps,
  Steve
---
As a side note, I decided to bottom-post this, I hope it doesn’t cause 
confusion

While what you are trying to accomplish is clearer, you still need to run the 
'configure'
script. It will generate make files and header files that will give you the 
information you
need to pass on to crossbridge. As to what options you need to pass to 
configure to help
crossbridge, I was unable to determine from what little searching I did of the 
crossbridge
documentation.

To sum up:
  Try to find out what options you can pass to configure that will make 
crossbridge happy
  Run 'configure'
  Check the generated makefile (for pdf2swf, it's in the 'src' subdirectory), 
to see what
pdf2swf requires in the way of provided libs (there are a few of them).
 Compile those libs with crossbridge, then compile pdf2swf and pdf2pdf.

If it would help, I would suggest unpacking the swftools sources into a 
secondary
directory, and running 'configure' on its own there, and inspecting the 
makefiles.

As to what options will help the generated headers and makefiles be usable under
crossbridge, I cannot say.

Hope this helps,
  Steve   


---
SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend an 
existing subscription, please kindly point your favourite web browser 
at:http://lists.nongnu.org/mailman/listinfo/swftools-common

Re: [Swftools-common] Standalone version of pdf2swf

2015-01-26 Thread Arjun Rathee
Hey, I should probably explain what i was trying.
My goal is to compile pdf2swf under an application named crossbridge.
So for that we had written an additional bunch of code and wanted to make
sure that we have all the necessary files from the actual source in order
to successfully compile the code.

On Sun, Jan 18, 2015 at 8:44 PM, Steven G. Messervey nuke48...@yahoo.com
wrote:



 From: swftools-common-bounces+nuke48386=yahoo@nongnu.org [mailto:
 swftools-common-bounces+nuke48386=yahoo@nongnu.org] On Behalf Of
 arjunrathe...@gmail.com
 Sent: Sunday, January 18, 2015 6:27 PM
 To: swftools-common@nongnu.org
 Subject: [Swftools-common] Standalone version of pdf2swf

 Hey,
 Im trying to create a standalone version of pdf2swf and was coming up with
 errors when I attempt to compile the code without making any changes to it.

 Compiling was done by: gcc pdf2swf.c pdf2pdf.c and also by compiling each
 of them individually
 The error is attached with the mail



 Sent from Windows Mail

 ---
 Did you run the 'configure' script first?
 I would be surprised if you did...

 Also, pdf2swf and pdf2pdf are two distinct programs that cannot be
 compiled into the same executable,
 because both define 'main', a program entry point.

 The canonical way to make programs from source packages on linux is:

 $ tar -C /path/to/output/directory -xzf somepackage.tar.gz
 $ cd /path/to/output/directory/somepackage
 $ ./configure
 $ make

 Run './configure --help' for a summary of options.

 Additionally and optionally, you can become root using 'su', and then run
 'make install'.

 Hope this helps,
   Steve


---
SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend an 
existing subscription, please kindly point your favourite web browser 
at:http://lists.nongnu.org/mailman/listinfo/swftools-common

Re: [Swftools-common] Standalone version of pdf2swf

2015-01-18 Thread Steven G. Messervey


From: swftools-common-bounces+nuke48386=yahoo@nongnu.org 
[mailto:swftools-common-bounces+nuke48386=yahoo@nongnu.org] On Behalf Of 
arjunrathe...@gmail.com
Sent: Sunday, January 18, 2015 6:27 PM
To: swftools-common@nongnu.org
Subject: [Swftools-common] Standalone version of pdf2swf

Hey,
Im trying to create a standalone version of pdf2swf and was coming up with 
errors when I attempt to compile the code without making any changes to it.

Compiling was done by: gcc pdf2swf.c pdf2pdf.c and also by compiling each of 
them individually
The error is attached with the mail



Sent from Windows Mail
---
Did you run the 'configure' script first?
I would be surprised if you did...

Also, pdf2swf and pdf2pdf are two distinct programs that cannot be compiled 
into the same executable,
because both define 'main', a program entry point.

The canonical way to make programs from source packages on linux is:

$ tar -C /path/to/output/directory -xzf somepackage.tar.gz
$ cd /path/to/output/directory/somepackage
$ ./configure
$ make

Run './configure --help' for a summary of options.

Additionally and optionally, you can become root using 'su', and then run 'make 
install'.

Hope this helps,
  Steve 


---
SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend an 
existing subscription, please kindly point your favourite web browser 
at:http://lists.nongnu.org/mailman/listinfo/swftools-common