WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Creating Delta_Chat.tcz  (Read 851 times)

Offline Sasha

  • Wiki Author
  • Newbie
  • *****
  • Posts: 10
Creating Delta_Chat.tcz
« on: August 28, 2024, 08:22:54 AM »
Good evening!  (In advance, I apologize for my English.) I want to install Delta Chat is a messaging app. APPS doesn't have it. So I need to create the extension myself. I understood correctly that I first need to download the sources, for example from here: Snap-Source: links://github.com/nbuechner/deltachat-snap And then put it in the home/deltachat directory and compile. Another question is which chapter of the book "Into the Core A look at Tiny Core Linux" Lauri Kasanen et al should do this?:
  • -14. Creating a personal (data) extension or
  • -15. Creating an extension

Offline gadget42

  • Hero Member
  • *****
  • Posts: 826
Re: Creating Delta_Chat.tcz
« Reply #1 on: August 28, 2024, 08:46:29 AM »
is this the "delta chat" you are referring to?

https://f-droid.org/packages/com.b44t.messenger/

naturally f-droid is for android but i like reading their descriptions
(especially all the different permissions, scary!)


Quote
Permissions

    access location in the background
    This app can access location at any time, even while the app is not in use.
    access approximate location only in the foreground
    This app can get your approximate location from location services while the app is in use. Location services for your device must be turned on for the app to get location.
    access precise location only in the foreground
    This app can get your precise location from location services while the app is in use. Location services for your device must be turned on for the app to get location. This may increase battery usage.
    view network connections
    Allows the app to view information about network connections such as which networks exist and are connected.
    view Wi-Fi connections
    Allows the app to view information about Wi-Fi networking, such as whether Wi-Fi is enabled and name of connected Wi-Fi devices.
    take pictures and videos
    This app can take pictures and record videos using the camera while the app is in use.
    run foreground service
    Allows the app to make use of foreground services.
    android.permission.INSTALL_SHORTCUT
    have full network access
    Allows the app to create network sockets and use custom network protocols. The browser and other applications provide means to send data to the internet, so this permission is not required to send data to the internet.
    change your audio settings
    Allows the app to modify global audio settings such as volume and which speaker is used for output.
    show notifications
    Allows the app to show notifications
    android.permission.RAISED_THREAD_PRIORITY
    android.permission.READ_APP_BADGE
    read your contacts
    Allows the app to read data about your contacts stored on your phone. Apps will also have access to the accounts on your phone that have created contacts. This may include accounts created by apps you have installed. This permission allows apps to save your contact data, and malicious apps may share contact data without your knowledge.
    read the contents of your shared storage
    Allows the app to read the contents of your shared storage.
    (12L)
    read image files from shared storage
    Allows the app to read image files from your shared storage.
    read video files from shared storage
    Allows the app to read video files from your shared storage.
    run at startup
    Allows the app to have itself started as soon as the system has finished booting. This can make it take longer to start the phone and allow the app to slow down the overall phone by always running.
    record audio
    This app can record audio using the microphone while the app is in use.
    ask to ignore battery optimizations
    Allows an app to ask for permission to ignore battery optimizations for that app.
    request install packages
    Allows an application to request installation of packages.
    control vibration
    Allows the app to control the vibrator.
    prevent phone from sleeping
    Allows the app to prevent the phone from going to sleep.
    modify or delete the contents of your shared storage
    Allows the app to write the contents of your shared storage.
    (10)
    com.anddoes.launcher.permission.UPDATE_COUNT
    install shortcuts
    Allows an application to add Homescreen shortcuts without user intervention.
    com.b44t.messenger.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION
    com.htc.launcher.permission.READ_SETTINGS
    com.htc.launcher.permission.UPDATE_SHORTCUT
    com.huawei.android.launcher.permission.CHANGE_BADGE
    com.huawei.android.launcher.permission.READ_SETTINGS
    com.huawei.android.launcher.permission.WRITE_SETTINGS
    com.majeur.launcher.permission.UPDATE_BADGE
    com.oppo.launcher.permission.READ_SETTINGS
    com.oppo.launcher.permission.WRITE_SETTINGS
    com.sec.android.provider.badge.permission.READ
    com.sec.android.provider.badge.permission.WRITE
    com.sonyericsson.home.permission.BROADCAST_BADGE
    com.sonymobile.home.permission.PROVIDER_INSERT_BADGE
    me.everything.badger.permission.BADGE_COUNT_READ
    me.everything.badger.permission.BADGE_COUNT_WRITE
