Giter Club home page Giter Club logo

Comments (4)

stefanor avatar stefanor commented on July 23, 2024 1

setuptools doesn't even have to do anything special with the icon. Just blessing a particular icon and shipping it in the tarball, would allow distros to do the right thing with it :)

from xdot.py.

jrfonseca avatar jrfonseca commented on July 23, 2024

I'd happily accept a patch, but besides the open issue of making/choosing an icons, I'm not familiar with the process of integrating and deploying icons, and I'm afraid this is not high enough in my priority list to go figure it out.

I googled for CC icons and these looks nice:

In short, if a charitable soul makes a pull request to add an icon, I'll happily merge it.

from xdot.py.

jeremydouglass avatar jeremydouglass commented on July 23, 2024

Not my area of expertise, but I don't think the xdot source is the place to add a Debian app icon. Instead, I think (?) you want to add it to the package:

...specifically, to the .desktop file, e.g. like in the discussion here:

from xdot.py.

valpackett avatar valpackett commented on July 23, 2024

hi! The source is absolutely the right place. An icon belongs to the app, not to the distribution. (I'm currently updating the FreeBSD port, by the way.)

Here's a good example of installing icons, desktop files and other stuff with distutils: https://0xacab.org/mat/mat/blob/4b9a65758da4bb27724ac1f94162810a29cb3877/setup.py#L44-50

    data_files=[
        ('share/applications', ['mat.desktop']),
        ('share/mat', ['data/FORMATS', 'data/mat.glade']),
        ('share/pixmaps', ['data/mat.png']),
        ('share/doc/mat', ['README.md', 'README.security']),
        ('share/man/man1', ['mat.1', 'mat-gui.1']),
        ('share/nautilus-python/extensions', ['nautilus/nautilus-mat.py'])
    ],

(I would prefer share/icons/hicolor/{SIZE}/apps/ to the old share/pixmaps though, as some launchers like rofi (used to?) ignore pixmaps)

from xdot.py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.