diff options
author | Fabio Erculiani <lxnay@gentoo.org> | 2012-07-20 13:36:26 +0000 |
---|---|---|
committer | Fabio Erculiani <lxnay@gentoo.org> | 2012-07-20 13:36:26 +0000 |
commit | 2a645cf2cb9d7f7564aee044add757ff2afdc3ef (patch) | |
tree | 3110817913f80fe048bfc04ef72bc13ea8623459 /app-admin/packagekit-base | |
parent | properly handle 'connman' USE flag (diff) | |
download | historical-2a645cf2cb9d7f7564aee044add757ff2afdc3ef.tar.gz historical-2a645cf2cb9d7f7564aee044add757ff2afdc3ef.tar.bz2 historical-2a645cf2cb9d7f7564aee044add757ff2afdc3ef.zip |
fix compilation with unmasked npapi-sdk (see notes inside ebuild)
Package-Manager: portage-2.2.0_alpha104/cvs/Linux x86_64
Diffstat (limited to 'app-admin/packagekit-base')
4 files changed, 30 insertions, 5 deletions
diff --git a/app-admin/packagekit-base/ChangeLog b/app-admin/packagekit-base/ChangeLog index 43675c4610f3..ddf22a2aa311 100644 --- a/app-admin/packagekit-base/ChangeLog +++ b/app-admin/packagekit-base/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-admin/packagekit-base # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-base/ChangeLog,v 1.25 2012/07/20 13:15:38 lxnay Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-base/ChangeLog,v 1.26 2012/07/20 13:36:26 lxnay Exp $ + + 20 Jul 2012; Fabio Erculiani <lxnay@gentoo.org> packagekit-base-0.7.4.ebuild, + +files/packagekit-base-0.7.x-npapi-api-change.patch: + fix compilation with unmasked npapi-sdk (see notes inside ebuild) 20 Jul 2012; Fabio Erculiani <lxnay@gentoo.org> packagekit-base-0.7.4.ebuild: properly handle 'connman' USE flag diff --git a/app-admin/packagekit-base/Manifest b/app-admin/packagekit-base/Manifest index 808f6f2d18b3..023f647c5fc4 100644 --- a/app-admin/packagekit-base/Manifest +++ b/app-admin/packagekit-base/Manifest @@ -1,8 +1,9 @@ AUX packagekit-base-0.6.22-npapi-sdk.patch 2467 SHA256 b9165ddf871d1485871b7e47510bf0c6cac70f3d63631bbc81fc4fe2c91ace78 SHA512 0d0efefb50752fd2ca25aba65bb1cc97c1b3c859a6735ce24f6797c8b2a18b908d7a5e408b0a125b2445809872603ba1d7131db670d2999d4842a2d4301c55c5 WHIRLPOOL 8e7d6d0095dab751ad1089463939c4b6ad5ab20ec2e222cd28ec6ff52b515836e3cbb012027f6d34ee58f8beb6f50c18ffc139bd2f22cc43dff947d7712994e8 +AUX packagekit-base-0.7.x-npapi-api-change.patch 412 SHA256 f225f6f9400e994bc7db9477e434bdd24bf4e99d1f935ad29d07f5538220e0da SHA512 34fc9c96b7cdb8746bbaf5fa97eff8a5ca1dfc66b882b6008cec32dba6c6a3e1b1da95809c8a25ac0ee6ca190f813ed394d27c63e372d3742e5becae4c8d22b5 WHIRLPOOL 549fcf6ee8dbd7ef4e5bca5de13bfee49caeecf22a6d70a5d1b04fffaa53972c4e38e31520535a2aca363cc8022243aea54e7ec3ec9f487deda93c8b3581848f AUX packagekit-base-0.7.x-npapi-sdk.patch 2332 SHA256 59e2b756898c38bf06fad76ab085d8693f5afae854a12e26f395b99e128a5e59 SHA512 641313323a1461ec0efd44098a9efcf14612732c8cb73c0aac4737ae32045771166cb2d4d1be905a82a06406f3e1d4d35e0b637583ffeacf38ec88c2e434d8b2 WHIRLPOOL 619b143e8ab4c0558a04633a5ea763424c46b4223286c1953eb01a10639f1af8f51ea5a3822b83586ecac3a1a793f0d09abaf75b6bc031eb20b00d3485faad4b DIST PackageKit-0.6.22.tar.xz 7886160 SHA256 b9f71721b0b16e106c0a1ce28c97b2277a34b0c15d1a171f4898f34117ebaa2d SHA512 965647e0016f6ffc21084722393bd71464d1e18c939be49414dbdcb3eec6d89115690f8b30bd6648e2f297c72cccc35ec8600377453a51e8b28b4f4b055dca85 WHIRLPOOL 013520e1e0ae821ec1c0a6f908a1e71a8521663ac44b2c1921ff8351390804d629f5e133229dc6db1086e69784324a5da0d82c522ff874ddd9e6b67c2bf72a77 DIST PackageKit-0.7.4.tar.xz 1493656 SHA256 4112c86d67afbbb9be5d3a706c63c537babbbe1f96e398ae306f5e5e02563a98 SHA512 a2cee60f499ec6c5359f3dc2eddda02cfb9c287f80a6b38aa1d9d87558ce5938ade87ab34f6cb1f9640749a0f19625b44c89f72dea5fbb0cbd5f34aec8dbb9f6 WHIRLPOOL 2827cb038c86164ae58021fafe9f2bbf21e69b5c63c4ef5e0f613806f5725f910af3d5aa51646fd258da9c91b81b086cf9560f66bf042e1cb6d1c25128f984b3 EBUILD packagekit-base-0.6.22.ebuild 5125 SHA256 be4c58d12669e6577d266d0d0aa67041d0b5c850145c618ce8cd5457fd61f948 SHA512 ed62e334ee6a27868e004a286b7cda95d576188dfc9ecf71bea622cbbca460149701594ac4929ff7111a8a60bf4f31c8fd0ca3c09826f202242073d202d0bae7 WHIRLPOOL 6943acb2988f3163168780832d22da6f363c0ed5ca874c3416cf09b26d2d91daf7c98dbd66313d8f07bf7a2695085125a48033f93d2726cd03017c558e6a7234 -EBUILD packagekit-base-0.7.4.ebuild 5310 SHA256 42ab44581e9f1a6ebad99ae7695c81a6d1313fde6e9868ccf666a0da8ce09bf4 SHA512 07f230df8e2b59f8a57ad533d5d724dd9fb421afd7066b21ab7819b8367d23ee5a1420eda59b3f08194ae4b5dd2f303d24d5b8dd6165a2c219cdabf977e1c135 WHIRLPOOL 502d183f9ea11b30a52f8accd27a76534472bf700c2d79bf052ef92ea76af52fb6ffc5a702e3578383fa8dfbee00808fcc13742d13444419d6eebb5ec43fed76 -MISC ChangeLog 4571 SHA256 26e33e2715b1bc83337ffa1e753def44c8e397fa2f08f29afeb58e55a387b4e9 SHA512 3d6900aed69c2c8b75c53a3dcb84c8b220f330b51b0644f4b7ea5a9408fe8186bfd57db492ab891f6698b1b8489e10c4065d4b0478f27baeea3049cc2550cbdd WHIRLPOOL 8cc4a212c5aa65a4031ba5fee9ab257a42ff79a8794f380cdc3b8836eaa61bf997f8cccec8687a3164d2e3e71abb7fcba637dc912040543f6107e5990bf60b28 +EBUILD packagekit-base-0.7.4.ebuild 5528 SHA256 df127dc0869ef209c63ce3af62bde1cea7af7160fdee9d413be8dc9cdbfab58e SHA512 2168a26bc469a8447143a175dae161e830b65eff11b65b976f5420e4f3a73e9833c6e1ee46d3a629c6fa2722f95e9a9841f4db95780989e39082e99d7a84e370 WHIRLPOOL 3420e9ea266b2987b6bc148dfaad9abfea7e5946cead3c23a0e30f62c7ac7c393e4933b67d663e09e3bb93b5fc6b2904b870ad2d42f40293c3ed31375c1e70f9 +MISC ChangeLog 4775 SHA256 61870a1f086c74c02c9d817e12942592ad676e62bf8d1f7998349182821e3691 SHA512 c24cbf964ee3149e49a613afba91ff83f11fb29fc8345516e9348119be436d994c4751eabfd8728fbe26799dad6e6040a0fb568c3e1ba721dfda92cdeed732d1 WHIRLPOOL fecb0344311b3048a40b9845c5bf389591dcfbe0d45618b1595c31facecd7939aecaf50847a39895db2ad2bcb110d37d88da75c99444ea50f80c586d74a818de MISC metadata.xml 639 SHA256 f37178ff7b755a3ce7a17d8cef4edaafd4a535e61b40c503ddfb801b67ed840e SHA512 b25dcab4c1c43ec9bd0fb996b77a0e594469f928a471ccda29188f23ac3758db756d1f0e6fc81221f41579e063c180b5eb108790fa457817d414cdb39d89c9a3 WHIRLPOOL 1cf89e87686d588a2b708dc634536445771b7945443e6064e0e4f1834cac9b82f9c640ed349d189af931efcb8ec3faef2780af5bad44c49722ef09917cdec334 diff --git a/app-admin/packagekit-base/files/packagekit-base-0.7.x-npapi-api-change.patch b/app-admin/packagekit-base/files/packagekit-base-0.7.x-npapi-api-change.patch new file mode 100644 index 000000000000..5c96e51a60ec --- /dev/null +++ b/app-admin/packagekit-base/files/packagekit-base-0.7.x-npapi-api-change.patch @@ -0,0 +1,17 @@ +--- a/contrib/browser-plugin/pk-main.c ++++ b/contrib/browser-plugin/pk-main.c +@@ -503,11 +503,11 @@ NP_Shutdown () + /** + * NP_GetMIMEDescription: + **/ +-const char * ++char * + NP_GetMIMEDescription (void) + { + g_debug ("NP_GetMIMEDescription"); +- return (const gchar*) "application/x-packagekit-plugin:bsc:PackageKit Plugin"; ++ return (gchar*) "application/x-packagekit-plugin:bsc:PackageKit Plugin"; + } + + /** + diff --git a/app-admin/packagekit-base/packagekit-base-0.7.4.ebuild b/app-admin/packagekit-base/packagekit-base-0.7.4.ebuild index 92cf52a93fab..67121530f275 100644 --- a/app-admin/packagekit-base/packagekit-base-0.7.4.ebuild +++ b/app-admin/packagekit-base/packagekit-base-0.7.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-base/packagekit-base-0.7.4.ebuild,v 1.5 2012/07/20 13:15:38 lxnay Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-base/packagekit-base-0.7.4.ebuild,v 1.6 2012/07/20 13:36:26 lxnay Exp $ EAPI="3" @@ -38,7 +38,7 @@ CDEPEND="connman? ( net-misc/connman ) >=sys-apps/dbus-1.3.0" DEPEND="${CDEPEND} doc? ( dev-util/gtk-doc ) - nsplugin? ( >=net-misc/npapi-sdk-0.27 ) + nsplugin? ( <net-misc/npapi-sdk-0.27.1 ) dev-libs/libxslt >=dev-util/intltool-0.35.0 virtual/pkgconfig @@ -65,6 +65,8 @@ RESTRICT="test" # tests are failing atm # doc is in the tarball and always installed # mono doesn't install anything (RDEPEND dev-dotnet/gtk-sharp-gapi:2 # (R)DEPEND dev-dotnet/glib-sharp:2 dev-lang/mono), upstream bug 23247 +# >=npapi-sdk-0.27.1 has slightly changed API, once it is unmasked in tree +# drop the npapi-api-change patch below and relax the dependency constraints # UPSTREAM: # documentation/website with --enable-doc-install @@ -72,6 +74,7 @@ RESTRICT="test" # tests are failing atm src_prepare() { epatch "${FILESDIR}"/${PN}-0.7.x-npapi-sdk.patch #383141 + epatch "${FILESDIR}"/${PN}-0.7.x-npapi-api-change.patch #416711 # http://pkgs.fedoraproject.org/gitweb/?p=PackageKit.git;a=commit;h=0b378668288db34890b82c7be007fc76c7fcd956 sed -i -e '/polkit-backend-1/d' configure || die #423431 } |