Skip to content

Commit

Permalink
These changes reverts what hasn't been automated, for viewing only.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieujobin committed Dec 31, 2013
1 parent ab56eec commit 0e1a4a6
Show file tree
Hide file tree
Showing 15 changed files with 13 additions and 126 deletions.
5 changes: 2 additions & 3 deletions Library/Formula/kamera.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'base_kde_formula'

class Kamera < BaseKdeFormula
homepage 'http://www.thekompany.com/projects/gphoto/'
homepage 'http://www.kde.org/'
url 'http://download.kde.org/stable/4.11.4/src/kamera-4.11.4.tar.xz'
sha1 '699c88390e1d96b39825291961559182b444c692'

Expand All @@ -10,6 +10,5 @@ class Kamera < BaseKdeFormula
sha1 '4edc3add701c68a0327dcad772e69f2e23d697cf'
end

depends_on 'gphoto2'
depends_on 'qt'
depends_on 'kdelibs'
end
3 changes: 1 addition & 2 deletions Library/Formula/kate.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'base_kde_formula'

class Kate < BaseKdeFormula
homepage 'http://kate-editor.org'
homepage 'http://www.kde.org/'
url 'http://download.kde.org/stable/4.11.4/src/kate-4.11.4.tar.xz'
sha1 'a6428ad1ae569c6be9192e2fe1db3cd844a257fc'

Expand All @@ -11,5 +11,4 @@ class Kate < BaseKdeFormula
end

depends_on 'kdelibs'
depends_on 'kde-runtime'
end
1 change: 0 additions & 1 deletion Library/Formula/kde-baseapps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ class KdeBaseapps < BaseKdeFormula
end

depends_on 'kdelibs'
depends_on 'kde-runtime'
end
2 changes: 1 addition & 1 deletion Library/Formula/kde-l10n-pt_BR.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'base_kde_formula'

class KdeL10nPtBr < BaseKdeFormula
class KdeL10nPtBR < BaseKdeFormula
homepage 'http://www.kde.org/'
url 'http://download.kde.org/stable/4.11.4/src/kde-l10n/kde-l10n-pt_BR-4.11.4.tar.xz'
sha1 '64324d35e36eb808418628b04ede9a02f7d0e5a4'
Expand Down
2 changes: 1 addition & 1 deletion Library/Formula/kde-l10n-zh_CN.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'base_kde_formula'

class KdeL10nZhCn < BaseKdeFormula
class KdeL10nZhCN < BaseKdeFormula
homepage 'http://www.kde.org/'
url 'http://download.kde.org/stable/4.11.4/src/kde-l10n/kde-l10n-zh_CN-4.11.4.tar.xz'
sha1 'fe60644660020479fc71f64ce47bd96117eabf86'
Expand Down
2 changes: 1 addition & 1 deletion Library/Formula/kde-l10n-zh_TW.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'base_kde_formula'

class KdeL10nZhTw < BaseKdeFormula
class KdeL10nZhTW < BaseKdeFormula
homepage 'http://www.kde.org/'
url 'http://download.kde.org/stable/4.11.4/src/kde-l10n/kde-l10n-zh_TW-4.11.4.tar.xz'
sha1 '7660f9a6b5d432677766e05fad7d4f903a82e80d'
Expand Down
7 changes: 0 additions & 7 deletions Library/Formula/kde-runtime.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,5 @@ class KdeRuntime < BaseKdeFormula
sha1 '7c077b5ff2839fee1cc55016cd6711da1abb584c'
end

depends_on 'kde-phonon'
depends_on 'oxygen-icons'
depends_on 'kdelibs'

