Skip to content

#1325 GTK4 migration #1404

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 108 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
cb00ea0
GTK4 migration
lwindolf Dec 30, 2024
74668c6
More fixes
lwindolf Dec 30, 2024
17d9bda
More migration
lwindolf Dec 30, 2024
af34183
More fixes.
lwindolf Dec 30, 2024
93f8b0c
More migration
lwindolf Dec 30, 2024
dfb64dc
Update src/ui/browser_tabs.c
lwindolf Dec 30, 2024
6166df8
Migrate liferea_browser.c
lwindolf Dec 30, 2024
0a4e148
Bump webkit dependency
lwindolf Dec 30, 2024
357672f
Switching webkitgtk to 6.0
lwindolf Dec 30, 2024
62435ee
Upgrade libpeas
lwindolf Dec 30, 2024
dc408e0
Bump CI packages
lwindolf Dec 31, 2024
ce01be9
Migrate plugin code to libpeas2
lwindolf Dec 31, 2024
4744016
Migration menus and LifereaShell
lwindolf Jan 1, 2025
6cc889e
Link all .ui files instead of loading from files.
lwindolf Jan 1, 2025
26b2cb8
Link all .ui files instead of loading from files.
lwindolf Jan 1, 2025
f95c98b
Migrate webkit extension. Drop version checks from webkit.c
lwindolf Jan 1, 2025
1c9c8c6
Solve webkit includes
lwindolf Jan 2, 2025
6619252
Code now compiles, but linking still fails
lwindolf Jan 2, 2025
08f549c
Make rule_editor.c link
lwindolf Jan 2, 2025
b1d0180
Make liferea_web_view.c link
lwindolf Jan 2, 2025
4c84b90
Make browser.c link
lwindolf Jan 2, 2025
29570a7
Remove toolbar from conf.c
lwindolf Jan 2, 2025
95c89e4
Fix item_history.c
lwindolf Jan 2, 2025
cdd84ce
Make node_source link
lwindolf Jan 2, 2025
6959940
Fix plugin linking
lwindolf Jan 2, 2025
2f603de
Make search_folder_dialog.c link
lwindolf Jan 2, 2025
b939d6e
Refactor Liferea actions. Separate into 3 main groups.
lwindolf Jan 2, 2025
49f0683
Make item_list_view.c link
lwindolf Jan 2, 2025
d48b6d1
Make LifereaShell and actions link
lwindolf Jan 2, 2025
dad63aa
Convert ItemHistory to GObject and use signals
lwindolf Jan 2, 2025
8f8d02a
Refactor subscription dialog
lwindolf Jan 2, 2025
45199ea
Make ui_*.c link
lwindolf Jan 2, 2025
05979f1
Deactive old popup menus
lwindolf Jan 2, 2025
bf8a888
Small fixes
lwindolf Jan 3, 2025
fd64eaf
search and rule editor migrated
lwindolf Jan 3, 2025
9b55ecc
More Webkit migration steps
lwindolf Jan 3, 2025
2aa9f21
Fix POTFILES.in
lwindolf Jan 3, 2025
f682e73
Cleanup popup_menu.c
lwindolf Jan 3, 2025
3330592
Fix missing lib
lwindolf Jan 3, 2025
fc53eaf
Fix resources make
lwindolf Jan 4, 2025
4c0586c
Fix resources make
lwindolf Jan 4, 2025
8d5a5cc
Switch build to meson
lwindolf Jan 5, 2025
ebdeb26
Merge branch 'master' into gtk4
lwindolf Jan 5, 2025
15c1f65
Ensure config.h is found
lwindolf Jan 5, 2025
6db4ca9
make config.h work
lwindolf Jan 5, 2025
4646d8a
Make resources link
lwindolf Jan 5, 2025
4a45e9c
Fix .ui file loading. Remove all shadow-type properties
lwindolf Jan 6, 2025
06667cf
gtk4-builder-tool simplify --replace --3to4
lwindolf Jan 6, 2025
b85a72f
...
lwindolf Jan 6, 2025
579034c
Fix plugin engine inheritance.
lwindolf Jan 6, 2025
0815a3f
Fix undefined variable
lwindolf Jan 6, 2025
d395d53
Merge branch 'master' into gtk4
lwindolf Jan 20, 2025
ef70b47
Fix compile errors.
lwindolf Jan 21, 2025
5ae259e
Translate HTML templates
lwindolf Jan 23, 2025
224a019
Solve multiple startup issues
lwindolf Jan 25, 2025
67b0a41
Cleanup resources build.
lwindolf Jan 26, 2025
62cb11f
Refactor for better signal usage in feedlist and itemlist
lwindolf Jan 27, 2025
733fff4
Add manpage installation
lwindolf Jan 27, 2025
8c73e48
Solve help HTML installation by converting to gresources
lwindolf Jan 27, 2025
80126a6
Make startup not crash anymore. Nothing loads in GUI though
lwindolf Jan 28, 2025
9c30fd7
Make feed list visible, add icon installation.
lwindolf Jan 28, 2025
38db63b
Port stuff from master
lwindolf Jan 29, 2025
cc1cc71
Item list loading works.
lwindolf Feb 1, 2025
e89bee6
Make item content show up
lwindolf Feb 1, 2025
1e81624
More signals
lwindolf Feb 1, 2025
7b522ed
Make GIR generation work.
lwindolf Feb 9, 2025
8a60576
Make libpeas2 load plugins
lwindolf Feb 9, 2025
a0b9374
Install CSS stuff
lwindolf Feb 15, 2025
9c3a749
Switching webkitgtk to 6.0
lwindolf Dec 30, 2024
c3c0052
Migration menus and LifereaShell
lwindolf Jan 1, 2025
ebeb9a2
Refactor Liferea actions. Separate into 3 main groups.
lwindolf Jan 2, 2025
2e483ff
Convert ItemHistory to GObject and use signals
lwindolf Jan 2, 2025
7807cb6
Refactor subscription dialog
lwindolf Jan 2, 2025
79be52d
search and rule editor migrated
lwindolf Jan 3, 2025
3713156
Fix POTFILES.in
lwindolf Jan 3, 2025
bfff206
Switch build to meson
lwindolf Jan 5, 2025
e74bb5e
Refactor for better signal usage in feedlist and itemlist
lwindolf Jan 27, 2025
c7f7ff0
Fixes #1414
lwindolf Feb 25, 2025
fba7142
Fix copy&paste error
lwindolf Mar 29, 2025
fa965a3
...
lwindolf Apr 15, 2025
c414c33
Backport bugfixes from 1.16-RC3
lwindolf Apr 15, 2025
5d9bca5
Port 1.16-RC3 changes for libpeas2
lwindolf Apr 15, 2025
a0913d6
Ingore intltool po cache
lwindolf Apr 15, 2025
0b503db
Fix GTK4 compatibility
lwindolf Apr 15, 2025
2c77198
Fix duplicate code.
lwindolf Apr 15, 2025
ce73f27
Some GTK4 porting
lwindolf Apr 15, 2025
94a173c
Update README.md
lwindolf Apr 15, 2025
ee1556c
Update README.md
lwindolf Apr 15, 2025
8c2f40d
Drop dead code.
lwindolf Apr 16, 2025
b242fc6
GTK4 convert about.ui
lwindolf Apr 17, 2025
6fc56c7
GTK4 convert plugins.ui
lwindolf Apr 17, 2025
34f6862
GTK4 convert google_source.ui
lwindolf Apr 17, 2025
bfcec33
#1414 Add <noscript> to warn of missing JS
lwindolf Apr 18, 2025
b6e10b3
Move items id to primary key autoincrement
lwindolf Apr 18, 2025
2a70ab9
Fix DB migrate
lwindolf Apr 18, 2025
6b3c508
Add main menu in headerbar
lwindolf Apr 18, 2025
9c33c7f
GTK4 migrate download manager
lwindolf Apr 18, 2025
93228d1
Port getfocus.py to GTK4
lwindolf Apr 18, 2025
794a822
Dropping trayicon as there is no more library providing it for GTK4
lwindolf Apr 18, 2025
862e260
Port libnotify plugin to GTK4
lwindolf Apr 18, 2025
695ab65
Make webkit context menu show up
lwindolf Apr 18, 2025
2ca1416
Convert update_monitor to GTK4
lwindolf Apr 18, 2025
924cb10
Make CSS work
lwindolf Apr 19, 2025
c49c6a2
Provide toolbar as in 1.16
lwindolf Apr 20, 2025
d4b7138
Add non-minified JS libs to help out Debian reproducible builds.
lwindolf Apr 21, 2025
b5da4c9
Make JS dep install reproducible
lwindolf Apr 24, 2025
6a28ff3
Add package-lock.json
lwindolf Apr 24, 2025
c1733d7
Add CSP to limit external resources that can load
lwindolf Apr 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 7 additions & 9 deletions .github/workflows/cb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: Analyze
runs-on: ubuntu-latest
container:
image: 'ubuntu:24.04'
image: 'ubuntu:24.10'

