{
 "app_id": "com.abisource.AbiWord",
 "source_url": "https://raw.githubusercontent.com/flathub/com.abisource.AbiWord/master/com.abisource.AbiWord.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--filesystem=home",
  "--filesystem=xdg-run/gvfsd",
  "--filesystem=xdg-run/gvfs",
  "--talk-name=org.gtk.vfs.*"
 ],
 "module_count": 16,
 "fetched_at": "2026-09-17T16:06:47.361805+00:00",
 "manifest": {
  "app-id": "com.abisource.AbiWord",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "abiword",
  "rename-desktop-file": "abiword.desktop",
  "rename-appdata-file": "abiword.appdata.xml",
  "rename-icon": "abiword",
  "copy-icon": true,
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--filesystem=home",
   "--share=network",
   "--talk-name=org.gtk.vfs.*",
   "--filesystem=xdg-run/gvfs",
   "--filesystem=xdg-run/gvfsd"
  ],
  "build-options": {
   "env": {
    "V": "0"
   }
  },
  "cleanup": [
   "/lib/pkgconfig",
   "/share/man",
   "*.la",
   "*.a"
  ],
  "modules": [
   "shared-modules/intltool/intltool-0.51.json",
   {
    "name": "boost",
    "buildsystem": "simple",
    "cleanup": [
     "/include",
     "/lib/libboost_*.so*",
     "/lib/libboost_*.a"
    ],
    "build-commands": [
     "./bootstrap.sh --with-libraries=atomic",
     "./b2 install variant=release link=shared runtime-link=shared --prefix=/app --without-math --without-thread --without-container --without-log --without-system --without-filesystem --without-chrono --without-random --without-python -j $FLATPAK_BUILDER_N_JOBS"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/project/boost/boost/1.80.0/boost_1_80_0.tar.bz2",
      "sha256": "1e19565d82e43bc59209a168f5ac899d3ba471d55c7610c677d4ccf2c9c500c0"
     }
    ]
   },
   {
    "name": "gsf",
    "cleanup": [
     "/include",
     "/lib/pkgconfig",
     "/share/man",
     "/share/gtk-doc/html/gsf",
     "/share/thumbnailers",
     "/bin/gsf*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/libgsf/1.14/libgsf-1.14.58.tar.xz",
      "sha256": "06e07ea12b7a52b9e316faddfecb640b1717a4875c59f0efb3b0cec1e2ccf35a",
      "x-checker-data": {
       "type": "gnome",
       "name": "libgsf",
       "versions": {
        "<": "1.15"
       },
       "stable-only": true
      }
     }
    ]
   },
   {
    "name": "libwmf",
    "cleanup": [
     "/include",
     "/lib/gtk-2.0",
     "/share/doc/libwmf",
     "/bin/libwmf*",
     "/bin/wmf*"
    ],
    "config-opts": [
     "--with-freetype=/usr"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/caolanm/libwmf.git",
      "tag": "v0.2.13",
      "commit": "9e4737f2293c0d127bda92e5b01896df10571424"
     },
     {
      "type": "shell",
      "commands": [
       "autoreconf -vfi"
      ]
     }
    ]
   },
   {
    "name": "wv",
    "cleanup": [
     "/include",
     "/share/man",
     "/share/wv",
     "/lib/pkgconfig",
     "/bin/wv*"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/AbiWord/wv.git",
      "tag": "wv-1-2-9",
      "commit": "30692affae5ee38f4804e1621e10e1f4f58d3fd3"
     },
     {
      "type": "shell",
      "commands": [
       "touch AUTHORS ChangeLog"
      ]
     },
     {
      "type": "shell",
      "commands": [
       "autoreconf -vfi"
      ]
     }
    ]
   },
   {
    "name": "link-grammar",
    "cleanup": [
     "/include",
     "/lib/pkgconfig",
     "/bin/link-parser"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/AbiWord/link-grammar.git",
      "tag": "link-grammar-5.3.11",
      "commit": "48fd63ebfeb570b418e1068ed434c8b17bf743f2"
     }
    ]
   },
   {
    "name": "lasem",
    "cleanup": [
     "/include",
     "/lib/pkgconfig",
     "/doc",
     "/share/gir-1.0",
     "/share/gtk-doc",
     "/share/man",
     "/bin/lasem*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/lasem/0.5/lasem-0.5.1.tar.xz",
      "sha256": "51f019984bc94b8a0dec70bb7af2950345759304584a5cc3d990d9ff2c66b443",
      "x-checker-data": {
       "type": "gnome",
       "name": "lasem",
       "versions": {
        "<": "0.6"
       },
       "stable-only": false
      }
     }
    ]
   },
   {
    "name": "goffice",
    "cleanup": [
     "/include",
     "/share/gtk-doc",
     "/lib/pkgconfig"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/goffice/0.10/goffice-0.10.61.tar.xz",
      "sha256": "558597fd9ca59b93ff562750218d1e7ea8ec3c8d0ed6a5cc096aa715ef909a15",
      "x-checker-data": {
       "type": "gnome",
       "name": "goffice",
       "versions": {
        "<": "0.11"
       },
       "stable-only": true
      }
     }
    ]
   },
   {
    "name": "librevenge",
    "cleanup": [
     "/include",
     "/lib/pkgconfig"
    ],
    "config-opts": [
     "--disable-tests",
     "--disable-werror",
     "--without-docs"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/project/libwpd/librevenge/librevenge-0.0.6/librevenge-0.0.6.tar.xz",
      "sha256": "19eacf5ce55d7fe6a990a45142589cdf7da0c7b68701797f133482cb44f189fa"
     }
    ]
   },
   {
    "name": "libwpd",
    "build-options": {
     "cxxflags": "-Wno-error=restrict"
    },
    "config-opts": [
     "--without-docs"
    ],
    "cleanup": [
     "/include",
     "/share/doc",
     "/lib/pkgconfig",
     "/bin/wpd*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/project/libwpd/libwpd/libwpd-0.10.3/libwpd-0.10.3.tar.xz",
      "sha256": "2465b0b662fdc5d4e3bebcdc9a79027713fb629ca2bff04a3c9251fdec42dd09"
     }
    ]
   },
   {
    "name": "libwpg",
    "cleanup": [
     "/include",
     "/share/doc",
     "/lib/pkgconfig",
     "/bin/wpg*"
    ],
    "config-opts": [
     "--without-docs"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/project/libwpg/libwpg/libwpg-0.3.3/libwpg-0.3.3.tar.xz",
      "sha256": "99b3f7f8832385748582ab8130fbb9e5607bd5179bebf9751ac1d51a53099d1c"
     }
    ]
   },
   {
    "name": "psiconv",
    "cleanup": [
     "/include",
     "/share/man",
     "/share/psiconv",
     "/bin/psiconv*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "http://www.frodo.looijaard.name/system/files/software/psiconv/psiconv-0.9.9.tar.gz",
      "sha256": "6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0"
     },
     {
      "type": "patch",
      "path": "patches/psiconv-fixes.patch"
     },
     {
      "type": "shell",
      "commands": [
       "autoreconf -vfi"
      ]
     }
    ]
   },
   {
    "name": "gtkmathview",
    "cleanup": [
     "/include",
     "/lib/pkgconfig",
     "/share/man",
     "/bin/mathml*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/AbiWord/gtkmathview/releases/download/0.8.1/gtkmathview-0.8.1.tar.xz",
      "sha256": "2ab60a33ef1cd76591e70770799e6bc0b2600c5366933a7c1978a33a54faae44"
     }
    ]
   },
   {
    "name": "libwps",
    "cleanup": [
     "/include",
     "/share/doc",
     "/lib/pkgconfig",
     "/bin/wks*",
     "/bin/wps*"
    ],
    "config-opts": [
     "--disable-werror",
     "--without-docs"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/project/libwps/libwps/libwps-0.4.12/libwps-0.4.12.tar.xz",
      "sha256": "e21afb52a06d03b774c5a8c72679687ab64891b91ce0c3bdf2d3e97231534edb"
     }
    ]
   },
   {
    "name": "enchant",
    "config-opts": [
     "--with-hunspell",
     "--with-myspell-dir=/usr/share/hunspell"
    ],
    "build-options": {
     "cflags": "-fpermissive"
    },
    "cleanup": [
     "/include",
     "/lib/pkgconfig",
     "/bin/enchant"
    ],
    "post-install": [
     "install -p -D -m 0644 COPYING.LIB -t ${FLATPAK_DEST}/share/licenses/enchant/"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/AbiWord/enchant.git",
      "//": "tags/enchant-1-6-0",
      "commit": "02f3b4a85560b93d9a0aa593ef70e5496d0f029c"
     },
     {
      "type": "shell",
      "commands": [
       "autoreconf -vfi"
      ]
     }
    ]
   },
   {
    "name": "abiword",
    "config-opts": [
     "--enable-plugins=auto"
    ],
    "build-options": {
     "cppflags": "-DFLATPAK_BUILD"
    },
    "cleanup": [
     "/include"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://gitlab.gnome.org/World/AbiWord.git",
      "tag": "release-3.0.8",
      "commit": "406c32c2a4a1ef9765b102fcba753ba085a7c2dc"
     }
    ]
   }
  ]
 }
}