def extra_cmake_args
phonon = Formula.factory 'kde-phonon'
"-DPHONON_INCLUDE_DIR=#{phonon.include} -DPHONON_LIBRARY=#{phonon.lib}/libphonon.dylib"
end
end
98 changes: 1 addition & 97 deletions Library/Formula/kdelibs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,102 +9,6 @@ class Kdelibs < BaseKdeFormula
url 'http://download.kde.org/stable/4.12.0/src/kdelibs-4.12.0.tar.xz'
sha1 'a510f9dc2675c5656af00a92f81b747129ff70d1'
end
depends_on 'gettext'
depends_on 'pcre'
depends_on 'jpeg'
depends_on 'giflib'
depends_on 'soprano'
depends_on 'shared-desktop-ontologies'
depends_on 'shared-mime-info'
depends_on 'attica'
#depends_on 'strigi' # does not build, it requires DBus which is problematic on OSX
depends_on 'xz'
depends_on 'docbook'
depends_on 'd-bus'
depends_on 'qt'
#depends_on 'libdbusmenu-qt' also need dbus and the recipe need to be ported to my system.
depends_on 'aspell' => :optional
depends_on 'enchant' => :optional

def patches
# macports patches.
{:p1 => [
"http://svn.macports.org/repository/macports/trunk/dports/kde/kdelibs4/files/add-bundles-to-path.patch",
"http://svn.macports.org/repository/macports/trunk/dports/kde/kdelibs4/files/default-kde4-xdg-menu-prefix.patch",
"http://svn.macports.org/repository/macports/trunk/dports/kde/kdelibs4/files/workaround-kdeinit4-crash.patch",
"http://svn.macports.org/repository/macports/trunk/dports/kde/kdelibs4/files/patch-cmake-modules-FindKDE4-Internal.cmake.diff",
"http://svn.macports.org/repository/macports/trunk/dports/kde/kdelibs4/files/patch-cmake-modules-FindPhonon.cmake.diff",
"http://svn.macports.org/repository/macports/trunk/dports/kde/kdelibs4/files/patch-cmake-modules-FindQt4.cmake.diff"
]}
end

def extra_cmake_args
[
"-DWITH_ENCHANT=ON",
"-DWITH_Soprano=ON",
"-DWITH_lzma=OFF",
"-DWITH_Avahi=OFF",
"-DWITH_HSPELL=OFF",
"-DWITH_FAM=OFF",
"-DKJS_FORCE_DISABLE_PCRE=ON",
"-DPCRE_CONFIG_STACKRECURSE=ON",
"-DPCRE_CONFIG_UTF8=ON",
"-DHAVE_PCRE_STACK=ON",
"-DHAVE_PCRE_UTF8=ON"
]
nil
end

#def extra_cmake_args
# Formula.factory('xz').prefix
#end

def install
opoo "Compile qt formula first with: --with-qtdbus and --with-qt3support flags."
puts <<-EOS.undent
Enable QtDBus module (--with-qtdbus) and Qt3Support module (--with-qt3support)
in qt formula first to avoid errors in kdevplatform and kdevelop formulas.
EOS
default_install
end

def caveats; <<-EOS.undent
First add #{kdedir} path to your $KDEDIRS in your ~/.bash_profile file.
export PATH=$PATH:#{kdedir}
export KDEDIR=#{kdedir}
export KDEDIRS="$KDEDIRS:$HOME/Library/Preferences/KDE:#{kdedir}"
Now remember to run kbuildsycoca4 command, if you have some issues with kdevelop
formula or kate formula about mime types, try to update mime types:
$ update-mime-database #{kdedir}/share/mime
$ kbuildsycoca4 --noincremental
$ brew linkapps
EOS
end
depends_on 'kdelibs'
end

