mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
Album: update recipe.
This commit is contained in:
@@ -1,20 +1,18 @@
|
|||||||
SUMMARY="An image viewer/organiser designed for BeOS-compatible systems"
|
SUMMARY="An image viewer/organiser designed for BeOS-compatible systems."
|
||||||
DESCRIPTION="
|
DESCRIPTION="Album is a file browsing and tagging utility for Haiku. It \
|
||||||
Album is a file browsing and tagging utility for BeOS and compatibles. It \
|
|
||||||
started out with a goal of the ultimate image organiser (code named \
|
started out with a goal of the ultimate image organiser (code named \
|
||||||
Aberration), but ended up as something much more modest and BeOS-specific. The \
|
Aberration), but ended up as something much more modest and BeOS-specific. The \
|
||||||
idea is to have a work pad for pictures from different locations where they \
|
idea is to have a work pad for pictures from different locations where they \
|
||||||
can be previewed and tagged in one place. The program is not limited to \
|
can be previewed and tagged in one place. The program is not limited to \
|
||||||
picture files and BFS (Be File System) volumes, although that further limits \
|
picture files and BFS volumes, although this further limits usefulness \
|
||||||
whatever the usefulness since much of the functionality has to do with file \
|
since much of the functionality has to do with file attributes."
|
||||||
attributes.
|
|
||||||
"
|
|
||||||
HOMEPAGE="http://users.volja.net/mkovac1/proj/album/"
|
HOMEPAGE="http://users.volja.net/mkovac1/proj/album/"
|
||||||
SRC_URI="git://github.com/HaikuArchives/Album#64aa3371a9"
|
SRC_URI="git+https://github.com/HaikuArchives/Album#cbabd25282"
|
||||||
LICENSE="MIT"
|
LICENSE="MIT"
|
||||||
COPYRIGHT="2006-2009 by Matjaž Kovač"
|
COPYRIGHT="2006-2009 by Matjaž Kovač"
|
||||||
REVISION="3"
|
REVISION="1"
|
||||||
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
||||||
|
|
||||||
PROVIDES="
|
PROVIDES="
|
||||||
Album = $portVersion
|
Album = $portVersion
|
||||||
app:Album = $portVersion
|
app:Album = $portVersion
|
||||||
@@ -22,10 +20,12 @@ PROVIDES="
|
|||||||
|
|
||||||
REQUIRES="
|
REQUIRES="
|
||||||
haiku >= $haikuVersion
|
haiku >= $haikuVersion
|
||||||
|
lib:libiptcdata$secondaryArchSuffix
|
||||||
"
|
"
|
||||||
|
|
||||||
BUILD_REQUIRES="
|
BUILD_REQUIRES="
|
||||||
haiku_devel >= $haikuVersion
|
haiku_devel >= $haikuVersion
|
||||||
|
devel:libiptcdata$secondaryArchSuffix
|
||||||
"
|
"
|
||||||
|
|
||||||
BUILD_PREREQUIRES="
|
BUILD_PREREQUIRES="
|
||||||
@@ -35,8 +35,6 @@ BUILD_PREREQUIRES="
|
|||||||
cmd:mkdepend
|
cmd:mkdepend
|
||||||
"
|
"
|
||||||
|
|
||||||
PATCHES="album-0.9.2.patchset"
|
|
||||||
|
|
||||||
USER_SETTINGS_FILES="
|
USER_SETTINGS_FILES="
|
||||||
settings/Album_settings
|
settings/Album_settings
|
||||||
"
|
"
|
||||||
@@ -44,8 +42,7 @@ USER_SETTINGS_FILES="
|
|||||||
BUILD()
|
BUILD()
|
||||||
{
|
{
|
||||||
cd src
|
cd src
|
||||||
make OBJ_DIR=objects \
|
make OBJ_DIR=objects
|
||||||
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
INSTALL()
|
INSTALL()
|
||||||
@@ -1,45 +0,0 @@
|
|||||||
From 47be97d358d8db50026e107d94a63d15f39e7fb1 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Chris Roberts <cpr420@gmail.com>
|
|
||||||
Date: Mon, 2 Dec 2013 17:23:41 -0700
|
|
||||||
Subject: applying patch album-0.9.2.patch
|
|
||||||
|
|
||||||
|
|
||||||
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp
|
|
||||||
index 4fcb98a..66ed596 100644
|
|
||||||
--- a/src/MainWindow.cpp
|
|
||||||
+++ b/src/MainWindow.cpp
|
|
||||||
@@ -142,7 +142,7 @@ MainWindow::MainWindow(BRect frame, const char *title):
|
|
||||||
|
|
||||||
// Create a tempory repository for negotiated drops from image ditors etc.
|
|
||||||
BPath path;
|
|
||||||
- if (find_directory(B_COMMON_TEMP_DIRECTORY, &path) == B_OK) {
|
|
||||||
+ if (find_directory(B_SYSTEM_TEMP_DIRECTORY, &path) == B_OK) {
|
|
||||||
path.Append("Album");
|
|
||||||
if (create_directory(path.Path(), 0x777) == B_OK) {
|
|
||||||
fRepository.SetTo(path.Path());
|
|
||||||
--
|
|
||||||
1.8.3.4
|
|
||||||
|
|
||||||
|
|
||||||
From 8f2c953908de0b0e23ae027802902072b153c686 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Chris Roberts <cpr420@gmail.com>
|
|
||||||
Date: Mon, 2 Dec 2013 17:27:22 -0700
|
|
||||||
Subject: Fix makefile stdc++ libs
|
|
||||||
|
|
||||||
|
|
||||||
diff --git a/src/makefile b/src/makefile
|
|
||||||
index 02e892f..38f0454 100644
|
|
||||||
--- a/src/makefile
|
|
||||||
+++ b/src/makefile
|
|
||||||
@@ -63,7 +63,7 @@ RSRCS= Album.rsrc
|
|
||||||
# naming scheme you need to specify the path to the library
|
|
||||||
# and it's name
|
|
||||||
# library: my_lib.a entry: my_lib.a or path/my_lib.a
|
|
||||||
-LIBS=root be translation iptcdata
|
|
||||||
+LIBS=be translation iptcdata $(STDCPPLIBS)
|
|
||||||
|
|
||||||
# specify additional paths to directories following the standard
|
|
||||||
# libXXX.so or libXXX.a naming scheme. You can specify full paths
|
|
||||||
--
|
|
||||||
1.8.3.4
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user