summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Sapp <nixphoeni@gentoo.org>2008-02-17 22:12:17 +0000
committerJoe Sapp <nixphoeni@gentoo.org>2008-02-17 22:12:17 +0000
commite978622caf5ad0ee7422049b705c1c79691aca68 (patch)
tree6b1162a30b274e9773204ac5c7ba954e0af80c7d /gnome-extra
parentuse mirror://debian (diff)
downloadgentoo-2-e978622caf5ad0ee7422049b705c1c79691aca68.tar.gz
gentoo-2-e978622caf5ad0ee7422049b705c1c79691aca68.tar.bz2
gentoo-2-e978622caf5ad0ee7422049b705c1c79691aca68.zip
Bumped rev and removed doc useflag - see ChangeLog for details
(Portage version: 2.1.4.4)
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/gdesklets-core/ChangeLog18
-rw-r--r--gnome-extra/gdesklets-core/files/gdesklets-core-0.36_beta-binary_link_fix.patch22
-rw-r--r--gnome-extra/gdesklets-core/files/gdesklets-core-0.36_beta-linguas.patch74
-rw-r--r--gnome-extra/gdesklets-core/gdesklets-core-0.36_beta.ebuild96
4 files changed, 208 insertions, 2 deletions
diff --git a/gnome-extra/gdesklets-core/ChangeLog b/gnome-extra/gdesklets-core/ChangeLog
index 211743d72ba5..4c74d697278e 100644
--- a/gnome-extra/gdesklets-core/ChangeLog
+++ b/gnome-extra/gdesklets-core/ChangeLog
@@ -1,6 +1,20 @@
# ChangeLog for gnome-extra/gdesklets-core
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gdesklets-core/ChangeLog,v 1.81 2007/12/12 19:44:59 nixphoeni Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gdesklets-core/ChangeLog,v 1.82 2008/02/17 22:12:16 nixphoeni Exp $
+
+*gdesklets-core-0.36_beta (17 Feb 2008)
+
+ 17 Feb 2008; Joe Sapp <nixphoeni@gentoo.org>
+ +files/gdesklets-core-0.36_beta-binary_link_fix.patch,
+ +files/gdesklets-core-0.36_beta-linguas.patch,
+ +gdesklets-core-0.36_beta.ebuild:
+ Removed doc useflag (haven't rebuilt the develbook for this release)
+ Updated pygtk dep
+ Included patches to use po/LINGUAS and generate the correct symlink for
+ the main binary (see bug #195312 - thanks in large part to Gilles
+ Dartiguelongue for generating and linking)
+ Remove all potential conflicts with /usr/share/mime
+ Let the makefile install the man page
12 Dec 2007; Joe Sapp <nixphoeni@gentoo.org>
files/gdesklets-displays.desktop:
diff --git a/gnome-extra/gdesklets-core/files/gdesklets-core-0.36_beta-binary_link_fix.patch b/gnome-extra/gdesklets-core/files/gdesklets-core-0.36_beta-binary_link_fix.patch
new file mode 100644
index 000000000000..4f01d4f1ae56
--- /dev/null
+++ b/gnome-extra/gdesklets-core/files/gdesklets-core-0.36_beta-binary_link_fix.patch
@@ -0,0 +1,22 @@
+--- Makefile.am.orig 2008-02-17 11:44:58.000000000 -0500
++++ Makefile.am 2008-02-17 11:47:40.000000000 -0500
+@@ -53,6 +53,5 @@
+ fi
+
+ $(INSTALL_SCRIPT) gdesklets $(DESTDIR)${coredir}/gdesklets; \
+- cd $(DESTDIR)$(bindir); \
+- $(LN_S) -f ../../lib/gdesklets gdesklets;
++ $(LN_S) -f ${coredir}/gdesklets $(DESTDIR)$(bindir)/gdesklets;
+
+--- Makefile.in.orig 2008-02-17 15:35:29.000000000 -0500
++++ Makefile.in 2008-02-17 15:36:41.000000000 -0500
+@@ -766,8 +766,7 @@
+ fi
+
+ $(INSTALL_SCRIPT) gdesklets $(DESTDIR)${coredir}/gdesklets; \
+- cd $(DESTDIR)$(bindir); \
+- $(LN_S) -f ../../lib/gdesklets gdesklets;
++ $(LN_S) -f ${coredir}/gdesklets $(DESTDIR)$(bindir)/gdesklets;
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff --git a/gnome-extra/gdesklets-core/files/gdesklets-core-0.36_beta-linguas.patch b/gnome-extra/gdesklets-core/files/gdesklets-core-0.36_beta-linguas.patch
new file mode 100644
index 000000000000..ac96d44b4921
--- /dev/null
+++ b/gnome-extra/gdesklets-core/files/gdesklets-core-0.36_beta-linguas.patch
@@ -0,0 +1,74 @@
+Index: po/LINGUAS
+===================================================================
+--- po/LINGUAS (révision 0)
++++ po/LINGUAS (révision 0)
+@@ -0,0 +1,47 @@
++# please keep this list sorted alphabetically
++#
++ar
++az
++bg
++ca
++cs
++de
++dz
++el
++en_CA
++en_GB
++es
++eu
++fi
++fr
++gl
++he
++hr
++hu
++is
++it
++ja
++ko
++lt
++lv
++ms
++nb
++ne
++nl
++oc
++pa
++pl
++pt
++pt_BR
++ru
++rw
++sq
++sr
++sr@Latn
++sv
++tr
++uk
++vi
++zh_CN
++zh_HK
++zh_TW
+Index: configure.in
+===================================================================
+--- configure.in (révision 3591)
++++ configure.in (copie de travail)
+@@ -11,7 +11,7 @@
+ AC_PROG_CXX(gcc cc)
+ AC_HEADER_STDC
+ AC_DISABLE_STATIC
+-AC_PROG_INTLTOOL
++IT_PROG_INTLTOOL([0.35.0])
+ AC_PROG_INSTALL
+ AC_PROG_LIBTOOL
+ AC_PROG_LN_S
+@@ -88,8 +88,6 @@
+ AC_PATH_PROG(UPDATE_MIME_DATABASE, update-mime-database)
+ AC_PATH_PROG(UPDATE_DESKTOP_DATABASE, update-desktop-database)
+
+-ALL_LINGUAS="ar az bg ca cs de dz el en_CA en_GB es eu fi fr gl he hr hu is it ja ko lt lv ms nb ne nl oc pa pl pt pt_BR ru rw sq sr sr@Latn sv tr uk vi zh_CN zh_HK zh_TW"
+-AC_SUBST(ALL_LINGUAS)
+ GETTEXT_PACKAGE=gdesklets
+ AC_SUBST(GETTEXT_PACKAGE)
+ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package])
diff --git a/gnome-extra/gdesklets-core/gdesklets-core-0.36_beta.ebuild b/gnome-extra/gdesklets-core/gdesklets-core-0.36_beta.ebuild
new file mode 100644
index 000000000000..94ad97563c4c
--- /dev/null
+++ b/gnome-extra/gdesklets-core/gdesklets-core-0.36_beta.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gdesklets-core/gdesklets-core-0.36_beta.ebuild,v 1.1 2008/02/17 22:12:16 nixphoeni Exp $
+
+# We want the latest autoconf and automake (the default)
+inherit gnome2 eutils autotools multilib
+
+MY_PN="gDesklets"
+MY_P="${MY_PN}-${PV/_/}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="GNOME Desktop Applets: Core library for desktop applets"
+SRC_URI="http://students.fim.uni-passau.de/~meyerc/gDesklets/${MY_P}.tar.bz2"
+HOMEPAGE="http://www.gdesklets.de"
+LICENSE="GPL-2"
+
+SLOT="0"
+IUSE=""
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
+
+# is libgsf needed for runtime or just compiling?
+RDEPEND=">=dev-lang/python-2.3
+ >=dev-libs/glib-2.4
+ gnome-extra/libgsf
+ >=gnome-base/librsvg-2.8
+ >=gnome-base/libgtop-2.8.2
+ >=dev-python/pygtk-2.10
+ >=dev-python/gnome-python-2.6
+ >=dev-libs/expat-1.95.8
+ >=dev-python/pyxml-0.8.3-r1"
+
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ dev-util/pkgconfig
+ dev-util/intltool"
+
+USE_DESTDIR="1"
+DOCS="AUTHORS ChangeLog NEWS README TODO"
+
+src_unpack() {
+
+ gnome2_src_unpack
+
+ cd "${S}"
+ # Use po/LINGUAS - see gnome bug #506828
+ epatch "${FILESDIR}/${P}-linguas.patch"
+ # Fix the creation of the /usr/bin/gdesklets link to respect libdir
+ epatch "${FILESDIR}/${P}-binary_link_fix.patch"
+
+}
+
+src_install() {
+
+ gnome2_src_install
+
+ # Install the gdesklets-control-getid script
+ insinto /usr/$(get_libdir)/gdesklets
+ insopts -m0555
+ doins "${FILESDIR}/gdesklets-control-getid"
+
+ # Create a global directory for Displays
+ dodir /usr/$(get_libdir)/gdesklets/Displays
+
+}
+
+pkg_postinst() {
+
+ # Remove conflicts with x11-misc/shared-mime-info and auto-generated
+ # MIME info
+ rm -rf "${D}/usr/share/mime/"
+
+ gnome2_pkg_postinst
+
+ echo
+ elog "gDesklets Displays are required before the library"
+ elog "will be usable. The displays are found in -"
+ elog " x11-plugins/desklet-* ,"
+ elog "at http://www.gdesklets.de, or at http://gdesklets.zencomputer.ca"
+ elog
+ elog "Next you'll need to start gdesklets using"
+ elog " ${ROOT}usr/bin/gdesklets start"
+ elog "If you're using GNOME this can be done conveniently"
+ elog "through Applications->Accessories->gDesklets"
+ elog
+ elog "If you're updating from a version less than 0.35_rc1,"
+ elog "you can migrate your desklet configurations by"
+ elog "running"
+ elog " ${ROOT}usr/$(get_libdir)/gdesklets/gdesklets-migration-tool"
+ elog "after the first time you run gdesklets"
+ echo
+
+ # This stuff is important, especially the migration-tool
+ # information which flies by on an update.
+ epause 9
+
+}