Changeset 367


Ignore:
Timestamp:
Jan 2, 2025, 4:08:26 PM (6 days ago)
Author:
chronos
Message:
  • Modified: Updated packaing files.
Location:
trunk/Install
Files:
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Install/deb/debian/rules

    r314 r367  
    1717        install -s -m 755 xtactics $(ROOT)/usr/bin
    1818        install -d -m 755 $(ROOT)/usr/share/xtactics/Languages
    19         install -m 644 Languages/xtactics.pot $(ROOT)/usr/share/xtactics/Languages
    20         install -m 644 Languages/xtactics.cs.po $(ROOT)/usr/share/xtactics/Languages
    21         install -m 644 Languages/lclstrconsts.pot $(ROOT)/usr/share/xtactics/Languages
    22         install -m 644 Languages/lclstrconsts.cs.po $(ROOT)/usr/share/xtactics/Languages
    23         install -m 644 Languages/UFormAbout.pot $(ROOT)/usr/share/xtactics/Languages
    24         install -m 644 Languages/UFormAbout.cs.po $(ROOT)/usr/share/xtactics/Languages
     19        install -m 644 Languages/*.po $(ROOT)/usr/share/xtactics/Languages
     20        install -m 644 Packages/Common/Languages/*.po $(ROOT)/usr/share/xtactics/Languages
     21        install -m 644 Packages/CoolStreaming/Languages/*.po $(ROOT)/usr/share/xtactics/Languages
    2522        install -d -m 755 $(ROOT)/usr/share/xtactics/images/maps
    2623        install -m 644 Images/Maps/Europe.png $(ROOT)/usr/share/xtactics/images/maps
    2724        install -m 644 Images/Maps/WorldMap.png $(ROOT)/usr/share/xtactics/images/maps
    2825        install -d -m 755 $(ROOT)/usr/share/applications
    29         install -m 755 Install/deb/xtactics.desktop $(ROOT)/usr/share/applications
     26        install -m 644 Install/deb/xtactics.desktop $(ROOT)/usr/share/applications
    3027        install -d -m 755 $(ROOT)/usr/share/mime/packages
    3128        install -m 644 Install/deb/xtactics.xml $(ROOT)/usr/share/mime/packages
  • trunk/Install/flatpak/net.zdechov.app.xTactics.yml

    r366 r367  
    55sdk-extensions:
    66  - org.freedesktop.Sdk.Extension.freepascal
    7 command: xTactics
     7command: xtactics
    88rename-icon: xtactics
    99rename-desktop-file: xtactics.desktop
     
    2727      - type: svn
    2828        url: https://svn.zdechov.net/xtactics/trunk
    29         revision: r189
     29        revision: r367
    3030    buildsystem: simple
    3131    build-commands:
     
    3737      - ln -s $FLATPAK_DEST/share/xTactics/xtactics $FLATPAK_DEST/bin/xtactics
    3838      - install -Dm644 Install/deb/xtactics.desktop -t $FLATPAK_DEST/share/applications
    39       - install -Dm644 Images/64x64/xtactics.png  $FLATPAK_DEST/share/icons/hicolor/64x64/apps/xtactics.png
    40       - install -Dm644 Languages/*.po -t $FLATPAK_DEST/share/xTactics/Languages
    41       - install -Dm644 Packages/Common/Languages/*.po -t $FLATPAK_DEST/share/xTactics/Languages
    42       - install -Dm644 Packages/CoolStreaming/Languages/*.po -t $FLATPAK_DEST/share/xTactics/Languages
    43       - install -Dm644 Install/snap/local/lazpaint.xml $FLATPAK_DEST/share/mime/packages/$FLAPTAK_ID.xml
     39      - install -Dm644 Install/deb/local/lazpaint.xml $FLATPAK_DEST/share/mime/packages/$FLAPTAK_ID.xml
     40      - install -Dm644 Images/64x64/xtactics.png -t $FLATPAK_DEST/share/icons/hicolor/64x64/apps
     41      - install -Dm644 Languages/*.po -t $FLATPAK_DEST/share/xtactics/Languages
     42      - install -Dm644 Packages/Common/Languages/*.po -t $FLATPAK_DEST/share/xtactics/Languages
     43      - install -Dm644 Packages/CoolStreaming/Languages/*.po -t $FLATPAK_DEST/share/xtactics/Languages
     44      - cp -r Systems $FLATPAK_DEST/share/xtactics
     45      - install -d -m 755 $FLATPAK_DEST/share/xtactics/Images
     46      - cp -r Images/Maps $FLATPAK_DEST/share/xtactics/Images
    4447      - install -Dm644 Install/flatpak/${FLATPAK_ID}.metainfo.xml -t $FLATPAK_DEST/share/metainfo
  • trunk/Install/rpm/xtactics.spec

    r313 r367  
    2929install -s -m 755 xtactics $RPM_BUILD_ROOT/usr/bin
    3030install -d -m 755 $RPM_BUILD_ROOT/usr/share/xtactics/Languages
    31 install -m 644 Languages/xtactics.pot $RPM_BUILD_ROOT/usr/share/xtactics/Languages
    32 install -m 644 Languages/xtactics.cs.po $RPM_BUILD_ROOT/usr/share/xtactics/Languages
    33 install -m 644 Languages/lclstrconsts.pot $(ROOT)/usr/share/xtactics/Languages
    34 install -m 644 Languages/lclstrconsts.cs.po $(ROOT)/usr/share/xtactics/Languages
    35 install -m 644 Languages/UFormAbout.pot $(ROOT)/usr/share/xtactics/Languages
    36 install -m 644 Languages/UFormAbout.cs.po $(ROOT)/usr/share/xtactics/Languages
     31install -m 644 Languages/*.po $RPM_BUILD_ROOT/usr/share/xtactics/Languages
     32install -m 644 Packages/Common/Languages/*.po $(ROOT)/usr/share/xtactics/Languages
     33install -m 644 Packages/CoolStreaming/Languages/*.po $(ROOT)/usr/share/xtactics/Languages
    3734install -d -m 755 $RPM_BUILD_ROOT/usr/share/xtactics/images/maps
    3835install -m 644 Images/Maps/Europe.png $RPM_BUILD_ROOT/usr/share/xtactics/images/maps
  • trunk/Install/snap/local/build.sh

    r309 r367  
    44
    55pushd ../../..
    6 snapcraft --debug --use-lxd
     6snapcraft --debug --use-lxd -v $@
    77popd
    88
  • trunk/Install/snap/snapcraft.yaml

    r314 r367  
    2727  * Allows to set grow rate as square root of cell power.
    2828  * Amount of inaccessible cells can be adjusted in New game dialog.
    29   * Player mode human or computer. 
     29  * Player mode human or computer.
    3030  * Graph window can be shown from menu which presents development of various statistic values during game turns.
    3131  * Load recent menu action to load recently opened/saved files.
     32
    3233confinement: strict
    33 base: core20
     34base: core24
    3435grade: stable
    3536icon: "Images/64x64/xtactics.png"
     
    4142    source: .
    4243    source-type: local
    43     build-packages: 
     44    build-packages:
    4445    - fpc
    4546    - lazarus
     
    5253      install -s -m 755 xtactics $SNAPCRAFT_PART_INSTALL/usr/bin/xtactics
    5354      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/xtactics/Languages
    54       install -m 644 Languages/xtactics.pot $SNAPCRAFT_PART_INSTALL/usr/share/xtactics/Languages
    55       install -m 644 Languages/xtactics.cs.po $SNAPCRAFT_PART_INSTALL/usr/share/xtactics/Languages
    56       install -m 644 Languages/lclstrconsts.pot $SNAPCRAFT_PART_INSTALL/usr/share/xtactics/Languages
    57       install -m 644 Languages/lclstrconsts.cs.po $SNAPCRAFT_PART_INSTALL/usr/share/xtactics/Languages
    58       install -m 644 Languages/UFormAbout.pot $SNAPCRAFT_PART_INSTALL/usr/share/xtactics/Languages
    59       install -m 644 Languages/UFormAbout.cs.po $SNAPCRAFT_PART_INSTALL/usr/share/xtactics/Languages
    60       install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/applications
    61       install -m 755 Install/snap/local/xtactics.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications
    62       install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/mime/packages
    63       install -m 755 Install/deb/xtactics.xml $SNAPCRAFT_PART_INSTALL/usr/share/mime/packages
     55      install -m 644 Languages/*.po $SNAPCRAFT_PART_INSTALL/usr/share/xtactics/Languages
     56      install -m 644 Packages/Common/Languages/*.po $SNAPCRAFT_PART_INSTALL/usr/share/xtactics/Languages
     57      install -m 644 Packages/CoolStreaming/Languages/*.po $SNAPCRAFT_PART_INSTALL/usr/share/xtactics/Languages
     58      install -m 655 Install/deb/xtactics.desktop -t $SNAPCRAFT_PART_INSTALL/usr/share/applications
     59      install -m 655 Install/deb/xtactics.xml -t $SNAPCRAFT_PART_INSTALL/usr/share/mime/packages
    6460      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
    65       install -m 755 Images/64x64/xtactics.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
    66       install -m 755 Images/64x64/xtactics.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/application-xtg.png
    67       install -m 755 Images/64x64/xtactics.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/application-xts.png
     61      install -m 655 Images/64x64/xtactics.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
     62      install -m 655 Images/64x64/xtactics.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/application-xtg.png
     63      install -m 655 Images/64x64/xtactics.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/application-xts.png
    6864      cp -r Systems $SNAPCRAFT_PART_INSTALL/usr/share/xtactics
    6965      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/xtactics/Images
     
    7167    after:
    7268    - desktop-gtk2
     69    - lazarus
    7370    stage:
    7471    - etc
     
    111108    - libxrender1
    112109    - libglu1-mesa
     110
     111  lazarus:
     112    plugin: nil
     113    source: .
     114    source-type: local
     115    build-packages:
     116    - wget
     117    - libgtk2.0-dev
     118    override-build: |
     119      wget -nc https://downloads.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%203.6/lazarus-project_3.6.0-0_amd64.deb
     120      wget -nc https://downloads.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%203.6/fpc-laz_3.2.2-210709_amd64.deb
     121      wget -nc https://downloads.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%203.6/fpc-src_3.2.2-210709_amd64.deb
     122      apt install ./lazarus-project_3.6.0-0_amd64.deb ./fpc-laz_3.2.2-210709_amd64.deb ./fpc-src_3.2.2-210709_amd64.deb
     123    stage: [-*]
     124    prime: [-*]
     125
    113126  desktop-gtk2:
    114127    source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
     
    121134    stage-packages:
    122135    - libxkbcommon0  # XKB_CONFIG_ROOT
    123     - ttf-ubuntu-font-family
     136    #- ttf-ubuntu-font-family
    124137    - dmz-cursor-theme
    125138    - light-themes
    126139    - adwaita-icon-theme
    127     - gnome-themes-standard
     140    #- gnome-themes-standard
    128141    - shared-mime-info
    129142    - libgtk2.0-0
     
    133146    - unity-gtk2-module
    134147    - locales-all
    135     - libappindicator1
     148    #- libappindicator1
    136149    - xdg-user-dirs
    137150    - ibus-gtk
    138151    - libibus-1.0-5
    139      
     152
    140153# Additional plugs to pick up the GTK theme and icons from the system
    141 plugs: 
     154plugs:
    142155  icon-themes:
    143156    interface: content
Note: See TracChangeset for help on using the changeset viewer.