Changeset 121 for trunk


Ignore:
Timestamp:
Nov 10, 2021, 9:57:14 AM (3 years ago)
Author:
chronos
Message:
  • Modified: Updated deb and snap configuration to register the application with .b brainfuck files.
Location:
trunk/Install
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Install/deb/LazFuck.desktop

    r75 r121  
    99Categories=GNOME;Application;Utility;
    1010StartupNotify=true
     11MimeType=text/brainfuck
  • trunk/Install/deb/debian/rules

    r95 r121  
    2626        install -d -m 755 $(ROOT)/usr/share/applications
    2727        install -m 755 Install/deb/LazFuck.desktop $(ROOT)/usr/share/applications
     28        install -d -m 755 $(ROOT)/usr/share/mime/packages
     29        install -m 644 Install/deb/LazFuck.xml $(ROOT)/usr/share/mime/packages
    2830        install -d -m 755 $(ROOT)/usr/share/pixmaps
    2931        install -m 644 Images/64x64/LazFuck.png $(ROOT)/usr/share/pixmaps
  • trunk/Install/snap/local/LazFuck.desktop

    r116 r121  
    99Categories=GNOME;Application;Development;
    1010StartupNotify=true
     11MimeType=text/brainfuck
  • trunk/Install/snap/snapcraft.yaml

    r119 r121  
    2929      snapcraftctl build
    3030      lazbuild --build-mode=Release LazFuck.lpi
    31       ROOT=/root/parts/lazfuck/install
    32       install -d -m 755 $ROOT/usr/bin
    33       install -s -m 755 LazFuck $ROOT/usr/bin/LazFuck
    34       install -d -m 755 $ROOT/usr/share/LazFuck/Languages
    35       install -m 755 Languages/LazFuck.po $ROOT/usr/share/LazFuck/Languages
    36       install -m 755 Languages/LazFuck.cs.po $ROOT/usr/share/LazFuck/Languages
    37       install -m 755 Languages/UFormAbout.po $ROOT/usr/share/LazFuck/Languages
    38       install -m 755 Languages/UFormAbout.cs.po $ROOT/usr/share/LazFuck/Languages
    39       install -d -m 755 $ROOT/usr/share/applications
    40       install -m 755 Install/snap/local/LazFuck.desktop $ROOT/usr/share/applications
    41       install -d -m 755 $ROOT/usr/share/pixmaps
    42       install -m 755 Images/64x64/LazFuck.png $ROOT/usr/share/pixmaps     
    43       cp -r Examples $ROOT/usr/share/LazFuck
     31      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/bin
     32      install -s -m 755 LazFuck $SNAPCRAFT_PART_INSTALL/usr/bin/LazFuck
     33      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/LazFuck/Languages
     34      install -m 644 Languages/LazFuck.po $SNAPCRAFT_PART_INSTALL/usr/share/LazFuck/Languages
     35      install -m 644 Languages/LazFuck.cs.po $SNAPCRAFT_PART_INSTALL/usr/share/LazFuck/Languages
     36      install -m 644 Languages/UFormAbout.po $SNAPCRAFT_PART_INSTALL/usr/share/LazFuck/Languages
     37      install -m 644 Languages/UFormAbout.cs.po $SNAPCRAFT_PART_INSTALL/usr/share/LazFuck/Languages
     38      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/applications
     39      install -m 755 Install/snap/local/LazFuck.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications
     40      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
     41      install -m 644 Images/64x64/LazFuck.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps     
     42      install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/mime/packages
     43      install -m 644 Install/snap/local/LazFuck.xml $SNAPCRAFT_PART_INSTALL/usr/share/mime/packages
     44      cp -r Examples $SNAPCRAFT_PART_INSTALL/usr/share/LazFuck
    4445    stage:
    4546      - etc
     
    4950      - usr/share/applications/LazFuck.desktop
    5051      - usr/share/pixmaps
     52      - usr/share/mime
    5153    stage-packages:
    5254      - libatk1.0-0
     
    8991      - desktop
    9092      - x11
     93      - home
    9194
    9295layout:
Note: See TracChangeset for help on using the changeset viewer.