# -----------------------------------------------------------------------------
# -- The following OPTIONAL packages could NOT be located on your system.
# -- Consider installing them to enable more features from this software.
# -----------------------------------------------------------------------------
# * QCA2 (2.0.0 or higher) <http://delta.affinix.com/qca>
# Support for remote plasma widgets
# * LibACL <ftp://oss.sgi.com/projects/xfs/cmd_tars>
# Support for manipulating access control lists
# STRONGLY RECOMMENDED
# * FAM <http://oss.sgi.com/projects/fam>
# File alteration notification support via a separate service
# Provides file alteration notification facilities using a separate service.
# * Grantlee (0.1.0 or higher) <http://www.grantlee.org>
# ModelEventLogger code generation (part of the ProxyModel test suite)
# Grantlee is used for generating compilable code by the ModelEventLogger. Without Grantlee, the logger will do nothing.
# * HSpell <http://ivrix.org.il/projects/spell-checker/>
# Spell checking support for Hebrew
# Hebrew support can also be provided via Enchant, providing the correct Enchant backends are installed
# * OpenEXR <http://www.openexr.com>
# Support for OpenEXR images
# * Avahi <http://avahi.org>
# Facilities for service discovery on a local network (DNSSD)
# Either Avahi or DNSSD is required for KDE applications to make use of multicast DNS/DNS-SD service discovery
#
# -----------------------------------------------------------------------------
2 changes: 1 addition & 1 deletion Library/Formula/kdepim.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ class Kdepim < BaseKdeFormula
sha1 '1ca184dc89f8c8395ffe4ec62a3fdcd0a7397ac4'
end

depends_on 'kdepimlibs'
depends_on 'kdelibs'
end
3 changes: 0 additions & 3 deletions Library/Formula/kdepimlibs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,4 @@ class Kdepimlibs < BaseKdeFormula
end

depends_on 'kdelibs'
depends_on 'gpgme'
depends_on 'akonadi'
depends_on 'libical'
end
3 changes: 1 addition & 2 deletions Library/Formula/kgpg.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'base_kde_formula'

class Kgpg < BaseKdeFormula
homepage 'http://utils.kde.org/projects/kgpg/'
homepage 'http://www.kde.org/'
url 'http://download.kde.org/stable/4.11.4/src/kgpg-4.11.4.tar.xz'
sha1 '888512914d6c9611d081bd358af94aa104e992d9'

Expand All @@ -11,5 +11,4 @@ class Kgpg < BaseKdeFormula
end

depends_on 'kdelibs'
depends_on 'kde-runtime'
end
3 changes: 1 addition & 2 deletions Library/Formula/kolourpaint.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'base_kde_formula'

class Kolourpaint < BaseKdeFormula
homepage 'http://www.kolourpaint.org/'
homepage 'http://www.kde.org/'
url 'http://download.kde.org/stable/4.11.4/src/kolourpaint-4.11.4.tar.xz'
sha1 '5eddca851a4b85fb68e2c596ce4a7658682e9c23'

Expand All @@ -11,5 +11,4 @@ class Kolourpaint < BaseKdeFormula
end

depends_on 'kdelibs'
depends_on 'kde-runtime'
end
4 changes: 1 addition & 3 deletions Library/Formula/kstars.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'base_kde_formula'

class Kstars < BaseKdeFormula
homepage 'http://edu.kde.org/kstars/'
homepage 'http://www.kde.org/'
url 'http://download.kde.org/stable/4.11.4/src/kstars-4.11.4.tar.xz'
sha1 '0aa80b7b3bdcf1c8c2d44bf26d53a8c10e8e8a04'

Expand All @@ -11,6 +11,4 @@ class Kstars < BaseKdeFormula
end

depends_on 'kdelibs'
depends_on 'kde-runtime'
depends_on 'eigen'
end
1 change: 0 additions & 1 deletion Library/Formula/libkexiv2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ class Libkexiv2 < BaseKdeFormula
end

depends_on 'kdelibs'
depends_on 'exiv2'
end
3 changes: 2 additions & 1 deletion Library/Formula/oxygen-icons.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'base_kde_formula'

class OxygenIcons < BaseKdeFormula
homepage 'http://www.oxygen-icons.org'
homepage 'http://www.kde.org/'
url 'http://download.kde.org/stable/4.11.4/src/oxygen-icons-4.11.4.tar.xz'
sha1 '52350a2c230142b078dc5dfe95503ec82025c34d'

Expand All @@ -10,4 +10,5 @@ class OxygenIcons < BaseKdeFormula
sha1 '4bb0de73e52d237c906903c383c2e36cb2d5c143'
end

depends_on 'kdelibs'
end

0 comments on commit 0e1a4a6

Please sign in to comment.