summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2007-11-13 16:06:36 +0000
committerRaúl Porcel <armin76@gentoo.org>2007-11-13 16:06:36 +0000
commitf250a52f78be1bc6c7390ae5ce3d2c178dec22dc (patch)
treeed36f063e561c92a4038314c6500bef0c9f94f00 /app-text/notecase
parentStable for HPPA (bug #198664). (diff)
downloadgentoo-2-f250a52f78be1bc6c7390ae5ce3d2c178dec22dc.tar.gz
gentoo-2-f250a52f78be1bc6c7390ae5ce3d2c178dec22dc.tar.bz2
gentoo-2-f250a52f78be1bc6c7390ae5ce3d2c178dec22dc.zip
Version bump
(Portage version: 2.1.3.19)
Diffstat (limited to 'app-text/notecase')
-rw-r--r--app-text/notecase/ChangeLog8
-rw-r--r--app-text/notecase/files/digest-notecase-1.7.23
-rw-r--r--app-text/notecase/files/notecase-1.7.2-CFLAGS.patch29
-rw-r--r--app-text/notecase/notecase-1.7.2.ebuild53
4 files changed, 92 insertions, 1 deletions
diff --git a/app-text/notecase/ChangeLog b/app-text/notecase/ChangeLog
index 6be42e13ed7e..136a2245504d 100644
--- a/app-text/notecase/ChangeLog
+++ b/app-text/notecase/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/notecase
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/notecase/ChangeLog,v 1.7 2007/11/06 17:23:02 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/notecase/ChangeLog,v 1.8 2007/11/13 16:06:36 armin76 Exp $
+
+*notecase-1.7.2 (13 Nov 2007)
+
+ 13 Nov 2007; Raúl Porcel <armin76@gentoo.org>
+ +files/notecase-1.7.2-CFLAGS.patch, +notecase-1.7.2.ebuild:
+ Version bump
06 Nov 2007; Samuli Suominen <drac@gentoo.org> notecase-1.6.9.ebuild:
Keyword ~amd64 wrt #196185 and update caches using fdo-mime eclass.
diff --git a/app-text/notecase/files/digest-notecase-1.7.2 b/app-text/notecase/files/digest-notecase-1.7.2
new file mode 100644
index 000000000000..97dbf3253b98
--- /dev/null
+++ b/app-text/notecase/files/digest-notecase-1.7.2
@@ -0,0 +1,3 @@
+MD5 ad8b93c16e740988b5114826c47a53bb notecase-1.7.2_src.tar.gz 866430
+RMD160 fd9fce7d4e9e9f909e7949aaac49396243868596 notecase-1.7.2_src.tar.gz 866430
+SHA256 763529033d4858285401d9e68c6412d21ed62624fb65e8150d8c703012a4ca49 notecase-1.7.2_src.tar.gz 866430
diff --git a/app-text/notecase/files/notecase-1.7.2-CFLAGS.patch b/app-text/notecase/files/notecase-1.7.2-CFLAGS.patch
new file mode 100644
index 000000000000..6eebb8650fbd
--- /dev/null
+++ b/app-text/notecase/files/notecase-1.7.2-CFLAGS.patch
@@ -0,0 +1,29 @@
+--- Makefile.orig 2007-11-13 16:31:55.000000000 +0100
++++ Makefile 2007-11-13 16:33:04.000000000 +0100
+@@ -113,18 +113,9 @@
+ QC=@echo '===> Compiling $<';
+ QL=@echo '===> Linking $@';
+
+-# using "--as-needed" to cut down link requirements (check by "readelf -d /usr/bin/notecase | grep NEEDED")
+-ifeq ($(LDFLAGS),)
+-ifdef OSX_BUILD
+- LDFLAGS=-Os -Wl -bind_at_load
+-else
+- LDFLAGS=-Os -Wl,--as-needed
+-endif
+-
+ ifneq ($(NOKIA_MAEMO_BUILD),)
+ LDFLAGS += -ansi
+ endif
+-endif
+
+ # define compile/link command line with flags
+ CC=$(QC) $(CXX) $(DEBUG) $(PROFILE) -DENABLE_NLS
+@@ -158,7 +149,6 @@
+ $(OBJ)/IOLayerRedirect.o $(OBJ)/FileExportDlg.o $(OBJ)/FormatIOTxt.o $(OBJ)/FindReplaceDlg.o \
+ $(OBJ)/FindReplaceInfo.o $(OBJ)/LinkInfo.o $(OBJ)/LinkPropertiesDlg.o $(OBJ)/ExecuteFile.o \
+ $(OBJ)/FileSaveAsDlg.o $(OBJ)/CircularBuffer.o $(OBJ)/FormatIOMMLX.o \
+- $(OBJ)/libz.a \
+ $(OBJ)/ProgressDlg.o $(OBJ)/DocActionPix.o $(OBJ)/DocActionFinish.o $(OBJ)/DocActionFmt.o $(OBJ)/FmtInfo.o \
+ $(OBJ)/FileAttachmentDlg.o $(OBJ)/DocActionAtt.o $(OBJ)/PixPropertiesDlg.o $(OBJ)/DocActionFinishDel.o \
+ $(OBJ)/ShortcutsList.o $(OBJ)/ShortcutsListDlg.o $(OBJ)/DateTimeDlg.o $(OBJ)/AboutDlg.o $(OBJ)/EditDlg.o
diff --git a/app-text/notecase/notecase-1.7.2.ebuild b/app-text/notecase/notecase-1.7.2.ebuild
new file mode 100644
index 000000000000..e5e647120178
--- /dev/null
+++ b/app-text/notecase/notecase-1.7.2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/notecase/notecase-1.7.2.ebuild,v 1.1 2007/11/13 16:06:36 armin76 Exp $
+
+inherit eutils fdo-mime
+
+DESCRIPTION="Hierarchical note manager written using GTK+ and C++"
+HOMEPAGE="http://notecase.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}_src.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gnome"
+
+RDEPEND=">=x11-libs/gtk+-2.6"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+# test doesn't work
+RESTRICT="test"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Respect CFLAGS and don't use --as-needed by default
+ epatch "${FILESDIR}/notecase-1.7.2-CFLAGS.patch"
+
+ if ! use gnome; then
+ # Comment variable in the Makefile if we don't have gnome
+ sed -i -e 's/HAVE_GNOME_VFS=1/#HAVE_GNOME_VFS=1/g' \
+ -e 's/AUTODETECT_GNOME_VFS=1/#AUTODETECT_GNOME_VFS=1/g' \
+ Makefile || die "gnome sed failed"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc readme.txt
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}