The fluctuation theorem has long been known for a sudden switch of the Hamiltonian of a classical system Z54 . For a quantum system with a Hamiltonian changing from... https://forum.tinycorelinux.net/index.php/topic,25972.msg166580.html#msg166580

Offline gadget42

  • Hero Member
  • *****
  • Posts: 826
The fluctuation theorem has long been known for a sudden switch of the Hamiltonian of a classical system Z54 . For a quantum system with a Hamiltonian changing from... https://forum.tinycorelinux.net/index.php/topic,25972.msg166580.html#msg166580

Offline Sasha

  • Wiki Author
  • Newbie
  • *****
  • Posts: 10
Re: Creating Delta_Chat.tcz
« Reply #3 on: August 28, 2024, 09:56:07 AM »
Yes, this is the messenger that I wrote about above. Here is the desktop version on linux: links://github.com/deltachat/deltachat-desktop I downloaded the archive deltachat-desktop-main.zip. Do I have to compile deltachat.tcz for chapter 14 or 15 of the book?
« Last Edit: August 28, 2024, 10:25:30 AM by Sasha »

Offline Leee

  • Full Member
  • ***
  • Posts: 122
Re: Creating Delta_Chat.tcz
« Reply #4 on: August 28, 2024, 03:02:13 PM »
You want chapter 15.
Chapter 14 is about building an extension with (static) data files, which keeps them out of your backup.
Chapter 15 is about building an application extension (like delta_chat).
core 15.0 x86_64

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11705
Re: Creating Delta_Chat.tcz
« Reply #5 on: August 28, 2024, 03:56:01 PM »
Hi Sasha
My best guess is it needs to be compiled. I think it's all
JavaScript.

According to the  From Source  instructions in your link, you
will need the  npm  command. Depending on version and
architecture, you will ether have to install  npm.tcz  or
node.tcz. It seems they were once separate but now are not.
Try installing  npm  first. If it fails, install  node.

unzip the archive. Then (from the  From Source  instructions):
Code: [Select]
cd deltachat-desktop-main
npm install
npm run build
npm start

I can't tell you what happens after that.

Offline Sasha

  • Wiki Author
  • Newbie
  • *****
  • Posts: 10
Re: Creating Delta_Chat.tcz
« Reply #6 on: August 29, 2024, 09:57:01 AM »
Rich, did I understand you correctly?
- to compile in CorePure64 you need to install node.tcz;
- to compile in CorePlus you need to install npm.tcz;

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11705
Re: Creating Delta_Chat.tcz
« Reply #7 on: August 29, 2024, 10:34:42 AM »
Hi Sasha
No, what I said was the  npm  command used to be in npm.tcz.
npm.tcz had a dependency of node.tcz.

In TC15 32 and 64 bit npm is part of node.tcz and npm.tcz no
longer exists.

Since I don't know when the packaging changed or what version
of TC you are running, the instructions I gave should work for
both cases:
... Try installing  npm  first. If it fails, install  node. ...

Offline Sasha

  • Wiki Author
  • Newbie
  • *****
  • Posts: 10
Re: Creating Delta_Chat.tcz
« Reply #8 on: August 31, 2024, 07:28:38 AM »
Rich, Leee, thank you so much for your help! I wouldn't have figured it out without you.