Changeset 217 for tags


Ignore:
Timestamp:
Jan 21, 2022, 10:44:06 PM (3 years ago)
Author:
chronos
Message:
  • Modified: Updated snapcraft file.
Location:
tags/1.6.0/Install
Files:
3 added
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • tags/1.6.0/Install/deb/debian/rules

    r197 r217  
    1717        install -s -m 755 AcronymDecoder $(ROOT)/usr/bin
    1818        install -d -m 755 $(ROOT)/usr/share/AcronymDecoder/languages
    19         install -m 755 Languages/AcronymDecoder.po $(ROOT)/usr/share/AcronymDecoder/languages
    20         install -m 755 Languages/AcronymDecoder.cs.po $(ROOT)/usr/share/AcronymDecoder/languages
    21         install -m 755 Languages/UJobProgressView.po $(ROOT)/usr/share/AcronymDecoder/languages
    22         install -m 755 Languages/UJobProgressView.cs.po $(ROOT)/usr/share/AcronymDecoder/languages
     19        install -m 644 Languages/AcronymDecoder.pot $(ROOT)/usr/share/AcronymDecoder/languages
     20        install -m 644 Languages/AcronymDecoder.cs.po $(ROOT)/usr/share/AcronymDecoder/languages
    2321        install -d -m 755 $(ROOT)/usr/share/AcronymDecoder/Examples
    2422        @install -D -m 644 Examples/* $(ROOT)/usr/share/AcronymDecoder/Examples || true
     23        install -d -m 755 $(ROOT)/usr/share/mime/packages
     24        install -m 644 Install/shared/acronym-decoder.xml $(ROOT)/usr/share/mime/packages
    2525        install -d -m 755 $(ROOT)/usr/share/applications
    26         install -m 755 Install/deb/AcronymDecoder.desktop $(ROOT)/usr/share/applications
     26        install -m 755 Install/shared/AcronymDecoder.desktop $(ROOT)/usr/share/applications
    2727        install -d -m 755 $(ROOT)/usr/share/pixmaps
    28         install -m 755 Images/AcronymDecoder.png $(ROOT)/usr/share/pixmaps
     28        install -m 644 Images/AcronymDecoder.png $(ROOT)/usr/share/pixmaps
     29        install -m 644 Images/AcronymDecoder.png $(ROOT)/usr/share/pixmaps/application-adp.png
    2930
    3031%:
  • tags/1.6.0/Install/snap/snapcraft.yaml

    r208 r217  
    44summary: A simple tool for quick searching of acronyms and abbreviations meaning.
    55description: |
    6   A tool for quick searching of acronym or abbreviation meaning.
    7 
    8   Features:
    9   * Add, Edit, Remove acronyms
    10   * Import acronym from online sources with defined parsing rules
    11   * Export to various formats
    12   * Support acronym groups
     6  A tool for quick searching of acronym or abbreviation meanings.
     7 
     8  **Features:**
     9  * Acronym database management
     10  * Quick searching by acronym name, meaning or category. Exact or partial match.
     11  * Acronym categories
     12  * Database stored as project file in open XML format
     13  * Configurable import from external web pages (http, https) with custom text parsing rules
     14  * Support for import from MS Access database file
     15  * Localized interface (English, Czech)
     16  * Allows minimization to system tray
     17  * Document check for acronyms occurrence, definitions and summary section
    1318confinement: strict
    1419base: core20
     
    2227    source: .
    2328    source-type: local
    24     build-packages: 
     29    build-packages:
    2530    - fpc
    2631    - lazarus
     
    3035      snapcraftctl build
    3136      lazbuild --build-mode=Release AcronymDecoder.lpi
    32       ROOT=/root/parts/acronym-decoder/install
    33       install -d -m 755 $ROOT/usr/bin
    34       install -s -m 755 AcronymDecoder $ROOT/usr/bin/AcronymDecoder
    35       install -d -m 755 $ROOT/usr/share/AcronymDecoder/Languages
    36       install -m 755 Languages/AcronymDecoder.po $ROOT/usr/share/AcronymDecoder/Languages
    37       install -m 755 Languages/AcronymDecoder.cs.po $ROOT/usr/share/AcronymDecoder/Languages
    38       install -m 755 Packages/Common/Languages/UFormAbout.po $ROOT/usr/share/AcronymDecoder/Languages
    39       install -m 755 Packages/Common/Languages/UFormAbout.cs.po $ROOT/usr/share/AcronymDecoder/Languages
    40       install -d -m 755 $ROOT/usr/share/applications
    41       install -m 755 Install/snap/local/AcronymDecoder.desktop $ROOT/usr/share/applications
    42       install -d -m 755 $ROOT/usr/share/pixmaps
    43       install -m 755 Images/AcronymDecoder.png $ROOT/usr/share/pixmaps
    44       cp -r Examples $ROOT/usr/share/AcronymDecoder
     37      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/bin
     38      install -s -m 755 AcronymDecoder $SNAPCRAFT_PART_INSTALL/usr/bin/AcronymDecoder
     39      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/AcronymDecoder/Languages
     40      install -m 644 Languages/AcronymDecoder.po $SNAPCRAFT_PART_INSTALL/usr/share/AcronymDecoder/Languages
     41      install -m 644 Languages/AcronymDecoder.cs.po $SNAPCRAFT_PART_INSTALL/usr/share/AcronymDecoder/Languages
     42      install -m 644 Packages/Common/Languages/UJobProgressView.po $SNAPCRAFT_PART_INSTALL/usr/share/AcronymDecoder/Languages
     43      install -m 644 Packages/Common/Languages/UJobProgressView.cs.po $SNAPCRAFT_PART_INSTALL/usr/share/AcronymDecoder/Languages
     44      install -m 644 Packages/Common/Languages/UFormAbout.po $SNAPCRAFT_PART_INSTALL/usr/share/AcronymDecoder/Languages
     45      install -m 644 Packages/Common/Languages/UFormAbout.cs.po $SNAPCRAFT_PART_INSTALL/usr/share/AcronymDecoder/Languages
     46      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/mime/packages
     47      install -m 644 Install/shared/acronym-decoder.xml $SNAPCRAFT_PART_INSTALL/usr/share/mime/packages
     48      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/applications
     49      install -m 755 Install/shared/AcronymDecoder.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications
     50      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
     51      install -m 644 Images/AcronymDecoder.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
     52      install -m 644 Images/AcronymDecoder.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/application-adp.png
     53      cp -r Examples $SNAPCRAFT_PART_INSTALL/usr/share/AcronymDecoder
     54    after:
     55    - desktop-gtk2
    4556    stage:
    46       - etc
    47       - usr
    48       - usr/bin
    49       - usr/share/AcronymDecoder
    50       - usr/share/applications/AcronymDecoder.desktop
    51       - usr/share/pixmaps
     57    - etc
     58    - usr
     59    - usr/bin
     60    - usr/share/AcronymDecoder
     61    - usr/share/applications/AcronymDecoder.desktop
     62    - usr/share/pixmaps
    5263    stage-packages:
    53       - libatk1.0-0
    54       - libcairo2
    55       - libdatrie1
    56       - libfontconfig1
    57       - libfreetype6
    58       - libfribidi0
    59       - libgdk-pixbuf2.0-0
    60       - libgraphite2-3
    61       - libgtk2.0-0
    62       - libharfbuzz0b
    63       - libpango-1.0-0
    64       - libpangocairo-1.0-0
    65       - libpangoft2-1.0-0
    66       - libpixman-1-0
    67       - libpng16-16
    68       - libthai0
    69       - libx11-6
    70       - libxau6
    71       - libxcb-render0
    72       - libxcb-shm0
    73       - libxcb1
    74       - libxcomposite1
    75       - libxcursor1
    76       - libxdamage1
    77       - libxdmcp6
    78       - libxext6
    79       - libxfixes3
    80       - libxi6
    81       - libxinerama1
    82       - libxrandr2
    83       - libxrender1
     64    - libatk1.0-0
     65    - libcairo2
     66    - libdatrie1
     67    - libfontconfig1
     68    - libfreetype6
     69    - libfribidi0
     70    - libgdk-pixbuf2.0-0
     71    - libgraphite2-3
     72    - libgtk2.0-0
     73    - libharfbuzz0b
     74    - libpango-1.0-0
     75    - libpangocairo-1.0-0
     76    - libpangoft2-1.0-0
     77    - libpixman-1-0
     78    - libpng16-16
     79    - libthai0
     80    - libx11-6
     81    - libxau6
     82    - libxcb-render0
     83    - libxcb-shm0
     84    - libxcb1
     85    - libxcomposite1
     86    - libxcursor1
     87    - libxdamage1
     88    - libxdmcp6
     89    - libxext6
     90    - libxfixes3
     91    - libxi6
     92    - libxinerama1
     93    - libxrandr2
     94    - libxrender1
    8495
     96  desktop-gtk2:
     97    source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
     98    source-subdir: gtk
     99    plugin: make
     100    make-parameters: ["FLAVOR=gtk2"]
     101    build-packages:
     102    - build-essential
     103    - libgtk2.0-dev
     104    stage-packages:
     105    - libxkbcommon0  # XKB_CONFIG_ROOT
     106    - ttf-ubuntu-font-family
     107    - dmz-cursor-theme
     108    - light-themes
     109    - adwaita-icon-theme
     110    - gnome-themes-standard
     111    - shared-mime-info
     112    - libgtk2.0-0
     113    - libgdk-pixbuf2.0-0
     114    - libglib2.0-bin
     115    - libgtk2.0-bin
     116    - unity-gtk2-module
     117    - locales-all
     118    - libappindicator1
     119    - xdg-user-dirs
     120    - ibus-gtk
     121    - libibus-1.0-5
     122     
     123# Additional plugs to pick up the GTK theme and icons from the system
     124plugs:
     125  icon-themes:
     126    interface: content
     127    target: $SNAP/data-dir/icons
     128    default-provider: gtk-common-themes
     129  sound-themes:
     130    interface: content
     131    target: $SNAP/data-dir/sounds
     132    default-provider: gtk-common-themes
     133  gtk-2-engines:
     134    interface: content
     135    target: $SNAP/lib/gtk-2.0
     136    default-provider: gtk2-common-themes:gtk-2-engines
     137  gtk-2-themes:
     138    interface: content
     139    target: $SNAP/usr/share/themes
     140    default-provider: gtk2-common-themes:gtk-2-themes
     141
     142environment:
     143  XDG_DATA_DIRS: $SNAP/usr/share:$XDG_DATA_DIRS
     144  GTK_PATH: $SNAP/lib/gtk-2.0
     145 
    85146apps:
    86147  acronym-decoder:
    87148    command: usr/bin/AcronymDecoder
     149    command-chain:
     150    - bin/desktop-launch
    88151    desktop: usr/share/applications/AcronymDecoder.desktop
    89152    plugs:
    90       - desktop
    91       - x11
     153    - desktop
     154    - x11
     155    - home
    92156
    93157layout:
Note: See TracChangeset for help on using the changeset viewer.