diff --git a/app-arch/dtrx/Manifest b/app-arch/dtrx/Manifest index 66a2f82e2..22032cbfd 100644 --- a/app-arch/dtrx/Manifest +++ b/app-arch/dtrx/Manifest @@ -1,3 +1 @@ DIST dtrx-7.1.tar.gz 41706 SHA256 1c9afe48e9d9d4a1caa4c9b0c50593c6fe427942716ce717d81bae7f8425ce97 SHA512 b08a8f91a9ff5bb9a0ca3d52340eb12b2cc8dd1528027b385673b94aa998195f3fa82ec2a154005a982d759f2b08002f423f2f97e5344739e4ae0682d4b72c83 WHIRLPOOL 60436192c00e1d8cf49979a65a33dfaad967c60b9861b5973a6153644d60cef208596067ebd3c4ac15f565fb6242f57cb03d14fd9ddba37bb44c98a04922aa9e -EBUILD dtrx-7.1.ebuild 443 SHA256 f582716a3f5ab66f09811f391e62f8e56e232b2e5e5facec59a6e28399bb1dc5 SHA512 4043d200c88f3ba62b7ac2a1218aa61f9d7474cf03daf8c186751aec149b1e0b296dd0388bf30c187d224f15db1cad2670389cb9ba79463a2b8c89d106668cc1 WHIRLPOOL 5f01a1a4cd3dedb1f4485fb47f0152e0c30c1bd11da4826698c000564d2dda25959cd0ee558bee23b1fe1a4f08248e7d4eb3f6669ce055c6f80066c5d091bba6 -MISC metadata.xml 462 SHA256 d69f3c3a809e7467a00b51735e125cceac13ef61e826f9826e32047abf287b56 SHA512 159132feba6deb454517bea4112ee9b70c0f1f8c3884d3ac263dbca455414f128a0a5a91ecffba2e75e750563124e51e0f97c6c7cf27037c16346f26e29bbaad WHIRLPOOL 0530ce72618d7a163890751f7df3ac993b2962acb2e5a7aaaec11622e58c366bd5ff2ace71cbe1d9351e349fc4c6d55ae949d98b0c80a6860f5e84b664da7969 diff --git a/app-i18n/fcitx-sogoupinyin/fcitx-sogoupinyin-0.0.0.ebuild b/app-i18n/fcitx-sogoupinyin/fcitx-sogoupinyin-0.0.0.ebuild deleted file mode 100644 index b5e6e8c77..000000000 --- a/app-i18n/fcitx-sogoupinyin/fcitx-sogoupinyin-0.0.0.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -inherit cmake-utils - -DESCRIPTION="Fcitx Wrapper for sogoupinyin." -HOMEPAGE="http://code.google.com/p/fcitx" -SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/f/fcitx-sogoupinyin/${PN}_${PV}.orig.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" -RESTRICT="mirror" - -RDEPEND=">=app-i18n/fcitx-4.2.6" -DEPEND="${RDEPEND} - dev-util/intltool" -S=${WORKDIR} diff --git a/app-i18n/fcitx-ui-light/Manifest b/app-i18n/fcitx-ui-light/Manifest index 171c6f1c7..82acf906d 100644 --- a/app-i18n/fcitx-ui-light/Manifest +++ b/app-i18n/fcitx-ui-light/Manifest @@ -1,2 +1 @@ -DIST fcitx-ui-light-0.1.2.tar.bz2 34240 SHA256 942f38fefed719c80dbf4eab830448088d59546c5b5a251e0a5bee16e4f4ece7 DIST fcitx-ui-light-0.1.3.tar.bz2 34515 SHA256 6fc12f1efdf0cb48d26eaf8a6b9dd26c4595112ee01cc051b42d548dc6c68c54 diff --git a/app-i18n/libpinyin/Manifest b/app-i18n/libpinyin/Manifest index 2ba74818a..4b55c6e44 100644 --- a/app-i18n/libpinyin/Manifest +++ b/app-i18n/libpinyin/Manifest @@ -1,3 +1,2 @@ DIST libpinyin-0.8.93.tar 2662400 SHA256 a2f44593e85818b10eb48035788bd18da12c6e4da43e5e4e16bf89b4b7b19d33 SHA512 97080884c59857089228029d4d5c13349b1c15b936e99f3b62bf95fce9eda394bd75f7c3c9a8c72dad8d28193c77a1a0de6e48a01192e7b47c78e00d1f07011e WHIRLPOOL 371131e8d62428d3e41f5f6f421f0cb5916b961d6ee5db496a87f16502e51f3820e9df4c041287b0b20d4d69c19dfe5c583ccab13f03182ec9f175a773693e57 -DIST model.text.tar.gz 10285854 SHA256 a4924c5b5923c3ff9ce55456a417486d07d3b2f7afc194f4338a1221fe36b533 SHA512 d3f137c7de0f357950abbb1e00c0f5d62fb5b4b0ea9f3a6dff29bf6bb2e4f5293319321abf1bad88742868563f65d74f0226f433ba4bcfdfe2c23fef6fea7c74 WHIRLPOOL fd1d637cfcecbbbd7506d15fd107106e578013aa9ca4c0be1aab110fb49ebcb2dbf1493953349e7cf7b0a8a5a0c2c216d993278d8ae78b42f5c703363b4efe60 DIST model5.text.tar.gz 17913795 SHA256 6419429854cc321c4c8e59a98b3821acccefd385f2bef732f353d989cf4c1e52 SHA512 f1b3d9710c8f5f1e05edf48bffe87f87f1806461c5f561bf18b9ad0d5e0cfee775735655ed57f9bc9f0539840f324ec543de8dceb725a67860d9d89d49a6cb6d WHIRLPOOL 1e69042e9fb2e7f66c8c513d3665f1e1022a77819c7fc34c2a6d0a85d79334cb588ab6098aa5211988af631f656d33df343a6ef94f21a757b1182522ed23c565 diff --git a/app-pda/ipadcharge/files/ipadcharge-9999-makefile.patch b/app-pda/ipadcharge/files/ipadcharge-9999-makefile.patch new file mode 100644 index 000000000..c101d9713 --- /dev/null +++ b/app-pda/ipadcharge/files/ipadcharge-9999-makefile.patch @@ -0,0 +1,26 @@ +--- Makefile.old 2013-06-15 10:34:21.560590739 +0800 ++++ Makefile 2013-06-15 10:57:18.771590575 +0800 +@@ -1,13 +1,19 @@ ++prefix =/usr/ ++exec_prefix=${prefix} ++bindir =${exec_prefix}/bin ++rulesdir =/lib/udev/rules.d ++ + ipad_charge: ipad_charge.c + gcc -Wall -Wextra ipad_charge.c -lusb-1.0 -o ipad_charge + + install: ipad_charge +- install -o root -g root -m 755 -s ipad_charge /usr/bin/ +- install -o root -g root -m 644 95-ipad_charge.rules /etc/udev/rules.d/ ++ mkdir -p ${DESTDIR}${bindir} ${DESTDIR}${rulesdir} ++ install -o root -g root -m 755 -s ipad_charge ${DESTDIR}${bindir} ++ install -o root -g root -m 644 95-ipad_charge.rules ${DESTDIR}${rulesdir} + + uninstall: +- rm -rf /usr/bin/ipad_charge +- rm -rf /etc/udev/rules.d/95-ipad_charge.rules ++ rm -rf ${DESTDIR}${bindir}/ipad_charge ++ rm -rf ${DESTDIR}${rulesdir} /95-ipad_charge.rules + + clean: + rm -f ipad_charge diff --git a/app-pda/ipadcharge/ipadcharge-9999.ebuild b/app-pda/ipadcharge/ipadcharge-9999.ebuild new file mode 100644 index 000000000..99366901b --- /dev/null +++ b/app-pda/ipadcharge/ipadcharge-9999.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit git-2 eutils + +DESCRIPTION="Enables USB charging for Apple devices." +HOMEPAGE="https://github.com/mkorenkov/ipad_charge" +EGIT_REPO_URI="git://github.com/mkorenkov/ipad_charge.git" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND="dev-libs/libusb:1" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/ipad_charge + +src_prepare(){ + #sed -i 's|\/usr|\$\{DESTDIR\}\/usr|g' Makefile + #sed -i 's|\/etc|\$\{DESTDIR\}\/etc|g' Makefile + epatch ${FILESDIR}/${PN}-9999-makefile.patch +} \ No newline at end of file diff --git a/dde-base/dde-meta/dde-meta-0.1.ebuild b/dde-base/dde-meta/dde-meta-0.1.ebuild new file mode 100644 index 000000000..52d46d863 --- /dev/null +++ b/dde-base/dde-meta/dde-meta-0.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +DESCRIPTION="Deepin Desktop Enviroment (meta package)" +HOMEPAGE="http://www.linuxdeepin.com" +SRC_URI="" + +LICENSE="metapackage" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dde-base/deepin-system-settings + dde-base/dss-modules-meta + dde-base/deepin-desktop-environment + dde-base/deepin-notifications + dde-base/deepin-system-tray + dde-base/deepin-xsession-settings + dde-base/deepin-session + sys-auth/consolekit" diff --git a/dde-base/deepin-artwork/Manifest b/dde-base/deepin-artwork/Manifest new file mode 100644 index 000000000..27bbbfcfd --- /dev/null +++ b/dde-base/deepin-artwork/Manifest @@ -0,0 +1 @@ +DIST deepin-artwork_13.06.12.tar.gz 5784697 SHA256 be74840e6dbb56c508fa41874d072bfdfdc96f67fd5dfaec3987bf47f7103773 diff --git a/dde-base/deepin-artwork/deepin-artwork-13.06.12.ebuild b/dde-base/deepin-artwork/deepin-artwork-13.06.12.ebuild new file mode 100644 index 000000000..f03e70d65 --- /dev/null +++ b/dde-base/deepin-artwork/deepin-artwork-13.06.12.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +DESCRIPTION="Deepin themes, icons, and sounds" +HOMEPAGE="http://www.linuxdeepin.com" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${PN}/${PN}_${PV}.tar.gz" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="media-fonts/wqy-microhei + media-fonts/liberation-fonts + x11-themes/gtk-engines-unico + x11-themes/dmz-cursor-theme + x11-themes/faenza-icon-theme" + +src_install() { + insinto "/" + doins -r ${S}/etc ${S}/usr + + rm -r ${D}/etc/X11 + +} + +pkg_preinst() { gnome2_icon_savelist; } +pkg_postinst() { gnome2_icon_cache_update; } +pkg_postrm() { gnome2_icon_cache_update; } + diff --git a/dde-base/deepin-desktop-environment/Manifest b/dde-base/deepin-desktop-environment/Manifest new file mode 100644 index 000000000..3c988c0a3 --- /dev/null +++ b/dde-base/deepin-desktop-environment/Manifest @@ -0,0 +1 @@ +DIST deepin-desktop-environment_0.11+git20130618183249~4a98fdabe7.tar.gz 1242596 SHA256 ddf8c414da8a9297e68c1143fc2b1cdf23aafb924e4e2bd6f58f0349e29bb4c9 diff --git a/dde-base/deepin-desktop-environment/deepin-desktop-environment-0.11.20130618183249.ebuild b/dde-base/deepin-desktop-environment/deepin-desktop-environment-0.11.20130618183249.ebuild new file mode 100644 index 000000000..557e8b142 --- /dev/null +++ b/dde-base/deepin-desktop-environment/deepin-desktop-environment-0.11.20130618183249.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit cmake-utils versionator + +MY_VER="$(get_version_component_range 1-2)+git$(get_version_component_range 3)~4a98fdabe7" + +DESCRIPTION="basic modules and resources for Deepin Desktop Environment" +HOMEPAGE="http://www.linuxdeepin.com" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${PN}/${PN}_${MY_VER}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# Need dev-lang/coffee-script from eva overlay +DEPEND="dde-base/deepin-webkit + x11-libs/gtk+:3 + net-libs/webkit-gtk:3 + x11-libs/gdk-pixbuf:2 + gnome-base/gnome-desktop:3 + gnome-base/gnome-keyring + gnome-base/gnome-menus + gnome-base/gvfs + =gnome-base/nautilus-3.8.51 + net-analyzer/gnome-nettool + gnome-extra/gnome-power-manager + gnome-extra/gnome-screensaver + sys-auth/rtkit + dev-libs/dbus-glib + dev-db/sqlite:3 + dev-libs/glib:2 + x11-misc/lightdm + >=x11-wm/compiz-0.9.8[gnome] + dev-lang/coffee-script" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${PN}-${MY_VER} + +src_install() { + cmake-utils_src_install + + insinto "/usr/share/xgreeters" + doins ${S}/debian/deepin-greeter.desktop + + insinto "/var/lib/polkit-1/localauthority/50-local.d/" + doins ${S}/debian/lightdm.pkla + + insinto "/etc/sysctl.d/" + doins ${S}/debian/30-deepin-inotify-limit.conf +} diff --git a/dde-base/deepin-notifications/Manifest b/dde-base/deepin-notifications/Manifest new file mode 100644 index 000000000..0450fd797 --- /dev/null +++ b/dde-base/deepin-notifications/Manifest @@ -0,0 +1 @@ +DIST deepin-notifications_0.1-1+git20130610125101~5e0566ccd0.tar.gz 348259 SHA256 e54538b07137816b81e3a181aa3e72b6954594f30f1ffcb8a3966d1a37dcce33 diff --git a/dde-base/deepin-notifications/deepin-notifications-0.1.20130610125101.ebuild b/dde-base/deepin-notifications/deepin-notifications-0.1.20130610125101.ebuild new file mode 100644 index 000000000..520b0809f --- /dev/null +++ b/dde-base/deepin-notifications/deepin-notifications-0.1.20130610125101.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils + +MY_VER="$(get_version_component_range 1-2)-1+git$(get_version_component_range 3)~5e0566ccd0" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${PN}/${PN}_${MY_VER}.tar.gz" + +DESCRIPTION="System notifications for Deepin Desktop Environment" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="x11-libs/deepin-ui + dev-python/dbus-python + dev-python/pygtk:2 + dev-python/pycairo" +DEPEND="" +S=${WORKDIR}/${PN}-$(get_version_component_range 1-2) + +src_prepare() { + sed -i "s|/usr/bin/python|/usr/bin/python2|g" ${S}/debian/${PN}.desktop +} + +src_install() { + + dobin ${S}/tools/deepin-notify + + insinto "/etc/xdg/autostart" + doins ${S}/debian/${PN}.desktop + + insinto "/usr/share/dbus-1/" + doins -r ${S}/services + + insinto "/usr/share/${PN}" + doins -r ${S}/src ${S}/data + fperms 0755 -R /usr/share/${PN}/src/main.py + +} + diff --git a/dde-base/deepin-session/Manifest b/dde-base/deepin-session/Manifest new file mode 100644 index 000000000..b198eec7f --- /dev/null +++ b/dde-base/deepin-session/Manifest @@ -0,0 +1 @@ +DIST deepin-session_2.0.tar.gz 2774 SHA256 7f6f60a1f849ba56b3bba93e628bc2d16bc7bb1e5d42ed894b84dbb89c555303 diff --git a/dde-base/deepin-session/deepin-session-2.0.ebuild b/dde-base/deepin-session/deepin-session-2.0.ebuild new file mode 100644 index 000000000..0d1cd2efa --- /dev/null +++ b/dde-base/deepin-session/deepin-session-2.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit + +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${PN}/${PN}_${PV}.tar.gz" + +DESCRIPTION="Deepin Desktop Session" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=gnome-base/gnome-settings-daemon-3.8.99 + >=gnome-base/gnome-session-3.8" +DEPEND="" + +src_install() { + insinto "/usr/share/gnome-session/sessions" + doins ${S}/debian/deepin.session + + insinto "/usr/share/xsessions" + doins ${S}/debian/deepin.desktop + +} + diff --git a/dde-base/deepin-system-settings/Manifest b/dde-base/deepin-system-settings/Manifest new file mode 100644 index 000000000..0e4e5bfc5 --- /dev/null +++ b/dde-base/deepin-system-settings/Manifest @@ -0,0 +1 @@ +DIST deepin-system-settings_1+git20130627135055~9f146c62a7.tar.gz 86726473 SHA256 c38adcdbce8966acbd98c956b11ea21ebb4354f2c4c4f99671d9a44cfd792b9c diff --git a/dde-base/deepin-system-settings/deepin-system-settings-1.20130627135055.ebuild b/dde-base/deepin-system-settings/deepin-system-settings-1.20130627135055.ebuild new file mode 100644 index 000000000..93930b785 --- /dev/null +++ b/dde-base/deepin-system-settings/deepin-system-settings-1.20130627135055.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils + +MY_VER="$(get_version_component_range 1)+git$(get_version_component_range 2)~9f146c62a7" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${PN}/${PN}_${MY_VER}.tar.gz" + +DESCRIPTION="Deepin System Settings" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+branding" + +RDEPEND="x11-libs/deepin-ui + dev-python/xappy + >=gnome-base/gnome-settings-daemon-3.8 + dev-python/deepin-gsettings" +DEPEND="" +S=${WORKDIR}/${PN}-${MY_VER} + +src_prepare() { + sed -i 's|;deepin$|;deepin;|g' ${S}/debian/${PN}.desktop + sed -i 's|;Settings$|;Settings;|g' ${S}/debian/${PN}.desktop + use branding && cp ${FILESDIR}/gentoo-logo.png ${S}/app_theme/dark_grey/image/system_information/logo.png +} + +src_install() { + + insinto "/usr/share/" + doins -r ${S}/locale + rm ${D}/usr/share/locale/*.po* + + insinto "/usr/share/${PN}" + doins -r ${S}/app_theme ${S}/dss ${S}/image ${S}/locale ${S}/search_db ${S}/skin + fperms 0755 -R /usr/share/${PN}/dss/ + rm ${D}/usr/share/${PN}/locale/*.po* + + #dosym /usr/share/${PN}/src/main.py /usr/bin/${PN} + echo "#!/bin/sh" > ${PN} + echo "python2 /usr/share/${PN}/dss/main.py" >> ${PN} + dobin ${PN} + + insinto "/usr/share/applications" + doins ${S}/debian/${PN}.desktop +} + +pkg_postinst() { + fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} diff --git a/dde-base/deepin-system-settings/files/gentoo-logo.png b/dde-base/deepin-system-settings/files/gentoo-logo.png new file mode 100644 index 000000000..ad6099324 Binary files /dev/null and b/dde-base/deepin-system-settings/files/gentoo-logo.png differ diff --git a/dde-base/deepin-system-tray/Manifest b/dde-base/deepin-system-tray/Manifest new file mode 100644 index 000000000..12b93c05a --- /dev/null +++ b/dde-base/deepin-system-tray/Manifest @@ -0,0 +1 @@ +DIST deepin-system-tray_0.1-1+git20130607220503~d6e474fe86.tar.gz 48214 SHA256 4aced578707c4a4a141979d1bb63c46b68f24686c05411ec60ee3dd53656b50d diff --git a/dde-base/deepin-system-tray/deepin-system-tray-0.1.20130607220503.ebuild b/dde-base/deepin-system-tray/deepin-system-tray-0.1.20130607220503.ebuild new file mode 100644 index 000000000..a1e767823 --- /dev/null +++ b/dde-base/deepin-system-tray/deepin-system-tray-0.1.20130607220503.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils + +MY_VER="$(get_version_component_range 1-2)-1+git$(get_version_component_range 3)~d6e474fe86" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${PN}/${PN}_${MY_VER}.tar.gz" + +DESCRIPTION="System tray for Deepin Desktop Environment" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dde-base/deepin-system-settings" +DEPEND="${RDEPEND}" +S=${WORKDIR}/${PN}-$(get_version_component_range 1-2) + +src_prepare() { + sed -i "s|/usr/bin/python|/usr/bin/python2|g" ${S}/debian/${PN}.desktop +} + +src_install() { + insinto "/etc/xdg/autostart/" + doins ${S}/debian/${PN}.desktop + + insinto "/usr/share/${PN}" + doins -r ${S}/src + #fperms 0755 -R /usr/share/${PN}/src/ + +} + diff --git a/dde-base/deepin-webkit/Manifest b/dde-base/deepin-webkit/Manifest new file mode 100644 index 000000000..ef0466923 --- /dev/null +++ b/dde-base/deepin-webkit/Manifest @@ -0,0 +1 @@ +DIST deepin-webkit_1.8.2.1+git20130606170104~fe5e99a5d0.tar.gz 12139063 SHA256 d9a14ccbcd49df98f430923627b6a9901f2b5de91490109b045d4c534b920cf9 diff --git a/dde-base/deepin-webkit/deepin-webkit-1.8.2.1.20130606170104.ebuild b/dde-base/deepin-webkit/deepin-webkit-1.8.2.1.20130606170104.ebuild new file mode 100644 index 000000000..79f0ae57f --- /dev/null +++ b/dde-base/deepin-webkit/deepin-webkit-1.8.2.1.20130606170104.ebuild @@ -0,0 +1,186 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="4" + +inherit versionator autotools eutils flag-o-matic gnome2-utils pax-utils virtualx + +MY_VER="$(get_version_component_range 1-4)+git$(get_version_component_range 5)~fe5e99a5d0" +DESCRIPTION="A fork of webkit-gtk for deepin-desktop-eviroment" +HOMEPAGE="http://www.webkitgtk.org/" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${PN}/${PN}_${MY_VER}.tar.gz" + +LICENSE="LGPL-2+ BSD" +SLOT="3" +KEYWORDS="~amd64 ~x86" +IUSE="aqua coverage debug +geoloc +gstreamer +introspection +jit spell +webgl" +# bugs 372493, 416331 +REQUIRED_USE="introspection? ( geoloc gstreamer )" + +# use sqlite, svg by default +# Aqua support in gtk3 is untested +# gtk2 is needed for plugin process support +# FIXME: with-acceleration-backend is left automagic +RDEPEND=" + dev-libs/libxml2:2 + dev-libs/libxslt + virtual/jpeg + >=media-libs/libpng-1.4:0 + >=x11-libs/cairo-1.10 + >=dev-libs/glib-2.31.2:2 + x11-libs/gtk+:3[aqua=,introspection?] + dev-libs/icu + >=net-libs/libsoup-2.37.2.1:2.4[introspection?] + dev-db/sqlite:3 + >=x11-libs/pango-1.21 + x11-libs/libXrender + >=x11-libs/gtk+-2.24.3:2 + + geoloc? ( app-misc/geoclue ) + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 ) + introspection? ( >=dev-libs/gobject-introspection-0.9.12 ) + spell? ( app-text/enchant ) + webgl? ( + virtual/opengl + x11-libs/libXcomposite + x11-libs/libXdamage ) +" +# paxctl needed for bug #407085 +DEPEND="${RDEPEND} + dev-lang/perl + =dev-lang/python-2* + || ( virtual/rubygems[ruby_targets_ruby19] + virtual/rubygems[ruby_targets_ruby18] ) + app-accessibility/at-spi2-core + >=dev-util/gtk-doc-am-1.10 + dev-util/gperf + sys-devel/bison + sys-devel/flex + sys-devel/gettext + >=sys-devel/make-3.82-r4 + virtual/pkgconfig + + introspection? ( jit? ( sys-apps/paxctl ) ) + test? ( + x11-themes/hicolor-icon-theme + jit? ( sys-apps/paxctl ) ) +" +# Need real bison, not yacc + +S="${WORKDIR}/${PN}-${MY_VER}" + +src_prepare() { + # USE=-gstreamer build failure, bug #412221, https://bugs.webkit.org/show_bug.cgi?id=84526 + epatch "${FILESDIR}/webkit-gtk-1.8.1-CodeGeneratorGObject-properties.patch" + + # bug #416057; in 1.9.x + epatch "${FILESDIR}/webkit-gtk-1.8.1-gst-required-version.patch" + + # bug #428012; in 1.9.x + epatch "${FILESDIR}/webkit-gtk-1.8.2-bison-2.6.patch" + +# intermediate MacPorts hack while upstream bug is not fixed properly + # https://bugs.webkit.org/show_bug.cgi?id=28727 + use aqua && epatch "${FILESDIR}"/webkit-gtk-1.6.1-darwin-quartz.patch + + # Bug #403049, https://bugs.webkit.org/show_bug.cgi?id=79605 + epatch "${FILESDIR}/webkit-gtk-1.7.5-linguas.patch" + + # Drop DEPRECATED flags + sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' GNUmakefile.am || die + + # Don't force -O2 + sed -i 's/-O2//g' "${S}"/configure.ac || die + + # Build-time segfaults under PaX with USE="introspection jit", bug #404215 + if use introspection && use jit; then + epatch "${FILESDIR}/deepin-webkit-1.6.3-paxctl-introspection.patch" + cp "${FILESDIR}/gir-paxctl-lt-wrapper" "${S}/" || die + fi + + # We need to reset some variables to prevent permissions problems and failures + # like https://bugs.webkit.org/show_bug.cgi?id=35471 and bug #323669 + gnome2_environment_reset + + # For >=sys-devel/automake-1.12 compability wrt #420591 + #sed -i -e 's:mkdir_p:MKDIR_P:' {.,Source/WebKit/gtk/po}/GNUmakefile.am || die + + # Respect CC, otherwise fails on prefix #395875 + tc-export CC + + # Prevent maintainer mode from being triggered during make + #AT_M4DIR=Source/autotools eautoreconf + +} + +src_configure() { + local myconf + + # XXX: Check Web Audio support + # XXX: dependency-tracking is required so parallel builds won't fail + myconf=" + $(use_enable coverage) + $(use_enable debug) + $(use_enable debug debug-features) + $(use_enable geoloc geolocation) + $(use_enable spell spellcheck) + $(use_enable introspection) + $(use_enable gstreamer video) + $(use_enable jit) + $(use_enable webgl) + --with-gtk=3.0 + --with-gstreamer=0.10 + --enable-accelerated-compositing + --enable-dependency-tracking + --disable-gtk-doc + PYTHON=$(type -P python2) + "$(usex aqua "--with-font-backend=pango --with-target=quartz" "") + # Aqua support in gtk3 is untested + + if has_version "virtual/rubygems[ruby_targets_ruby19]"; then + myconf="${myconf} RUBY=$(type -P ruby19)" + else + myconf="${myconf} RUBY=$(type -P ruby18)" + fi + + econf ${myconf} +} + +src_compile() { + # Avoid parallel make failure with -j9 + emake DerivedSources/WebCore/JSNode.h + default +} + +src_test() { + # Tests expect an out-of-source build in WebKitBuild + ln -s . WebKitBuild || die "ln failed" + + # Prevents test failures on PaX systems + use jit && pax-mark m $(list-paxables Programs/*[Tt]ests/*) \ + Programs/unittests/.libs/test* + unset DISPLAY + # Tests need virtualx, bug #294691, bug #310695 + # Parallel tests sometimes fail + Xemake -j1 check +} + +src_install() { + default + + # Remove the conflited files with webkit-gtk + rm -r ${D}usr/bin + rm -r ${D}usr/include + rm -r ${D}usr/share + mv ${D}usr/$(get_libdir)/pkgconfig/webkitgtk-3.0.pc \ + ${D}usr/$(get_libdir)/pkgconfig/deepin-webkit-3.0.pc + rm -r ${D}usr/$(get_libdir)/girepository-1.0 + + dodoc ${S}/ChangeLog + + prune_libtool_files + +} diff --git a/dde-base/deepin-webkit/files/deepin-webkit-1.6.3-paxctl-introspection.patch b/dde-base/deepin-webkit/files/deepin-webkit-1.6.3-paxctl-introspection.patch new file mode 100644 index 000000000..e3aba1478 --- /dev/null +++ b/dde-base/deepin-webkit/files/deepin-webkit-1.6.3-paxctl-introspection.patch @@ -0,0 +1,21 @@ +diff -ru a/Source/WebKit/gtk/GNUmakefile.am b/Source/WebKit/gtk/GNUmakefile.am +--- a/Source/WebKit/gtk/GNUmakefile.am ++++ b/Source/WebKit/gtk/GNUmakefile.am +@@ -269,7 +269,7 @@ + WEBKIT_GIRSOURCES += WebKit-@WEBKITGTK_API_VERSION@.gir + + $(WEBKIT_GIRSOURCES): $(G_IR_SCANNER) $(JSCORE_GIRSOURCES) libdeepin_webkit-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la +- $(AM_V_GEN)$(G_IR_SCANNER) -v --warn-all \ ++ $(AM_V_GEN)LIBTOOL="$(LIBTOOL)" $(G_IR_SCANNER) -v --warn-all \ + --symbol-prefix=webkit \ + --identifier-prefix=WebKit \ + --namespace=WebKit \ +@@ -280,7 +280,7 @@ + --include=Soup-2.4 \ + --library=webkitgtk-@WEBKITGTK_API_VERSION@ \ + --library=javascriptcoredeepin-@WEBKITGTK_API_VERSION@ \ +- --libtool="$(LIBTOOL)" \ ++ --libtool="bash $(top_srcdir)/gir-paxctl-lt-wrapper m" \ + --pkg=gobject-2.0 \ + --pkg=gtk+-@GTK_API_VERSION@ \ + --pkg=libsoup-2.4 \ diff --git a/dde-base/deepin-webkit/files/gir-paxctl-lt-wrapper b/dde-base/deepin-webkit/files/gir-paxctl-lt-wrapper new file mode 100755 index 000000000..d4f270c2f --- /dev/null +++ b/dde-base/deepin-webkit/files/gir-paxctl-lt-wrapper @@ -0,0 +1,33 @@ +#!/bin/bash +# Wrapper for $(LIBTOOL) that performs PaX marking on the dumper binary +# generated by g-ir-scanner. +# PaX marking code stolen from pax-utils.eclass + +flags=${1//-}; shift + +echo ${LIBTOOL} "$@" +${LIBTOOL} "$@" + +retval=$? + +files=$(find . -path "*tmp-introspect*/.libs/*") + +if type -p paxctl > /dev/null; then + echo "PT PaX marking -${flags} ${files}" + for f in ${files}; do + # First, try modifying the existing PAX_FLAGS header + paxctl -q${flags} "${f}" && continue + # Second, try stealing the (unused under PaX) PT_GNU_STACK header + paxctl -qc${flags} "${f}" && continue + # Third, try pulling the base down a page, to create space and + # insert a PT_GNU_STACK header (works on ET_EXEC) + paxctl -qC${flags} "${f}" && continue + done +elif type -p scanelf > /dev/null; then + # Try scanelf, the Gentoo swiss-army knife ELF utility + # Currently this sets PT if it can, no option to control what it does. + echo "Fallback PaX marking -${flags} ${files}" + scanelf -Xxz ${flags} ${files} +fi + +exit ${retval} diff --git a/dde-base/deepin-webkit/files/webkit-gtk-1.6.1-darwin-quartz.patch b/dde-base/deepin-webkit/files/webkit-gtk-1.6.1-darwin-quartz.patch new file mode 100644 index 000000000..5ad357e9e --- /dev/null +++ b/dde-base/deepin-webkit/files/webkit-gtk-1.6.1-darwin-quartz.patch @@ -0,0 +1,67 @@ +Original from: +http://trac.macports.org/browser/trunk/dports/www/webkit-gtk/files/patch-quartz-WebCore-plugins-gtk-gtkxtbin.c.diff?format=txt +http://trac.macports.org/browser/trunk/dports/www/webkit-gtk/files/patch-quartz-WebCore-plugins-gtk-PluginViewGtk.cpp.diff?format=txt + +Adapted for 1.6.1 + +--- Source/WebCore/plugins/gtk/PluginViewGtk.cpp ++++ Source/WebCore/plugins/gtk/PluginViewGtk.cpp +@@ -70,6 +70,8 @@ + #endif + #include + ++#undef XP_UNIX ++ + #if defined(XP_UNIX) + #include "RefPtrCairo.h" + #include "gtk2xtbin.h" +@@ -439,9 +441,9 @@ + event->setDefaultHandled(); + } + +-#if defined(XP_UNIX) + void PluginView::handleFocusInEvent() + { ++#if defined(XP_UNIX) + if (!m_isStarted || m_status != PluginStatusLoadedSuccessfully) + return; + +@@ -454,10 +456,12 @@ + event.detail = NotifyDetailNone; + + dispatchNPEvent(npEvent); ++#endif + } + + void PluginView::handleFocusOutEvent() + { ++#if defined(XP_UNIX) + if (!m_isStarted || m_status != PluginStatusLoadedSuccessfully) + return; + +@@ -470,8 +474,8 @@ + event.detail = NotifyDetailNone; + + dispatchNPEvent(npEvent); +-} + #endif ++} + + void PluginView::setParent(ScrollView* parent) + { +--- Source/WebCore/plugins/gtk/gtk2xtbin.c ++++ Source/WebCore/plugins/gtk/gtk2xtbin.c +@@ -41,7 +41,7 @@ + * The GtkXtBin widget allows for Xt toolkit code to be used + * inside a GTK application. + */ +- ++#if 0 + #include "GtkVersioning.h" + #include "xembed.h" + #include "gtk2xtbin.h" +@@ -966,3 +966,4 @@ + + return; + } ++#endif diff --git a/dde-base/deepin-webkit/files/webkit-gtk-1.7.5-linguas.patch b/dde-base/deepin-webkit/files/webkit-gtk-1.7.5-linguas.patch new file mode 100644 index 000000000..df14a5cfe --- /dev/null +++ b/dde-base/deepin-webkit/files/webkit-gtk-1.7.5-linguas.patch @@ -0,0 +1,47 @@ +Respect intltool's LINGUAS variable for building translations. + +--- a/webkit-1.7.5/GNUmakefile.am ++++ b/webkit-1.7.5/GNUmakefile.am +@@ -54,6 +54,9 @@ + IDL_BINDINGS := + TEST_PROGS := + POFILES := ++PO_LINGUAS := ++USER_LINGUAS := ++USE_LINGUAS := + MOFILES := + dom_binding_idls := + wtf_cppflags:= +--- a/webkit-1.7.5/Source/WebKit/gtk/po/GNUmakefile.am ++++ b/webkit-1.7.5/Source/WebKit/gtk/po/GNUmakefile.am +@@ -27,7 +27,15 @@ + + POFILES += $(shell ls $(srcdir)/Source/WebKit/gtk/po/*.po) + +-MOFILES += $(shell echo $(POFILES) | tr ' ' '\n' | sed "s,^$(srcdir)/,,g" | sed 's/\.po/.mo/g') ++PO_LINGUAS += $(patsubst $(srcdir)/Source/WebKit/gtk/po/%.po,%,$(POFILES)) ++ ++USER_LINGUAS += $(filter $(LINGUAS),$(PO_LINGUAS)) ++ ++USE_LINGUAS += $(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else LLINGUAS="$(PO_LINGUAS)"; fi; for lang in $$LLINGUAS; do printf "$$lang "; done) ++ ++MOFILES += $(USE_LINGUAS:%=Source/WebKit/gtk/po/%.mo) ++ ++ALL_MOFILES := $(shell echo $(POFILES) | tr ' ' '\n' | sed "s,^$(srcdir)/,,g" | sed 's/\.po/.mo/g') + + .po.mo: + test -d Source/WebKit/gtk/po/ || mkdir -p Source/WebKit/gtk/po/ +@@ -124,11 +132,11 @@ + $(top_builddir)/stamp-po + + MAINTAINERCLEANFILES += \ +- $(MOFILES) \ ++ $(ALL_MOFILES) \ + $(top_builddir)/Source/WebKit/gtk/po/$(DOMAIN).pot + + DISTCLEANFILES += \ +- $(MOFILES) \ ++ $(ALL_MOFILES) \ + $(top_builddir)/Source/WebKit/gtk/po/$(DOMAIN).pot + + po-install-data-local: all diff --git a/dde-base/deepin-webkit/files/webkit-gtk-1.8.1-CodeGeneratorGObject-properties.patch b/dde-base/deepin-webkit/files/webkit-gtk-1.8.1-CodeGeneratorGObject-properties.patch new file mode 100644 index 000000000..ff2f5ae5d --- /dev/null +++ b/dde-base/deepin-webkit/files/webkit-gtk-1.8.1-CodeGeneratorGObject-properties.patch @@ -0,0 +1,20 @@ +From: Mikhail Khokhlov + +https://bugs.webkit.org/show_bug.cgi?id=84526 + +Index: Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm +=================================================================== +--- Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm (revision 115562) ++++ Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm (working copy) +@@ -1444,9 +1444,10 @@ + print IMPL "namespace WebKit {\n\n"; + print IMPL @cBodyPriv; + print IMPL "} // namespace WebKit\n\n"; ++ ++ print IMPL @cBodyProperties; + print IMPL "#endif // ${conditionalString}\n\n" if $conditionalString; + +- print IMPL @cBodyProperties; + print IMPL @cBody; + + close(IMPL); diff --git a/dde-base/deepin-webkit/files/webkit-gtk-1.8.1-gst-required-version.patch b/dde-base/deepin-webkit/files/webkit-gtk-1.8.1-gst-required-version.patch new file mode 100644 index 000000000..cd0337bf7 --- /dev/null +++ b/dde-base/deepin-webkit/files/webkit-gtk-1.8.1-gst-required-version.patch @@ -0,0 +1,29 @@ +2012-05-01 Landry Breuil + + [GTK] Fix gstreamer detection during configure + https://bugs.webkit.org/show_bug.cgi?id=84325 + + Reviewed by Philippe Normand. + + * configure.ac: Fix GSTREAMER_REQUIRED_VERSION and + GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION assignments. + +Index: /trunk/configure.ac +=================================================================== +--- /trunk/configure.ac (revision 115666) ++++ /trunk/configure.ac (revision 115737) +@@ -343,10 +343,10 @@ + + case "$with_gstreamer" in +- 0.10) GSTREAMER_REQUIRED_VERSION=GSTREAMER_0_10_REQUIRED_VERSION +- GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION=GSTREAMER_0_10_PLUGINS_BASE_REQUIRED_VERSION ++ 0.10) GSTREAMER_REQUIRED_VERSION=$GSTREAMER_0_10_REQUIRED_VERSION ++ GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION=$GSTREAMER_0_10_PLUGINS_BASE_REQUIRED_VERSION + GST_API_VERSION=0.10 + ;; +- 0.11) GSTREAMER_REQUIRED_VERSION=GSTREAMER_0_11_REQUIRED_VERSION +- GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION=GSTREAMER_0_11_PLUGINS_BASE_REQUIRED_VERSION ++ 0.11) GSTREAMER_REQUIRED_VERSION=$GSTREAMER_0_11_REQUIRED_VERSION ++ GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION=$GSTREAMER_0_11_PLUGINS_BASE_REQUIRED_VERSION + GST_API_VERSION=0.11 + ;; diff --git a/dde-base/deepin-webkit/files/webkit-gtk-1.8.2-bison-2.6.patch b/dde-base/deepin-webkit/files/webkit-gtk-1.8.2-bison-2.6.patch new file mode 100644 index 000000000..73b657b59 --- /dev/null +++ b/dde-base/deepin-webkit/files/webkit-gtk-1.8.2-bison-2.6.patch @@ -0,0 +1,508 @@ +2012-07-30 Alexis Menard + + Build fix with newer bison 2.6. + https://bugs.webkit.org/show_bug.cgi?id=92264 + + Reviewed by Adam Barth. + + As stated in http://www.gnu.org/software/bison/manual/html_node/Table-of-Symbols.html + YYLEX_PARAM and YYPARSE_PARAM are depecreated since version 1.875. So far all Mac OS + version I had access to as well as recent Linux runs at least version 2.3 so it's safe + to use the replacement of these deprecated macros in favor of %lex-param and %parse-param. + As announced http://lists.gnu.org/archive/html/info-gnu/2012-07/msg00011.html with the release + of version 2.6 YYLEX_PARAM and YYPARSE_PARAM are not supported anymore. + + No new tests : build fix and the patch should not trigger any regressions + + * css/CSSGrammar.y: + * css/CSSParser.cpp: + * xml/XPathGrammar.y: Refactored a bit to not use an intermediate PARSER define. + * xml/XPathParser.cpp: bison 2.6 declare xpathyyparse in the .h file now, i.e. XPathGrammar.h + therefore including this file within the namespace {} declarations leads to xpathyyparse being + defined part of WebCore::XPath namespaces but the actual implementation of xpathyyparse is in XPathGrammar.cpp + (generated) and not implemented within the WebCore::XPath so it lead to linking issues. Last, XPathGrammar.h needs + to be included after the other includes as it uses some XPath types. It breaks the style but CSSParser.cpp is doing the same. + +Index: /trunk/Source/WebCore/css/CSSParser.cpp +=================================================================== +--- /trunk/Source/WebCore/css/CSSParser.cpp (revision 124098) ++++ /trunk/Source/WebCore/css/CSSParser.cpp (revision 124099) +@@ -115,5 +115,5 @@ + #endif + +-extern int cssyyparse(void* parser); ++extern int cssyyparse(WebCore::CSSParser*); + + using namespace std; +Index: /trunk/Source/WebCore/css/CSSGrammar.y +=================================================================== +--- /trunk/Source/WebCore/css/CSSGrammar.y (revision 124098) ++++ /trunk/Source/WebCore/css/CSSGrammar.y (revision 124099) +@@ -54,11 +54,10 @@ + #define YYDEBUG 0 + +-// FIXME: Replace with %parse-param { CSSParser* parser } once we can depend on bison 2.x +-#define YYPARSE_PARAM parser +-#define YYLEX_PARAM parser +- + %} + + %pure_parser ++ ++%parse-param { CSSParser* parser } ++%lex-param { CSSParser* parser } + + %union { +@@ -90,5 +89,5 @@ + %{ + +-static inline int cssyyerror(const char*) ++static inline int cssyyerror(void*, const char*) + { + return 1; +Index: /trunk/Source/WebCore/xml/XPathParser.cpp +=================================================================== +--- /trunk/Source/WebCore/xml/XPathParser.cpp (revision 124098) ++++ /trunk/Source/WebCore/xml/XPathParser.cpp (revision 124099) +@@ -33,22 +33,19 @@ + #include "XPathException.h" + #include "XPathNSResolver.h" ++#include "XPathPath.h" + #include "XPathStep.h" + #include + #include + +-int xpathyyparse(void*); +- ++using namespace WebCore; + using namespace WTF; + using namespace Unicode; +- +-namespace WebCore { +-namespace XPath { +- +-class LocationPath; +- +-#include "XPathGrammar.h" ++using namespace XPath; ++ ++extern int xpathyyparse(WebCore::XPath::Parser*); ++#include "XPathGrammar.h" + + Parser* Parser::currentParser = 0; +- ++ + enum XMLCat { NameStart, NameCont, NotPartOfName }; + +@@ -631,4 +628,2 @@ + } + +-} +-} +Index: /trunk/Source/WebCore/xml/XPathGrammar.y +=================================================================== +--- /trunk/Source/WebCore/xml/XPathGrammar.y (revision 124098) ++++ /trunk/Source/WebCore/xml/XPathGrammar.y (revision 124099) +@@ -35,4 +35,5 @@ + #include "XPathPath.h" + #include "XPathPredicate.h" ++#include "XPathStep.h" + #include "XPathVariableReference.h" + #include +@@ -45,6 +46,4 @@ + #define YYDEBUG 0 + #define YYMAXDEPTH 10000 +-#define YYPARSE_PARAM parserParameter +-#define PARSER static_cast(parserParameter) + + using namespace WebCore; +@@ -54,4 +53,5 @@ + + %pure_parser ++%parse-param { WebCore::XPath::Parser* parser } + + %union +@@ -72,5 +72,5 @@ + + static int xpathyylex(YYSTYPE* yylval) { return Parser::current()->lex(yylval); } +-static void xpathyyerror(const char*) { } ++static void xpathyyerror(void*, const char*) { } + + %} +@@ -119,5 +119,5 @@ + OrExpr + { +- PARSER->m_topExpr = $1; ++ parser->m_topExpr = $1; + } + ; +@@ -139,5 +139,5 @@ + { + $$ = new LocationPath; +- PARSER->registerParseNode($$); ++ parser->registerParseNode($$); + } + | +@@ -151,5 +151,5 @@ + $$ = $2; + $$->insertFirstStep($1); +- PARSER->unregisterParseNode($1); ++ parser->unregisterParseNode($1); + } + ; +@@ -160,6 +160,6 @@ + $$ = new LocationPath; + $$->appendStep($1); +- PARSER->unregisterParseNode($1); +- PARSER->registerParseNode($$); ++ parser->unregisterParseNode($1); ++ parser->registerParseNode($$); + } + | +@@ -167,5 +167,5 @@ + { + $$->appendStep($3); +- PARSER->unregisterParseNode($3); ++ parser->unregisterParseNode($3); + } + | +@@ -174,6 +174,6 @@ + $$->appendStep($2); + $$->appendStep($3); +- PARSER->unregisterParseNode($2); +- PARSER->unregisterParseNode($3); ++ parser->unregisterParseNode($2); ++ parser->unregisterParseNode($3); + } + ; +@@ -184,9 +184,9 @@ + if ($2) { + $$ = new Step(Step::ChildAxis, *$1, *$2); +- PARSER->deletePredicateVector($2); ++ parser->deletePredicateVector($2); + } else + $$ = new Step(Step::ChildAxis, *$1); +- PARSER->deleteNodeTest($1); +- PARSER->registerParseNode($$); ++ parser->deleteNodeTest($1); ++ parser->registerParseNode($$); + } + | +@@ -195,6 +195,6 @@ + String localName; + String namespaceURI; +- if (!PARSER->expandQName(*$1, localName, namespaceURI)) { +- PARSER->m_gotNamespaceError = true; ++ if (!parser->expandQName(*$1, localName, namespaceURI)) { ++ parser->m_gotNamespaceError = true; + YYABORT; + } +@@ -202,9 +202,9 @@ + if ($2) { + $$ = new Step(Step::ChildAxis, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI), *$2); +- PARSER->deletePredicateVector($2); ++ parser->deletePredicateVector($2); + } else + $$ = new Step(Step::ChildAxis, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI)); +- PARSER->deleteString($1); +- PARSER->registerParseNode($$); ++ parser->deleteString($1); ++ parser->registerParseNode($$); + } + | +@@ -213,9 +213,9 @@ + if ($3) { + $$ = new Step($1, *$2, *$3); +- PARSER->deletePredicateVector($3); ++ parser->deletePredicateVector($3); + } else + $$ = new Step($1, *$2); +- PARSER->deleteNodeTest($2); +- PARSER->registerParseNode($$); ++ parser->deleteNodeTest($2); ++ parser->registerParseNode($$); + } + | +@@ -224,6 +224,6 @@ + String localName; + String namespaceURI; +- if (!PARSER->expandQName(*$2, localName, namespaceURI)) { +- PARSER->m_gotNamespaceError = true; ++ if (!parser->expandQName(*$2, localName, namespaceURI)) { ++ parser->m_gotNamespaceError = true; + YYABORT; + } +@@ -231,9 +231,9 @@ + if ($3) { + $$ = new Step($1, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI), *$3); +- PARSER->deletePredicateVector($3); ++ parser->deletePredicateVector($3); + } else + $$ = new Step($1, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI)); +- PARSER->deleteString($2); +- PARSER->registerParseNode($$); ++ parser->deleteString($2); ++ parser->registerParseNode($$); + } + | +@@ -260,6 +260,6 @@ + $$ = new Step::NodeTest(Step::NodeTest::CommentNodeTest); + +- PARSER->deleteString($1); +- PARSER->registerNodeTest($$); ++ parser->deleteString($1); ++ parser->registerNodeTest($$); + } + | +@@ -267,6 +267,6 @@ + { + $$ = new Step::NodeTest(Step::NodeTest::ProcessingInstructionNodeTest); +- PARSER->deleteString($1); +- PARSER->registerNodeTest($$); ++ parser->deleteString($1); ++ parser->registerNodeTest($$); + } + | +@@ -274,7 +274,7 @@ + { + $$ = new Step::NodeTest(Step::NodeTest::ProcessingInstructionNodeTest, $3->stripWhiteSpace()); +- PARSER->deleteString($1); +- PARSER->deleteString($3); +- PARSER->registerNodeTest($$); ++ parser->deleteString($1); ++ parser->deleteString($3); ++ parser->registerNodeTest($$); + } + ; +@@ -294,6 +294,6 @@ + $$ = new Vector; + $$->append(new Predicate($1)); +- PARSER->unregisterParseNode($1); +- PARSER->registerPredicateVector($$); ++ parser->unregisterParseNode($1); ++ parser->registerPredicateVector($$); + } + | +@@ -301,5 +301,5 @@ + { + $$->append(new Predicate($2)); +- PARSER->unregisterParseNode($2); ++ parser->unregisterParseNode($2); + } + ; +@@ -316,5 +316,5 @@ + { + $$ = new Step(Step::DescendantOrSelfAxis, Step::NodeTest(Step::NodeTest::AnyNodeTest)); +- PARSER->registerParseNode($$); ++ parser->registerParseNode($$); + } + ; +@@ -324,5 +324,5 @@ + { + $$ = new Step(Step::SelfAxis, Step::NodeTest(Step::NodeTest::AnyNodeTest)); +- PARSER->registerParseNode($$); ++ parser->registerParseNode($$); + } + | +@@ -330,5 +330,5 @@ + { + $$ = new Step(Step::ParentAxis, Step::NodeTest(Step::NodeTest::AnyNodeTest)); +- PARSER->registerParseNode($$); ++ parser->registerParseNode($$); + } + ; +@@ -338,6 +338,6 @@ + { + $$ = new VariableReference(*$1); +- PARSER->deleteString($1); +- PARSER->registerParseNode($$); ++ parser->deleteString($1); ++ parser->registerParseNode($$); + } + | +@@ -350,6 +350,6 @@ + { + $$ = new StringExpression(*$1); +- PARSER->deleteString($1); +- PARSER->registerParseNode($$); ++ parser->deleteString($1); ++ parser->registerParseNode($$); + } + | +@@ -357,6 +357,6 @@ + { + $$ = new Number($1->toDouble()); +- PARSER->deleteString($1); +- PARSER->registerParseNode($$); ++ parser->deleteString($1); ++ parser->registerParseNode($$); + } + | +@@ -370,6 +370,6 @@ + if (!$$) + YYABORT; +- PARSER->deleteString($1); +- PARSER->registerParseNode($$); ++ parser->deleteString($1); ++ parser->registerParseNode($$); + } + | +@@ -379,7 +379,7 @@ + if (!$$) + YYABORT; +- PARSER->deleteString($1); +- PARSER->deleteExpressionVector($3); +- PARSER->registerParseNode($$); ++ parser->deleteString($1); ++ parser->deleteExpressionVector($3); ++ parser->registerParseNode($$); + } + ; +@@ -390,6 +390,6 @@ + $$ = new Vector; + $$->append($1); +- PARSER->unregisterParseNode($1); +- PARSER->registerExpressionVector($$); ++ parser->unregisterParseNode($1); ++ parser->registerExpressionVector($$); + } + | +@@ -397,5 +397,5 @@ + { + $$->append($3); +- PARSER->unregisterParseNode($3); ++ parser->unregisterParseNode($3); + } + ; +@@ -413,7 +413,7 @@ + $$->addSubExpression($1); + $$->addSubExpression($3); +- PARSER->unregisterParseNode($1); +- PARSER->unregisterParseNode($3); +- PARSER->registerParseNode($$); ++ parser->unregisterParseNode($1); ++ parser->unregisterParseNode($3); ++ parser->registerParseNode($$); + } + ; +@@ -431,7 +431,7 @@ + $3->setAbsolute(true); + $$ = new Path(static_cast($1), $3); +- PARSER->unregisterParseNode($1); +- PARSER->unregisterParseNode($3); +- PARSER->registerParseNode($$); ++ parser->unregisterParseNode($1); ++ parser->unregisterParseNode($3); ++ parser->registerParseNode($$); + } + | +@@ -441,8 +441,8 @@ + $3->setAbsolute(true); + $$ = new Path(static_cast($1), $3); +- PARSER->unregisterParseNode($1); +- PARSER->unregisterParseNode($2); +- PARSER->unregisterParseNode($3); +- PARSER->registerParseNode($$); ++ parser->unregisterParseNode($1); ++ parser->unregisterParseNode($2); ++ parser->unregisterParseNode($3); ++ parser->registerParseNode($$); + } + ; +@@ -454,7 +454,7 @@ + { + $$ = new Filter($1, *$2); +- PARSER->unregisterParseNode($1); +- PARSER->deletePredicateVector($2); +- PARSER->registerParseNode($$); ++ parser->unregisterParseNode($1); ++ parser->deletePredicateVector($2); ++ parser->registerParseNode($$); + } + ; +@@ -466,7 +466,7 @@ + { + $$ = new LogicalOp(LogicalOp::OP_Or, $1, $3); +- PARSER->unregisterParseNode($1); +- PARSER->unregisterParseNode($3); +- PARSER->registerParseNode($$); ++ parser->unregisterParseNode($1); ++ parser->unregisterParseNode($3); ++ parser->registerParseNode($$); + } + ; +@@ -478,7 +478,7 @@ + { + $$ = new LogicalOp(LogicalOp::OP_And, $1, $3); +- PARSER->unregisterParseNode($1); +- PARSER->unregisterParseNode($3); +- PARSER->registerParseNode($$); ++ parser->unregisterParseNode($1); ++ parser->unregisterParseNode($3); ++ parser->registerParseNode($$); + } + ; +@@ -490,7 +490,7 @@ + { + $$ = new EqTestOp($2, $1, $3); +- PARSER->unregisterParseNode($1); +- PARSER->unregisterParseNode($3); +- PARSER->registerParseNode($$); ++ parser->unregisterParseNode($1); ++ parser->unregisterParseNode($3); ++ parser->registerParseNode($$); + } + ; +@@ -502,7 +502,7 @@ + { + $$ = new EqTestOp($2, $1, $3); +- PARSER->unregisterParseNode($1); +- PARSER->unregisterParseNode($3); +- PARSER->registerParseNode($$); ++ parser->unregisterParseNode($1); ++ parser->unregisterParseNode($3); ++ parser->registerParseNode($$); + } + ; +@@ -514,7 +514,7 @@ + { + $$ = new NumericOp(NumericOp::OP_Add, $1, $3); +- PARSER->unregisterParseNode($1); +- PARSER->unregisterParseNode($3); +- PARSER->registerParseNode($$); ++ parser->unregisterParseNode($1); ++ parser->unregisterParseNode($3); ++ parser->registerParseNode($$); + } + | +@@ -522,7 +522,7 @@ + { + $$ = new NumericOp(NumericOp::OP_Sub, $1, $3); +- PARSER->unregisterParseNode($1); +- PARSER->unregisterParseNode($3); +- PARSER->registerParseNode($$); ++ parser->unregisterParseNode($1); ++ parser->unregisterParseNode($3); ++ parser->registerParseNode($$); + } + ; +@@ -534,7 +534,7 @@ + { + $$ = new NumericOp($2, $1, $3); +- PARSER->unregisterParseNode($1); +- PARSER->unregisterParseNode($3); +- PARSER->registerParseNode($$); ++ parser->unregisterParseNode($1); ++ parser->unregisterParseNode($3); ++ parser->registerParseNode($$); + } + ; +@@ -547,6 +547,6 @@ + $$ = new Negative; + $$->addSubExpression($2); +- PARSER->unregisterParseNode($2); +- PARSER->registerParseNode($$); ++ parser->unregisterParseNode($2); ++ parser->registerParseNode($$); + } + ; diff --git a/dde-base/deepin-xsession-settings/Manifest b/dde-base/deepin-xsession-settings/Manifest new file mode 100644 index 000000000..46515051b --- /dev/null +++ b/dde-base/deepin-xsession-settings/Manifest @@ -0,0 +1 @@ +DIST deepin-xsession-settings_1.0-5.tar.gz 3231 SHA256 7fbbb303bc56d302661657c4d3e3ecea2ae6f6bb833c10dc653474007438ca81 diff --git a/dde-base/deepin-xsession-settings/deepin-xsession-settings-1.0.ebuild b/dde-base/deepin-xsession-settings/deepin-xsession-settings-1.0.ebuild new file mode 100644 index 000000000..d539eeb39 --- /dev/null +++ b/dde-base/deepin-xsession-settings/deepin-xsession-settings-1.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +DESCRIPTION="Deepin session for login screen" +HOMEPAGE="http://www.linuxdeepin.com" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${PN}/${PN}_${PV}-5.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="gnome-base/gnome-session + gnome-base/gnome-settings-daemon" + +src_install() { + + insinto "/etc/xdg" + doins -r ${S}/autostart + +} diff --git a/dde-base/dss-module-a11y/Manifest b/dde-base/dss-module-a11y/Manifest new file mode 100644 index 000000000..0e4e5bfc5 --- /dev/null +++ b/dde-base/dss-module-a11y/Manifest @@ -0,0 +1 @@ +DIST deepin-system-settings_1+git20130627135055~9f146c62a7.tar.gz 86726473 SHA256 c38adcdbce8966acbd98c956b11ea21ebb4354f2c4c4f99671d9a44cfd792b9c diff --git a/dde-base/dss-module-a11y/dss-module-a11y-1.20130627135055.ebuild b/dde-base/dss-module-a11y/dss-module-a11y-1.20130627135055.ebuild new file mode 100644 index 000000000..28c5c6c89 --- /dev/null +++ b/dde-base/dss-module-a11y/dss-module-a11y-1.20130627135055.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils + +DSS="deepin-system-settings" +MY_VER="$(get_version_component_range 1)+git$(get_version_component_range 2)~9f146c62a7" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${DSS}/${DSS}_${MY_VER}.tar.gz" + +DESCRIPTION="Deepin System Settings module for configuring accessibility" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dde-base/deepin-system-settings" +DEPEND="" +S="${WORKDIR}/${DSS}-${MY_VER}/modules/a11y" + +src_install() { + + insinto "/usr/share/${DSS}/modules/a11y" + doins -r ${S}/src ${S}/config.ini + fperms 0755 -R /usr/share/${DSS}/modules/a11y/src/ + +} diff --git a/dde-base/dss-module-account/Manifest b/dde-base/dss-module-account/Manifest new file mode 100644 index 000000000..0e4e5bfc5 --- /dev/null +++ b/dde-base/dss-module-account/Manifest @@ -0,0 +1 @@ +DIST deepin-system-settings_1+git20130627135055~9f146c62a7.tar.gz 86726473 SHA256 c38adcdbce8966acbd98c956b11ea21ebb4354f2c4c4f99671d9a44cfd792b9c diff --git a/dde-base/dss-module-account/dss-module-account-1.20130627135055.ebuild b/dde-base/dss-module-account/dss-module-account-1.20130627135055.ebuild new file mode 100644 index 000000000..100bc3257 --- /dev/null +++ b/dde-base/dss-module-account/dss-module-account-1.20130627135055.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils python + +DSS="deepin-system-settings" +MY_VER="$(get_version_component_range 1)+git$(get_version_component_range 2)~9f146c62a7" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${DSS}/${DSS}_${MY_VER}.tar.gz" + +DESCRIPTION="Deepin System Settings module for configuring accounts" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="sys-auth/polkit + dde-base/deepin-system-settings + dev-python/pexpect + media-plugins/gst-plugins-x:0.10 + media-plugins/gst-plugins-xvideo:0.10 + media-plugins/gst-plugins-pango:0.10" +DEPEND="${RDEPEND}" +S="${WORKDIR}/${DSS}-${MY_VER}/modules/account" + +pkg_setup() { + python_set_active_version 2.7 +} + +src_install() { + + cd ${S}/src + python setup.py install \ + --root="${D}" || die "Install failed" + cd ${S} + + insinto "/usr/share/dbus-1/system-services" + doins ${S}/src/com.deepin.passwdservice.service + + insinto "/usr/share/polkit-1/actions/" + doins ${S}/src/com.deepin.passwdservice.policy + + insinto "/etc/dbus-1/system.d/" + doins ${S}/src/com.deepin.passwdservice.conf + + dolib ${S}/src/passwdservice.py + + insinto "/var/lib/AccountsService/icons/" + doins ${S}/faces/* + + insinto "/usr/share/${DSS}/modules/account/" + doins -r ${S}/faces ${S}/locale \ + ${S}/__init__.py ${S}/config.ini + + insinto "/usr/share/${DSS}/modules/account/src" + doins ${S}/src/*.py + + rm ${D}/usr/share/${DSS}/modules/account/locale/*.po* + +} diff --git a/dde-base/dss-module-application-associate/Manifest b/dde-base/dss-module-application-associate/Manifest new file mode 100644 index 000000000..0e4e5bfc5 --- /dev/null +++ b/dde-base/dss-module-application-associate/Manifest @@ -0,0 +1 @@ +DIST deepin-system-settings_1+git20130627135055~9f146c62a7.tar.gz 86726473 SHA256 c38adcdbce8966acbd98c956b11ea21ebb4354f2c4c4f99671d9a44cfd792b9c diff --git a/dde-base/dss-module-application-associate/dss-module-application-associate-1.20130627135055.ebuild b/dde-base/dss-module-application-associate/dss-module-application-associate-1.20130627135055.ebuild new file mode 100644 index 000000000..987d7257f --- /dev/null +++ b/dde-base/dss-module-application-associate/dss-module-application-associate-1.20130627135055.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils + +DSS="deepin-system-settings" +MY_VER="$(get_version_component_range 1)+git$(get_version_component_range 2)~9f146c62a7" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${DSS}/${DSS}_${MY_VER}.tar.gz" + +DESCRIPTION="Deepin System Settings module for configuring application associate" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RDEPEND="dde-base/deepin-system-settings + dev-python/psutil" +DEPEND="" +S="${WORKDIR}/${DSS}-${MY_VER}/modules/application_associate" + +src_install() { + + insinto "/usr/share/${DSS}/modules/application_associate/src" + doins ${S}/src/*.py + + insinto "/usr/share/${DSS}/modules/application_associate" + doins -r ${S}/locale ${S}/__init__.py ${S}/config.ini + + rm ${D}/usr/share/${DSS}/modules/application_associate/locale/*.po* + fperms 0755 -R /usr/share/${DSS}/modules/application_associate/src/ + +} diff --git a/dde-base/dss-module-bluetooth/Manifest b/dde-base/dss-module-bluetooth/Manifest new file mode 100644 index 000000000..0e4e5bfc5 --- /dev/null +++ b/dde-base/dss-module-bluetooth/Manifest @@ -0,0 +1 @@ +DIST deepin-system-settings_1+git20130627135055~9f146c62a7.tar.gz 86726473 SHA256 c38adcdbce8966acbd98c956b11ea21ebb4354f2c4c4f99671d9a44cfd792b9c diff --git a/dde-base/dss-module-bluetooth/dss-module-bluetooth-1.20130627135055.ebuild b/dde-base/dss-module-bluetooth/dss-module-bluetooth-1.20130627135055.ebuild new file mode 100644 index 000000000..019eef0ec --- /dev/null +++ b/dde-base/dss-module-bluetooth/dss-module-bluetooth-1.20130627135055.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils + +DSS="deepin-system-settings" +MY_VER="$(get_version_component_range 1)+git$(get_version_component_range 2)~9f146c62a7" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${DSS}/${DSS}_${MY_VER}.tar.gz" + +DESCRIPTION="Deepin System Settings module for configuring bluetooth" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RDEPEND="dde-base/deepin-system-settings + net-wireless/bluez + dev-libs/openobex + app-mobilephone/obex-data-server + app-mobilephone/obexd" +DEPEND="" +S="${WORKDIR}/${DSS}-${MY_VER}/modules/bluetooth" + +src_install() { + + insinto "/usr/share/${DSS}/modules/bluetooth" + doins -r ${S}/src ${S}/locale ${S}/__init__.py ${S}/config.ini + + rm ${D}/usr/share/${DSS}/modules/bluetooth/locale/*.po* + fperms 0755 -R /usr/share/${DSS}/modules/bluetooth/src/main.py + +} diff --git a/dde-base/dss-module-date-time/Manifest b/dde-base/dss-module-date-time/Manifest new file mode 100644 index 000000000..0e4e5bfc5 --- /dev/null +++ b/dde-base/dss-module-date-time/Manifest @@ -0,0 +1 @@ +DIST deepin-system-settings_1+git20130627135055~9f146c62a7.tar.gz 86726473 SHA256 c38adcdbce8966acbd98c956b11ea21ebb4354f2c4c4f99671d9a44cfd792b9c diff --git a/dde-base/dss-module-date-time/dss-module-date-time-1.20130627135055.ebuild b/dde-base/dss-module-date-time/dss-module-date-time-1.20130627135055.ebuild new file mode 100644 index 000000000..2fbb0cf58 --- /dev/null +++ b/dde-base/dss-module-date-time/dss-module-date-time-1.20130627135055.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils python + +DSS="deepin-system-settings" +MY_VER="$(get_version_component_range 1)+git$(get_version_component_range 2)~9f146c62a7" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${DSS}/${DSS}_${MY_VER}.tar.gz" + +DESCRIPTION="Deepin System Settings module for configuring date and time" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-lang/python:2.7 + dde-base/deepin-system-settings + dev-python/dtk-widget + dev-libs/lunar-date + dev-libs/lunar-calendar + dev-python/deepin-lunar" +DEPEND="" +S="${WORKDIR}/${DSS}-${MY_VER}/modules/date_time" + +pkg_setup() { + python_set_active_version 2.7 +} + +src_install() { + + cd ${S}/src + python setup.py install --root=${D} || die "Install failed" + + insinto "/usr/share/${DSS}/modules/date_time/src" + doins ${S}/src/*.py + + insinto "/usr/share/${DSS}/modules/date_time" + doins -r ${S}/locale ${S}/__init__.py ${S}/config.ini + + rm ${D}/usr/share/${DSS}/modules/date_time/locale/*.po* \ + ${D}/usr/share/${DSS}/modules/date_time/src/setup.py + fperms 0755 -R /usr/share/${DSS}/modules/date_time/src/ + +} diff --git a/dde-base/dss-module-desktop/Manifest b/dde-base/dss-module-desktop/Manifest new file mode 100644 index 000000000..0e4e5bfc5 --- /dev/null +++ b/dde-base/dss-module-desktop/Manifest @@ -0,0 +1 @@ +DIST deepin-system-settings_1+git20130627135055~9f146c62a7.tar.gz 86726473 SHA256 c38adcdbce8966acbd98c956b11ea21ebb4354f2c4c4f99671d9a44cfd792b9c diff --git a/dde-base/dss-module-desktop/dss-module-desktop-1.20130627135055.ebuild b/dde-base/dss-module-desktop/dss-module-desktop-1.20130627135055.ebuild new file mode 100644 index 000000000..6007802ca --- /dev/null +++ b/dde-base/dss-module-desktop/dss-module-desktop-1.20130627135055.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils + +DSS="deepin-system-settings" +MY_VER="$(get_version_component_range 1)+git$(get_version_component_range 2)~9f146c62a7" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${DSS}/${DSS}_${MY_VER}.tar.gz" + +DESCRIPTION="Deepin System Settings module for configuring desktop" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RDEPEND="dde-base/deepin-system-settings + x11-misc/xautomation" +DEPEND="" +S="${WORKDIR}/${DSS}-${MY_VER}/modules/desktop" + +src_install() { + + insinto "/usr/share/${DSS}/modules/desktop" + doins -r ${S}/src ${S}/locale ${S}/__init__.py ${S}/config.ini + + rm ${D}/usr/share/${DSS}/modules/desktop/locale/*.po* + fperms 0755 -R /usr/share/${DSS}/modules/desktop/src/main.py + +} diff --git a/dde-base/dss-module-display/Manifest b/dde-base/dss-module-display/Manifest new file mode 100644 index 000000000..0e4e5bfc5 --- /dev/null +++ b/dde-base/dss-module-display/Manifest @@ -0,0 +1 @@ +DIST deepin-system-settings_1+git20130627135055~9f146c62a7.tar.gz 86726473 SHA256 c38adcdbce8966acbd98c956b11ea21ebb4354f2c4c4f99671d9a44cfd792b9c diff --git a/dde-base/dss-module-display/dss-module-display-1.20130627135055.ebuild b/dde-base/dss-module-display/dss-module-display-1.20130627135055.ebuild new file mode 100644 index 000000000..1c295f123 --- /dev/null +++ b/dde-base/dss-module-display/dss-module-display-1.20130627135055.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils + +DSS="deepin-system-settings" +MY_VER="$(get_version_component_range 1)+git$(get_version_component_range 2)~9f146c62a7" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${DSS}/${DSS}_${MY_VER}.tar.gz" + +DESCRIPTION="Deepin System Settings module for configuring display" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dde-base/deepin-system-settings + dev-python/deepin-gsettings + dev-python/deepin-xrandr" +DEPEND="" +S="${WORKDIR}/${DSS}-${MY_VER}/modules/display" + +src_install() { + + insinto "/usr/share/${DSS}/modules/display" + doins -r ${S}/locale ${S}/src ${S}/__init__.py ${S}/config.ini + + rm ${D}/usr/share/${DSS}/modules/display/locale/*.po* + fperms 0755 -R /usr/share/${DSS}/modules/display/src/ + +} diff --git a/dde-base/dss-module-driver/Manifest b/dde-base/dss-module-driver/Manifest new file mode 100644 index 000000000..0e4e5bfc5 --- /dev/null +++ b/dde-base/dss-module-driver/Manifest @@ -0,0 +1 @@ +DIST deepin-system-settings_1+git20130627135055~9f146c62a7.tar.gz 86726473 SHA256 c38adcdbce8966acbd98c956b11ea21ebb4354f2c4c4f99671d9a44cfd792b9c diff --git a/dde-base/dss-module-driver/dss-module-driver-1.20130627135055.ebuild b/dde-base/dss-module-driver/dss-module-driver-1.20130627135055.ebuild new file mode 100644 index 000000000..31a38837b --- /dev/null +++ b/dde-base/dss-module-driver/dss-module-driver-1.20130627135055.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils + +DSS="deepin-system-settings" +MY_VER="$(get_version_component_range 1)+git$(get_version_component_range 2)~9f146c62a7" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${DSS}/${DSS}_${MY_VER}.tar.gz" + +DESCRIPTION="Deepin System Settings module for configuring driver" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dde-base/deepin-system-settings" +DEPEND="" +S="${WORKDIR}/${DSS}-${MY_VER}/modules/driver" + +src_install() { + + insinto "/usr/share/${DSS}/modules/driver" + doins -r ${S}/src ${S}/config.ini + fperms 0755 -R /usr/share/${DSS}/modules/driver/src/ + +} diff --git a/dde-base/dss-module-individuation/Manifest b/dde-base/dss-module-individuation/Manifest new file mode 100644 index 000000000..0e4e5bfc5 --- /dev/null +++ b/dde-base/dss-module-individuation/Manifest @@ -0,0 +1 @@ +DIST deepin-system-settings_1+git20130627135055~9f146c62a7.tar.gz 86726473 SHA256 c38adcdbce8966acbd98c956b11ea21ebb4354f2c4c4f99671d9a44cfd792b9c diff --git a/dde-base/dss-module-individuation/dss-module-individuation-1.20130627135055.ebuild b/dde-base/dss-module-individuation/dss-module-individuation-1.20130627135055.ebuild new file mode 100644 index 000000000..4d5989c9d --- /dev/null +++ b/dde-base/dss-module-individuation/dss-module-individuation-1.20130627135055.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils + +DSS="deepin-system-settings" +MY_VER="$(get_version_component_range 1)+git$(get_version_component_range 2)~9f146c62a7" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${DSS}/${DSS}_${MY_VER}.tar.gz" + +DESCRIPTION="Deepin System Settings module for configuring individuation" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RDEPEND="dde-base/deepin-system-settings + dev-python/pystorm" +DEPEND="" +S="${WORKDIR}/${DSS}-${MY_VER}/modules/individuation" + +src_install() { + + insinto "/usr/share/${DSS}/modules/individuation" + doins -r ${S}/src ${S}/data ${S}/backgrounds ${S}/theme ${S}/locale ${S}/__init__.py ${S}/config.ini + + rm ${D}/usr/share/${DSS}/modules/individuation/locale/*.po* + fperms 0755 -R /usr/share/${DSS}/modules/individuation/src/main.py + +} diff --git a/dde-base/dss-module-keyboard/Manifest b/dde-base/dss-module-keyboard/Manifest new file mode 100644 index 000000000..0e4e5bfc5 --- /dev/null +++ b/dde-base/dss-module-keyboard/Manifest @@ -0,0 +1 @@ +DIST deepin-system-settings_1+git20130627135055~9f146c62a7.tar.gz 86726473 SHA256 c38adcdbce8966acbd98c956b11ea21ebb4354f2c4c4f99671d9a44cfd792b9c diff --git a/dde-base/dss-module-keyboard/dss-module-keyboard-1.20130627135055.ebuild b/dde-base/dss-module-keyboard/dss-module-keyboard-1.20130627135055.ebuild new file mode 100644 index 000000000..99bccbc73 --- /dev/null +++ b/dde-base/dss-module-keyboard/dss-module-keyboard-1.20130627135055.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils + +DSS="deepin-system-settings" +MY_VER="$(get_version_component_range 1)+git$(get_version_component_range 2)~9f146c62a7" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${DSS}/${DSS}_${MY_VER}.tar.gz" + +DESCRIPTION="Deepin System Settings module for configuring keyboard" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RDEPEND="dde-base/deepin-system-settings + dev-python/python-xklavier + dev-python/gconf-python + gnome-base/libgnomekbd" +DEPEND="" +S="${WORKDIR}/${DSS}-${MY_VER}/modules/keyboard" + +src_install() { + + insinto "/usr/share/${DSS}/modules/keyboard/src" + doins ${S}/src/*.py + + insinto "/usr/share/${DSS}/modules/keyboard" + doins -r ${S}/locale ${S}/__init__.py ${S}/config.ini + + rm ${D}/usr/share/${DSS}/modules/keyboard/locale/*.po* + fperms 0755 -R /usr/share/${DSS}/modules/keyboard/src/ + +} diff --git a/dde-base/dss-module-mount-media/Manifest b/dde-base/dss-module-mount-media/Manifest new file mode 100644 index 000000000..0e4e5bfc5 --- /dev/null +++ b/dde-base/dss-module-mount-media/Manifest @@ -0,0 +1 @@ +DIST deepin-system-settings_1+git20130627135055~9f146c62a7.tar.gz 86726473 SHA256 c38adcdbce8966acbd98c956b11ea21ebb4354f2c4c4f99671d9a44cfd792b9c diff --git a/dde-base/dss-module-mount-media/dss-module-mount-media-1.20130627135055.ebuild b/dde-base/dss-module-mount-media/dss-module-mount-media-1.20130627135055.ebuild new file mode 100644 index 000000000..64987c45c --- /dev/null +++ b/dde-base/dss-module-mount-media/dss-module-mount-media-1.20130627135055.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils + +DSS="deepin-system-settings" +MY_VER="$(get_version_component_range 1)+git$(get_version_component_range 2)~9f146c62a7" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${DSS}/${DSS}_${MY_VER}.tar.gz" + +DESCRIPTION="Deepin System Settings module for configuring mount media" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dde-base/deepin-system-settings" +DEPEND="" +S="${WORKDIR}/${DSS}-${MY_VER}/modules/mount_media" + +src_install() { + + insinto "/usr/share/${DSS}/modules/mount_media" + doins -r ${S}/locale ${S}/src ${S}/__init__.py ${S}/clear.py ${S}/config.ini + rm ${D}/usr/share/${DSS}/modules/mount_media/locale/*.po* + +} diff --git a/dde-base/dss-module-mouse/Manifest b/dde-base/dss-module-mouse/Manifest new file mode 100644 index 000000000..0e4e5bfc5 --- /dev/null +++ b/dde-base/dss-module-mouse/Manifest @@ -0,0 +1 @@ +DIST deepin-system-settings_1+git20130627135055~9f146c62a7.tar.gz 86726473 SHA256 c38adcdbce8966acbd98c956b11ea21ebb4354f2c4c4f99671d9a44cfd792b9c diff --git a/dde-base/dss-module-mouse/dss-module-mouse-1.20130627135055.ebuild b/dde-base/dss-module-mouse/dss-module-mouse-1.20130627135055.ebuild new file mode 100644 index 000000000..9f42a315c --- /dev/null +++ b/dde-base/dss-module-mouse/dss-module-mouse-1.20130627135055.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils + +DSS="deepin-system-settings" +MY_VER="$(get_version_component_range 1)+git$(get_version_component_range 2)~9f146c62a7" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${DSS}/${DSS}_${MY_VER}.tar.gz" + +DESCRIPTION="Deepin System Settings module for configuring mouse" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dde-base/deepin-system-settings" +DEPEND="" +S="${WORKDIR}/${DSS}-${MY_VER}/modules/mouse" + +src_install() { + + insinto "/usr/share/${DSS}/modules/mouse" + doins -r ${S}/locale ${S}/src ${S}/__init__.py ${S}/config.ini + + rm ${D}/usr/share/${DSS}/modules/mouse/locale/*.po* + fperms 0755 -R /usr/share/${DSS}/modules/mouse/src/ + +} diff --git a/dde-base/dss-module-network/Manifest b/dde-base/dss-module-network/Manifest new file mode 100644 index 000000000..0e4e5bfc5 --- /dev/null +++ b/dde-base/dss-module-network/Manifest @@ -0,0 +1 @@ +DIST deepin-system-settings_1+git20130627135055~9f146c62a7.tar.gz 86726473 SHA256 c38adcdbce8966acbd98c956b11ea21ebb4354f2c4c4f99671d9a44cfd792b9c diff --git a/dde-base/dss-module-network/dss-module-network-1.20130627135055.ebuild b/dde-base/dss-module-network/dss-module-network-1.20130627135055.ebuild new file mode 100644 index 000000000..590398cd5 --- /dev/null +++ b/dde-base/dss-module-network/dss-module-network-1.20130627135055.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils + +DSS="deepin-system-settings" +MY_VER="$(get_version_component_range 1)+git$(get_version_component_range 2)~9f146c62a7" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${DSS}/${DSS}_${MY_VER}.tar.gz" + +DESCRIPTION="Deepin System Settings module for configuring network" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="pptp l2tp" +RDEPEND="dde-base/deepin-system-settings + dev-python/python-gudev + dev-python/keyring + net-libs/glib-networking + net-misc/networkmanager + dev-python/pytz + pptp? ( net-misc/networkmanager-pptp ) + l2tp? ( net-misc/networkmanager-l2tp ) + net-misc/modemmanager" +DEPEND="" +S="${WORKDIR}/${DSS}-${MY_VER}/modules/network" + +src_install() { + # the networkmanager-0.9.8.2 need >=net-misc/modemmanager-0.7.991 + # and modemmanager-0.7.991 provide org.freedesktop.ModemManager1.service but + # org.freedesktop.ModemManager.service + sed -i "s|ModemManager|ModemManager1|g" ${S}/src/mm/mmclient.py + + insinto "/etc/dbus-1/system.d/" + doins ${S}/src/nmlib/com.deepin.network.conf + + dolib ${S}/src/nmlib/network_service.py + + insinto "/usr/share/dbus-1/system-services" + doins ${S}/src/nmlib/com.deepin.network.service + + insinto "/usr/share/polkit-1/actions" + doins ${S}/src/nmlib/com.deepin.network.policy + + insinto "/usr/share/${DSS}/modules/network" + doins -r ${S}/src ${S}/locale ${S}/__init__.py ${S}/config.ini + + rm ${D}/usr/share/${DSS}/modules/network/locale/*.po* + fperms 0755 -R /usr/share/${DSS}/modules/network/src/main*.py + +} + +pkg_postinst() { + elog "" + elog "You may add networkmanager to default runlevel by running " + elog "'rc-update add NetworkManager default' as root, so that " + elog "the networkmanager can start at boot time and the network " + elog "module of DSS can be loaded normally." + elog "" +} diff --git a/dde-base/dss-module-power/Manifest b/dde-base/dss-module-power/Manifest new file mode 100644 index 000000000..0e4e5bfc5 --- /dev/null +++ b/dde-base/dss-module-power/Manifest @@ -0,0 +1 @@ +DIST deepin-system-settings_1+git20130627135055~9f146c62a7.tar.gz 86726473 SHA256 c38adcdbce8966acbd98c956b11ea21ebb4354f2c4c4f99671d9a44cfd792b9c diff --git a/dde-base/dss-module-power/dss-module-power-1.20130627135055.ebuild b/dde-base/dss-module-power/dss-module-power-1.20130627135055.ebuild new file mode 100644 index 000000000..60f3ac484 --- /dev/null +++ b/dde-base/dss-module-power/dss-module-power-1.20130627135055.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils + +DSS="deepin-system-settings" +MY_VER="$(get_version_component_range 1)+git$(get_version_component_range 2)~9f146c62a7" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${DSS}/${DSS}_${MY_VER}.tar.gz" + +DESCRIPTION="Deepin System Settings module for configuring power" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dde-base/deepin-system-settings" +DEPEND="" +S="${WORKDIR}/${DSS}-${MY_VER}/modules/power" + +src_install() { + + insinto "/usr/share/${DSS}/modules/power" + doins -r ${S}/locale ${S}/src ${S}/__init__.py ${S}/config.ini + + rm ${D}/usr/share/${DSS}/modules/power/locale/*.po* + fperms 0755 -R /usr/share/${DSS}/modules/power/src/ + +} diff --git a/dde-base/dss-module-printer/Manifest b/dde-base/dss-module-printer/Manifest new file mode 100644 index 000000000..0e4e5bfc5 --- /dev/null +++ b/dde-base/dss-module-printer/Manifest @@ -0,0 +1 @@ +DIST deepin-system-settings_1+git20130627135055~9f146c62a7.tar.gz 86726473 SHA256 c38adcdbce8966acbd98c956b11ea21ebb4354f2c4c4f99671d9a44cfd792b9c diff --git a/dde-base/dss-module-printer/dss-module-printer-1.20130627135055.ebuild b/dde-base/dss-module-printer/dss-module-printer-1.20130627135055.ebuild new file mode 100644 index 000000000..5775b58df --- /dev/null +++ b/dde-base/dss-module-printer/dss-module-printer-1.20130627135055.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils + +DSS="deepin-system-settings" +MY_VER="$(get_version_component_range 1)+git$(get_version_component_range 2)~9f146c62a7" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${DSS}/${DSS}_${MY_VER}.tar.gz" + +DESCRIPTION="Deepin System Settings module for configuring printer" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dde-base/deepin-system-settings" +DEPEND="" +S="${WORKDIR}/${DSS}-${MY_VER}/modules/printer" + +src_install() { + + insinto "/usr/share/${DSS}/modules/printer" + doins -r ${S}/src ${S}/config.ini + + fperms 0755 -R /usr/share/${DSS}/modules/printer/src/ + +} diff --git a/dde-base/dss-module-sound/Manifest b/dde-base/dss-module-sound/Manifest new file mode 100644 index 000000000..0e4e5bfc5 --- /dev/null +++ b/dde-base/dss-module-sound/Manifest @@ -0,0 +1 @@ +DIST deepin-system-settings_1+git20130627135055~9f146c62a7.tar.gz 86726473 SHA256 c38adcdbce8966acbd98c956b11ea21ebb4354f2c4c4f99671d9a44cfd792b9c diff --git a/dde-base/dss-module-sound/dss-module-sound-1.20130627135055.ebuild b/dde-base/dss-module-sound/dss-module-sound-1.20130627135055.ebuild new file mode 100644 index 000000000..2594188f6 --- /dev/null +++ b/dde-base/dss-module-sound/dss-module-sound-1.20130627135055.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils + +DSS="deepin-system-settings" +MY_VER="$(get_version_component_range 1)+git$(get_version_component_range 2)~9f146c62a7" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${DSS}/${DSS}_${MY_VER}.tar.gz" + +DESCRIPTION="Deepin System Settings module for configuring sound" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RDEPEND="dde-base/deepin-system-settings + dev-python/pypulseaudio + dev-python/dbus-python" +DEPEND="" +S="${WORKDIR}/${DSS}-${MY_VER}/modules/sound" + +src_install() { + + insinto "/usr/share/${DSS}/modules/sound" + doins -r ${S}/src ${S}/locale ${S}/__init__.py ${S}/config.ini + + rm ${D}/usr/share/${DSS}/modules/sound/locale/*.po* + fperms 0755 -R /usr/share/${DSS}/modules/sound/src/main.py + +} diff --git a/dde-base/dss-module-system-information/Manifest b/dde-base/dss-module-system-information/Manifest new file mode 100644 index 000000000..0e4e5bfc5 --- /dev/null +++ b/dde-base/dss-module-system-information/Manifest @@ -0,0 +1 @@ +DIST deepin-system-settings_1+git20130627135055~9f146c62a7.tar.gz 86726473 SHA256 c38adcdbce8966acbd98c956b11ea21ebb4354f2c4c4f99671d9a44cfd792b9c diff --git a/dde-base/dss-module-system-information/dss-module-system-information-1.20130627135055.ebuild b/dde-base/dss-module-system-information/dss-module-system-information-1.20130627135055.ebuild new file mode 100644 index 000000000..d4a6cc880 --- /dev/null +++ b/dde-base/dss-module-system-information/dss-module-system-information-1.20130627135055.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils + +DSS="deepin-system-settings" +MY_VER="$(get_version_component_range 1)+git$(get_version_component_range 2)~9f146c62a7" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${DSS}/${DSS}_${MY_VER}.tar.gz" + +DESCRIPTION="Deepin System Settings module for configuring system information" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RDEPEND="dde-base/deepin-system-settings + dev-python/libgtop-python" +DEPEND="" +S="${WORKDIR}/${DSS}-${MY_VER}/modules/system_information" + +src_install() { + + insinto "/usr/share/${DSS}/modules/system_information/src" + doins ${S}/src/*.py + + insinto "/usr/share/${DSS}/modules/system_information" + doins -r ${S}/locale ${S}/__init__.py ${S}/config.ini + + rm ${D}/usr/share/${DSS}/modules/system_information/locale/*.po* + fperms 0755 -R /usr/share/${DSS}/modules/system_information/src/ + +} diff --git a/dde-base/dss-module-touchpad/Manifest b/dde-base/dss-module-touchpad/Manifest new file mode 100644 index 000000000..0e4e5bfc5 --- /dev/null +++ b/dde-base/dss-module-touchpad/Manifest @@ -0,0 +1 @@ +DIST deepin-system-settings_1+git20130627135055~9f146c62a7.tar.gz 86726473 SHA256 c38adcdbce8966acbd98c956b11ea21ebb4354f2c4c4f99671d9a44cfd792b9c diff --git a/dde-base/dss-module-touchpad/dss-module-touchpad-1.20130627135055.ebuild b/dde-base/dss-module-touchpad/dss-module-touchpad-1.20130627135055.ebuild new file mode 100644 index 000000000..95a3f0661 --- /dev/null +++ b/dde-base/dss-module-touchpad/dss-module-touchpad-1.20130627135055.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils + +DSS="deepin-system-settings" +MY_VER="$(get_version_component_range 1)+git$(get_version_component_range 2)~9f146c62a7" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${DSS}/${DSS}_${MY_VER}.tar.gz" + +DESCRIPTION="Deepin System Settings module for configuring touchpad" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dde-base/deepin-system-settings" +DEPEND="" +S="${WORKDIR}/${DSS}-${MY_VER}/modules/touchpad" + +src_install() { + + insinto "/usr/share/${DSS}/modules/touchpad" + doins -r ${S}/locale ${S}/src ${S}/__init__.py ${S}/config.ini + + rm ${D}/usr/share/${DSS}/modules/touchpad/locale/*.po* + fperms 0755 -R /usr/share/${DSS}/modules/touchpad/src/ + +} diff --git a/dde-base/dss-module-tray-power/Manifest b/dde-base/dss-module-tray-power/Manifest new file mode 100644 index 000000000..0e4e5bfc5 --- /dev/null +++ b/dde-base/dss-module-tray-power/Manifest @@ -0,0 +1 @@ +DIST deepin-system-settings_1+git20130627135055~9f146c62a7.tar.gz 86726473 SHA256 c38adcdbce8966acbd98c956b11ea21ebb4354f2c4c4f99671d9a44cfd792b9c diff --git a/dde-base/dss-module-tray-power/dss-module-tray-power-1.20130627135055.ebuild b/dde-base/dss-module-tray-power/dss-module-tray-power-1.20130627135055.ebuild new file mode 100644 index 000000000..20e0812c7 --- /dev/null +++ b/dde-base/dss-module-tray-power/dss-module-tray-power-1.20130627135055.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils + +DSS="deepin-system-settings" +MY_VER="$(get_version_component_range 1)+git$(get_version_component_range 2)~9f146c62a7" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${DSS}/${DSS}_${MY_VER}.tar.gz" + +DESCRIPTION="Deepin System Settings module for configuring tray power icon" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dde-base/deepin-system-settings" +DEPEND="" +S="${WORKDIR}/${DSS}-${MY_VER}/modules/tray_power" + +src_install() { + + insinto "/usr/share/${DSS}/modules/tray_power" + doins -r ${S}/locale ${S}/src ${S}/clear.py ${S}/__init__.py ${S}/config.ini + + rm ${D}/usr/share/${DSS}/modules/tray_power/locale/*.po* + +} diff --git a/dde-base/dss-modules-meta/dss-modules-meta-1.20130627135055.ebuild b/dde-base/dss-modules-meta/dss-modules-meta-1.20130627135055.ebuild new file mode 100644 index 000000000..b686507b0 --- /dev/null +++ b/dde-base/dss-modules-meta/dss-modules-meta-1.20130627135055.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +DESCRIPTION="DSS modules (meta package)" +HOMEPAGE="http://www.linuxdeepin.com" +SRC_URI="" + +LICENSE="metapackage" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="=dde-base/deepin-system-settings-1.20130627135055 + =dde-base/dss-module-a11y-1.20130627135055 + =dde-base/dss-module-account-1.20130627135055 + =dde-base/dss-module-application-associate-1.20130627135055 + =dde-base/dss-module-bluetooth-1.20130627135055 + =dde-base/dss-module-date-time-1.20130627135055 + =dde-base/dss-module-desktop-1.20130627135055 + =dde-base/dss-module-display-1.20130627135055 + =dde-base/dss-module-driver-1.20130627135055 + =dde-base/dss-module-individuation-1.20130627135055 + =dde-base/dss-module-keyboard-1.20130627135055 + =dde-base/dss-module-mouse-1.20130627135055 + =dde-base/dss-module-network-1.20130627135055 + =dde-base/dss-module-power-1.20130627135055 + =dde-base/dss-module-printer-1.20130627135055 + =dde-base/dss-module-sound-1.20130627135055 + =dde-base/dss-module-system-information-1.20130627135055 + =dde-base/dss-module-touchpad-1.20130627135055 + =dde-base/dss-module-mount-media-1.20130627135055 + =dde-base/dss-module-tray-power-1.20130627135055" + diff --git a/dde-extra/dde-meta-multimedia/dde-meta-multimedia-0.1.ebuild b/dde-extra/dde-meta-multimedia/dde-meta-multimedia-0.1.ebuild new file mode 100644 index 000000000..25074e9ce --- /dev/null +++ b/dde-extra/dde-meta-multimedia/dde-meta-multimedia-0.1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +DESCRIPTION="Deepin Multimedia Softwares (meta package)" +HOMEPAGE="http://www.linuxdeepin.com" +SRC_URI="" + +LICENSE="metapackage" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="media-sound/deepin-music-player + media-video/deepin-media-player + media-gfx/deepin-screenshot" diff --git a/dde-extra/dde-plugins-audio-helper/Manifest b/dde-extra/dde-plugins-audio-helper/Manifest new file mode 100644 index 000000000..e8feeefe2 --- /dev/null +++ b/dde-extra/dde-plugins-audio-helper/Manifest @@ -0,0 +1 @@ +DIST deepin-desktop-environment-plugins_0.0.1+git20130624113817~16f12ba5e4.tar.gz 201083 SHA256 cf44f21538dac0ed437740eb0fa6aa13feb6caa9231a35d7f2777a71adadd1e7 diff --git a/dde-extra/dde-plugins-audio-helper/dde-plugins-audio-helper-0.0.1.20130624113817.ebuild b/dde-extra/dde-plugins-audio-helper/dde-plugins-audio-helper-0.0.1.20130624113817.ebuild new file mode 100644 index 000000000..0542d02e3 --- /dev/null +++ b/dde-extra/dde-plugins-audio-helper/dde-plugins-audio-helper-0.0.1.20130624113817.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit versionator + +MY_VER="$(get_version_component_range 1-3)+git$(get_version_component_range 4)~16f12ba5e4" + +DESCRIPTION="Clock plugins for Deepin Desktop Environment" +HOMEPAGE="http://www.linuxdeepin.com" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/deepin-desktop-environment-plugins/deepin-desktop-environment-plugins_${MY_VER}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dde-base/deepin-artwork + dde-base/deepin-desktop-environment" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/deepin-desktop-environment-plugins-${MY_VER}/audio_helper" + +src_install() { + insinto "/usr/share/dde/resources/desktop/plugin/audio_helper" + doins audio_helper.css audio_helper.js circle.png circle_press.png info.ini light.png running.png static.png +} \ No newline at end of file diff --git a/dde-extra/dde-plugins-clock/Manifest b/dde-extra/dde-plugins-clock/Manifest new file mode 100644 index 000000000..e8feeefe2 --- /dev/null +++ b/dde-extra/dde-plugins-clock/Manifest @@ -0,0 +1 @@ +DIST deepin-desktop-environment-plugins_0.0.1+git20130624113817~16f12ba5e4.tar.gz 201083 SHA256 cf44f21538dac0ed437740eb0fa6aa13feb6caa9231a35d7f2777a71adadd1e7 diff --git a/dde-extra/dde-plugins-clock/dde-plugins-clock-0.0.1.20130624113817.ebuild b/dde-extra/dde-plugins-clock/dde-plugins-clock-0.0.1.20130624113817.ebuild new file mode 100644 index 000000000..ff40c5725 --- /dev/null +++ b/dde-extra/dde-plugins-clock/dde-plugins-clock-0.0.1.20130624113817.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit versionator + +MY_VER="$(get_version_component_range 1-3)+git$(get_version_component_range 4)~16f12ba5e4" + +DESCRIPTION="Clock plugins for Deepin Desktop Environment" +HOMEPAGE="http://www.linuxdeepin.com" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/deepin-desktop-environment-plugins/deepin-desktop-environment-plugins_${MY_VER}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dde-base/deepin-artwork + dde-base/deepin-desktop-environment" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/deepin-desktop-environment-plugins-${MY_VER}/clock + +src_install() { + insinto "/usr/share/dde/resources/desktop/plugin/clock" + doins clock.css clock.js clockface.png hourhand.png info.ini minhand.png sechand.png +} \ No newline at end of file diff --git a/dde-extra/dde-plugins-weather/Manifest b/dde-extra/dde-plugins-weather/Manifest new file mode 100644 index 000000000..e8feeefe2 --- /dev/null +++ b/dde-extra/dde-plugins-weather/Manifest @@ -0,0 +1 @@ +DIST deepin-desktop-environment-plugins_0.0.1+git20130624113817~16f12ba5e4.tar.gz 201083 SHA256 cf44f21538dac0ed437740eb0fa6aa13feb6caa9231a35d7f2777a71adadd1e7 diff --git a/dde-extra/dde-plugins-weather/dde-plugins-weather-0.0.1.20130624113817.ebuild b/dde-extra/dde-plugins-weather/dde-plugins-weather-0.0.1.20130624113817.ebuild new file mode 100644 index 000000000..87c4c5234 --- /dev/null +++ b/dde-extra/dde-plugins-weather/dde-plugins-weather-0.0.1.20130624113817.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit versionator python + +MY_VER="$(get_version_component_range 1-3)+git$(get_version_component_range 4)~16f12ba5e4" + +DESCRIPTION="Clock plugins for Deepin Desktop Environment" +HOMEPAGE="http://www.linuxdeepin.com" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/deepin-desktop-environment-plugins/deepin-desktop-environment-plugins_${MY_VER}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dde-base/deepin-artwork + dde-base/deepin-desktop-environment" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/deepin-desktop-environment-plugins-${MY_VER}/weather" + +pkg_setup() { + python_set_active_version 2.7 +} + +src_prepare() { + cd ${S}/../ + chmod +x update_po generate_mo + ./update_po weather + ./generate_mo weather +} + +src_install() { + insinto "/usr/share/dde/resources/desktop/plugin/weather" + doins -r city img locale citymoremenu.css info.ini weather.css weather.js +} \ No newline at end of file diff --git a/dde-extra/deepin-desktop-environment-plugins/deepin-desktop-environment-plugins-0.0.1.20130624113817.ebuild b/dde-extra/deepin-desktop-environment-plugins/deepin-desktop-environment-plugins-0.0.1.20130624113817.ebuild new file mode 100644 index 000000000..91f913c7a --- /dev/null +++ b/dde-extra/deepin-desktop-environment-plugins/deepin-desktop-environment-plugins-0.0.1.20130624113817.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +DESCRIPTION="Plugins for Deepin Desktop Environment (meta package)" +HOMEPAGE="http://www.linuxdeepin.com" +SRC_URI="" + +LICENSE="metapackage" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="=dde-extra/dde-plugins-clock-${PV} + =dde-extra/dde-plugins-weather-${PV} + =dde-extra/dde-plugins-audio-helper-${PV}" diff --git a/dev-lang/coffee-script/Manifest b/dev-lang/coffee-script/Manifest new file mode 100644 index 000000000..cb5faddcb --- /dev/null +++ b/dev-lang/coffee-script/Manifest @@ -0,0 +1 @@ +DIST 1.4.0.tar.gz 474026 SHA256 c46c2af565858e3445ed3bebdab54570573f934d87d4ae2ec4b45e6984ef7069 diff --git a/dev-lang/coffee-script/coffee-script-1.4.0.ebuild b/dev-lang/coffee-script/coffee-script-1.4.0.ebuild new file mode 100644 index 000000000..4051fe0d3 --- /dev/null +++ b/dev-lang/coffee-script/coffee-script-1.4.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/coffee-script-source/coffee-script-source-1.4.0.ebuild,v 1.2 2013/01/15 06:29:09 zerochaos Exp $ + +EAPI="5" + +DESCRIPTION="the official CoffeeScript compiler" +HOMEPAGE="http://coffeescript.org/" +SRC_URI="http://github.com/jashkenas/${PN}/archive/${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="net-libs/nodejs" +DEPEND="${RDEPEND}" + +src_compile() { + node bin/cake build +} + +src_test() { + node bin/cake test +} + +src_install() { + node bin/cake --prefix "${D}"/usr install +} diff --git a/dev-lang/coffee-script/metadata.xml b/dev-lang/coffee-script/metadata.xml new file mode 100644 index 000000000..5f9c6792b --- /dev/null +++ b/dev-lang/coffee-script/metadata.xml @@ -0,0 +1,11 @@ + + + + + eva@gentoo.org + Gilles Dartiguelongue + + + jashkenas/coffee-script + + diff --git a/dev-libs/dtk-widget/Manifest b/dev-libs/dtk-widget/Manifest new file mode 100644 index 000000000..c6f5af7d2 --- /dev/null +++ b/dev-libs/dtk-widget/Manifest @@ -0,0 +1 @@ +DIST dtk-widget_0.5+git20130617042230~2491552186.tar.gz 37647 SHA256 490563492d31127d1cfba57c14113149d00a7132792e3297233375e5707ff39e diff --git a/dev-libs/dtk-widget/dtk-widget-0.5.20130617042230.ebuild b/dev-libs/dtk-widget/dtk-widget-0.5.20130617042230.ebuild new file mode 100644 index 000000000..e82abf247 --- /dev/null +++ b/dev-libs/dtk-widget/dtk-widget-0.5.20130617042230.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils python + +PYTHON_DEPEND=2:2.7 +MY_VER="$(get_version_component_range 1-2)+git$(get_version_component_range 3)~2491552186" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${PN}/${PN}_${MY_VER}.tar.gz" + +DESCRIPTION="Deepin widget of Chinese Lunar library" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-libs/gobject-introspection + dev-libs/glib:2 + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + dev-lang/python:2.7 + dev-python/pygobject:2 + dev-python/pygtk:2" +DEPEND="${RDEPEND} + dev-util/gtk-doc" +S="${WORKDIR}/${PN}-${MY_VER}" + +pkg_setup() { + python_set_active_version 2.7 +} + +src_prepare() { + ./autogen.sh --prefix=/usr +} diff --git a/dev-python/deepin-gsettings/Manifest b/dev-python/deepin-gsettings/Manifest new file mode 100644 index 000000000..2706aace2 --- /dev/null +++ b/dev-python/deepin-gsettings/Manifest @@ -0,0 +1 @@ +DIST deepin-gsettings_0.1+git20130318115600.tar.gz 7482 SHA256 76721116c4efadef71b910adc2be53b67b0e22299dc65ec9a327da349cf5319b diff --git a/dev-python/deepin-gsettings/deepin-gsettings-0.1.20130318115600.ebuild b/dev-python/deepin-gsettings/deepin-gsettings-0.1.20130318115600.ebuild new file mode 100644 index 000000000..d48d22c6b --- /dev/null +++ b/dev-python/deepin-gsettings/deepin-gsettings-0.1.20130318115600.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils python + +MY_VER="$(get_version_component_range 1-2)+git$(get_version_component_range 3)" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${PN}/${PN}_${MY_VER}.tar.gz" + +DESCRIPTION="Deepin gsettings Python Bindings" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-lang/python:2.7 + dev-libs/glib" +DEPEND="${RDEPEND} + dev-python/setuptools" +S=${WORKDIR}/${PN}-${MY_VER} + +pkg_setup() { + python_set_active_version 2.7 +} + +src_install() { + + python setup.py install --root=${D} || die "Install failed" +} diff --git a/dev-python/deepin-lunar/Manifest b/dev-python/deepin-lunar/Manifest new file mode 100644 index 000000000..b1f3e7523 --- /dev/null +++ b/dev-python/deepin-lunar/Manifest @@ -0,0 +1 @@ +DIST python-deepin-lunar_0.3.2.orig.tar.gz 4856 SHA256 c6b7757e754fc7ad252c8b56ee2287c810ebd6825fccb79530e43de642426078 diff --git a/dev-python/deepin-lunar/deepin-lunar-0.3.2.ebuild b/dev-python/deepin-lunar/deepin-lunar-0.3.2.ebuild new file mode 100644 index 000000000..cc6433ce0 --- /dev/null +++ b/dev-python/deepin-lunar/deepin-lunar-0.3.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils python + +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/p/python-${PN}/python-${PN}_${PV}.orig.tar.gz" + +DESCRIPTION="Deepin gsettings Python Bindings" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-lang/python:2.7 + dev-libs/glib + dev-python/pygobject:2 + dev-python/pygtk:2 + dev-libs/dtk-widget + dev-libs/lunar-date + dev-libs/lunar-calendar" +DEPEND="${RDEPEND} + dev-python/setuptools" +S=${WORKDIR} + +pkg_setup() { + python_set_active_version 2.7 +} + +src_install() { + + python setup.py install --root=${D} || die "Install failed" +} diff --git a/dev-python/deepin-utils/Manifest b/dev-python/deepin-utils/Manifest new file mode 100644 index 000000000..a0ab0ebc8 --- /dev/null +++ b/dev-python/deepin-utils/Manifest @@ -0,0 +1 @@ +DIST deepin-utils_0.0.1-1+git20130614161635~bb54a9bbf5.tar.gz 13383 SHA256 0833387d0be2df617509256ac8c9c1a6ed53ae0edd37f6ce8ec384d111edbda4 diff --git a/dev-python/deepin-utils/deepin-utils-0.0.1.20130614161635.ebuild b/dev-python/deepin-utils/deepin-utils-0.0.1.20130614161635.ebuild new file mode 100644 index 000000000..8c5a9b32c --- /dev/null +++ b/dev-python/deepin-utils/deepin-utils-0.0.1.20130614161635.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils python + +MY_VER="$(get_version_component_range 1-3)-1+git$(get_version_component_range 4)~bb54a9bbf5" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${PN}/${PN}_${MY_VER}.tar.gz" + +DESCRIPTION="Utils of DeepinUI Toolkit modules" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-lang/python-2.7:2.7 + x11-libs/cairo + dev-python/pycairo + x11-libs/gtk+:2 + dev-python/pygtk:2 + net-libs/webkit-gtk + dev-python/python-xlib" +DEPEND="${RDEPEND} + dev-python/setuptools" +S=${WORKDIR}/${PN}-$(get_version_component_range 1-3) + +pkg_setup() { + python_set_active_version 2.7 +} + +src_prepare() { + sed -i 's|webkit-1.0|webkitgtk-3.0|g' $S/setup.py || die "Sed failed!" + sed -i 's|webkitgtk-1.0|webkitgtk-3.0|g' $S/setup.py || die "Sed failed!" +} + +src_install() { + + python setup.py install --root=${D} || die "Install failed" +} diff --git a/dev-python/deepin-xrandr/Manifest b/dev-python/deepin-xrandr/Manifest new file mode 100644 index 000000000..3f4f13fce --- /dev/null +++ b/dev-python/deepin-xrandr/Manifest @@ -0,0 +1 @@ +DIST deepin-xrandr_0.1+git20130417113459.tar.gz 27480 SHA256 fab5c56c55768fd040691cd33cbd2bc2d526904950bd01fdd53679468fc09eb3 diff --git a/dev-python/deepin-xrandr/deepin-xrandr-0.1.20130417113459.ebuild b/dev-python/deepin-xrandr/deepin-xrandr-0.1.20130417113459.ebuild new file mode 100644 index 000000000..dfe9473b9 --- /dev/null +++ b/dev-python/deepin-xrandr/deepin-xrandr-0.1.20130417113459.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime unpacker versionator + +MY_VER="$(get_version_component_range 1-2)+git$(get_version_component_range 3)" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${PN}/${PN}_${MY_VER}.tar.gz" + +DESCRIPTION="Deepin XRandR Python Bindings" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + + +RDEPEND="dev-lang/python:2.7 + >=sys-libs/glibc-2.7 + x11-libs/libX11 + >=x11-apps/xrandr-1.2.99" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${PN}-${MY_VER} + +pkg_setup() { + python_set_active_version 2.7 +} + +src_install() { + + python setup.py install --root=${D} || die "Install failed" +} + diff --git a/dev-python/dtk-widget/Manifest b/dev-python/dtk-widget/Manifest new file mode 100644 index 000000000..c6f5af7d2 --- /dev/null +++ b/dev-python/dtk-widget/Manifest @@ -0,0 +1 @@ +DIST dtk-widget_0.5+git20130617042230~2491552186.tar.gz 37647 SHA256 490563492d31127d1cfba57c14113149d00a7132792e3297233375e5707ff39e diff --git a/dev-python/dtk-widget/dtk-widget-0.5.20130617042230.ebuild b/dev-python/dtk-widget/dtk-widget-0.5.20130617042230.ebuild new file mode 100644 index 000000000..eed51565a --- /dev/null +++ b/dev-python/dtk-widget/dtk-widget-0.5.20130617042230.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils python + +PYTHON_DEPEND=2:2.7 +MY_VER="$(get_version_component_range 1-2)+git$(get_version_component_range 3)~2491552186" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${PN}/${PN}_${MY_VER}.tar.gz" + +DESCRIPTION="Deepin widget of Chinese Lunar library" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-libs/gobject-introspection + dev-libs/glib:2 + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + dev-libs/dtk-widget + dev-lang/python:2.7 + dev-python/pygobject:2 + dev-python/pygtk:2" +DEPEND="${RDEPEND} + dev-python/setuptools" +S="${WORKDIR}/${PN}-${MY_VER}" + +pkg_setup() { + python_set_active_version 2.7 +} + +src_install() { + python setup.py install --root=${D} +} diff --git a/dev-python/pygtk/pygtk-2.24.0-r3.ebuild b/dev-python/pygtk/pygtk-2.24.0-r3.ebuild deleted file mode 100644 index 791320ea1..000000000 --- a/dev-python/pygtk/pygtk-2.24.0-r3.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.24.0-r2.ebuild,v 1.15 2012/05/13 20:02:41 aballier Exp $ - -EAPI="4" -GCONF_DEBUG="no" -GNOME_TARBALL_SUFFIX="bz2" - -PYTHON_DEPEND="2:2.6" -SUPPORT_PYTHON_ABIS="1" -# dev-python/pycairo does not support Python 2.4 / 2.5. -RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-jython 2.7-pypy-*" -PYTHON_EXPORT_PHASE_FUNCTIONS="1" - -inherit alternatives autotools eutils flag-o-matic gnome.org python virtualx gnome2-utils - -DESCRIPTION="GTK+2 bindings for Python" -HOMEPAGE="http://www.pygtk.org/" - -LICENSE="LGPL-2.1" -SLOT="2" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="doc examples test" - -RDEPEND=">=dev-libs/glib-2.8:2 - >=x11-libs/pango-1.16 - >=dev-libs/atk-1.12 - >=x11-libs/gtk+-2.24:2 - >=dev-python/pycairo-1.0.2 - >=dev-python/pygobject-2.21.3:2 - dev-python/numpy - >=gnome-base/libglade-2.5:2.0 -" -DEPEND="${RDEPEND} - doc? ( - dev-libs/libxslt - >=app-text/docbook-xsl-stylesheets-1.70.1 ) - virtual/pkgconfig" - -src_prepare() { - # Let tests pass without permissions problems, bug #245103 - gnome2_environment_reset - - # Fix declaration of codegen in .pc - epatch "${FILESDIR}/${PN}-2.13.0-fix-codegen-location.patch" - epatch "${FILESDIR}/${PN}-2.14.1-libdir-pc.patch" - - # Fix memory leak in _wrap_pango_cairo_create_layout - epatch "${FILESDIR}/${PN}-2.24.0-fix-create-layout-unref.patch" - - # Disable pyc compiling - echo '#!/bin/sh' > py-compile - - AT_M4DIR="m4" eautoreconf - - python_copy_sources -} - -src_configure() { - use hppa && append-flags -ffunction-sections - python_src_configure \ - $(use_enable doc docs) \ - --with-glade \ - --enable-thread -} - -src_test() { - unset DBUS_SESSION_BUS_ADDRESS - - testing() { - cd tests - Xemake check-local - } - python_execute_function -s testing -} - -src_install() { - python_src_install - python_clean_installation_image - dodoc AUTHORS ChangeLog INSTALL MAPPING NEWS README THREADS TODO - - if use examples; then - rm examples/Makefile* - insinto /usr/share/doc/${PF} - doins -r examples - fi -} - -pkg_postinst() { - python_mod_optimize gtk-2.0 - - create_symlinks() { - alternatives_auto_makesym $(python_get_sitedir)/pygtk.py pygtk.py-[0-9].[0-9] - alternatives_auto_makesym $(python_get_sitedir)/pygtk.pth pygtk.pth-[0-9].[0-9] - } - python_execute_function create_symlinks -} - -pkg_postrm() { - python_mod_cleanup gtk-2.0 - - create_symlinks() { - alternatives_auto_makesym $(python_get_sitedir)/pygtk.py pygtk.py-[0-9].[0-9] - alternatives_auto_makesym $(python_get_sitedir)/pygtk.pth pygtk.pth-[0-9].[0-9] - } - python_execute_function create_symlinks -} diff --git a/dev-python/pypulseaudio/Manifest b/dev-python/pypulseaudio/Manifest new file mode 100644 index 000000000..d6cad23e1 --- /dev/null +++ b/dev-python/pypulseaudio/Manifest @@ -0,0 +1 @@ +DIST pypulseaudio_0.0.1-1+git20130604093024~7223fc1691.tar.gz 41258 SHA256 8ddba5026f7eb35d5e7b20334bbe8ac058896077ea269e6d0901ede51ce0beca diff --git a/dev-python/pypulseaudio/pypulseaudio-0.0.1.20130604093024.ebuild b/dev-python/pypulseaudio/pypulseaudio-0.0.1.20130604093024.ebuild new file mode 100644 index 000000000..e2d916814 --- /dev/null +++ b/dev-python/pypulseaudio/pypulseaudio-0.0.1.20130604093024.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils python + +MY_VER="$(get_version_component_range 1-3)-1+git$(get_version_component_range 4)~7223fc1691" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/p/${PN}/${PN}_${MY_VER}.tar.gz" + +DESCRIPTION="PulseAudio Python Binding for deepin-system-settings" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-lang/python:2.7 + media-sound/pulseaudio" +DEPEND="${RDEPEND} + dev-python/setuptools" +S=${WORKDIR}/${PN}-$(get_version_component_range 1-3) + +pkg_setup() { + python_set_active_version 2.7 +} + +src_install() { + + python setup.py install --root=${D} || die "Install failed" +} diff --git a/dev-python/pystorm/Manifest b/dev-python/pystorm/Manifest new file mode 100644 index 000000000..15b21ef85 --- /dev/null +++ b/dev-python/pystorm/Manifest @@ -0,0 +1 @@ +DIST pystorm_0.1+git20130426091936.tar.gz 31728 SHA256 ed5169a3a534dacc6c42f8dfc0a50084d10af20484693e0cb63cff51ca0fe501 diff --git a/dev-python/pystorm/pystorm-0.1.20130426091936.ebuild b/dev-python/pystorm/pystorm-0.1.20130426091936.ebuild new file mode 100644 index 000000000..e0a09e7d0 --- /dev/null +++ b/dev-python/pystorm/pystorm-0.1.20130426091936.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime versionator eutils python + +MY_VER="$(get_version_component_range 1-2)+git$(get_version_component_range 3)" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/p/${PN}/${PN}_${MY_VER}.tar.gz" + +DESCRIPTION="Download library and tool for Linux Deepin project" +HOMEPAGE="http://www.linuxdeepin.com" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-lang/python:2.7 + dev-python/gevent" +DEPEND="${RDEPEND} + dev-python/setuptools + dev-util/intltool" +S=${WORKDIR}/${PN}-${MY_VER} + +pkg_setup() { + python_set_active_version 2.7 +} + +src_install() { + + python setup.py install --root=${D} || die "Install failed" +} diff --git a/dev-python/python-xklavier/Manifest b/dev-python/python-xklavier/Manifest new file mode 100644 index 000000000..ac727649e --- /dev/null +++ b/dev-python/python-xklavier/Manifest @@ -0,0 +1 @@ +DIST python-xklavier_0.4.orig.tar.gz 303612 SHA256 b7e50ebbe23ce8baa03eb877d77d73b23c47a703af4a2d150bc9462e01dccde3 diff --git a/dev-python/python-xklavier/metadata.xml b/dev-python/python-xklavier/metadata.xml new file mode 100644 index 000000000..5dfca3a88 --- /dev/null +++ b/dev-python/python-xklavier/metadata.xml @@ -0,0 +1,9 @@ + + + + no-herd + + leprosys@gmail.com + William Díaz + + diff --git a/dev-python/python-xklavier/python-xklavier-0.4.ebuild b/dev-python/python-xklavier/python-xklavier-0.4.ebuild new file mode 100644 index 000000000..e505e75a8 --- /dev/null +++ b/dev-python/python-xklavier/python-xklavier-0.4.ebuild @@ -0,0 +1,32 @@ +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +#SUPPORT_PYTHON_ABIS="1" +PYTHON_DEPEND="2:2.5" +RESTRICT_PYTHON_ABIS="2.4 3.*" + +inherit python + +DESCRIPTION="Python bindings to libxklavier." +HOMEPAGE="http://devel.randomink.org/projects/python-xklavier" +SRC_URI="http://ftp.de.debian.org/debian/pool/main/p/${PN}/${PN}_${PV}.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="x11-libs/libxklavier + dev-python/pygobject" +RDEPEND="${DEPEND}" + +pkg_setup() { + python_set_active_version 2 +} + +src_install() { + emake DESTDIR="${D}" install || die "make failed" + dodoc AUTHORS ChangeLog NEWS README || die "Installing docs failed" +} diff --git a/dev-python/xappy/Manifest b/dev-python/xappy/Manifest new file mode 100644 index 000000000..4bbd0700e --- /dev/null +++ b/dev-python/xappy/Manifest @@ -0,0 +1 @@ +DIST xappy-0.5.tar.gz 678583 SHA256 998d148114abb4ae68ef2c340d971dfe09ec581850a1f0fd7c856f3c9b397b3e diff --git a/dev-python/xappy/xappy-0.5.ebuild b/dev-python/xappy/xappy-0.5.ebuild new file mode 100644 index 000000000..1c1329f42 --- /dev/null +++ b/dev-python/xappy/xappy-0.5.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3 +# $Header: $ + +EAPI="4" + +inherit fdo-mime python + +SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" + +DESCRIPTION="An easy-to-use interface to the Xapian search engine" +HOMEPAGE="http://code.google.com/p/xappy" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-lang/python-2.2 + dev-libs/xapian-bindings[python]" +DEPEND="${RDEPEND}" + +pkg_setup() { + python_set_active_version 2 +} + +src_install() { + + python setup.py install --root=${D} || die "Install failed" +} diff --git a/gnome-base/gnome-settings-daemon/Manifest b/gnome-base/gnome-settings-daemon/Manifest new file mode 100644 index 000000000..610d17dec --- /dev/null +++ b/gnome-base/gnome-settings-daemon/Manifest @@ -0,0 +1 @@ +DIST gnome-settings-daemon_3.8.99+git20130617144914~f46bbca111.tar.gz 2602170 SHA256 87d98ace01036eadb4e4b699c1fbfe367c1a80fe498d06b49ba6130459cc1ac0 diff --git a/gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-3.8.99-optional-color-wacom.patch b/gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-3.8.99-optional-color-wacom.patch new file mode 100644 index 000000000..7282d96ed --- /dev/null +++ b/gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-3.8.99-optional-color-wacom.patch @@ -0,0 +1,85 @@ +--- configure.ac.old 2013-07-04 00:01:54.000000000 +0800 ++++ configure.ac 2013-07-04 00:19:30.445395292 +0800 +@@ -266,7 +266,20 @@ + dnl - color + dnl --------------------------------------------------------------------------- + +-PKG_CHECK_MODULES(COLOR, [colord >= 0.1.9 gnome-desktop-3.0 >= $GNOME_DESKTOP_REQUIRED_VERSION libcanberra-gtk3]) ++AC_ARG_ENABLE([color], ++ AS_HELP_STRING([--disable-color], ++ [turn off color plugin]), ++ [with_color=$enableval], ++ [with_color=yes]) dnl Default value ++ ++if test x$with_color = xyes; then ++ PKG_CHECK_MODULES(COLOR, [colord >= 0.1.9 gnome-desktop-3.0 >= $GNOME_DESKTOP_REQUIRED_VERSION libcanberra-gtk3]) ++ AC_DEFINE(HAVE_COLOR, 1, [Define if color plugin is enabled]) ++fi ++AM_CONDITIONAL(WITH_COLOR, test "x$with_color" = "xyes") ++ ++AC_SUBST(COLOR_CFLAGS) ++AC_SUBST(COLOR_LIBS) + + dnl --------------------------------------------------------------------------- + dnl - wacom (disabled for s390/s390x and non Linux platforms) +@@ -278,11 +291,21 @@ + have_wacom=no + else + if test x$enable_gudev != xno; then +- PKG_CHECK_MODULES(WACOM, [libwacom >= $LIBWACOM_REQUIRED_VERSION x11 xi xtst gudev-1.0 gnome-desktop-3.0 >= $GNOME_DESKTOP_REQUIRED_VERSION xorg-wacom librsvg-2.0 >= $LIBRSVG_REQUIRED_VERSION]) ++ AC_ARG_ENABLE([wacom], ++ AS_HELP_STRING([--disable-wacom], ++ [turn off wacom plugin]), ++ [with_wacom=$enableval], ++ [with_wacom=no]) dnl Default value ++ if test x$with_wacom = xyes; then ++ PKG_CHECK_MODULES(WACOM, [libwacom >= $LIBWACOM_REQUIRED_VERSION x11 xi xtst gudev-1.0 gnome-desktop-3.0 >= $GNOME_DESKTOP_REQUIRED_VERSION xorg-wacom librsvg-2.0 >= $LIBRSVG_REQUIRED_VERSION]) ++ have_wacom=yes ++ fi ++ AC_SUBST(WACOM_CFLAGS) ++ AC_SUBST(WACOM_LIBS) + else + AC_MSG_ERROR([GUdev is necessary to compile Wacom support]) + fi +- have_wacom=yes ++ + fi + ;; + *) +--- plugins/Makefile.am.old 2013-07-04 01:10:01.000000000 +0800 ++++ plugins/Makefile.am 2013-07-04 01:31:52.008118289 +0800 +@@ -18,14 +18,17 @@ + power \ + print-notifications\ + sound \ +- wacom \ + xrandr \ + xsettings \ + $(NULL) + +-disabled_plugins = \ +- color \ +- $(NULL) ++disabled_plugins = $(NULL) ++ ++if WITH_COLOR ++enabled_plugins += color ++else ++disabled_plugins += color ++endif + + if HAVE_PACKAGEKIT + enabled_plugins += updates +@@ -45,6 +48,12 @@ + disabled_plugins += orientation + endif + ++if HAVE_WACOM ++enabled_plugins += wacom ++else ++disabled_plugins += wacom ++endif ++ + if BUILD_PRINT_NOTIFICATIONS + enabled_plugins += print-notifications + else diff --git a/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.8.99.20130617144914.ebuild b/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.8.99.20130617144914.ebuild new file mode 100644 index 000000000..37c898db0 --- /dev/null +++ b/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.8.99.20130617144914.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.8.2.ebuild,v 1.1 2013/05/15 07:32:27 pacho Exp $ + +EAPI="5" +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" + +inherit autotools eutils gnome2 virtualx versionator + +DESCRIPTION="LinuxDeepin fork of Gnome Settings Daemon" +HOMEPAGE="http://www.linuxdeepin.com" +MY_VER="$(get_version_component_range 1-3)+git$(get_version_component_range 4)~f46bbca111" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/g/${PN}/${PN}_${MY_VER}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="+colord +cups debug +i18n input_devices_wacom packagekit policykit +short-touchpad-timeout smartcard +udev" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" +REQUIRED_USE=" + packagekit? ( udev ) + smartcard? ( udev ) +" + +# require colord-0.1.27 dependency for connection type support +COMMON_DEPEND=" + >=dev-libs/glib-2.35.3:2 + >=x11-libs/gtk+-3.7.8:3 + >=gnome-base/gnome-desktop-3.7.90:3= + >=gnome-base/gsettings-desktop-schemas-3.7.2.1 + >=gnome-base/librsvg-2.36.2 + media-fonts/cantarell + media-libs/fontconfig + >=media-libs/lcms-2.2:2 + media-libs/libcanberra[gtk3] + >=media-sound/pulseaudio-2 + >=sys-power/upower-0.9.11 + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + >=x11-libs/libnotify-0.7.3:= + x11-libs/libX11 + x11-libs/libxkbfile + x11-libs/libXi + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXtst + x11-libs/libXxf86misc + + colord? ( >=x11-misc/colord-0.1.27:= ) + cups? ( >=net-print/cups-1.4[dbus] ) + i18n? ( >=app-i18n/ibus-1.4.99 ) + input_devices_wacom? ( + >=dev-libs/libwacom-0.7 + x11-drivers/xf86-input-wacom ) + packagekit? ( >=app-admin/packagekit-base-0.7.4 ) + smartcard? ( >=dev-libs/nss-3.11.2 ) + udev? ( virtual/udev[gudev] ) +" +# Themes needed by g-s-d, gnome-shell, gtk+:3 apps to work properly +# + + + gnome + + Support color management using + x11-misc/colord + Enable support for enhanced input methods through + app-i18n/ibus + Enable support for the distro-neutral package + manager GUI app-admin/packagekit + Change the touchpad timeout so that + it's effective for fast typists + + diff --git a/gnome-base/nautilus/Manifest b/gnome-base/nautilus/Manifest new file mode 100644 index 000000000..107fe5e17 --- /dev/null +++ b/gnome-base/nautilus/Manifest @@ -0,0 +1 @@ +DIST nautilus_3.8.51.is.3.8.1.orig.tar.xz 4981224 SHA256 9827e939aa0621041754379ca0227ceb82877785f013dd5935ecc4b791314892 diff --git a/gnome-base/nautilus/metadata.xml b/gnome-base/nautilus/metadata.xml new file mode 100644 index 000000000..2442ab3cd --- /dev/null +++ b/gnome-base/nautilus/metadata.xml @@ -0,0 +1,14 @@ + + + +gnome + + Use packagekit to search for programs to open + unknown file types + Use gnome-extra/sushi to preview files + from the file mananger + Enable the nautilus-sendto extension to send files to + various locations/devices + Add support for app-misc/tracker search + + diff --git a/gnome-base/nautilus/nautilus-3.8.51.ebuild b/gnome-base/nautilus/nautilus-3.8.51.ebuild new file mode 100644 index 000000000..5d024d2a4 --- /dev/null +++ b/gnome-base/nautilus/nautilus-3.8.51.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/nautilus/nautilus-3.6.3.ebuild,v 1.5 2013/02/25 09:24:31 zmedico Exp $ + +EAPI="5" +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" + +inherit eutils gnome2 virtualx versionator autotools + +DESCRIPTION="LinuxDeepin fork of Nautilus for Deepin Desktop Environment" +HOMEPAGE="http://www.linuxdeepin.com" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/n/${PN}/${PN}_${PV}.is.3.8.1.orig.tar.xz" + +LICENSE="GPL-2+ LGPL-2+ FDL-1.1" +SLOT="0" +# profiling? +IUSE="debug exif gnome +introspection packagekit +previewer sendto tracker xmp" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux" + +COMMON_DEPEND=" + >=dev-libs/glib-2.35.3:2 + >=x11-libs/pango-1.28.3 + >=x11-libs/gtk+-3.7.7:3[introspection?] + >=dev-libs/libxml2-2.7.8:2 + >=gnome-base/gnome-desktop-3:3= + + gnome-base/dconf + >=gnome-base/gsettings-desktop-schemas-3.8.0 + >=x11-libs/libnotify-0.7:= + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrender + + exif? ( >=media-libs/libexif-0.6.20 ) + introspection? ( >=dev-libs/gobject-introspection-0.6.4 ) + tracker? ( >=app-misc/tracker-0.16:= ) + xmp? ( >=media-libs/exempi-2.1.0 ) +" +DEPEND="${COMMON_DEPEND} + >=dev-lang/perl-5 + >=dev-util/gdbus-codegen-2.33 + >=dev-util/gtk-doc-am-1.4 + >=dev-util/intltool-0.40.1 + sys-devel/gettext + virtual/pkgconfig + x11-proto/xproto +" +RDEPEND="${COMMON_DEPEND} + packagekit? ( app-admin/packagekit-base ) + sendto? ( !=x11-libs/deepin-ui-1.201209291421 dev-python/pycurl dev-python/python-xlib" DEPEND="dev-python/epydoc" -S=${WORKDIR} + src_prepare() { - rm -rf debian || die - rm locale/*.po* + sh updateTranslate.sh sed -i 's|\.\/screenshot\.py|python2\ \.\/screenshot\.py|g' src/${PN} } src_install() { - dodoc AUTHORS ChangeLog README - insinto "/usr/share/" doins -r ${S}/locale @@ -45,6 +50,8 @@ src_install() { insinto "/usr/share/applications" doins ${FILESDIR}/${PN}.desktop + + rm -r ${D}/usr/share/locale/*.po* } pkg_postinst() { diff --git a/media-gfx/deepin-screenshot/deepin-screenshot-9999.ebuild b/media-gfx/deepin-screenshot/deepin-screenshot-9999.ebuild index ebac7e4ad..75bf436c4 100644 --- a/media-gfx/deepin-screenshot/deepin-screenshot-9999.ebuild +++ b/media-gfx/deepin-screenshot/deepin-screenshot-9999.ebuild @@ -4,43 +4,54 @@ EAPI="4" -inherit git-2 fdo-mime eutils versionator +inherit fdo-mime eutils versionator -EGIT_REPO_URI="git://github.com/lovesnow/deepin-screenshot.git" +if [[ ${PV} == 9999* ]]; then + EGIT_REPO_URI="git://github.com/linuxdeepin/deepin-screenshot.git" + inherit git-2 + SRC_URI="" + #KEYWORDS="" +else + MY_VER="$(get_version_component_range 1-2)+git$(get_version_component_range 3)~8c1ba38453" + SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${PN}/${PN}_${MY_VER}.tar.gz" + KEYWORDS="~amd64 ~x86" + S=${WORKDIR}/${PN}-${MY_VER} +fi DESCRIPTION="Snapshot tools for linux deepin." -HOMEPAGE="https://github.com/lovesnow/deepin-screenshot" +HOMEPAGE="https://github.com/linuxdeepin/deepin-screenshot" LICENSE="LGPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86" IUSE="" - -RDEPEND="dev-lang/python:2.7 - dev-python/pygtk:2 - dev-python/python-xlib" -DEPEND="${RDEPEND}" +RDEPEND=">=x11-libs/deepin-ui-1.201209291421 + dev-python/pywebkitgtk + dev-python/libwnck-python + dev-python/pyxdg + dev-python/pycurl + dev-python/python-xlib" +DEPEND="dev-python/epydoc" src_prepare() { - sh updateTranslate.sh || die "failed to update Translate" - rm -rf po || die - rm -rf debian || die + sh updateTranslate.sh sed -i 's|\.\/screenshot\.py|python2\ \.\/screenshot\.py|g' src/${PN} } src_install() { - dodoc AUTHORS ChangeLog README + insinto "/usr/share/" + doins -r ${S}/locale - insinto "/usr/share/deepin-screenshot" - doins -r ${S}/locale ${S}/src ${S}/theme - fperms 0755 -R /usr/share/deepin-screenshot/src/ + insinto "/usr/share/${PN}" + doins -r ${S}/src ${S}/theme ${S}/skin + fperms 0755 -R /usr/share/${PN}/src/ dosym /usr/share/${PN}/src/${PN} /usr/bin/${PN} - insinto "/usr/share/applications" doins ${FILESDIR}/${PN}.desktop + + rm -r ${D}/usr/share/locale/*.po* } pkg_postinst() { @@ -50,3 +61,4 @@ pkg_postinst() { pkg_postrm() { fdo-mime_desktop_database_update } + diff --git a/media-sound/deepin-music-player/Manifest b/media-sound/deepin-music-player/Manifest index bbfde7d51..68d49b994 100644 --- a/media-sound/deepin-music-player/Manifest +++ b/media-sound/deepin-music-player/Manifest @@ -1 +1 @@ -DIST deepin-music-player_1+git201209111106.tar.gz 8735059 SHA256 7f60784bbd7b8c79f620ddbebfd8d8a31368106ba48efeaf286aea529edca0ba +DIST deepin-music-player_1+git20130701093805~7efe2488a6.tar.gz 19513178 SHA256 1dc66a0a9191cb95ac806ffb232e5f40bf554753fab52c6761eee413a07f549c diff --git a/media-sound/deepin-music-player/deepin-music-player-1.201209111106.ebuild b/media-sound/deepin-music-player/deepin-music-player-1.20130701093805.ebuild similarity index 73% rename from media-sound/deepin-music-player/deepin-music-player-1.201209111106.ebuild rename to media-sound/deepin-music-player/deepin-music-player-1.20130701093805.ebuild index e30e015fb..230a8a008 100644 --- a/media-sound/deepin-music-player/deepin-music-player-1.201209111106.ebuild +++ b/media-sound/deepin-music-player/deepin-music-player-1.20130701093805.ebuild @@ -5,7 +5,7 @@ EAPI="4" inherit fdo-mime versionator eutils gnome2-utils -MY_VER=$(get_version_component_range 1)+git$(get_version_component_range 2) +MY_VER="$(get_version_component_range 1)+git$(get_version_component_range 2)~7efe2488a6" SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${PN}/${PN}_${MY_VER}.tar.gz" DESCRIPTION="Deepin Music Player." @@ -16,7 +16,7 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="+hotkey" -RDEPEND=">=x11-libs/deepin-ui-1.201209101028 +RDEPEND=">=x11-libs/deepin-ui-1.201209101328 dev-python/gst-python media-libs/gst-plugins-bad media-libs/gst-plugins-ugly @@ -25,26 +25,28 @@ RDEPEND=">=x11-libs/deepin-ui-1.201209101028 dev-python/python-xlib media-libs/mutagen dev-python/chardet + dev-python/cddb-py dev-python/dbus-python + dev-python/pycurl dev-python/pyquery + dev-libs/keybinder:0[python] hotkey? ( media-plugins/python-mmkeys )" DEPEND="${RDEPEND}" -#S=${WORKDIR}/${PN}-$(get_version_component_range \ -# 1)+git$(get_version_component_range 2) + S=${WORKDIR}/${PN}-$MY_VER src_prepare() { - rm -rf debian || die + cd tools + python2 generate_mo.py + cd .. rm locale/*.po* } src_install() { - dodoc AUTHORS ChangeLog - insinto "/usr/share/" doins -r ${S}/locale insinto "/usr/share/${PN}" - doins -r ${S}/src ${S}/app_theme ${S}/skin ${S}/wizard + doins -r ${S}/src ${S}/app_theme ${S}/skin ${S}/wizard ${S}/image ${S}/plugins fperms 0755 -R /usr/share/${PN}/src/ #dosym /usr/share/${PN}/src/main.py /usr/bin/${PN} @@ -53,11 +55,10 @@ src_install() { dobin ${PN} # mkdir -p /usr/share/icons/hicolor/128x128/apps - doicon -s 128 ${FILESDIR}/${PN}.png - dosym /usr/share/icons/hicolor/128x128/apps/${PN}.png /usr/share/pixmaps/${PN}.png + doicon -s 128 ${S}/debian/${PN}.png insinto "/usr/share/applications/" - doins ${FILESDIR}/${PN}.desktop + doins ${S}/debian/${PN}.desktop } pkg_postinst() { diff --git a/media-video/deepin-media-player/Manifest b/media-video/deepin-media-player/Manifest index fef5a48a0..be40a291c 100644 --- a/media-video/deepin-media-player/Manifest +++ b/media-video/deepin-media-player/Manifest @@ -1 +1 @@ -DIST deepin-media-player_1+git201211151414.tar.gz 8266893 SHA256 db0ec2cad1419a1cb46ea9d29179a10727d353c37acd8b8c34c6ec7267ad4ba5 +DIST deepin-media-player_1+git20130625110339~07834f54d2.tar.gz 10116697 SHA256 290523cc83bc5684a078f2f470c8e0a37d5b5e9ace83f3ab3b1c0ee954bc98ae diff --git a/media-video/deepin-media-player/deepin-media-player-1.201211151414.ebuild b/media-video/deepin-media-player/deepin-media-player-1.20130625110339.ebuild similarity index 66% rename from media-video/deepin-media-player/deepin-media-player-1.201211151414.ebuild rename to media-video/deepin-media-player/deepin-media-player-1.20130625110339.ebuild index d2ddcea4c..077974616 100644 --- a/media-video/deepin-media-player/deepin-media-player-1.201211151414.ebuild +++ b/media-video/deepin-media-player/deepin-media-player-1.20130625110339.ebuild @@ -6,7 +6,7 @@ EAPI="4" inherit fdo-mime versionator eutils -MY_VER=$(get_version_component_range 1)+git$(get_version_component_range 2) +MY_VER="$(get_version_component_range 1)+git$(get_version_component_range 2)~07834f54d2" SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${PN}/${PN}_${MY_VER}.tar.gz" DESCRIPTION="Deepin Media Player." @@ -21,37 +21,38 @@ RDEPEND=">=x11-libs/deepin-ui-1.201209101328 sci-libs/scipy dev-python/chardet dev-python/formencode + dev-python/notify-python + dev-python/beautifulsoup:python-2 + media-video/ffmpeg media-video/mplayer2" DEPEND="${RDEPEND}" S=${WORKDIR}/${PN}-${MY_VER} src_prepare() { - rm -rf debian || die rm locale/*.po* # add patch for mplayer binary name problem - epatch ${FILESDIR}/deepin-media-player-backend.patch + #epatch ${FILESDIR}/deepin-media-player-backend.patch + sed -i "s|\"mplayer\"|\"mplayer2\"|g" ${S}/src/mplayer/player.py + sed -i "s|mplayer\ |mplayer2\ |g" ${S}/src/mplayer/player.py } src_install() { - dodoc AUTHORS ChangeLog - insinto "/usr/share/" doins -r ${S}/locale insinto "/usr/share/${PN}" - doins -r ${S}/src ${S}/app_theme ${S}/skin + doins -r ${S}/src ${S}/app_theme ${S}/skin ${S}/image fperms 0755 -R /usr/share/${PN}/src/ #dosym /usr/share/${PN}/src/main.py /usr/bin/${PN} echo "#!/bin/sh" > ${PN} - echo "python2 /usr/share/${PN}/src/main.py" >> ${PN} + echo "python2 /usr/share/${PN}/src/${PN}.py" >> ${PN} dobin ${PN} - doicon -s 128 ${FILESDIR}/${PN}.png - dosym /usr/share/icons/hicolor/128x128/apps/${PN}.png /usr/share/pixmaps/${PN}.png + doicon -s 128 ${S}/debian/${PN}.png insinto "/usr/share/applications" - doins ${FILESDIR}/${PN}.desktop + doins ${S}/debian/${PN}.desktop } pkg_postinst() { diff --git a/media-video/deepin-media-player/files/deepin-media-player-1.20130330191406-backend.patch b/media-video/deepin-media-player/files/deepin-media-player-1.20130330191406-backend.patch new file mode 100644 index 000000000..f66f16636 --- /dev/null +++ b/media-video/deepin-media-player/files/deepin-media-player-1.20130330191406-backend.patch @@ -0,0 +1,113 @@ +--- src/mplayer.py.old 2013-03-11 05:28:58.000000000 -0400 ++++ src/mplayer.py 2013-04-13 20:46:04.488839176 -0400 +@@ -43,7 +43,11 @@ + from ini import Config + from cdrom.cdrom import cdrom_type, get_iso_type, CDROM_ERROR, CDROM_TYPE_DVD, CDROM_TYPE_VCD + +- ++# get the backend name ++if os.path.exists('/usr/bin/mplayer2'): ++ BACKEND = "mplayer2" ++else: ++ BACKEND = "mplayer" + + + # play list state. +@@ -76,7 +80,7 @@ + # Get play file length. + def get_length(file_path): + '''Get media player length.''' +- cmd = "mplayer -vo null -ao null -frames 0 -identify '%s'" % (file_path) ++ cmd = BACKEND+" -vo null -ao null -frames 0 -identify '%s'" % (file_path) + fp = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE) + cmd_str = fp.communicate()[0] + length_compile = re.compile(r"ID_LENGTH=([\d|\.]+)") +@@ -89,7 +93,7 @@ + def get_vide_width_height(file_path): + try: + if is_valid_video_file(file_path): +- cmd = "mplayer -vo null -ao null -frames 0 -identify '%s' 2>&1" % (file_path) ++ cmd = BACKEND+" -vo null -ao null -frames 0 -identify '%s' 2>&1" % (file_path) + fp = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE) + cmd_str = fp.communicate()[0] + length_compile = re.compile(r"VIDEO:.+") +@@ -343,7 +347,7 @@ + if not (self.state): # STOPING_STATE + self.lenState = 1 + # -input file.. streme player. +- command = ['mplayer', ++ command = [BACKEND, + #'-vo', + #'gl,2,x11,xv', + '-zoom', +@@ -946,7 +950,7 @@ + + if self.state == STARTING_STATE: + # scrot image. +- scrot_command = "cd ~/.config/deepin-media-player/buffer/ && mplayer -ss %s -noframedrop -nosound -vo png -frames 1 '%s' >/dev/null 2>&1" % (scrot_pos, self.path) ++ scrot_command = "cd ~/.config/deepin-media-player/buffer/ && "+BACKEND+" -ss %s -noframedrop -nosound -vo png -frames 1 '%s' >/dev/null 2>&1" % (scrot_pos, self.path) + os.system(scrot_command) + # modify image name or get image file. + save_image_path = get_home_path() + "/.config/deepin-media-player/buffer/" # save image buffer dir. +@@ -974,7 +978,7 @@ + + if self.state == STARTING_STATE: + # scrot image. +- os.system("cd /tmp/buffer/ && mplayer -ss %s -noframedrop -nosound -vo png -frames 1 '%s' >/dev/null 2>&1" % (scrot_pos, self.path)) ++ os.system("cd /tmp/buffer/ && "+BACKEND+" -ss %s -noframedrop -nosound -vo png -frames 1 '%s' >/dev/null 2>&1" % (scrot_pos, self.path)) + # modify image name or get image file. + save_image_path = "/tmp/buffer/" # save preview image buffer dir. + image_list = os.listdir(save_image_path) # get dir all image. +--- src/switch_audio/audio.py.old 2013-04-13 20:49:46.031069517 -0400 ++++ src/switch_audio/audio.py 2013-04-13 20:49:26.627312097 -0400 +@@ -23,6 +23,11 @@ + import os + import gobject + ++if os.path.exists('/usr/bin/mplayer2'): ++ BACKEND = "mplayer2" ++else: ++ BACKEND = "mplayer" ++ + VIDEO_TYPE = 0 + DVD_TYPE = 1 + VCD_TYPE = 2 +@@ -43,9 +48,9 @@ + + def get_video_information(self, video_path, video_type=VIDEO_TYPE): + if video_type == VIDEO_TYPE: +- cmd = "mplayer -identify -frames 5 -endpos 0 -vo null '%s'" % (video_path) ++ cmd = BACKEND+" -identify -frames 5 -endpos 0 -vo null '%s'" % (video_path) + elif video_type == DVD_TYPE: +- cmd = "mplayer -vo null -ao null -frames 0 -identify " ++ cmd = BACKEND+" -vo null -ao null -frames 0 -identify " + cmd += "dvd:// -dvd-device '%s'" % (video_path) + + pipe = os.popen(str(cmd)) +--- src/video_information/gui.py.old 2013-02-15 22:04:24.000000000 -0500 ++++ src/video_information/gui.py 2013-04-13 20:51:24.909833362 -0400 +@@ -35,7 +35,11 @@ + import gtk + import gobject + +- ++if os.path.exists('/usr/bin/mplayer2'): ++ BACKEND = "mplayer2" ++else: ++ BACKEND = "mplayer" ++ + VIDEO_TYPE = 0 + DVD_TYPE = 1 + VCD_TYPE = 2 +@@ -98,9 +102,9 @@ + + def get_video_information(video_path, video_type=VIDEO_TYPE): + if video_type == VIDEO_TYPE: +- cmd = "mplayer -identify -frames 5 -endpos 0 -vo null '%s'" % (video_path) ++ cmd = BACKEND+" -identify -frames 5 -endpos 0 -vo null '%s'" % (video_path) + elif video_type == DVD_TYPE: +- cmd = "mplayer -vo null -ao null -frames 0 -identify " ++ cmd = BACKEND+" -vo null -ao null -frames 0 -identify " + cmd += "dvd:// -dvd-device '%s'" % (video_path) + + pipe = os.popen(str(cmd)) diff --git a/profiles/categories b/profiles/categories index 97b1710cf..2f47b27b7 100644 --- a/profiles/categories +++ b/profiles/categories @@ -8,10 +8,13 @@ app-emulation app-i18n app-misc app-office +app-pda app-portage app-shells app-text app-vim +dde-base +dde-extra dev-android dev-cpp dev-db @@ -25,6 +28,7 @@ dev-texlive dev-util games-board games-misc +gnome-base gnome-extra kde-misc media-fonts diff --git a/www-servers/darkhttpd/Manifest b/www-servers/darkhttpd/Manifest index 78e0d38ca..65342a7be 100644 --- a/www-servers/darkhttpd/Manifest +++ b/www-servers/darkhttpd/Manifest @@ -1,3 +1 @@ DIST darkhttpd-1.8.tar.bz2 18696 SHA256 96bf4ce349decd9e022ebe219167a9f372e10bb102ad541405ac5369be002e88 SHA512 ae8bf8bd26ee898a5e003ed81313e08ab33619eae921346e275ac61acb46ede511421a515a1856883c551d4cc434cd3dcb6560e3893ce3ed18ba5cd4fbc2d695 WHIRLPOOL cb9ff9b9ab631672fd07d58c9dae2576533707253db96bc822beb1d095c272f531f72612178de123b650fb4e69a8d64bacf759783e5b365e6cfef178702002ac -EBUILD darkhttpd-1.8.ebuild 331 SHA256 8b14a1fea478da380cecc9cc76d1f69b196669d0552a67954a455653528498a8 SHA512 555e3aa494c98817e367a9e991fd33b24cb2e3804932161617cd41e8be87c0c7d3d9162f27749c537cdc6084baef68ccc1f5d687c1d72491b74ef242baf7bad8 WHIRLPOOL 12ff23e45a39bb187f67848b91c2be09c79071c02f972e24b2df8c6000344ac5323aebd1f40929084f243601c2193a2dbd24adfa7412198d6313f46b484436c6 -MISC metadata.xml 1292 SHA256 070b2d402fa2c97909939a033593b3887df7a7bdb59e9819c07c6d4d8493d377 SHA512 63b364d707eb2c104391ecf3759e3f1678dc3c543113e4fdd8a9bb497e00bfe1ea93e8354f52a3fd258d4f888f3ac1cb3284172f11ec1c7b3e8fc61f3164cacb WHIRLPOOL 8e821917912367e33a958aa34ea2186a1f28929eb9ccfdd58a216adb0525d1b3e2dc69b5c95d087f19b451c966477fec08fe9021ec1f66cbb9adab8e4f3372cd diff --git a/x11-libs/deepin-ui/Manifest b/x11-libs/deepin-ui/Manifest index bd90b50ef..18188fc22 100644 --- a/x11-libs/deepin-ui/Manifest +++ b/x11-libs/deepin-ui/Manifest @@ -1 +1 @@ -DIST deepin-ui_1+git201211141021.tar.gz 6116273 SHA256 82bc73a3c1dbf8f638c808755d6d8041e300000207964444a4ab5a61faa3a270 +DIST deepin-ui_1+git20130618094833~90b6485f6c.tar.gz 11473813 SHA256 ec8ce9cd1e76c9969884846a01e7c0ac3bbbe631b8166b2c06844c9a6e858649 diff --git a/x11-libs/deepin-ui/deepin-ui-1.201211141021.ebuild b/x11-libs/deepin-ui/deepin-ui-1.20130618094833.ebuild similarity index 53% rename from x11-libs/deepin-ui/deepin-ui-1.201211141021.ebuild rename to x11-libs/deepin-ui/deepin-ui-1.20130618094833.ebuild index 470699699..bfb87aa11 100644 --- a/x11-libs/deepin-ui/deepin-ui-1.201211141021.ebuild +++ b/x11-libs/deepin-ui/deepin-ui-1.20130618094833.ebuild @@ -7,8 +7,8 @@ PYTHON_DEPEND=2:2.7 inherit python versionator -SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${PN}/${PN}_$(get_version_component_range \ - 1)+git$(get_version_component_range 2).tar.gz" +MY_VER="$(get_version_component_range 1)+git$(get_version_component_range 2)~90b6485f6c" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${PN}/${PN}_${MY_VER}.tar.gz" DESCRIPTION="UI toolkit for Linux Deepin." HOMEPAGE="https://github.com/linuxdeepin/deepin-ui" @@ -18,25 +18,33 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -RDEPEND="dev-python/pycairo - dev-python/pygtk - net-libs/libsoup - net-libs/webkit-gtk" -DEPEND="${RDEPEND}" +RDEPEND=">=dev-lang/python-2.7:2.7 + x11-libs/gtk+:2 + x11-libs/cairo + dev-python/pygtk:2 + net-libs/webkit-gtk + dev-python/pywebkitgtk + sci-libs/scipy + dev-python/python-xlib + dev-python/deepin-utils + || ( dev-python/imaging dev-python/pillow )" +DEPEND="${RDEPEND} + dev-python/pycairo + dev-python/setuptools + sys-devel/gettext" + +S=${WORKDIR}/${PN}-${MY_VER} -S=${WORKDIR}/${PN}-$(get_version_component_range \ - 1)+git$(get_version_component_range 2) pkg_setup() { python_set_active_version 2.7 python_pkg_setup } -src_prepare() { - sed -i 's|webkit-1.0|webkitgtk-3.0|g' $S/setup.py || die "Sed failed!" - sed -i 's|webkitgtk-1.0|webkitgtk-3.0|g' $S/setup.py || die "Sed failed!" -} +#src_prepare() { +# sed -i 's|webkit-1.0|webkitgtk-3.0|g' $S/setup.py || die "Sed failed!" +# sed -i 's|webkitgtk-1.0|webkitgtk-3.0|g' $S/setup.py || die "Sed failed!" +#} src_install() { - dodoc AUTHORS README python setup.py install \ --root="${D}" \ --optimize=2 || die "Install failed!" diff --git a/x11-libs/lunar-calendar/Manifest b/x11-libs/lunar-calendar/Manifest index 8c4919463..b140ad562 100644 --- a/x11-libs/lunar-calendar/Manifest +++ b/x11-libs/lunar-calendar/Manifest @@ -1 +1,2 @@ DIST lunar-calendar-2.4.1.tar.gz 419205 SHA256 8bed2f3f385b2e9103331e2f536dfb488d8576550b62788ff8dfcee6d19f5ce3 +DIST lunar-calendar-3.0.0.tar.gz 418283 SHA256 8cdbf367250e48774f79a10897126e0e92171b49167959b72554e583999a3294 diff --git a/x11-terms/lilyterm/Manifest b/x11-terms/lilyterm/Manifest index 19d507c85..af28aa401 100644 --- a/x11-terms/lilyterm/Manifest +++ b/x11-terms/lilyterm/Manifest @@ -1,2 +1 @@ -DIST lilyterm-0.9.9.2.tar.gz 328443 SHA256 980902102f8d2f233ac1cb01f509dcc595e69a5e9ac783ef2d2e59599a3ca9b6 DIST lilyterm-0.9.9.4.tar.gz 346180 SHA256 b72626431d4f5645e0e0f18449319fbb69bef4eab4345d5e37cde0ae712a5d74 SHA512 2fcd9d31a28d6bf9d953cd77b38cb3c67591dd04157f0efd418ce3ac9eab0f8090156435207c8bc18e619dda45e726f3346b1344f2d37fd308fa802476d3b5da WHIRLPOOL 401ea44884b836fbf36e89cf20c850607723c35f9e25bcd604816d6426bc656301e9b66845e79e1f109d97a9099af4cf3f6ce375ee564eaf4f5cce62d56ea100 diff --git a/x11-wm/compiz/Manifest b/x11-wm/compiz/Manifest new file mode 100644 index 000000000..6298062e5 --- /dev/null +++ b/x11-wm/compiz/Manifest @@ -0,0 +1 @@ +DIST compiz_0.9.99-1+git20130608170409~610e2651de.tar.gz 3440153 SHA256 833b4fff0e13390113902db6f5f43e1727875a26382594f490d2091a5f671851 diff --git a/x11-wm/compiz/compiz-0.9.99.20130608170409.ebuild b/x11-wm/compiz/compiz-0.9.99.20130608170409.ebuild new file mode 100644 index 000000000..370e35d4f --- /dev/null +++ b/x11-wm/compiz/compiz-0.9.99.20130608170409.ebuild @@ -0,0 +1,174 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit versionator + +MY_VER="$(get_version_component_range 1-3)-1+git$(get_version_component_range 4)~610e2651de" + +KEYWORDS="~amd64 ~x86" +SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/c/${PN}/${PN}_${MY_VER}.tar.gz" + +inherit eutils cmake-utils gnome2-utils toolchain-funcs + +DESCRIPTION="OpenGL compositing window manager." +HOMEPAGE="https://launchpad.net/compiz" +LICENSE="GPL-2 LGPL-2.1 MIT" +SLOT="0.9" +IUSE="+cairo debug dbus fuse gnome gtk kde +svg test" + +COMMONDEPEND=" + !x11-wm/compiz-fusion + !x11-libs/compiz-bcop + !x11-libs/libcompizconfig + !x11-libs/compizconfig-backend-gconf + !x11-libs/compizconfig-backend-kconfig4 + !x11-plugins/compiz-plugins-main + !x11-plugins/compiz-plugins-extra + !x11-plugins/compiz-plugins-unsupported + !x11-apps/ccsm + !dev-python/compizconfig-python + !x11-apps/fusion-icon + dev-libs/boost + dev-libs/glib:2 + dev-cpp/glibmm + dev-libs/libxml2 + dev-libs/libxslt + dev-python/pyrex + dev-libs/protobuf + media-libs/libpng + x11-base/xorg-server + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXinerama + x11-libs/libICE + x11-libs/libSM + x11-libs/startup-notification + virtual/opengl + virtual/glu + cairo? ( x11-libs/cairo[X] ) + fuse? ( sys-fs/fuse ) + gtk? ( + >=x11-libs/gtk+-2.18.0 + >=x11-libs/libwnck-2.19.4 + x11-libs/pango + gnome? ( + gnome-base/gnome-desktop + gnome-base/gconf + x11-wm/metacity + ) + ) + kde? ( kde-base/kwin:4 ) + svg? ( + gnome-base/librsvg:2 + x11-libs/cairo + ) + dbus? ( sys-apps/dbus )" + +DEPEND="${COMMONDEPEND} + app-admin/chrpath + virtual/pkgconfig + x11-proto/damageproto + x11-proto/xineramaproto + test? ( + dev-cpp/gtest + dev-cpp/gmock + )" + +RDEPEND="${COMMONDEPEND} + dev-python/pygtk + x11-apps/mesa-progs + x11-apps/xvinfo + x11-themes/hicolor-icon-theme" + +# TODO: +# - Remove automagic dependency for coverage report generation tools +# - Fix Xig-0 automagic resolving('CMake Warning at tests/integration/xig/CMakeLists.txt:30 (message): Xig not found, you will not be able to run X Server integration tests') +# - Check proper compilation with missing gettext/intltool +# - CFLAGS are NOT respected, this needs to be fixed +# - Default decorator exec command in ccsm is bad +# - Check all dependencies once more +# - Check CMakeFiles.txt this subdirectories : +# cmake - ? +# src +# compizconfig +# plugins +# tests - ? + +S=${WORKDIR}/${PN}-$(get_version_component_range 1-3) + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]]; then + [[ $(gcc-major-version) -lt 4 ]] || \ + ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) \ + && die "Sorry, but gcc 4.6 or higher is required." + fi +} + +src_prepare() { + epatch "${FILESDIR}/${PN}-0.9.8.2-sandbox.patch" + + echo "gtk/gnome/compiz-wm.desktop.in" >> "${S}/po/POTFILES.skip" + echo "metadata/core.xml.in" >> "${S}/po/POTFILES.skip" + + # Fix wrong path for icons + sed -i 's:DataDir = "@prefix@/share":DataDir = "/usr/share":' compizconfig/ccsm/ccm/Constants.py.in + + default +} + +src_configure() { + local mycmakeargs=( + "$(cmake-utils_use_use gnome GCONF)" + "$(cmake-utils_use_use gnome GNOME)" + "$(cmake-utils_use_use gnome GSETTINGS)" + "$(cmake-utils_use_use gtk GTK)" + "$(cmake-utils_use_use kde KDE4)" + "$(cmake-utils_use test COMPIZ_BUILD_TESTING)" + "-DCMAKE_INSTALL_PREFIX=/usr" + "-DCMAKE_C_FLAGS=$(usex debug '-DDEBUG -ggdb' '')" + "-DCMAKE_CXX_FLAGS=$(usex debug '-DDEBUG -ggdb' '')" + "-DCOMPIZ_DEFAULT_PLUGINS=ccp composite" + "-DCOMPIZ_DISABLE_SCHEMAS_INSTALL=OFF" + "-DCOMPIZ_PACKAGING_ENABLED=ON" + ) + cmake-utils_src_configure +} + +src_install() { + pushd "${CMAKE_BUILD_DIR}" + # Fix paths to avoid sandbox access violation + # 'emake DESTDIR=${D} install' does not work with compiz cmake files! + for i in `find . -type f -name "cmake_install.cmake"`;do + sed -e "s|/usr|${D}/usr|g" -i "${i}" || die "sed failed" + sed -e "s|/etc|${D}/etc|g" -i "${i}" || die "sed failed" + done + emake install + popd + + rm ${D}/usr/share/glib-2.0/schemas/gschemas.compiled +} + +pkg_preinst() { + use gnome && gnome2_gconf_savelist +} + +pkg_postinst() { + use gnome && gnome2_gconf_install + use gnome && gnome2_schemas_update + if use dbus; then + ewarn "The dbus plugin is known to crash compiz in this version. Disable" + ewarn "it if you experience crashes when plugins are enabled/disabled." + fi +} + +pkg_prerm() { + use gnome && gnome2_gconf_uninstall + use gnome && gnome2_schemas_update +} diff --git a/x11-wm/compiz/files/compiz-0.9.8.2-sandbox.patch b/x11-wm/compiz/files/compiz-0.9.8.2-sandbox.patch new file mode 100644 index 000000000..da43346ec --- /dev/null +++ b/x11-wm/compiz/files/compiz-0.9.8.2-sandbox.patch @@ -0,0 +1,26 @@ +--- compiz-0.9.8.2/cmake/base.cmake~ 2012-09-12 14:29:09.000000000 +0000 ++++ compiz-0.9.8.2/cmake/base.cmake 2012-09-12 14:29:09.000000000 +0000 +@@ -53,11 +53,11 @@ + ${CMAKE_CURRENT_SOURCE_DIR}/cmake/FindCompiz.cmake + ${CMAKE_CURRENT_SOURCE_DIR}/cmake/FindOpenGLES2.cmake + DESTINATION +- ${CMAKE_INSTALL_PREFIX}/share/cmake-${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}/) ++ ${D}/${CMAKE_INSTALL_PREFIX}/share/cmake/) + add_custom_target (findcompiz_install + ${CMAKE_COMMAND} -E make_directory ${CMAKE_ROOT}/Modules && +- ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/cmake/FindCompiz.cmake ${CMAKE_ROOT}/Modules +- ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/cmake/FindOpenGLES2.cmake ${CMAKE_ROOT}/Modules ++ ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/cmake/FindCompiz.cmake ${D}/${CMAKE_ROOT}/Modules ++ ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/cmake/FindOpenGLES2.cmake ${D}/${CMAKE_ROOT}/Modules + ) + find_file (_find_compizconfig FindCompizConfig.cmake PATHS ${CMAKE_ROOT}/Modules ${ARGN}) + if (NOT _find_compizconfig) +@@ -70,7 +70,7 @@ + install (FILES + ${CMAKE_CURRENT_SOURCE_DIR}/compizconfig/libcompizconfig/cmake/FindCompizConfig.cmake + DESTINATION +- ${CMAKE_INSTALL_PREFIX}/share/cmake-${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}/) ++ ${D}/${CMAKE_INSTALL_PREFIX}/share/cmake/) + add_custom_target ( + findcompizconfig_install + ${CMAKE_COMMAND} -E make_directory ${CMAKE_ROOT}/Modules && diff --git a/x11-wm/compiz/metadata.xml b/x11-wm/compiz/metadata.xml new file mode 100644 index 000000000..fcfd08b1e --- /dev/null +++ b/x11-wm/compiz/metadata.xml @@ -0,0 +1,12 @@ + + + + + Enables support for the filesystem in userspace plugin through sys-fs/fuse. + Compile the kde4 window decorator and add support for kde-base/kdebase-startkde. + +desktop-effects + +compiz is a compositing window manager that uses 3D graphics acceleration via OpenGL. + +