Skip to content

Commit

Permalink
[groovy] Build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
shiznix committed Jan 25, 2021
1 parent 3e7a48e commit 266aaf1
Show file tree
Hide file tree
Showing 33 changed files with 778 additions and 33 deletions.
2 changes: 1 addition & 1 deletion dev-libs/libunity/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ DIST libunity_7.1.4+19.04.20190319-0ubuntu3.diff.gz 30235 BLAKE2B b36388cd7ee521
DIST libunity_7.1.4+19.04.20190319-2.diff.gz 30496 BLAKE2B c95ea7a1ce2da9c1493c7bf49cb808088ff8338e7f75108dd0c59165457cb15f7f4cb212361e3e76fc7c6b015b7b80d99077ea488dbc0a5889be7b6a81f7a8b5 SHA512 7b5c71a0531991add6ed85ba65b6601f5e5caba4eff9ebc1fa78269fff37718654b09dccc73aac61219bd0ddc4bf946b63865ce890bb6d694f1b6661d83b98cb
DIST libunity_7.1.4+19.04.20190319.orig.tar.gz 213031 BLAKE2B 96982ec8dc3145c283993f2b908a342a6ff0e30fbf4f192cb49355415f03ffdba90ba1dfa65f5a83d6be18b5f00e3bb457cdaf4d3a50e668eaa09ac332aa9dea SHA512 36e0b6b5213442db3e99c9e88e35e9b6a76dfbb3627bfcbbfa45363fe9fd26f19a96158fc0b6b9c367effa7571225f40cf5a21b224a10343fefb7bc604aed15e
EBUILD libunity-7.1.4_p20190319_p0_p03-r1.ebuild 1405 BLAKE2B beed818e536c9de0ebb30bb66d3de815c77e32800e2ee6cedc2ee1606ae0dafe0393885319ec9ecffc4d2cca344eb3e408650227d6b3dca52a90264680203ef4 SHA512 a5bf54cf21faa5cdc2c5bccf6b5700c78861634a5a41573cad03a68e697c70d4390342a27298a354f6d7784b03d91c65fce7f490e3c4654b767144ced5719f17
EBUILD libunity-7.1.4_p20190319_p2_p.ebuild 1430 BLAKE2B ce04e2f0fca32283c4ad65aa1c7e3df1a91ae4f1ef35f01b64721c194f4d06e9f5ba217f11ec66629e8ff8320675dcf6dd3eabad18d9741804ce5e38fa193369 SHA512 b2c7dfce1ab64e35e154219b50c36ee1993d148ffe7b60c53bc434e3972cdfad0ebcbbe30dd1062580eb5305f6ef900779f6fd78dd72bccff647d337f4555543
EBUILD libunity-7.1.4_p20190319_p2.ebuild 1429 BLAKE2B 84edae6396c3106e979d439c68395fe316533df97d9aca038b2883a97d205c267e6947ad51f2b724b1e3215f42612d824645fc1b7088fb71cf086f6cd2462333 SHA512 f8e75d9315fbf5a755c18f4dc3bdae09640e2213aaac4f57c9a75791730a5c9bf418d9e6b256ee0f691691a036f164f06afc3ffe478ca9f6118797ea9c7a3ee4
MISC metadata.xml 393 BLAKE2B 8a3c26520070f8e3538bb60f465eb5f3a57e90f47e3522efeff38c7f48826b537f01bd2d75b549b000917b1d73336c2f1de5ddf0363e5b76f35020d53615b713 SHA512 f481fc4b124ec81d320fc3fd6047d0024bce66d4f8b2122fdd91957a75c3b24f4e7ddd8f77d2d4f60b8a8b23f5db6c19833cb140121af5b72c0147ab3f523cd3
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ src_unpack() {
}

