Port to meson (#258)
* Port to meson * plugin generation script: swtich to meson, update to python3, switch to libpeas, add some extra options, and cleanup * clean up some build warnings * kill xed-bugreport.sh with fire: it isn't used anymore, and probably doesn't even work * update gzip command to avoid warnings on some systems and move appdata.xml to /usr/share/metainfo/ as that's where it's supposed to go now * POTFILES.in: fix path that changed in the meson port, which was causing makepot to fail
This commit is contained in:
committed by
Clement Lefebvre
parent
39cadaa36e
commit
6e36dc4a5f
1
debian/clean
vendored
Normal file
1
debian/clean
vendored
Normal file
@@ -0,0 +1 @@
|
||||
debian/build/
|
4
debian/control
vendored
4
debian/control
vendored
@@ -2,8 +2,7 @@ Source: xed
|
||||
Section: x11
|
||||
Priority: optional
|
||||
Maintainer: Linux Mint <root@linuxmint.com>
|
||||
Build-Depends: autotools-dev,
|
||||
debhelper (>= 9),
|
||||
Build-Depends: debhelper (>= 9),
|
||||
gobject-introspection,
|
||||
gtk-doc-tools,
|
||||
intltool,
|
||||
@@ -21,6 +20,7 @@ Build-Depends: autotools-dev,
|
||||
python3,
|
||||
python3-gi,
|
||||
yelp-tools,
|
||||
meson
|
||||
Standards-Version: 3.9.6
|
||||
|
||||
Package: xed
|
||||
|
25
debian/rules
vendored
25
debian/rules
vendored
@@ -5,27 +5,28 @@ DHFLAGS=--parallel
|
||||
%:
|
||||
dh $@ $(DHFLAGS) --with gir
|
||||
|
||||
override_dh_install:
|
||||
rm -rfv debian/tmp/usr/lib/*/xed/plugins/*.la
|
||||
rm -rfv debian/tmp/usr/lib/*/xed/*.la
|
||||
dh_install --fail-missing
|
||||
|
||||
override_dh_auto_configure:
|
||||
# upstream tarball is without configure. autogen.sh will create it
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
dh_auto_configure $(DHFLAGS) -- \
|
||||
--enable-silent-rules \
|
||||
--libexecdir=/usr/lib/ \
|
||||
--enable-gtk-doc
|
||||
meson debian/build \
|
||||
--prefix=/usr \
|
||||
--buildtype=plain \
|
||||
-D docs=true \
|
||||
-D deprecated_warnings=false
|
||||
|
||||
override_dh_installchangelogs:
|
||||
dh_installchangelogs NEWS
|
||||
|
||||
override_dh_auto_test:
|
||||
DEB_BUILD_OPTIONS=nocheck dh_auto_test
|
||||
ninja -C debian/build test
|
||||
|
||||
override_dh_strip:
|
||||
dh_strip --dbg-package=xed-dbg
|
||||
|
||||
get-orig-source:
|
||||
uscan --noconf --force-download --rename --download-current-version --destdir=..
|
||||
|
||||
override_dh_auto_install:
|
||||
DESTDIR=${CURDIR}/debian/tmp \
|
||||
ninja -C debian/build install
|
||||
|
||||
override_dh_auto_build:
|
||||
ninja -C debian/build
|
||||
|
2
debian/xed-common.install
vendored
2
debian/xed-common.install
vendored
@@ -1,4 +1,4 @@
|
||||
usr/share/appdata
|
||||
usr/share/metainfo
|
||||
usr/share/xed/plugins
|
||||
usr/share/glib-2.0
|
||||
usr/share/help
|
||||
|
1
debian/xed.install
vendored
1
debian/xed.install
vendored
@@ -1,6 +1,5 @@
|
||||
usr/bin/xed
|
||||
usr/lib/*/xed/girepository-1.0/
|
||||
usr/lib/xed/xed-bugreport.sh
|
||||
usr/lib/*/xed/plugins/
|
||||
usr/lib/*/xed/*.so
|
||||
usr/share/applications/xed.desktop
|
||||
|
Reference in New Issue
Block a user