From 4750218a9e8eb35812b00eee30d0fc90c0ecdc9b Mon Sep 17 00:00:00 2001 From: Raúl Porcel Date: Thu, 2 Aug 2007 13:06:27 +0000 Subject: Version bump (Portage version: 2.1.3.1) --- app-text/notecase/ChangeLog | 8 ++++- app-text/notecase/files/digest-notecase-1.6.1 | 3 ++ .../notecase/files/notecase-1.6.1-CFLAGS.patch | 31 ++++++++++++++++ app-text/notecase/notecase-1.6.1.ebuild | 42 ++++++++++++++++++++++ 4 files changed, 83 insertions(+), 1 deletion(-) create mode 100644 app-text/notecase/files/digest-notecase-1.6.1 create mode 100644 app-text/notecase/files/notecase-1.6.1-CFLAGS.patch create mode 100644 app-text/notecase/notecase-1.6.1.ebuild (limited to 'app-text') diff --git a/app-text/notecase/ChangeLog b/app-text/notecase/ChangeLog index 868fe028a08d..d9a6c805216e 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.2 2007/06/29 13:56:31 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/notecase/ChangeLog,v 1.3 2007/08/02 13:06:27 armin76 Exp $ + +*notecase-1.6.1 (02 Aug 2007) + + 02 Aug 2007; Raúl Porcel + +files/notecase-1.6.1-CFLAGS.patch, +notecase-1.6.1.ebuild: + Version bump *notecase-1.5.8 (29 Jun 2007) diff --git a/app-text/notecase/files/digest-notecase-1.6.1 b/app-text/notecase/files/digest-notecase-1.6.1 new file mode 100644 index 000000000000..ec925593ad07 --- /dev/null +++ b/app-text/notecase/files/digest-notecase-1.6.1 @@ -0,0 +1,3 @@ +MD5 6633ece987edeb4795cc5d2cf408f8a1 notecase-1.6.1_src.tar.gz 783513 +RMD160 534519723049b2e6190ae86a9724955b6d9374b1 notecase-1.6.1_src.tar.gz 783513 +SHA256 98bf1152e77b3d461a925ebe69cbed02222b8c656b001028e4a1a95bfbf96b22 notecase-1.6.1_src.tar.gz 783513 diff --git a/app-text/notecase/files/notecase-1.6.1-CFLAGS.patch b/app-text/notecase/files/notecase-1.6.1-CFLAGS.patch new file mode 100644 index 000000000000..7dec387fc661 --- /dev/null +++ b/app-text/notecase/files/notecase-1.6.1-CFLAGS.patch @@ -0,0 +1,31 @@ +diff -ur notecase-1.6.1.orig/Makefile notecase-1.6.1/Makefile +--- notecase-1.6.1.orig/Makefile 2007-08-02 14:58:33.000000000 +0200 ++++ notecase-1.6.1/Makefile 2007-08-02 15:01:33.000000000 +0200 +@@ -83,13 +83,6 @@ + QC=@echo '===> Compiling $<'; + QL=@echo '===> Linking $@'; + +-# using "--as-needed" to cut down link requirements (check by "readelf -d /usr/bin/notecase | grep NEEDED") +-ifdef OSX_BUILD +- LDFLAGS=-Os -Wl -bind_at_load +-else +- LDFLAGS=-Os -Wl,--as-needed +-endif +- + # define compile/link command line with flags + CC=$(QC) $(CXX) $(DEBUG) $(PROFILE) -DENABLE_NLS + ifdef WINDIR +@@ -121,7 +114,7 @@ + $(OBJ)/IOProcess.o $(OBJ)/IOLayerZlib.o $(OBJ)/IOLayerFile64.o $(OBJ)/IOLayerBase.o \ + $(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)/FileSaveAsDlg.o $(OBJ)/CircularBuffer.o $(OBJ)/FormatIOMMLX.o $(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 +@@ -650,3 +643,4 @@ + + + .PHONY : all help poinstall pouninstall install uninstall rpm pack packdos updatesrcdos updatesrc updatemime clean ipk deb weexpc check install2 ++ diff --git a/app-text/notecase/notecase-1.6.1.ebuild b/app-text/notecase/notecase-1.6.1.ebuild new file mode 100644 index 000000000000..3c95e7e01cc6 --- /dev/null +++ b/app-text/notecase/notecase-1.6.1.ebuild @@ -0,0 +1,42 @@ +# 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.6.1.ebuild,v 1.1 2007/08/02 13:06:27 armin76 Exp $ + +inherit eutils + +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="~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.6.1-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' Makefile || \ + die "gnome sed failed" + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc readme.txt +} -- cgit v1.2.3-65-gdbad