Skip to content

Updating packagekit to v1.4.0 #10

Description

Hello Please review this if it work even though It work on mine and I test it the app works fine.

I got some problem with flatpak builder like clock synchronization and jansson but it got resolved Now if this is fine review it so you can update it or I can Open a PR?

And please remove - '--device=dri' why does the app need this? even though am not happy with the apps overall security.

This is what change? io.github.elly_code.unboxing.devel.yml

id: io.github.elly_code.unboxing.devel
runtime: io.elementary.Platform
runtime-version: '8'
sdk: io.elementary.Sdk
command: io.github.elly_code.unboxing.devel

tags: ['devel']
desktop-file-name-suffix: ' (Development)'

finish-args:

  • '--socket=wayland'
  • '--socket=fallback-x11'
  • '--share=ipc'
  • '--device=dri'

modules:

  • name: jansson
    buildsystem: cmake-ninja
    sources:

  • name: packagekit-glib2
    buildsystem: meson
    sources:

    • type: archive
      url: https://github.com/PackageKit/PackageKit/archive/refs/tags/v1.4.0.tar.gz
      dest-filename: v1.4.0.tar.gz
      sha256: 8a1acd00caae752d5f3165ed821f3f683d80ed2190d62dc11d1196b9b8070f5f
      config-opts:
    • --buildtype=debug
    • -Dsystemd=false
    • -Doffline_update=false
    • -Dman_pages=false
    • -Dpython_backend=false
    • -Dbash_completion=false
    • -Dbash_command_not_found=false
    • -Dgtk_module=false
  • name: unboxing

same this changed on the io.github.elly_code.unboxing.yml

app-id: io.github.elly_code.unboxing
runtime: io.elementary.Platform
runtime-version: '8'
sdk: io.elementary.Sdk
command: io.github.elly_code.unboxing

finish-args:

  • --device=dri
  • --share=ipc
  • --socket=fallback-x11
  • --socket=wayland

Required to install packages

  • --socket=system-bus
  • --talk-name=org.freedesktop.PackageKit

Required to install dependencies

  • --share=network

Required to detect packages in Download, or drag&drop from there

  • --filesystem=xdg-download

cleanup:

  • '/include'
  • '/lib/pkgconfig'
  • '/man'
  • '/share/doc'
  • '/share/gtk-doc'
  • '/share/man'
  • '/share/pkgconfig'
  • '/share/installed-tests'
  • '*.la'
  • '*.a'

modules:

  • name: jansson
    buildsystem: cmake-ninja
    sources:

  • name: packagekit-glib2
    buildsystem: meson
    sources:

    • type: archive
      url: https://github.com/PackageKit/PackageKit/archive/refs/tags/v1.4.0.tar.gz
      dest-filename: v1.4.0.tar.gz
      sha256: 8a1acd00caae752d5f3165ed821f3f683d80ed2190d62dc11d1196b9b8070f5f
      config-opts:
    • --buildtype=debug
    • -Dsystemd=false
    • -Doffline_update=false
    • -Dman_pages=false
    • -Dpython_backend=false
    • -Dbash_completion=false
    • -Dbash_command_not_found=false
    • -Dgtk_module=false
  • name: unboxing
    buildsystem: meson
    config-opts:

    • --buildtype=debug
      sources:
    • type: dir
      path: .

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions