# Help to make opensource repository

**URL:** <https://discourse.processing.org/t/help-to-make-opensource-repository/21716>\
**Category:** Processing for Android\
**Created:** [June 9, 2020, 7:55pm UTC](https://discourse.processing.org/t/help-to-make-opensource-repository/21716 "2020-06-09T19:55:49Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoseMY](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josemy/32/2016_2.png) [@JoseMY](https://discourse.processing.org/u/JoseMY)\
**Post date:** [June 9, 2020, 7:55pm UTC](https://discourse.processing.org/t/help-to-make-opensource-repository/21716/1 "2020-06-09T19:55:49Z")

</div>

Hi!  
Please excuse my horrible English.

One year ago I tried to submit one of my processing for android apps to F-Droid, but it was rejected because I used precompiled libraries. I was asked to add references to maven versions of the libraries.

I have no experience in .gradle and similar tools, so I don’t have a clear idea on how to add the core processing library (and its dependencies) to my project. Also, I think there are no maven compilings of Ketai, which is the photographic library I’m used to.

I am interested in adding maven references to these two gits:

> **[jgmy/caleidoscopio-JG](https://github.com/jgmy/caleidoscopio-JG)**
>
> A camera kaleidoscope made with processing. Contribute to jgmy/caleidoscopio-JG development by creating an account on GitHub.

  

> **[jgmy/daltonaid](https://github.com/jgmy/daltonaid)**
>
> A realtime camera filter to aid colorblind people like me distinguish red from black and pink/magenta from blue. - jgmy/daltonaid

It doesn’t matter if you want me to add you as developer, of if someone implements this as a fork of my project. I just want to give these apps to people without google play store.  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)\
**Post date:** [June 9, 2020, 10:45pm UTC](https://discourse.processing.org/t/help-to-make-opensource-repository/21716/2 "2020-06-09T22:45:09Z")

</div>

Why don´t you just use the specific java files you need of the ketai lib directly in your code without importing?

---

<div class="post-metadata">

**Author:** ![JoseMY](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josemy/32/2016_2.png) [@JoseMY](https://discourse.processing.org/u/JoseMY)\
**Post date:** [June 9, 2020, 11:22pm UTC](https://discourse.processing.org/t/help-to-make-opensource-repository/21716/3 "2020-06-09T23:22:29Z")

</div>

I don’t know wich specific java files from ketai do I need. And ketai has its own dependencies, also.

---

<div class="post-metadata">

**Author:** ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)\
**Post date:** [June 10, 2020, 7:15am UTC](https://discourse.processing.org/t/help-to-make-opensource-repository/21716/4 "2020-06-10T07:15:23Z")

</div>

> [@JoseMY](#):
>
> And ketai has its own dependencies, also.

I don’t see any import/dependency that would trigger a restriction on Play Store with the [KetaiCamera.java](https://github.com/MeULEDs/library/blob/master/src/ketai/camera/KetaiCamera.java) file.  
Their main concern is the violation of their user data policy regarding ‘Personal and Sensitive Information’. Since you are not using face detection, you could leave out any text related to this.  
I also would try to export to the Play Store directly from the APDE app, instead of using scripts as you did. I’ve tested both apps, and they work fine on my devices. I find them really nice and interesting, so I think it’s worth it to try again to upload them to the store because I’m afraid that distributing them on this forum has a very limited range.

Edit: Sorry, I only now noticed that you referred to F-droid. But nevertheless, you could try it this way.

---

<div class="post-metadata">

**Author:** ![JoseMY](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josemy/32/2016_2.png) [@JoseMY](https://discourse.processing.org/u/JoseMY)\
**Post date:** [June 10, 2020, 12:45pm UTC](https://discourse.processing.org/t/help-to-make-opensource-repository/21716/5 "2020-06-10T12:45:15Z")

</div>

Hi, Noel,

I don’t have any problem to publish in Google’s Play Store. My app is in Google Play, indeed.

But I want to publish in F-droid, an open source market that does not allow including compiled (jar) libraries.

F-droid is specifically useful to support phones orphaned by Google Play (old android versions, modified android codebases, and so on).

Yours,  
José G.

---

<div class="post-metadata">

**Author:** ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)\
**Post date:** [June 10, 2020, 12:53pm UTC](https://discourse.processing.org/t/help-to-make-opensource-repository/21716/6 "2020-06-10T12:53:47Z")

</div>

> [@JoseMY](#):
>
> F-droid, an open source market that does not allow including compiled (jar) libraries

So why don’t you use the ketai file like I suggested? Or is it also Processing’s core lib that isn’t allowed?

---

<div class="post-metadata">

**Author:** ![JoseMY](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josemy/32/2016_2.png) [@JoseMY](https://discourse.processing.org/u/JoseMY)\
**Post date:** [June 10, 2020, 1:33pm UTC](https://discourse.processing.org/t/help-to-make-opensource-repository/21716/7 "2020-06-10T13:33:16Z")

</div>

Hi!

I think I should include all the files from ketai, but also three libraries required by it. The good thing is all three libraries are in maven. The bad part is ketai is compiled using eclipse, and I don’t know how to merge an eclipse-style library such as ketai with my gradle-style project.

You know, the main problem is I know how to code small programs, but I have a limited experience in build chain systems such as make, gradle and so on.

Also, I have limited experience in Git. I know I could use Git subprojects, but I think I would need to fork the library to do so.

Yours, José.

---

<div class="post-metadata">

**Author:** ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)\
**Post date:** [June 10, 2020, 1:39pm UTC](https://discourse.processing.org/t/help-to-make-opensource-repository/21716/8 "2020-06-10T13:39:37Z")

</div>

> [@JoseMY](#):
>
> I think I should include all the files from ketai, but also three libraries required by it.

I don’t understand why you think so. Only the file I linked above is enough. Or you could write your own camera access code.
