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
10537cf6
Commit
10537cf6
authored
Jun 14, 2021
by
satmandu
Committed by
GitHub
Jun 14, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Geany rebuild (#5871)
* Geany rebuild * Fix typo * Add self.remove section for config files.
parent
fb8e4ff9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
25 deletions
+44
-25
packages/geany.rb
packages/geany.rb
+44
-25
No files found.
packages/geany.rb
View file @
10537cf6
...
...
@@ -3,32 +3,40 @@ require 'package'
class
Geany
<
Package
description
'Geany is a small and lightweight Integrated Development Environment.'
homepage
'https://www.geany.org/'
version
'1.37.1'
version
'1.37.1
-b524
'
license
'GPL-2+ HPND'
compatibility
'all'
source_url
'https://download.geany.org/geany-1.37.1.tar.bz2
'
source_sha256
'18c5756444c1d8bcd737c8ecfd4ef0b3607c924fc02560d4e8b78f6121531a18
'
binary_url
({
aarch64:
'https://gitlab.com/api/v4/projects/26210301/packages/generic/geany/1.37.1_armv7l/geany-1.37.1-chromeos-armv7l.tar.
xz'
,
armv7l:
'https://gitlab.com/api/v4/projects/26210301/packages/generic/geany/1.37.1_armv7l/geany-1.37.1-chromeos-armv7l.tar.
xz'
,
i686:
'https://gitlab.com/api/v4/projects/26210301/packages/generic/geany/1.37.1_i686/geany-1.37.1-chromeos-i686.tar.
xz'
,
x86_64:
'https://gitlab.com/api/v4/projects/26210301/packages/generic/geany/1.37.1_x86_64/geany-1.37.1-chromeos-x86_64.tar.xz'
,
source_url
'https://github.com/geany/geany.git
'
git_hashtag
'b524a58e12e85c94a32f64fb72615978b2628af1
'
binary_url
({
aarch64:
'https://gitlab.com/api/v4/projects/26210301/packages/generic/geany/1.37.1-b524_armv7l/geany-1.37.1-b524-chromeos-armv7l.tp
xz'
,
armv7l:
'https://gitlab.com/api/v4/projects/26210301/packages/generic/geany/1.37.1-b524_armv7l/geany-1.37.1-b524-chromeos-armv7l.tp
xz'
,
i686:
'https://gitlab.com/api/v4/projects/26210301/packages/generic/geany/1.37.1-b524_i686/geany-1.37.1-b524-chromeos-i686.tp
xz'
,
x86_64:
'https://gitlab.com/api/v4/projects/26210301/packages/generic/geany/1.37.1-b524_x86_64/geany-1.37.1-b524-chromeos-x86_64.tpxz'
})
binary_sha256
({
aarch64:
'23569bccfea77b83925f8d8b69b0726956fab967588f8b87433a9aec9e846f9
c'
,
armv7l:
'23569bccfea77b83925f8d8b69b0726956fab967588f8b87433a9aec9e846f9
c'
,
i686:
'7a8600c481502fabad7079513381b21b9d3d628bcbc9c24d59ef3825e3b49459
'
,
x86_64:
'02fb7bbd757af647903507b68d880a5207c3666725f49748edb1e71c0c629a51'
,
binary_sha256
({
aarch64:
'4533890949b4dd456331fa10e2482ad59a93a28a43b9e413bacf22abab0f4fc
c'
,
armv7l:
'4533890949b4dd456331fa10e2482ad59a93a28a43b9e413bacf22abab0f4fc
c'
,
i686:
'8f49d7208ed72ca166b899b75031947b4e40fd8c9efcfb6cb91eb9b4df512de3
'
,
x86_64:
'0b1870b7fc669a731d88ea4be18b5fba2ef7e233a5ffb1483aaa3cb3d710e78b'
})
depends_on
'gtk3'
depends_on
'xdg_base'
depends_on
'sommelier'
depends_on
'gtk3'
depends_on
'xdg_base'
depends_on
'sommelier'
@xdg_config_home
=
ENV
[
'XDG_CONFIG_HOME'
]
@xdg_config_home
=
"
#{
CREW_PREFIX
}
/.config"
if
@xdg_config_home
.
to_s
.
empty?
def
self
.
build
system
"./configure
#{
CREW_OPTIONS
}
--enable-api-docs=no --enable-html-docs=no --enable-pdf-docs=no"
system
'[ -x configure ] || NOCONFIGURE=1 ./autogen.sh'
system
"
#{
CREW_ENV_OPTIONS
}
\
./configure \
#{
CREW_OPTIONS
}
\
--enable-api-docs=no \
--enable-html-docs=no \
--enable-pdf-docs=no"
system
'make'
end
...
...
@@ -41,12 +49,23 @@ class Geany < Package
end
def
self
.
postinstall
puts
puts
"To get started, type 'geany'."
.
lightblue
puts
puts
"To completely uninstall, execute the following:"
.
lightblue
puts
"crew remove geany"
.
lightblue
puts
"rm -rf ~/.config/geany"
.
lightblue
puts
# This is needed to avoid "Error loading theme icon 'geany-build' for stock" messages.
system
"gtk-update-icon-cache
#{
CREW_PREFIX
}
/share/icons/hicolor -f"
end
def
self
.
remove
config_dirs
=
[
"
#{
HOME
}
/.config/geany"
,
"
#{
@xdg_config_home
}
/geany"
]
config_dirs
.
each
do
|
config_dir
|
next
unless
Dir
.
exist?
config_dir
print
"
\n
Would you like to remove
#{
config_dir
}
? [y/N] "
case
$stdin
.
getc
when
'y'
,
'Y'
FileUtils
.
rm_rf
config_dir
puts
"
#{
config_dir
}
removed."
.
lightred
else
puts
"
#{
config_dir
}
saved."
.
lightgreen
end
end
end
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