src_prepare() {
epatch -p1 "${MY_P}${UVER_PREFIX}-${UVER}.diff"
epatch -p1 "${MY_P}${UVER_PREFIX}${UVER}.diff"
ubuntu-versionator_src_prepare
vala_src_prepare
export VALA_API_GEN="$VAPIGEN"
Expand Down
4 changes: 2 additions & 2 deletions eclass/ubuntu-versionator.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ EXPORT_FUNCTIONS pkg_setup pkg_postinst

## vala.eclass ##
# Set base sane vala version for all packages requiring vala, override in ebuild if or when specific higher/lower versions are needed #
export VALA_MIN_API_VERSION=${VALA_MIN_API_VERSION:=0.44} # Needs to be >=${minimal_supported_minor_version} from vala.eclass
export VALA_MAX_API_VERSION=${VALA_MAX_API_VERSION:=0.44}
export VALA_MIN_API_VERSION=${VALA_MIN_API_VERSION:=0.48} # Needs to be >=${minimal_supported_minor_version} from vala.eclass
export VALA_MAX_API_VERSION=${VALA_MAX_API_VERSION:=0.48}
export VALA_USE_DEPEND="vapigen"

## Ubuntu delete superceded release tarballs from their mirrors if the release is not Long Term Supported (LTS) ##
Expand Down
3 changes: 2 additions & 1 deletion gnome-base/gnome-settings-daemon/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ AUX 0003-build-Allow-udev-and-NM-optional-on-Linux.patch 1048 BLAKE2B 2c5052917a
AUX 0004-build-Make-colord-and-wacom-optional-and-controllabl.patch 3505 BLAKE2B ca3bf6ead0ea1f503b1719838418a174b72ce87725dccdaf03efed001639fa99ed2e195d8dad2c1f4c669c90168dc3b4fc3f9eab13b8560a7a212508cbdc55f7 SHA512 17387b03764c760466b7c72cd119a273c056fc15b22447eccec2a7c5c58c1cbfd98d1cd6cc84e2367f003430fcfed84008472add1330cd0c5a85216accf27798
AUX 3.32-colord_wacom_networkmanager-optional.patch 3664 BLAKE2B 1da633ce7dcbb88ab948845624e3257d1f7556651590d831cf6d86c5bc99689dc3b27ab0738a83f4df0afd0f880a600bac135debf0d7d058c8674b7ed95aee8b SHA512 97ba0e5027275da563698746be3e046ea0e130b38bed336703b5eee2748ee8fae9ad42947225bf38ba9b181e9a3778b673c5fd9d7d32533cf3cbdfc73e5a6460
AUX 3.34-colord_wacom_networkmanager-optional.patch 3339 BLAKE2B 4781bb51db09c06e0f89f778987bef1ac85d07f3e0c13baeeef50a9d64788e2a0bcf9074a56b1a53ae63a20d0516d302609f4fb413bd59ff14d883e160469f5b SHA512 7128dad8ecf0e6b69cf64d07cd9dca0fcbeb3fcab4a2573ea0d7aec64d45972b21700c0289451ee8096dc834bd4183adf531ca3b221eaf06f377c5e6b34e4be9
AUX 3.38.1-build-Make-colord-and-wacom-optional-and-controllabl.patch 3096 BLAKE2B 44587b5a73c5c1a622a8e5a422f03da414856e79edce30056f56fe93a7dcea0ca5a84be737de7fe723f023bb65714d589f60819667432109a212fc03ec4c7b68 SHA512 5ebfd528f7c446c02bf2c4160b91600e7dc27a3f6c17fec071ab9a72c6e4fffc3ba81427bdf7ba10d19cb5059238ec798ab136711018bd3269bbd658ed1c0632
AUX gnome-settings-daemon-3.36-schemas.diff 5521 BLAKE2B e092c66ae5548a88021c7d94102c6ad0d599af451665287059f9aa8bc80429b77b3b34b29ee343251079aa42bb1b4d62fa132aa960695a0b4d1922623acd4732 SHA512 e2dfd968a3ae5fe7ba7d0ca2ee9f09989b76c26df6de2842bf24d1e7a3a2b31ac594bad76596f857c55a94f5af991807524c8ca8a514f49aa1506000f12f01eb
DIST gnome-settings-daemon_3.36.1-0ubuntu1.debian.tar.xz 32640 BLAKE2B 6aeb30a2d22605c9a2dfe28b5df7f9604fc15b0f591c4488eca4747b8af55f6384e03a3112d757e9a3a7d66e0c86a53a040219323bd329f02021eebe30449ee4 SHA512 75a06a18010884b32136e3bb3c8d4a88657c4c36c72c68afcc0a2cb106991d38905ba7c4496d7c07630f1099373c3f961ef9dd0036540ac2002938025e734c08
DIST gnome-settings-daemon_3.36.1.orig.tar.xz 1415080 BLAKE2B 4026f3443b8dcab872ef54563b5fe8e89d6932373da0513d7d8c614616d396315f1e6a8d0be022aec82351b5cfe5868cbac5caeaa782d609885029fbbd1d91e3 SHA512 f2f43d9b772589b6b4212ee2b0afe8be79d50a2e0473a960c7a7b9d379222bbe84ca548114d0a247810a094b4b3bf41e40ca91173c6cf552517dc63eb3750c88
DIST gnome-settings-daemon_3.38.0-1ubuntu1.debian.tar.xz 34044 BLAKE2B c770d7f2fab2c3d6bf89ad8f2e64df1650b65d2d1201c37ec448b3ee60eacd3cac94942092c9e24c1e897c6b51c222572283ca1a555d70be12d5ad87ad463e60 SHA512 27af6151a11be695143d5897baea27922f7e0da9ea36979af24f00d635e6ff29f288d89d5efa386fbe1df4b34f5101d8b4a335557079085dfac9911d6f810c1d
DIST gnome-settings-daemon_3.38.0.orig.tar.xz 1433260 BLAKE2B 818bc2833ce030e27605e00b8efdc38e2b2e6ef2c11af22d3a92248aa7262d0cfd592c7cb43bab62ae181b3701a8b39b08528983fddfbfa38ca7590e1a1deb4b SHA512 ee53069e4af831e2cfd37fe69b855464733f30c5109d6a02c9078567516df97b94e0a7985a5ebb4685e3f2b600a9f16858276d223855b8a47b911f0ecf9e1506
EBUILD gnome-settings-daemon-3.36.1_p_p0_p01.ebuild 3842 BLAKE2B b3b084f99c34132f8df452c344c105b8340eabdcc0aed7792ad19e51e7e277bac6db194c32688ad6837a73e62883b7be66560d3c0026c637d872974b30c79084 SHA512 991a33bec467f11ec3deaf6a52969d4e187374a6c7fa6cef0d3ed35d1538137c7357a68a49e1b534454b6d4efb23b96abed63136d5b38977429256465fc86ba2
EBUILD gnome-settings-daemon-3.38.0_p_p1_p01.ebuild 3836 BLAKE2B fb8f8666ccdbe2577dbae1ecd760d018c5b15c4ea2de80511e21eed2689ea646771c620cfba0ea51ae92a86a376e478d041abea8399b4fc364fc6063c1685e1b SHA512 33bb618a6fa784bb60c00b86b826706c6989b9cae7319159fcd4c075646ca0aa518d091cbd6f705a261a224c69c382b5e1ffd1042b2e9a444cee0a5a9c73440c
EBUILD gnome-settings-daemon-3.38.0_p_p1_p01.ebuild 3854 BLAKE2B e14b3252a33fdcb7c87b8c3ddafa682c8f3810fe05a4473a19b8b0b3a485f7bda54971ee305c56801db06d31f8063265bec0b0d34bd53b35bee48095b0cdf823 SHA512 f027df43740fcc2ad485ce81bf367f329cdc45f7a878c8907d4d98296c93ab4c3d09e38b416b930867f0030a224023396e3210bfa870d0f2a03a47590a29e6fd
MISC metadata.xml 932 BLAKE2B 26a4442e890f4c5a9d9fa0fe0c446411570d1bee0e24f34d6060254646a0c010804958b08389b1ea057666eab292aab19c74ccf18c6abf9ed06f725620488024 SHA512 d55b2345dbba19c6bcdcf02382d44cfc40e5ed7a61797d66f2c5c6dc235691841b5202efc1913523ea00fd73c8662e8a46df00770a8feaef4efb0d7544afe909
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
From 0cc1c2f5f5d12169acbb965a21b5d9f6fb4a0767 Mon Sep 17 00:00:00 2001
From: Mart Raudsepp <[email protected]>
Date: Thu, 14 Mar 2019 09:43:00 +0200
Subject: [PATCH 1/3] build: Make colord and wacom optional and controllable
via meson_options

---
meson.build | 10 ++++++++--
meson_options.txt | 2 ++
plugins/meson.build | 4 ++++
3 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/meson.build b/meson.build
index 7dbee64b..dce9bfa1 100644
--- a/meson.build
+++ b/meson.build
@@ -142,6 +142,12 @@ if host_is_linux
assert(enable_gudev, 'GUdev is not optional on Linux platforms')
endif

+# Check for colord
+enable_colord = get_option('colord')
+if enable_colord
+ colord_dep = dependency('colord', version: '>= 1.3.5')
+endif
+
has_timerfd_create = cc.has_function('timerfd_create')
config_h.set10('HAVE_TIMERFD', has_timerfd_create)

@@ -154,8 +160,8 @@ if enable_wayland
endif
config_h.set10('HAVE_WAYLAND', enable_wayland)

-# wacom (disabled for s390/s390x and non Linux platforms)
-enable_wacom = host_is_linux_not_s390
+# wacom
+enable_wacom = get_option('wacom')
if enable_wacom
assert(enable_gudev, 'GUDev support is required for wacom support.')
libwacom_dep = dependency('libwacom', version: '>= 0.7')
diff --git a/meson_options.txt b/meson_options.txt
index 3e04cf64..6f6eb2fc 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -4,11 +4,13 @@ option('systemd', type: 'boolean', value: true, description: 'Enable systemd int

option('alsa', type: 'boolean', value: true, description: 'build with ALSA support (not optional on Linux platforms)')
option('gudev', type: 'boolean', value: true, description: 'build with gudev device support (not optional on Linux platforms)')
+option('colord', type: 'boolean', value: true, description: 'build with colord support')
option('cups', type: 'boolean', value: true, description: 'build with CUPS support')
option('network_manager', type: 'boolean', value: true, description: 'build with NetworkManager support (not optional on Linux platforms)')
option('rfkill', type: 'boolean', value: true, description: 'build with rfkill support (not optional on Linux platforms)')
option('smartcard', type: 'boolean', value: true, description: 'build with smartcard support')
option('usb-protection', type: 'boolean', value: true, description: 'build with usb-protection support')
+option('wacom', type: 'boolean', value: true, description: 'build with Wacom devices support')
option('wayland', type: 'boolean', value: true, description: 'build with Wayland support')
option('wwan', type: 'boolean', value: true, description: 'build with WWAN support')
option('colord', type: 'boolean', value: true, description: 'build with colord support')
diff --git a/plugins/meson.build b/plugins/meson.build
index 83e01885..20ccb26d 100644
--- a/plugins/meson.build
+++ b/plugins/meson.build
@@ -20,6 +20,10 @@ all_plugins = [

disabled_plugins = []

+if not enable_colord
+ disabled_plugins += ['color']
+endif
+
if not enable_smartcard
disabled_plugins += ['smartcard']
endif
--
2.26.2

Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ DEPEND="${COMMON_DEPEND}

src_prepare() {
ubuntu-versionator_src_prepare
eapply "${FILESDIR}/3.34-colord_wacom_networkmanager-optional.patch"
eapply "${FILESDIR}/3.38.1-build-Make-colord-and-wacom-optional-and-controllabl.patch"
gnome2_src_prepare

use schemas && eapply "${FILESDIR}/${PN}-3.36-schemas.diff"
Expand Down
2 changes: 1 addition & 1 deletion gnome-base/nautilus/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ DIST nautilus_3.36.3.orig.tar.xz 3201908 BLAKE2B ec7be7ad523e29c853a1a16dd638125
DIST nautilus_3.38.1-1ubuntu1.debian.tar.xz 51892 BLAKE2B 9b58765c0e439b705b7db22e4a590e124cc3e1a59809b45de84e22f089e1f80feb8302268b532bc5f569ca97fc4e02ebf3b0820ce9830d8e5ff27a35b1a1ba2a SHA512 0f118512358f60d33f96b551d9cf4572664c70945b7a0b90a2f8ffd60391db2088d109f46b043fb9f334f20f829db1d7231fde440a8c44e0ede254cd93e0ffe1
DIST nautilus_3.38.1.orig.tar.xz 3220728 BLAKE2B 54f3a02dc95b971f30c0a62102604a17998beff6980ebed5a36d94523bbe0e1a76f10571b7fd2dfcb97187ad825d403ec26aee37e1416a21e583af51c5fe8832 SHA512 5b0f7bb3fd49d953976d1f71294c70eb3a4df883941d3a0134c63bd562367df45ffa982b40b9273bf8d85cd7cb6e5f0d9828ad2a71cfb82865cca91f624ea195
EBUILD nautilus-3.36.3_p_p0_p01.ebuild 3294 BLAKE2B 490c7914cf4ed4db7433f210e098e838830c4354dfd23ececda7be85df7d674a7c73c5d5a315a111851c8bc63e367b82383e79c6739430cb8e93d5fc2d55b6e0 SHA512 37beb7d71a83e893f1cdaf14238eaf07c346fb04f5c6201e93f3f7d19fb28aec511c12a8ceea03d7ad78079e69fdc1e1bb2131d03302893cc44dabc5f8ef7151
EBUILD nautilus-3.38.1_p_p1_p01.ebuild 3288 BLAKE2B 1bc3bbd9b3c78d47e6b904e8407bc74e7eb8befdd4e0b8e5e804755b4d3c791a9430088f2c52ced088d86e3c1f245ee8b7120b3d1f63874c085b7e262084ce7f SHA512 776a3f47fe294f3ac9e248517d57783ada278b317ec7a8233a991e6e471eedc966a78df2cd4f3509a526487d8c7f4b030f97fe6344c7003b3f4889d6aa31e2ba
EBUILD nautilus-3.38.1_p_p1_p01.ebuild 3176 BLAKE2B 1f3900d50f48b6b884adf881be0591a090d88c539b95b1be8766686fde4686b3b1e8507f8cf9c96d6c38db0834a38896eb68637f856d572461e699efbde1b1a6 SHA512 e93b3a2a6363479cdbb5401cc70019a85689d42ddac2c6e4067c8548740830931e450ecbf1a748dbb2ae48e167d39e3000b15c61bd092da504edc72ea9450e5d
MISC metadata.xml 810 BLAKE2B 52d67aa38dac0d9a5e366e5eeac03cc0006aa9c95cd1fa6466218b262ed03adcdffbb8ebea78675ddb4e57cc7c6a0f6bca62307b340fcf528572dcab0b051a06 SHA512 bc7641595ce20641ed90eea3b014a3eaf9b08ed730e82a7173b0e884175c56aa2a1b3f86265afec387f904fb1762f0ca87e47a47b428ab759ebb58f4b5b5330e
1 change: 0 additions & 1 deletion gnome-base/nautilus/nautilus-3.38.1_p_p1_p01.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ PDEPEND="

PATCHES=(
"${FILESDIR}"/3.30.5-docs-build.patch # Always install pregenerated manpage, keeping docs option for gtk-doc
"${FILESDIR}"/3.34-add-legacy-clipboard.patch # https://gitlab.gnome.org/GNOME/nautilus/issues/634#note_474020
)

src_prepare() {
Expand Down
2 changes: 1 addition & 1 deletion gnome-extra/nm-applet/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ DIST network-manager-applet_1.18.0-1ubuntu2.debian.tar.xz 19736 BLAKE2B 4feaf378
DIST network-manager-applet_1.18.0.orig.tar.xz 1950696 BLAKE2B d89f4d3c94af2c6bf514fc388fc445415b50508bf7e26f7888d8e212a63879abb24bf860002372bcae71eee94c3b8e9f2bfa9f16814a3537b0f81c486f82e396 SHA512 adca7c723600ec1cb2eed0110e369cf707fde1d64a81489440a167516d178a501fe883c08db06371b8aac896188eb2037a7577ecca721d764be33f4025a386d4
DIST network-manager-applet_1.8.24-1ubuntu3.debian.tar.xz 23128 BLAKE2B 4d8d4feb94f98c8dd9d560bec48a516f5c9456edfef55b2ce6d73a621576a11eebacfb04d5efa4f51bb2b082011deaf0fc471730e25b765ee879cc2e8836a409 SHA512 d92d61d3394bca8694a5c061dbf34806c35a788b2dc2aaf8cee63664a6580001c6e3cca728b605d5d8f8061358d73605769d62ec40b54f5f8e21cf57aef0be83
DIST network-manager-applet_1.8.24.orig.tar.xz 2062132 BLAKE2B fed75ab78e05b59a4f20c7570b84ac6fe3dd2cf6f8ad060f6c65bc9e2a32e29d295fc919de1037ba30c2609d35079dccb3f625ffc019150c9c69cfa94388e2c8 SHA512 76e914ec4f2e6eadd21ccc3e1f613fb97cb72d9551730a1dc09454177365dcaa2cdeea4b855c53732ad6a22cfa5e62e03f09fc8b04a277ce213dcf8c3beaf77c
EBUILD nm-applet-1.18.0_p_p1_p02.ebuild 2711 BLAKE2B 516c775aef83ebc46a0cc30ca9d9509105a91ec6badb128c566580666fee342817a1e342ff39df43df7343627b91700d8a60b01cfca0fd0f1c0e5b58b8f5d3c8 SHA512 350c4fc8ecfdd34eebf38cc5222cf71f9c47197f82303c65a9f2c5f4b6b2d8b5abfe0ac74bd3ad9944cbb8dfd41e1a34c7badebfcedaee8627a16d34a92c69ae
EBUILD nm-applet-1.18.0_p_p1_p02.ebuild 2740 BLAKE2B b4b92eb08841cadd0d1988ed02d9c08b358b7d8465d36d95266203294dc0e1380362bc68f27d2c8b808753906060a39d963cb0ee529f5a2d877b07c42f73a4c6 SHA512 447a506a33649787a3aa02f1ea022e9c39ba880cd7ec85a7efffe78f6dce1c6c65c3eb99efc1b1a7aabb0e0c716ca1864cf8037325077fab55b9a3ecb212cf3c
EBUILD nm-applet-1.8.24_p_p1_p03.ebuild 3022 BLAKE2B c2383674acebec2f3ccd114f303a0e55a54cb309ae3916ad6f70e4cb177e84ccb44e79ff4ff5f1b439264044e6a0438ae539abbf0a5720dea987c4177543c413 SHA512 fd63bbbb62e7bc57231773dc3997e999904627cc4ea1db4f9d1e3b2ca4eaa1fc37772ff6babcd45960220bf7a881ce6c9777192ce04605a14f24d1d03bf158cc
MISC metadata.xml 393 BLAKE2B 8a3c26520070f8e3538bb60f465eb5f3a57e90f47e3522efeff38c7f48826b537f01bd2d75b549b000917b1d73336c2f1de5ddf0363e5b76f35020d53615b713 SHA512 f481fc4b124ec81d320fc3fd6047d0024bce66d4f8b2122fdd91957a75c3b24f4e7ddd8f77d2d4f60b8a8b23f5db6c19833cb140121af5b72c0147ab3f523cd3
5 changes: 3 additions & 2 deletions gnome-extra/nm-applet/nm-applet-1.18.0_p_p1_p02.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ RDEPEND=">=app-crypt/libsecret-0.18
>=dev-libs/glib-2.38:2[dbus]
>=dev-libs/dbus-glib-0.88
dev-libs/libappindicator:3
=dev-libs/libdbusmenu-16.04.0
>=dev-libs/libdbusmenu-16.04.0
>=dev-libs/libgudev-147:=
>=net-libs/libnma-1.8.27
>=sys-apps/dbus-1.6.12[systemd?]
>=sys-auth/polkit-0.96-r1
>=x11-libs/gtk+-3.10:3
Expand Down Expand Up @@ -61,7 +62,7 @@ src_configure() {
$(meson_use modemmanager wwan)
$(meson_use selinux)
$(meson_use teamd team)
-Dappindicator=true
-Dappindicator=ubuntu
-Dmore_asserts=0
-Dld_gc=false
)
Expand Down
22 changes: 22 additions & 0 deletions profiles/ehooks/media-gfx/eog-3.36.4/01-post_src_unpack.ehook
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
ebuild_hook() {
ehook_require eog_menu

unpack "${EHOOK_FILESDIR}"/global-menu-translations-xenial.tar.xz

einfo " Merging available translations..."

local po_ext po_orig
local -a po_files=( po/* )

for po_ext in "${po_files[@]}"; do
po_orig=${po_ext/po/${P%%_*}\/po}

if [[ -f ${po_orig} ]]; then
sed -i -e '/msgid \"\"/,/^$/d' "${po_ext}"
cat "${po_ext}" >> "${po_orig}"
## REVISIT: redirect stderr to stdout to ignore warning message:
## eog-3.36.3/po/ms.po:110: warning: internationalized messages should not contain the '\v' escape sequence
msguniq --use-first -o "${po_orig}" "${po_orig}" 2>&1
fi
done
}
Loading

0 comments on commit 266aaf1

Please sign in to comment.