English

Publishing Fairphone-specific apps (Launcher, Contact Widget...) on F-Droid

wearefairphone
features
f-droid
Tags: #<Tag:0x00007fefc939e138> #<Tag:0x00007fefc939ddc8> #<Tag:0x00007fefc939d8a0>

#1

This is a #wiki post, feel free to edit it clicking on the green :pencil2: above

Fairphone-specific apps are Free Software under Apache License 2.0 and have been migrated to the community-managed WeAreFairphone organization at GitHub.

Work has been done to publish them on F-Droid and making them compatible with Android 6 and forward.

Team: @jnsp, @Rudloff, @z3ntu and @Roboe (two latters are managers of the WeAreFairphone organization at GitHub)

Progress is as follows:

Fairphone First Edition Launcher

Fairphone 2 Launcher

Fairphone Recent Contacts Widget

Fairphone Clock Widget

Fairphone MyApps Widget (standalone version)

Original post by @jnsp

Hi,

I would like to submit the Fairphone specific apps such as the Fairphone Launcher, Contact Widget and the Clock Widget) to F-Droid so that these features can be used on Android 6 as well.

The source code is accessible from code.fairphone.com (e.g. git clone https://code.fairphone.com/gerrit/fp2-dev/platform/packages/apps/FairphoneLauncher3). However, it is unclear to me under which license those apps are.

I have some questions before I continue with my efforts:

  • Does Fairphone intend to publish the apps themselves or should the community publish them on F-Droid?
  • Where should further development take place? Can the community open merge requests on code.fairphone.com or should the code be moved to a community run repository such as github.com/WeAreFairphone?

Fairphone Community F-Droid Repo
Bring FP-Edge Swipe Menu to FP2@Android 6?
Fairphone-Counter is gone after update to Android 6.0
Android 6.0: Recent/Most Used Widget, Contacts
Home screen defaults to first instead of center screen since Android 6?
My Fairphone for how long?
Widget "Your apps"
"My Contacts" widget won't update, won't uninstall
:pencil2: #wearefairphone Community Projects
No more option for restart and switch silent mode?
Fairphone Launcher 3 on Lineage
Installed Fairphone Open 17.06.4 and only got a Home panel
Installed Fairphone Open 17.06.4 and only got a Home panel
Remove icons ("hotseat"?) at the bottom of the screen
:fr: :uk: You had peace of mind x minutes / Votre fairphone depuis x années
Deleted "recent apps"-panel
Default home screen and power button shortcuts
Fairphone OS 17.07.6 (Android 6.0)
:de: PC erkennt fp2 nicht
Lock screen widget disparition with Android 6
Unable to install Fairphone OS
FP (Open) OS Feature Requests, Marshmallow Style
Fairphone Community F-Droid Repo
:gb: :de: Missed features from FP 1
Fairphone Open 17.06.4 (Android 6.0) release
Will LineageOS be officially supported?
Unable to connect my Fairphone 2 to my computer
Android 7 Nougat + 8 Oreo: Home screens / Launchers
How long i had my Fairphone missing
Fairphone Launcher in F-Droid
How to hide certain objects in the FP2 menu?
#2

Since Fairphone does not intend to further develop and maintain those apps, I think it would be best if they would be put under the WeAreFairphone-umbrella. What do you think @roboe @Arvil ?


#3

I’ve setup a new team at the organization and mirrored the launcher, clock widget and contact widget repos, :wink:

Here they are:

(Fairphone repositories are out-of-date. These repos correspond to FP2 Open 17.01.0, see git tags)

Should anyone want to join to maintain those repos, just ask! :slight_smile:


#4

Great, thank you @Roboe!

Now we need to know under which license theese apps are published by Fairphone. The Launcher seems to be Apache, although this is not 100% clear.

It would be great if Fairphone officials could give us a clear statement under which license the source code for these apps is distributed. Otherwhise F-Droid won’t accept the apps :wink:


Free Software or Open Source? (or...)
#5

Hey all, this is on our to-do list. @Teemu_Hukkanen will update the licensing later. For now; all Fairphone made software is always under Apache v2 license unless we explicitly mention another license.

EDIT: The missing licenses have now been added:

https://code.fairphone.com/gerrit/gitweb?p=fp2-dev/platform/packages/apps/MyContactsWidget.git;a=blob;f=LICENSE.txt;h=1e4b2c051ea797c340db011b8a448083883566a0;hb=refs/heads/fp2-sibon


#6

GitHub repos updated! Thank you! :wink:

Ok, but I’m afraid legal things don’t work like that… I think it is Fairphone who should put the license, we cannot do it in its name (without refering to a source of yours). You can maybe put that sentence on https://code.fairphone.com? Anyway, we’ll reach any of you if we spot any missing license in the future, :smiley:


#7

Yeah I know it legally doesn’t work like that, but I wanted to give you heads-up on the licensing until we’ve got them all in place again.

But for now we seem to have covered all and everything.


#8

Thank you for adding the licenses, I’ll add the apps to the F-Droid submission queue today.

EDIT: Alright, I have added the apps to the submission queue. Let’s see how that goes, maybe we have to make some modifications to the source code.

EDIT 2: The contact widget was added, if the build completes, it might take a few more days to be available on F-Droid. The launcher and the clock widget need some modifications (we need to pull some jar files from maven, instead of shipping them in binary form). We should be able to get this done in a few days.

EDIT 3: I have made the necessary modifications to the source code, looks good so far! If everything goes as expected, we might see the apps by the end of the week in F-Droid.


#9

Dear all, could the Recently Used / Most Used widget be added to that list? Thanks so much, this was really useful.


#10

This widget is part of the Fairphone Launcher.


#11

I too was hoping that soon the FP widgets finally be standalone apps, so that other launchers can use those widgets too.


#12

We might be able to build something like that in the future, however it is not that easy, since those widgets are deeply coupled with the launcher.


#13

Well if and when you start working on it and need some donations or beta testers, count on me. :slight_smile:


Developing a standalone version of the MyApps widget
#14

My Contacts is now available! :slight_smile:


#15

Would be great, if someone could come up with new icons! :smiley:


#16

How about:

:wink:


#17

Installed “my contacts” but can’t find it in the widgets list?! It should be there, right?


#18

Same for me, can’t find it in the Widgets list after installing version 1.02. Reboot didn’t help either.


#19

Woops, I can reproduce this on a Moto G, Lineage OS 14.1 (Android 7.0), yup


#20

I cannot reproduce this with my LineageOS 13 tablet, after installing the widget from F-Droid it is available with it’s localized name under widgets. The app version is “2.0” for me.

Edit: I have conducted some research and updated the widget. Could you test this version (after uninstalling the F-Droid version)?
I have added android:installLocation="internalOnly" in AndroidManifest.xml and android:minResizeHeight="212dp" in people_widget_info.xml.