Ignore:
Timestamp:
Dec 21, 2021, 5:16:41 PM (2 years ago)
Author:
chronos
Message:
  • Fixed: Settings option to load previously opened file wasn't working for disabled state.
  • Fixed: Disable Find action if no file is opened.
  • Modified: Move fields initialization method to TContact class and made it static so it is initialized only once.
  • Added: Allow to set default vCard version in settings dialog.
  • Modified: Add GTK2 theming support to snap package.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Install/snap/snapcraft.yaml

    r79 r82  
    4242      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
    4343      install -m 755 Images/vCard\ Studio.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
     44    after:
     45      - desktop-gtk2
    4446    stage:
    4547      - etc
     
    8284      - libxrender1
    8385
     86  desktop-gtk2:
     87    source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
     88    source-subdir: gtk
     89    plugin: make
     90    make-parameters: ["FLAVOR=gtk2"]
     91    build-packages:
     92      - build-essential
     93      - libgtk2.0-dev
     94    stage-packages:
     95      - libxkbcommon0  # XKB_CONFIG_ROOT
     96      - ttf-ubuntu-font-family
     97      - dmz-cursor-theme
     98      - light-themes
     99      - adwaita-icon-theme
     100      - gnome-themes-standard
     101      - shared-mime-info
     102      - libgtk2.0-0
     103      - libgdk-pixbuf2.0-0
     104      - libglib2.0-bin
     105      - libgtk2.0-bin
     106      - unity-gtk2-module
     107      - locales-all
     108      - libappindicator1
     109      - xdg-user-dirs
     110      - ibus-gtk
     111      - libibus-1.0-5
     112     
     113# additional plugs to pick up the GTK theme and icons from the system
     114plugs:
     115  icon-themes:
     116    interface: content
     117    target: $SNAP/data-dir/icons
     118    default-provider: gtk-common-themes
     119  sound-themes:
     120    interface: content
     121    target: $SNAP/data-dir/sounds
     122    default-provider: gtk-common-themes
     123  gtk-2-engines:
     124    interface: content
     125    target: $SNAP/lib/gtk-2.0
     126    default-provider: gtk2-common-themes:gtk-2-engines
     127  gtk-2-themes:
     128    interface: content
     129    target: $SNAP/usr/share/themes
     130    default-provider: gtk2-common-themes:gtk-2-themes
     131
     132environment:
     133  XDG_DATA_DIRS: $SNAP/usr/share:$XDG_DATA_DIRS
     134  GTK_PATH: $SNAP/lib/gtk-2.0
     135 
    84136apps:
    85137  vcard-studio:
    86138    command: usr/bin/vCardStudio
     139    command-chain:
     140      - bin/desktop-launch
    87141    desktop: usr/share/applications/vCardStudio.desktop   
    88142    plugs:
Note: See TracChangeset for help on using the changeset viewer.