Giter VIP home page Giter VIP logo

Comments (11)

dnut avatar dnut commented on September 26, 2024 1

@mskyaxl

I have implemented a build process for a deb package. You can test it out if you want. It requires building from source, but it produces a normal ubuntu package that you can install with apt. Instructions are in the readme. In my testing it worked fine, but I need to do some more testing to make sure it's rock solid.

I will release some deb files with the next version, but I'm not sure when that will be, probably within the next few weeks. In terms of getting the package in served by a repo or ppa, I have no clue how to even do that at this point. But I'll look into it if the demand is there.

37d6e11

from clipboard-sync.

mskyaxl avatar mskyaxl commented on September 26, 2024

+1 for ubuntu packages.

from clipboard-sync.

dnut avatar dnut commented on September 26, 2024

I'll try to find some time to work on it this week.

from clipboard-sync.

dnut avatar dnut commented on September 26, 2024

Quick update... The latest release was in November. Since then, I made a variety of changes, hoping to fix some bugs, but may have caused some other issues. I'm sorting it all out, to get some reasonably stable code ready for the next release, which will include something for ubuntu, probably just a .deb file to start.

from clipboard-sync.

dnut avatar dnut commented on September 26, 2024

I fixed the major bugs. It does not appear to have any more regressions. Next step is the deb package.

from clipboard-sync.

mskyaxl avatar mskyaxl commented on September 26, 2024

@dnut, thanks for taking the time!
I'm on Pop!_OS, the installation works. The only thing I would do is to include the enabling of the systemd service during the installation.

Regarding the ppa, I can try to do that if you're ok with it.

from clipboard-sync.

mskyaxl avatar mskyaxl commented on September 26, 2024

@dnut I created a PR.
For start I created a fix for the makefile and i added another target for lintian(debian package checker).
I will try to fix the lintian errors in the following days.

from clipboard-sync.

dnut avatar dnut commented on September 26, 2024

@mskyaxl

Thanks for taking the initiative. I'd be happy to integrate any improvements.

I'm working on getting 0.2.0 released. Once your PR is complete and we have a solid build process for deb files, then we can go ahead and upload the deb file to the PPA and the github release. I've already created a PPA, it was very easy. Releasing a version is just a matter of uploading a deb file. I would like a github workflow to take care of this automatically in the future, but for the first release I can do it manually.

from clipboard-sync.

dnut avatar dnut commented on September 26, 2024

The only thing I would do is to include the enabling of the systemd service during the installation.

Unfortunately I don't think that would work. The package manager can enable services system-wide but this is a user service, not a system service.

I'm on Pop!_OS, the installation works.

I'm curious, what is your use case? Are you running two separate desktop environments? Is it working well for you?

from clipboard-sync.

mskyaxl avatar mskyaxl commented on September 26, 2024

My usecase is a little bit different... By default, Pop!_OS does not support Wayland. I enabled it(better high rez support, battery life) but now I face some issues with synchronizing the clipboard between Wayland windows and X11 Windows (among others, neovim + neoclip). Xclip/wl-copy/wl-paste are not reliable and fails now and then.

In the end I got it working with clipboard-sync.

More info here: matveyt/neoclip#5 (comment)

I am using dotbot to maintain my dotfiles and I was able to bootstrap the clipboard-sync installation (cargo + scripting) but I would prefer a debian package.

from clipboard-sync.

dnut avatar dnut commented on September 26, 2024

I built a deb file using make deb and loaded it into basic debian repository. It successfully installs in vanilla debian stable and ubuntu 22.04. In my basic testing, this build is compatible with the dynamically linked libraries available on those systems.

I want to move forward with a "good enough" solution for v0.2.0, so I've published this release with instructions to install it in the readme, and I'm going to close this issue. I'm sure there are countless ways make deb file and the repository setup more sophisticated. You can open additional github issues for any specific concerns you would like to address.

I misunderstood something I read about setting up the PPA. It's actually a very convoluted and annoying process that relies on old and buggy software, some of which is not even available in recent version of ubuntu. I spent a couple hours working on it and kept running into issues. I personally don't see much benefit to hosting in a PPA, so I decided not to go that route at this time. I'm not opposed to it, I just couldn't justify the effort at this point. If you want to implement it yourself, please feel free to create a github issue with that specific purpose, and we can discuss it in more detail over there.

from clipboard-sync.

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.