steps:
- name: Checkout repository
Expand All @@ -26,18 +26,16 @@ jobs:

- run: |
apt-get update -qq
apt-get install -y -qq libxml2-dev libxslt1-dev libsqlite3-dev libwebkit2gtk-4.1-dev libjson-glib-dev libgirepository1.0-dev libpeas-dev gsettings-desktop-schemas-dev python3 libtool intltool valgrind libfribidi-dev gla11y appstream desktop-file-utils
apt-get install -y -qq libxml2-dev libxslt1-dev libsqlite3-dev libwebkitgtk-6.0-dev libjson-glib-dev libgirepository1.0-dev libpeas-2-dev gsettings-desktop-schemas-dev python3 libtool intltool valgrind libfribidi-dev gla11y appstream desktop-file-utils meson
mkdir inst

- run: |
sh autogen.sh
./configure --prefix=$(pwd)/inst

- run: make -C po check
- run: make && make install
- run: meson setup builddir --prefix=$(pwd)/inst
- run: meson compile -C builddir
# FIXME - run: make -C po check
- run: ninja install
- run: cp net.sf.liferea.gschema.xml /usr/share/glib-2.0/schemas
- run: /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/
- run: ls -l /usr/share/glib-2.0/schemas
- run: cd src/tests && make test
# FIXME - run: cd src/tests && make test
- run: desktop-file-validate net.sourceforge.liferea.desktop
- run: appstreamcli validate net.sourceforge.liferea.appdata.xml
26 changes: 3 additions & 23 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,39 +9,19 @@
*.so
*.swp
*.swo
Makefile
Makefile.in
Makecache
aclocal.m4
ar-lib
autom4te.cache
compile
config.guess
config.h
config.h.in
config.log
config.status
config.sub
configure
depcomp
install-sh
libtool
liferea.appdata.xml
ltmain.sh
missing
net.sf.liferea.gschema.valid
net.sf.liferea.gschema.xml
net.sourceforge.liferea.appdata.xml
net.sourceforge.liferea.desktop
net.sourceforge.liferea.service
m4
glade/*.ui~
po/.intltool-merge-cache
po/Makefile.in.in
po/POTFILES
po/liferea.pot
po/stamp-it
js/*.xml
resources/*.xml
src/js.c
src/js.h
src/dbus_wrap.c
Expand All @@ -59,8 +39,8 @@ src/tests/social
src/tests/update
xslt/*.xml
org.gnome.liferea.gschema.valid
stamp-h1
.flatpak-builder
.vscode
node_modules
package-lock.json
builddir/
po/.intltool-merge-cache.lock
243 changes: 0 additions & 243 deletions INSTALL

This file was deleted.

Loading