Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
87e26493
Commit
87e26493
authored
Feb 25, 2021
by
satmandu
Committed by
GitHub
Feb 25, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wmctrl: Use later patchset (#5280)
* Use later patchset * simplify error
parent
99e2e9d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
16 deletions
+18
-16
packages/wmctrl.rb
packages/wmctrl.rb
+18
-16
No files found.
packages/wmctrl.rb
View file @
87e26493
...
...
@@ -4,38 +4,40 @@ class Wmctrl < Package
description
'Control your EWMH compliant window manager from command line'
homepage
'http://tripie.sweb.cz/utils/wmctrl/'
@_ver
=
'1.07'
version
@_ver
version
"
#{
@_ver
}
-1"
compatibility
'all'
source_url
"http://tripie.sweb.cz/utils/wmctrl/dist/wmctrl-
#{
@_ver
}
.tar.gz"
source_sha256
'd78a1efdb62f18674298ad039c5cbdb1edb6e8e149bb3a8e3a01a4750aa3cca9'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/wmctrl-1.07-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/wmctrl-1.07-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/wmctrl-1.07-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/wmctrl-1.07-chromeos-x86_64.tar.xz'
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/wmctrl-1.07-
1-
chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/wmctrl-1.07-
1-
chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/wmctrl-1.07-
1-
chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/wmctrl-1.07-
1-
chromeos-x86_64.tar.xz'
})
binary_sha256
({
aarch64:
'
1119d1b966ce30181f6ae4bf8ccd5d5f50d44fb7cf4de26444dc135347239358
'
,
armv7l:
'
1119d1b966ce30181f6ae4bf8ccd5d5f50d44fb7cf4de26444dc135347239358
'
,
i686:
'
23f14ca9583c1ae9d4fa8de2654fb452ee72f980866eb42aa3e8a45794426f9a
'
,
x86_64:
'
a501256720922d44fba60583c79d71f88201fbf563f538ed087475a00169ab1b
'
aarch64:
'
97f0bfc34405935c50b960f58b277560fc6cd866a8d56aedde7d963ff3e888e4
'
,
armv7l:
'
97f0bfc34405935c50b960f58b277560fc6cd866a8d56aedde7d963ff3e888e4
'
,
i686:
'
457c74eed5b513a70046d1f2c63bc8ae925c46b67df8c811ae115e7b7177a1b7
'
,
x86_64:
'
3087608f812c2888edaa264885bc1efb3044e958bdfaadc609e375b1a7172eb8
'
})
depends_on
'libxmu'
def
self
.
patch
# Debian patch
patch_url
=
'http://archive.debian.org/debian/pool/main/w/wmctrl/wmctrl_1.07-6.diff.gz'
patch_sha256
=
'c6560ba645652eab0b16d46c9dbd8e5c9881c1f9d3ac6fa3da2ee3c865b5e6a0'
patch_url
=
'http://archive.debian.org/debian/pool/main/w/wmctrl/wmctrl_1.07-7.debian.tar.gz'
patch_sha256
=
'205c54538c9a20321af3621e00957317b3a4a3aea473b78a74e8f64632f8b958'
system
(
'curl'
,
'-Lf'
,
patch_url
,
'-o'
,
'patch.gz'
)
abort
'Checksum mismatch :/ try again'
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
'./patch.gz'
))
==
patch_sha256
system
'zcat patch.gz | patch -p1'
system
(
'curl'
,
'-Lf'
,
patch_url
,
'-o'
,
'zippatches.tar.xz'
)
abort
'Checksum mismatch :/ try again'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
'./zippatches.tar.xz'
))
==
patch_sha256
system
(
'tar'
,
'-xf'
,
'zippatches.tar.xz'
)
system
(
'for i in `cat debian/patches/series`; do patch -p 1 < debian/patches/$i; done'
)
end
def
self
.
build
system
"env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' LDFLAGS='-flto=auto' \
system
"env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' \
LDFLAGS='-flto=auto' \
./configure
#{
CREW_OPTIONS
}
"
system
'make'
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment