We are about to switch to a new forum software. Until then we have removed the registration on this forum.
What is the formal procedure for uploading a library for Processing? I have the .jar file and source ready, I also have the library.properties file ready. I only know the usage of GitHub so far and have uploaded my library to GitHub. Thanks!
Link to my library- Timing Utilities.
I'm hoping that there is some way of getting the library to be featured on Processing's website's libraries page.
Answers
If you have followed the instructions on github you will have a jar file and a txt file. The text file is important because it is your library properties file and the contribution manager needs this to identify library versions and compatibility with Processing versions. Both of these files have to be stored in a stable URL , they are not uploaded to Processing but are accessed by PS when installing your library. Then send a PM with the stable URLs for these 2 files to prisonerjohn who will do the rest. If there is a problem he will let you know what you need to do to fix it. This might take a week or so depending on his workload /availability.
Once approved your library will appear on the PS website and you simply overwrite the 2 files when you have a new version.
@quark Thanks! Will urls on GitHub work?
I don't know. For instance the files for G4P are
G4P.zip
andG4P.txt
and the URL ishttp://lagers.org.uk/processing3/
the URL and the filenames must not change even if you create an updated version of your library. When you type of the full URL for the zip file it should download. If github meets these requirements then it should be OK. You might be able to use Dropbox but ask prisonerjohn@quark Can you please try this link and see if it downloads - https://github.com/Lord-of-the-Galaxy/Timing-Utilities/raw/master/timing_utils.zip
Thanks in advance!
One more question, you mean the library.properties file by saying "a txt file"? Because that's what I think.
That would mean I need to add a timing_utils.txt file also, with the same content as the library.properties file.
Forget my second question - I found the answer, it was as I thought.
OK, I have the files. Please check-
https://raw.githubusercontent.com/Lord-of-the-Galaxy/Timing-Utilities/master/timing_utils.txt
https://raw.githubusercontent.com/Lord-of-the-Galaxy/Timing-Utilities/master/timing_utils.zip
It works for me.
@Lord_of_the_Galaxy
When I click in you first link, it request to download the zip file. The second link is displayed in Firefox as a text file. So base on quarks notes, it works as required.
Kf
OK, thanks. I'll try sending a PM to prisonerjohn to get it publish. Maybe in a week it will be online.
@quark There is just a tiny problem. The last time @prisonerjohn was active was way back in September 2015, and new libraries have been added to the list even after that. Do you think that the person who manages libraries may have changed?
EDIT: I'm not entirely sure if new libraries have been added since then, but it seems unlikely that nothing was added in over a year.
AFAIK it is the same person. He rarely comes on the forum but will get a notification of getting a PM and will probably contact you via email.
Ok, I'll send him my email also then.
Actually, the method was detailed here - https://forum.processing.org/two/discussion/12789/add-your-library-to-the-list#latest.
So I guess this thread can be closed now.