Skip to content

Commit

Permalink
fix: emacs-git/emacs-native-comp-git/emacs-native-comp-pgtk-git, disa…
Browse files Browse the repository at this point in the history
…ble XWIDGETS #4054
  • Loading branch information
ykelvis committed Oct 6, 2024
1 parent d9580b9 commit 11c5424
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions archlinuxcn/emacs-git/lilac.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ def pre_build():
if '="YES"' in line:
line = line.replace('="YES"', '=')

if line.startswith('XWIDGETS='):
line = 'XWIDGETS="YES"'
#if line.startswith('XWIDGETS='):
# line = 'XWIDGETS="YES"'

if line.startswith('SITTER='):
line = 'SITTER="YES"'
Expand Down
8 changes: 4 additions & 4 deletions archlinuxcn/emacs-native-comp-git/lilac.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ def pre_build():
line = 'AOT="YES"'
checks = checks + '4'

if line.startswith('XWIDGETS='):
line = 'XWIDGETS="YES"'
checks = checks + '5'
#if line.startswith('XWIDGETS='):
# line = 'XWIDGETS="YES"'
# checks = checks + '5'

# enable tree-sitter, request from #3094
if line.startswith('SITTER='):
Expand All @@ -43,5 +43,5 @@ def pre_build():
print(line)

# make sure PKGBUILD is modified
if len(checks) != 5:
if len(checks) != 4:
raise ValueError('PKGBUILD editing not completed. checks=' + checks)
8 changes: 4 additions & 4 deletions archlinuxcn/emacs-native-comp-pgtk-git/lilac.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ def pre_build():
line = 'PGTK="YES"'
checks = checks + '5'

if line.startswith('XWIDGETS='):
line = 'XWIDGETS="YES"'
checks = checks + '6'
#if line.startswith('XWIDGETS='):
# line = 'XWIDGETS="YES"'
# checks = checks + '6'

# enable tree-sitter, request from #3094
if line.startswith('SITTER='):
Expand All @@ -47,5 +47,5 @@ def pre_build():
print(line)

# make sure PKGBUILD is modified
if len(checks) != 6:
if len(checks) != 5:
raise ValueError('PKGBUILD editing not completed. checks=' + checks)

0 comments on commit 11c5424

Please sign in to comment.