You are not logged in.
hey, I am maintaining the synergy2 and synergy2-bin package.
when I tried to update my package to 2.0.5(synergy2-bin), I got an error: " missing install file: synergy2.install"
in the PKGBUILS I use ${pkgname}.install and I checked .SRCINFO, to be sure, and that too uses synergy2-bin.install.
even the old version of synergy2-bin doesn't have synergy2.install.
I have everything set up so that I can edit the synergy2 local repo, and rebase synergy2-bin onto that and push.
this used to work, but clearly, something went wrong.
anyone able to help me with this?
anyone using synergy2-bin can use the non-bin version, the next beta won't be until a couple of months anyway.
Last edited by jaap aarts (2018-02-10 13:20:45)
Offline
Post your PKGBUILD
Edit: WAIT, you're talking about an error from the git repo? Then the problem is that you didn't regenerate the .SRCINFO file.
Last edited by Scimmia (2018-02-09 19:11:38)
Offline
I regenerated .SRCINFO to be sure, but nothing changed. I even altered the description a bit to generate a new .SRCINFO.
in case you still need it here is the PKGBUILD:
pkgname=synergy2-bin
pkgver=2.0.5.stable~b1345+3f23b557
pkgrel=1
pkgdesc="Keyboard and mouse sharing solution. Synergy allows you to share one mouse and keyboard between multiple computers. Work seamlessly across Windows, macOS and Linux!"
arch=('x86_64')
url="https://symless.com/synergy"
license=('unknown')
groups=('')
depends=('gcc>=5.2' 'bash-completion>=1.18.' 'gcc-libs>=3.0' 'hicolor-icon-theme' 'openssl-1.0' 'libx11>=1.2.99.901' 'libxext' 'libxi>=1.2.99.4' 'libxtst' 'openssl-1.0>=1.0.0' 'qt5-base>=5.5.0' 'qt5-declarative>=5.5.0' 'qt5-quickcontrols>=5.5.0')
conflicts=('synergy' 'synergy2')
options=('!strip' '!emptydirs')
install=${pkgname}.install
source_x86_64=("https://binaries.symless.com/v2.0.5/synergy_2.0.5.stable~b1345%2B3f23b557_amd64.deb" "https://gist.githubusercontent.com/JAicewizard/a70388a3a7c52fef21299f961a652364/raw")
sha512sums_x86_64=('0e44ecb10cc6821d7f8d6823bb79389f91e9824c253f4708bf21e322f04b83d5483681e36885ced0ef909df577075ce61d7663e5b8769a080012f05057c4d0a6' "9c818d4f4929d156a6926336048cab4e398047037f45a177cdb71ede9c54d7b16992b7e5437999b2c72d3604c22092790e112abb234647abb0b34adf8e56b76b")
package(){
# Extract package data
tar xf data.tar.xz -C "${pkgdir}"
mv "raw" "${pkgdir}/lib/systemd/system/synergy.service"
# Fix directories structure differencies
cd "${pkgdir}"
install -D -m644 "${pkgdir}/usr/share/doc/synergy/copyright" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
mkdir -p usr/lib 2> /dev/null; cp -r lib/* usr/lib; rm -rf lib
sed -i "s/{DISPLAY}/${DISPLAY}/g" "${pkgdir}/usr/lib/systemd/system/synergy.service" #this is a fix for a bug mainly found on arch systems, thought i'd add it to the PKGBUILD
cd ..
}
if you have anythin to say about the package() function, you're free to tell me its terrible.
the .SRCINFO looks like it should, including the install file
install = synergy2-bin.install
Offline
Offline
You've specified an install file yet it clearly doesn't exist.
no right? I specified synergy2-bin.install yet it complains about synergy2.install
git ls-files:
.SRCINFO
PKGBUILD
synergy2-bin.install
even after adding a synergy2.install with just some random text as a dummy file, it still complains about a missing synergy2.install
Offline
It should give you the commit that's a problem. What file was listed as the install file in .SRCINFO in that specific commit?
Offline
It should give you the commit that's a problem. What file was listed as the install file in .SRCINFO in that specific commit?
thanks for the hint, I completely reverted to the non-bin master (this is where it apparently went wrong) and changes all the names etc.
Offline